CFD Online Logo CFD Online URL
Home > Forums > CFX

CEL expression

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   March 17, 2011, 17:17
Default CEL expression
Senior Member
Ugly Kid Joe
Join Date: Aug 2010
Posts: 193
Rep Power: 9
vmlxb6 is on a distinguished road
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) ?
vmlxb6 is offline   Reply With Quote

Old   March 18, 2011, 07:39
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 13,738
Rep Power: 106
ghorrocks is a jewel in the roughghorrocks is a jewel in the roughghorrocks is a jewel in the rough
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.
ghorrocks is offline   Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to install CGNS under windows xp? lzgwhy Main CFD Forum 1 January 11, 2011 19:44
CGNS lib and Fortran compiler manaliac Main CFD Forum 2 November 29, 2010 07:25
Help needed for writing CEL expression kmgraju CFX 5 September 20, 2010 18:30
Help to create a CEL Expression Juan Maria Campos CFX 2 December 3, 2007 08:52
Lift, Drag Vs time chart,calculations Jamesd69climber CFX 8 February 17, 2005 18:23

All times are GMT -4. The time now is 20:43.