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.

volume within a closed isosurface

Please login with a confirmed email address before reporting spam

Hello

WIthin a 3D domain containing closed isosurfaces, is there a way to calculate the volume of material contained within each isosurface?

Many thanks

Dan

3 Replies Last Post Dec 7, 2012, 2:58 a.m. EST
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: 1 decade ago Dec 5, 2012, 1:18 a.m. EST
Hi

if you define an integration over a domain, and use the Bolean operand "(My_Var < My_value)" I would expect to get the total volume of the region obeying the Bolean condition, no ?

In COMSOL a 3D integration is by default: integrate_over_my_selections_of_Domains(argument*dx*dy*dz)
while the dx*dy*dz is "implicit" (or it might be 2*pi*r*rd*dz in 2D axi)
--
Good luck
Ivar
Hi if you define an integration over a domain, and use the Bolean operand "(My_Var < My_value)" I would expect to get the total volume of the region obeying the Bolean condition, no ? In COMSOL a 3D integration is by default: integrate_over_my_selections_of_Domains(argument*dx*dy*dz) while the dx*dy*dz is "implicit" (or it might be 2*pi*r*rd*dz in 2D axi) -- Good luck Ivar

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Dec 7, 2012, 1:25 a.m. EST
HI Ivar

Thanks I hadn't thought of using a boolean expression.

Works perfectly of course

Thanks again

Dan
HI Ivar Thanks I hadn't thought of using a boolean expression. Works perfectly of course Thanks again Dan

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: 1 decade ago Dec 7, 2012, 2:58 a.m. EST
Hi

one warning, do not use Boolean on average operators, as the normalisation is not taking into account the boolean expression and you get too low values. Then its worth to write out the two integration fully, both with the same boolean expression in the numerator and de-numerator of the average expression

--
Good luck
Ivar
Hi one warning, do not use Boolean on average operators, as the normalisation is not taking into account the boolean expression and you get too low values. Then its worth to write out the two integration fully, both with the same boolean expression in the numerator and de-numerator of the average expression -- 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.