CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   how to get the value in a node (https://www.cfd-online.com/Forums/cfx/21144-how-get-value-node.html)

caty April 5, 2005 21:23

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?


Rui Igreja April 6, 2005 06:03

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

caty April 6, 2005 06:16

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.


Andy April 6, 2005 07:12

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


caty April 6, 2005 15:16

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

caty April 7, 2005 11:50

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.