CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   Solver Control (https://www.cfd-online.com/Forums/cfx/24489-solver-control.html)

Anantha September 3, 2007 06:01

Solver Control
 
Hello All,

I am using a Fortran code to control the solver (a modified version of the 2Junction Box Example 4: Solver Control" in the documentation). I have defined few variables in the sub routine. Now, I need some of the variables defined in the subroutine in the result file for post processing. Can any one please guide me how can I achieve this?

Regards Anantha

Stumpy September 4, 2007 13:30

Re: Solver Control
 
Create an Additional Variable and define its value through a User CEL Routine. The fortran for the User CEL Routine should calculate the variable of interest in the same way as your existing fortran (or you might be able to just store the variable in memory and look up its value from the User CEL Routine). Hope this helps.


All times are GMT -4. The time now is 08:23.