CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (https://www.cfd-online.com/Forums/fluent-udf/)
-   -   How to use UDF to get the Global courant number at time in fluent 14.0? (https://www.cfd-online.com/Forums/fluent-udf/158207-how-use-udf-get-global-courant-number-time-fluent-14-0-a.html)

fangdian August 18, 2015 11:05

How to use UDF to get the Global courant number at time in fluent 14.0?
 
Dear everyone:
I used the fluent 14.0 to simulation the transient welding pool, in which I applied the adaptive time step(transient VOF model). I set the Global courant number to 2.And the Global courant number is also been solved and displayed in simulation after every time step in the message window.
If I want to get the Global courant number at time by UDF, how Can I do?
Best regards !

`e` August 18, 2015 19:33

If Fluent doesn't hold the current global Courant number in a variable somewhere then you could find this value yourself. Loop through all of the nodes or cells and find the highest value for this Courant number.


All times are GMT -4. The time now is 16:21.