Hi guys,
i have a problem to calculate the average of some results with a tcl script. Perhaps someone could help me here.
I export from HyperGraph pressure results of some nodes of a transient simulation (normally i export 20-50 nodes with 50-100 time steps).
A simple example can you see in the following excel picture.
Before the comma, there is the time step, after the comma the pressure.

The differnt nodes are seprate by an empty raw. (In this example there a three nodes)
How can i add the different pressures, to get the average pressure of all nodes?
I think the first step is, to spilt every raw by the comma.
The following picture shows my current script.
<?xml version="1.0" encoding="UTF-8"?>
I think 'append' is not the right command for this problem.
Has anyone a proposal???
Thank you and best regards
Michael
Unable to find an attachment - read this blog