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.
Help needed: magnetostatic force calculation using Maxwell stress tensor
Posted 19 lug 2010, 12:52 GMT-4 RF & Microwave Engineering, Structural Mechanics Version 4.3b 3 Replies
Please login with a confirmed email address before reporting spam
This problem has been bothering me for weeks. I read previous posts on this forum on topic of Maxwell stress tensor but still could not find what is wrong.
I'm trying to calculate the repelling force between two magnet rings with one levitated above the other. I defined a force variable for the top ring. COMSOL (AC/DC 3.3) gives "topring_nTz_emnc" as the surface force density at the boundaries of the top ring for calculating z-component of the force.
On the other hand, I manually defined elements of the Maxwell stress tensor as Global Expressions
T =(1/mu0)* [ Bx^2-0.5*|B|^2, BxBy, BxBz ;
ByBx, By^2-0.5*|B|^2, ByBz ;
BzBx , BzBy, Bz^2-0.5*|B|^2 ]
= [Txx, Txy, Txz;
Tyx, Tyy, Tyz;
Tzx, Tzy, Tzz];
Since I need to compute the z-component of the force, I used the Boundary Integration Coupling variable to calculate
Fz = int{nx*Tzx+ny*Tzy+nz*Tzz} dA
for each boundary of top ring. [nx ny nz] is the outward surface normal.
Here, nx*Tzx+ny*Tzy+nz*Tzz is also surface force density, which should agree with "topring_nTz_emnc" that is automatically generated by COMSOL.
However, I am getting different results. For some of the boundary surfaces (e.g. the inner and outer cylindrical faces of the top ring),
nx*Tzx+ny*Tzy+nz*Tzz
does not agree with
topring_nTz_emnc.
Any hints on what may have gone wrong?
Thanks,
Zhiyong
I'm trying to calculate the repelling force between two magnet rings with one levitated above the other. I defined a force variable for the top ring. COMSOL (AC/DC 3.3) gives "topring_nTz_emnc" as the surface force density at the boundaries of the top ring for calculating z-component of the force.
On the other hand, I manually defined elements of the Maxwell stress tensor as Global Expressions
T =(1/mu0)* [ Bx^2-0.5*|B|^2, BxBy, BxBz ;
ByBx, By^2-0.5*|B|^2, ByBz ;
BzBx , BzBy, Bz^2-0.5*|B|^2 ]
= [Txx, Txy, Txz;
Tyx, Tyy, Tyz;
Tzx, Tzy, Tzz];
Since I need to compute the z-component of the force, I used the Boundary Integration Coupling variable to calculate
Fz = int{nx*Tzx+ny*Tzy+nz*Tzz} dA
for each boundary of top ring. [nx ny nz] is the outward surface normal.
Here, nx*Tzx+ny*Tzy+nz*Tzz is also surface force density, which should agree with "topring_nTz_emnc" that is automatically generated by COMSOL.
However, I am getting different results. For some of the boundary surfaces (e.g. the inner and outer cylindrical faces of the top ring),
nx*Tzx+ny*Tzy+nz*Tzz
does not agree with
topring_nTz_emnc.
Any hints on what may have gone wrong?
Thanks,
Zhiyong
3 Replies Last Post 20 giu 2013, 08:07 GMT-4