CFD Online Logo CFD Online URL
Home > Forums > Main CFD Forum

Compute volume

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

LinkBack Thread Tools Display Modes
Old   October 2, 2001, 12:27
Default Compute volume
Posts: n/a
Hi there,

I have an object represented by triangle surface mesh. I am wondering how I can compute the volume for mass conservation monitoring?

Thanks in advance.

  Reply With Quote

Old   October 2, 2001, 17:39
Default Re: Compute volume
bloated man
Posts: n/a
With only the vertex points of the triangles known, determine the sidelengths then the surface area of each triangle using Heron's law: -------------------------------------------------------

A^2 = s(s-a)(s-b)(s-c)


a,b,c = side lengths

s=0.5*(a+b+c) ------------------------------------------------------- you will also need to find a normal vector. Define a plane somewhere and then determine the volume of the projected triangle to the plane and multiply it with the normal vector. Do the same for all surface triangles and sum.


If you have a simple shape then take a point near the middle of the shape and determine the volume of all the 3-d triangles (surface area of the little triangles with the height being the distance from the center of the triangle to the point selected in the middle of the shape).. repeat and sum.

Well, its pretty hard for me to explain properly but I hope I pointed you in the right direction.

  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
how to set periodic boundary conditions Ganesh FLUENT 13 January 22, 2014 05:11
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

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