Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
Nov 23, 2009, 7:32 p.m. EST
An easy way would just be to define a subdomain integration coupling variable, name it "volume," and use 1 as your expression. Now your volume variable will contain the actual volume of that subdomain. I just tried this method for a simple rectangular geometry and it seems to work fine.
I should point out that I tried this with plane-strain mode, I'm not sure if you need to do anything differently for axisymmetric mode. But you can easily try it with simple geometry (that you know the answer to) and see if it works.
Good luck,
Mike
An easy way would just be to define a subdomain integration coupling variable, name it "volume," and use 1 as your expression. Now your volume variable will contain the actual volume of that subdomain. I just tried this method for a simple rectangular geometry and it seems to work fine.
I should point out that I tried this with plane-strain mode, I'm not sure if you need to do anything differently for axisymmetric mode. But you can easily try it with simple geometry (that you know the answer to) and see if it works.
Good luck,
Mike
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
Nov 27, 2009, 5:55 p.m. EST
Hi
for axisymmetry you must use the "2*pi*r" with some care, it can be applied by a click for the BC (boundary conditions since 3.5) but must be applied by "hand" for boundary integration variables.
As suggested, by trying out on simple cases, and studying the units of COMSOL you can find easily the correct dimensions to apply (always check units 30 years later I start to understand that statement from my physics teacher ;)
COMSOL requires some "thinking" and pysics knowledge, but it has far more freedom than other "out-of the box" FEM programmes.
Good luck
Ivar
Hi
for axisymmetry you must use the "2*pi*r" with some care, it can be applied by a click for the BC (boundary conditions since 3.5) but must be applied by "hand" for boundary integration variables.
As suggested, by trying out on simple cases, and studying the units of COMSOL you can find easily the correct dimensions to apply (always check units 30 years later I start to understand that statement from my physics teacher ;)
COMSOL requires some "thinking" and pysics knowledge, but it has far more freedom than other "out-of the box" FEM programmes.
Good luck
Ivar
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
Dec 18, 2009, 6:14 a.m. EST
Thanks! Works great!
Regards,
Johan
Thanks! Works great!
Regards,
Johan