Interrupt control condition CFX-Pre
Hi everybody,
I would like terminate my simulation when a specific variable became stable with accumulated time step. In order to do this I would like write a conditions like this: Interrupt when VARIABLE1(valuated on last time step) - VARIABLE1(valuated on last time step-100)< (a certain constant like 10) How can I write a condition like this? Is it possible? Thanks |
Not easily, CFX does not have good access to previous time steps in CEL. It is most easily implemented with user fortran.
|
mmmh quite hard.
I know F90 language, but never tried to implement a subroutine in CFX. I will try. If someone wanna help me thanks in advance. Thanks ghorrocks |
Yes, it is unfortunate that CEL does not support data at other time steps. It is a very frequently asked for feature.
|
hey ... i have a similar problem like cecco ... is there any solution in cfx 14.5 or 15 ?
otherwise how is ur progress cecco? my idea is to create a perl script ... u can open the "mon.old" file ... write out the residuals and create ur own convergence criteria ... |
In Pre you can set time derivatives of additional variables. For example myAV.Time Derivative is possible to compute during the solution, and could maybe be used as an indicator of a stable variable. See the manuals, especially cfx_ref.pdf.
|
Why not just activate the imbalances as a convergence criterion? Also, the global imbalances are in the results file as well.
What you are doing appears to already be an option in CFX, so no need to write any code. |
Yes, it is possible to do it so. Check "ANSYS CFX Solver Modeling Guide". A section called "Using Interrupt Control in Cases with Transient Convergence Behavior" describes how you can do it.
|
All times are GMT -4. The time now is 21:39. |