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) ?
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 16:19.|