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

Time integral of the variable in POST

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 23, 2010, 12:44
Default Time integral of the variable in POST
  #1
Member
 
Lukasz
Join Date: Mar 2009
Posts: 64
Rep Power: 8
Luk_Fiz is on a distinguished road
Hi all,
I have suprisingly simple question and cannot find an answer in the archiwe.

I have simple time-dependant simulation. In the transient results files I can visualize any quantity (velocity, density etc) on any given surface over the time - thats obvious. But how to visualise the time-integral of this quantity from the entire simulation on this surface? For example: integration of velocity*density gives something like "flow rate density" of units [kg/m2/s]. If I integrate this in time I have [kg/m2] what gives me "flow density" (not flow rate) in various regions of the plane during the entire simulation.

I am not going to discuss the physical sence of such integrated quantity, just want to know.

Luk
Luk_Fiz is offline   Reply With Quote

Old   August 23, 2010, 18:23
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 10,651
Rep Power: 84
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
In post-processing you can calculate these values for any timestep you have saved a results file for. But the best way is to set up a monitor point with the CEL to evaluate the expression and do it as the solver progresses. Then you get the thingn evaluated at all time steps (or even all coefficient loops if that is of interest).
ghorrocks is offline   Reply With Quote

Old   August 24, 2010, 08:24
Default
  #3
Member
 
Lukasz
Join Date: Mar 2009
Posts: 64
Rep Power: 8
Luk_Fiz is on a distinguished road
Can You please describe how to calculate these time integrals? I really cannot find anything in documentation.

Maybe I can make myself more clear. Lets take for example velocity for given node or element, lets take 2 timesteps each of 1 [s].Than:
Timestep 1) Velocity=1[m/s]
Timestep 2) Velocity=2[m/s]

And the quantity in witch I am interested into is:
1[m/s]*1[s]+2[m/s]*1[s]=3[m]

using simplest integration possible.

Can anyone help how to inisist such a integration in POST? I would be very gratefull.

Luk
Luk_Fiz is offline   Reply With Quote

Old   August 24, 2010, 18:52
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 10,651
Rep Power: 84
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
You cannot do time integrals in CEL in Post or the solver for that matter. You will have to export the results of the time and value and integrate them using another package.
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
UDF extern variable - mean time moment coefficient enry Fluent UDF and Scheme Programming 0 November 14, 2009 07:56
Integral of mass Imbalance drops with time TfG FLUENT 0 April 3, 2009 11:38
AMG versus ICCG msrinath80 OpenFOAM Running, Solving & CFD 2 November 7, 2006 16:15
ADAMS-BASHFORD w/ VARIABLE TIME STEP IRFAN Main CFD Forum 0 July 28, 2005 13:14
variable versus time Cesare CFX 1 September 27, 2004 11:00


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