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.

how can I get the correct volume value and the body resistance!

Please login with a confirmed email address before reporting spam

In joule heating model of 3D with comsol 4.3, using the measure tool, I can't get the volume value, only displaying as follows "Domains: 1. Faces: 8. Edges: 12. Points: 6. CAD objects: 1.", How can i get the volume value,such as 1M^3 for the cubic of length 1m;

In the results ,using the volume integration of domain index, I can't get the correct result.can you tell me why?

except this ,how can I get the resistance of the body?

Thanks a lot!

1 Reply Last Post 26.03.2013, 05:27 GMT-4
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 26.03.2013, 05:27 GMT-4
Hi
You can get the volume by doing a volume integration with the integrand of "1" (Definitions Coupling Volume integration => intop1() over the desired domains
+ Definitions - Variables MyVol = intop1(1)

To evaluate any variable you need to "populate" the mesh and the data set, you can do this simplest, without solving fully by "Get initial values". If you had solved already, by adding new Definitions you need to to a Solver "Update" (because re-demanding the "initial conditions" clears also your previous results if existing)
If you model is "small" the cleanest is to resolve when you have changed the Definitions node


--
Good luck
Ivar
Hi You can get the volume by doing a volume integration with the integrand of "1" (Definitions Coupling Volume integration => intop1() over the desired domains + Definitions - Variables MyVol = intop1(1) To evaluate any variable you need to "populate" the mesh and the data set, you can do this simplest, without solving fully by "Get initial values". If you had solved already, by adding new Definitions you need to to a Solver "Update" (because re-demanding the "initial conditions" clears also your previous results if existing) If you model is "small" the cleanest is to resolve when you have changed the Definitions node -- 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.