|
[Sponsors] |
November 26, 2009, 05:25 |
Calculating volume of a variable
|
#1 |
New Member
Peter
Join Date: Apr 2009
Posts: 8
Rep Power: 17 |
Hi
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? Peter |
|
November 26, 2009, 05:41 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,746
Rep Power: 143 |
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.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[blockMesh] BlockMesh FOAM warning | gaottino | OpenFOAM Meshing & Mesh Conversion | 7 | July 19, 2010 14:11 |
On the damBreak4phaseFine cases | paean | OpenFOAM Running, Solving & CFD | 0 | November 14, 2008 21:14 |
fluent add additional zones for the mesh file | SSL | FLUENT | 2 | January 26, 2008 11:55 |
[blockMesh] Axisymmetrical mesh | Rasmus Gjesing (Gjesing) | OpenFOAM Meshing & Mesh Conversion | 10 | April 2, 2007 14:00 |
Replace periodic by inlet-outlet pair | lego | CFX | 3 | November 5, 2002 20:09 |