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

Volume Calculation

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

Like Tree1Likes
  • 1 Post By Dipsomaniac

Reply
 
LinkBack Thread Tools Display Modes
Old   October 23, 2017, 16:43
Arrow Volume Calculation
  #1
Senior Member
 
FlyBob91's Avatar
 
Join Date: Mar 2016
Location: Bergamo
Posts: 121
Rep Power: 3
FlyBob91 is on a distinguished road
Hello to all,
I need to calculate volumes of two mesh and i can't use the usual command checkMesh because it gives to me the same results because it doesn't show enough decimal digits.
Here my case: in the first pic there is my original geometry with straight walls, in the second there is the modified geometry with an irregular wall. The volume change in the second case is very little because inwards and outwards displacements compensate themselves but not totally. Now, how can i know the little volume variation? The irregular wall is a distinct patch, if i show it and not the others can i calculate its volume?

Thanks for help
Attached Images
File Type: png modified.png (3.3 KB, 5 views)
File Type: png origianl.png (1.7 KB, 5 views)
FlyBob91 is offline   Reply With Quote

Old   October 23, 2017, 17:47
Default
  #2
Member
 
Brian Willis
Join Date: Mar 2011
Location: Cape Town, South Africa
Posts: 58
Rep Power: 8
Dipsomaniac is on a distinguished road
Hi Flybob

You can try the writeCellVolumes post process function which creates a volScalarField of the volume for each cell, and then integrate scalar field using another post process function.

Regards,
Brian
FlyBob91 likes this.
Dipsomaniac is offline   Reply With Quote

Old   October 23, 2017, 18:07
Default
  #3
Senior Member
 
FlyBob91's Avatar
 
Join Date: Mar 2016
Location: Bergamo
Posts: 121
Rep Power: 3
FlyBob91 is on a distinguished road
Quote:
Originally Posted by Dipsomaniac View Post
Hi Flybob

You can try the writeCellVolumes post process function which creates a volScalarField of the volume for each cell, and then integrate scalar field using another post process function.

Regards,
Brian
Hi Dipsomaniac, it seems the command you suggested me is what i need.

Many many thanks
FlyBob91 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
multiphaseEulerFoam high Courant number Frenk_T OpenFOAM 5 November 24, 2016 04:23
Wrong Calculation of Cell Volume olli191 ParaView 1 August 3, 2016 04:09
error message with modeling a cube with a hold at the center hsingtzu OpenFOAM Native Meshers: blockMesh 2 March 14, 2012 10:56
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


All times are GMT -4. The time now is 04:12.