Please login with a confirmed email address before reporting spam
Posted:
3 years ago
2021年8月1日 GMT-4 05:34
Updated:
3 years ago
2021年8月1日 GMT-4 12:18
Hello Niraj,
In the model builder, for each bubble :
- define a named selection
- define a domain integration operator and sets its domain of application to the named selection you just created. Default names will be
intop1
and intop2
but you may change it to something more explicit
- create a variable
volume_1 = intop1(2*pi*r)
Hence, you are integrating the function 2*pi*r
where r
denotes the radial coordinate of your axi-symmetric problem. Without the axial symmetry, you should integrate the constant function 1
instead. I would not be surprised to learn that COMSOL already takes care of the 2*pi*r
factor for you, so you should check with a simple geometry (such as a cylinder) which of these two integrands gives the correct result.
Hello Niraj,
In the model builder, for each bubble :
* define a named selection
* define a domain integration operator and sets its domain of application to the named selection you just created. Default names will be `intop1` and `intop2` but you may change it to something more explicit
* create a variable `volume_1 = intop1(2*pi*r)`
Hence, you are integrating the function `2*pi*r` where `r` denotes the radial coordinate of your axi-symmetric problem. Without the axial symmetry, you should integrate the constant function `1` instead. I would not be surprised to learn that COMSOL already takes care of the `2*pi*r` factor for you, so you should check with a simple geometry (such as a cylinder) which of these two integrands gives the correct result.