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

CEL expression

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread 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: 16
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: 17,852
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
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


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 Off
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 19: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 18:30.