Force calculations using Maxwell stress tensor in electrostatic field
Force calculations using Maxwell stress tensor in electrostatic field
(OP)
Hello;
I am just beginning using ANSYS. I need to calculate force that acts on the surface of a sphere in an electrostatic field. My model is axis-symmetric. I have created an axis-symmetric 2D model and the computer calculated the electric field and the charges, etc on the surface of the sphere. I need to calculate the force on the surface of the sphere using Maxwell stress tensor. To do this I've done the following:
Solution works.
post-processor:
fmagsum,'cname' - here it says that the componenets of the elemetns are not selected thus fmagsum is equal 0.
Sincerely,
John
I am just beginning using ANSYS. I need to calculate force that acts on the surface of a sphere in an electrostatic field. My model is axis-symmetric. I have created an axis-symmetric 2D model and the computer calculated the electric field and the charges, etc on the surface of the sphere. I need to calculate the force on the surface of the sphere using Maxwell stress tensor. To do this I've done the following:
CODE
!code from pre-processor
rsys,0
csys,11,0,0,0
nsel,loc,x,0.95*r,1.05*r
esln
cm,cname, !As I understand, now, I have to write some components of the elements, which?
fmagbc,'cname'
rsys,0
csys,11,0,0,0
nsel,loc,x,0.95*r,1.05*r
esln
cm,cname, !As I understand, now, I have to write some components of the elements, which?
fmagbc,'cname'
post-processor:
fmagsum,'cname' - here it says that the componenets of the elemetns are not selected thus fmagsum is equal 0.
Sincerely,
John





RE: Force calculations using Maxwell stress tensor in electrostatic field
Looking at your code, I see you have already selected nodes and elements on nodes. I suppose you want to compute the magnetic force acting on those elements. For this you have to define an elements component:
cm,cname,elem
It is important that those elements are surrounded by air elements, see the help on fmagbc.
After solution, make sure that all elements are selected and then use fmagsum.
Regards
Alex
RE: Force calculations using Maxwell stress tensor in electrostatic field
John