CFD Online Logo CFD Online URL
Home > Forums > CFX

Calculating volume of a variable

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

LinkBack Thread Tools Display Modes
Old   November 26, 2009, 06:25
Default Calculating volume of a variable
New Member
Join Date: Apr 2009
Posts: 8
Rep Power: 10
ellevset is on a distinguished road
I want to be able to calculate the volume of cells with a certain variable higher than some value. For example calculating the volume of all cells with temperature higher than 400 degrees.

I would like to be able to add this in Pre so I can monitor this volume throughout the simulation, is this possible?

ellevset is offline   Reply With Quote

Old   November 26, 2009, 06:41
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 14,096
Rep Power: 109
ghorrocks is a jewel in the roughghorrocks is a jewel in the roughghorrocks is a jewel in the roughghorrocks is a jewel in the rough
A CEL expression something like volumeInt(step(variable-threshold))@domain should do the trick. Note that you have to ensure "variable-threshold" is unitless. Put it in as a monitor point and it will be calculated as the simulation progresses.
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
BlockMesh FOAM warning gaottino OpenFOAM Native Meshers: blockMesh 7 July 19, 2010 14:11
On the damBreak4phaseFine cases paean OpenFOAM Running, Solving & CFD 0 November 14, 2008 22:14
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 12:55
Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Native Meshers: blockMesh 10 April 2, 2007 14:00
Replace periodic by inlet-outlet pair lego CFX 3 November 5, 2002 21:09

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