how to get the value in a node
Hello,
I want to write a script in POST to calulate an average value of a variable, on a certain plane, across the timesteps. For this i need the value of the variable in each node of the plane. Does anybody knows the comand line for getting this value? |
Re: how to get the value in a node
Hi,
Why do you need the value of the variable in each node? You can obtain the average of a variable in a surface as areaAve(variable)@surface . Or do you need a different kind of average? Regards, Rui |
Re: how to get the value in a node
Hi,
this is not what I want. I want to extract data to create a plane. The value stored at a given node would be the average value at that node across the range of timesteps. I don't want an normal average across a plane. |
Re: how to get the value in a node
Hi Caty, If u want the results on particular point, then u can do as follows Make a text file of cloude of points (Giving their cartesian coordinates) like X1 Y1 Z1 X2 Y2 Z2 . . . . Xn Yn Zn
Then go to yhe commond line from CFX Launcher Use commond cfx5interp -vtx <vertex file name> -res <result file name> Pls. late me know what happens ok |
Re: how to get the value in a node
Hi Andy,
hmm it is an intersting path, but i am afraid that it would take too much time. I will try to do so, as it seems like I don't have any other clue. Thank you |
Re: how to get the value in a node
Hi Andi,
Well I exported the data form the plane in excel an there I save them in a txt file. After that I creat another file for the results, empty, txt too. From the command line I areceived the following error: The program was unable to read from the data file. STOP called from routine MGSTOP An error has occured in cfx5interp? Unable to retrive vertex.dat.new from working directory: file not found an error has occured in cfx5interp: the cfx 5 interpolation program existed with return code 1 What does this mean???? |
All times are GMT -4. The time now is 10:28. |