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.

Calculation of Area over a boundary

Please login with a confirmed email address before reporting spam

How to calculate the area over a given boundary (a circle in 2D axisymmetric) in comsol 4.3?
I am using 'Intop()' to calculate the area with '1' in the brackets. Is this way of calculating the area is correct? If this is okay, what will be the units of my output.
Can anyone help me out with this.

4 Replies Last Post 5 nov 2015, 00:40 GMT-5
Ivar KJELBERG COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)

Please login with a confirmed email address before reporting spam

Posted: 9 years ago 4 nov 2015, 02:04 GMT-5
Hi

into1(1) means integrate over the entity (domain, boundary, edge or point) the value 1*dx*dy*dz. This is the definition of a Volume, surface, length, respectively count of points. So this is indeed the correct way to get the area (to the precision of the mesh and its discretization, try it out on a circle and reconstruct "pi")

--
Good luck
Ivar
Hi into1(1) means integrate over the entity (domain, boundary, edge or point) the value 1*dx*dy*dz. This is the definition of a Volume, surface, length, respectively count of points. So this is indeed the correct way to get the area (to the precision of the mesh and its discretization, try it out on a circle and reconstruct "pi") -- Good luck Ivar

Please login with a confirmed email address before reporting spam

Posted: 9 years ago 4 nov 2015, 11:06 GMT-5
Thanks Ivar.

But, when I am entering intop(1) over the surface of a sphere in 2D axisymmetric, the units of length (meter) are being displayed.
Thanks Ivar. But, when I am entering intop(1) over the surface of a sphere in 2D axisymmetric, the units of length (meter) are being displayed.

Ivar KJELBERG COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)

Please login with a confirmed email address before reporting spam

Posted: 9 years ago 4 nov 2015, 12:54 GMT-5
Hi

Indeed in 2D-axi (and 1D-axi, but no longer in 2D nor 1D where you must multiply by the depth respectively the Area manually) a point is in fact a line (hop) around 2*pi*r, therefore there is an additional tick box in the integration tab, stating "Compute integral in revolved geometry" which adds a 2*pi*r[m] to the integration and the "r(r,z) is taken from the point coordinates.

For the Results Derived Values (no Point integration there !) the tick is called "Compute Surface Integral" or "Compute Volume integral"

then you get the right units and value ;)

Always check the units it will tell you if you are missing a dimension.

--
Good luck
Ivar
Hi Indeed in 2D-axi (and 1D-axi, but no longer in 2D nor 1D where you must multiply by the depth respectively the Area manually) a point is in fact a line (hop) around 2*pi*r, therefore there is an additional tick box in the integration tab, stating "Compute integral in revolved geometry" which adds a 2*pi*r[m] to the integration and the "r(r,z) is taken from the point coordinates. For the Results Derived Values (no Point integration there !) the tick is called "Compute Surface Integral" or "Compute Volume integral" then you get the right units and value ;) Always check the units it will tell you if you are missing a dimension. -- Good luck Ivar

Please login with a confirmed email address before reporting spam

Posted: 9 years ago 5 nov 2015, 00:40 GMT-5
Thanks a lot sir.
Thanks a lot sir.

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.