pressure time history of some nodes
Hello. I'm running a 2D transient model, and I would like to know if there is a way to write an output of pressure time history of certain nodes.
Thank you. |
Yes, it is possible. Define a surface that pass through your nodes and then write a Scheme or a UDF function that will save the data at every iteration or time step.
Do |
UDFs
Thank you for the reply. I have never used UDFs, and I've been reading the manual about UDF and Scheme. I know that I have to write UDF using C code, but I don't have much idea of what exactly I have to do. Would you give me a little example of this case to print pressure of some nodes along a surface every X time steps? Thank you very much.
|
This will save the pressure coefficient from a zone named "zone_name" at each time step in files named data-0000.txt data-0001.txt ....
(cx-macro-define '((save-data . "file/write-profile\ndata-%t.txt\nzone_name\n\npressure-coefficient\nq\n") )) |
All times are GMT -4. The time now is 18:13. |