CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > CFX

CEL expression

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 17, 2011, 17:17
Default CEL expression
  #1
Senior Member
 
Ugly Kid Joe
Join Date: Aug 2010
Posts: 193
Rep Power: 6
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
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 9,551
Rep Power: 76
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
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

Reply

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 18:44
CGNS lib and Fortran compiler manaliac Main CFD Forum 2 November 29, 2010 06: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 07:52
Lift, Drag Vs time chart,calculations Jamesd69climber CFX 8 February 17, 2005 17:23


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