Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.
Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
Calculating volume
Posted 27.04.2012, 11:38 GMT-4 Mesh, Parameters, Variables, & Functions, Studies & Solvers Version 4.2a 7 Replies
Please login with a confirmed email address before reporting spam
How do I calculate volume of an object in COMSOL?
Please see attached file for a simple example.
I have a sphere which I expand using ALE. I want to know the volume change, i.e., volume at the beginning and volume after expansion.
Thanks
sushant
Attachments:
Please login with a confirmed email address before reporting spam
I'm not behind my WS so I cannot "take a look".
But in all generality the volume is simple the integration over the domain of the operand "1". Now you must choose the correct reference frame (depends also on which physics) to get the volume before / after some changes
In 2D the volume is the surface integration * depth (often called "d", sometimes simply normalised to 1[m] all physcs dependent), and in 2D-axi one must integrate 2*pi*r (the loop length) over a domain = area to get the final full volume
--
Good luck
Ivar
Please login with a confirmed email address before reporting spam
If i have a 2D geometry in half ellipse (attached .jpg), and I wish to calculate its volume (revolving volume: become half prolate ellipsoid), how can I calculate the "revolving" volume of the 2D geometry in COMSOL?
I tried to calculate using surface integration*depth (1[m]), but it does not give the expected volume, i guess it is because the "depth" indicates an extrusion rather than revolving?
(Due to some reasons, I have to use 2D geometry rather than 2D axisymmetric.)
Thanks.
Attachments:
Please login with a confirmed email address before reporting spam
I tried to calculate using surface integration*depth (1[m])
use volume integration instead
Please login with a confirmed email address before reporting spam
if you want an ellisoid, you should use 2D-axi and not 2D, then you do a surface volume on the (r>=0) part and select use revolution to obtain volume, basically it multiplies the integration operand by 2*pi*r the "loop length"
--
Good luck
Ivar
Please login with a confirmed email address before reporting spam
use volume integration instead
Hi Alexander,
To calculate volume by selecting volume integration, data set is required, right? What data set should I create to calculate the volume of ellipsoid?
Thanks.
Attachments:
Please login with a confirmed email address before reporting spam
if you want an ellisoid, you should use 2D-axi and not 2D, then you do a surface volume on the (r>=0) part and select use revolution to obtain volume, basically it multiplies the integration operand by 2*pi*r the "loop length"
Thanks Ivar. Due to the implemented material properties is non-symmetric, so I choose 2D geometry rather than 2D axisymmetric (however the geometry is still in symmetry).
May I know is it impossible to obtain ellipsoid volume from calculation in 2D?
Please login with a confirmed email address before reporting spam
but 2D implies an invariant along the depth direction (Z) and all items/variables dependent variables are expressed as per meter depth
It's not the same coordinate development and physics equations between 2D and 2D - axi.
I agree if your material property does not match the 2D-axi symmetry, then for me you have only true 3D left for your model
--
Good luck
Ivar
Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.
