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
11.06.2012, 15:23 GMT-4
Hi
for me the average operator is exactly that integration (over your boundary) of your operand divided by the integration over the same boundary of argument 1 => hence equal to the boundary area
for a velocity vector, you should perhaps consider the scalar product (u,v,w)*(nx,ny,nz) to get the surface nomal velocity average.
If you are in 2D axi do not forget that the integration over the radial section "*2*pi*r" the "loop length, there is tick to add for the integrations (not all be aware) to automatically perform surface integration from a edge (2D-axi boundary integration
--
Good luck
Ivar
Hi
for me the average operator is exactly that integration (over your boundary) of your operand divided by the integration over the same boundary of argument 1 => hence equal to the boundary area
for a velocity vector, you should perhaps consider the scalar product (u,v,w)*(nx,ny,nz) to get the surface nomal velocity average.
If you are in 2D axi do not forget that the integration over the radial section "*2*pi*r" the "loop length, there is tick to add for the integrations (not all be aware) to automatically perform surface integration from a edge (2D-axi boundary integration
--
Good luck
Ivar
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
13.06.2012, 07:48 GMT-4
Hi Ivar,
thank you very much for the help.
I was just wondering, how is the Average Command implemented in Matlab?
Does it just sum up the velocity magnitude on each node and then divide by number of nodes?
For example if I use the same model once without and once with boundary layer meshes, the average velocity changes.
Yeah I've already seen the 2*Pi*r trick in one of the discussion threads here. I am
using a 3D model.
Hi Ivar,
thank you very much for the help.
I was just wondering, how is the Average Command implemented in Matlab?
Does it just sum up the velocity magnitude on each node and then divide by number of nodes?
For example if I use the same model once without and once with boundary layer meshes, the average velocity changes.
Yeah I've already seen the 2*Pi*r trick in one of the discussion threads here. I am
using a 3D model.
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
13.06.2012, 09:28 GMT-4
Hi
you would write the average as ( integration - over a boundary - of the argument - function of (x,y,z,t) - *dx*dy ) / ( integration - over the same boundary of 1 * dx*dy ) the dx*dy or whatever applies is implicit and newer written out
and COMSOL uses, by default, a 4rth order integration algorithm, better tan a "summation over the elements"
check the doc and the litterture, and do some simple tests on a cube an a sphere to get the right feeling of all this
--
Good luck
Ivar
Hi
you would write the average as ( integration - over a boundary - of the argument - function of (x,y,z,t) - *dx*dy ) / ( integration - over the same boundary of 1 * dx*dy ) the dx*dy or whatever applies is implicit and newer written out
and COMSOL uses, by default, a 4rth order integration algorithm, better tan a "summation over the elements"
check the doc and the litterture, and do some simple tests on a cube an a sphere to get the right feeling of all this
--
Good luck
Ivar
Please login with a confirmed email address before reporting spam
Posted:
9 years ago
15.01.2016, 03:44 GMT-5
Hi
for me the average operator is exactly that integration (over your boundary) of your operand divided by the integration over the same boundary of argument 1 => hence equal to the boundary area
for a velocity vector, you should perhaps consider the scalar product (u,v,w)*(nx,ny,nz) to get the surface nomal velocity average.
If you are in 2D axi do not forget that the integration over the radial section "*2*pi*r" the "loop length, there is tick to add for the integrations (not all be aware) to automatically perform surface integration from a edge (2D-axi boundary integration
--
Good luck
Ivar
Hi Ivar,
If I want to calculate the average velocity for one direction [let say in z-axis] in surface boundary area, then which one is correct to choose: "surface average" or surface integration"?
Thanks
[QUOTE]
Hi
for me the average operator is exactly that integration (over your boundary) of your operand divided by the integration over the same boundary of argument 1 => hence equal to the boundary area
for a velocity vector, you should perhaps consider the scalar product (u,v,w)*(nx,ny,nz) to get the surface nomal velocity average.
If you are in 2D axi do not forget that the integration over the radial section "*2*pi*r" the "loop length, there is tick to add for the integrations (not all be aware) to automatically perform surface integration from a edge (2D-axi boundary integration
--
Good luck
Ivar
[/QUOTE]
Hi Ivar,
If I want to calculate the average velocity for one direction [let say in z-axis] in surface boundary area, then which one is correct to choose: "surface average" or surface integration"?
Thanks