CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   CFX (http://www.cfd-online.com/Forums/cfx/)
-   -   CEL expression (http://www.cfd-online.com/Forums/cfx/86255-cel-expression.html)

vmlxb6 March 17, 2011 17:17

CEL expression
 
I am using a CEL expression where I am calculating the force on a solid using the expression force_x()location. So at every time step, the CEL expression is called & force is calculated. I was thinking if is it possible to have a force calculated on the solid and also the force that was calculated in the previous time step ?????

eg: my simulation is at nth time step. How do I find the force @ time step (n-1) ?

ghorrocks March 18, 2011 07:39

Cannot be done. Well, not easily at least. CEL calculates values on the current variable values only.

If you really need the history values consider using user fortran.


All times are GMT -4. The time now is 07:34.