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.

Calculation of radial field in the air gap

Please login with a confirmed email address before reporting spam

Hi,
Can any one help me with the calculation of radial field in the air gap. The expression of the field is, Br = Bx*cos(theta)+By*sin(theta).

Suppose I want to calculate Br at 10 location in the air gap. So I need to calculate theta at these 10 locations and separate out Bx and By component at these 10 locations from the solution and then evaluate this expression.

Can somebody give some idea how to do it? I tried to do it this way,
1> cut point 2d.. specified my point as x =52*cos(range(0,2*pi/10,2*pi)), 52*sin(range(0,2*pi/10,2*pi)).
2> derived value->point evaluation -- theta = atan(y/x) , this way I can calulate the angle at these points.

Now the problem is how to find Bx and By at these point and evaluate the expression Br = Bx*cos(theta)+By*sin(theta). I tried bndenv(rmm.Bx) to evaluate Bx at these points. However it couldn't work.

Can any one help me with this?

Thanking you,
Gaurav

1 Reply Last Post 24 ago 2017, 04:13 GMT-4

Please login with a confirmed email address before reporting spam

Posted: 7 years ago 24 ago 2017, 04:13 GMT-4
Hi,
I think I got it now.
First choose the coordinate using cut point 2d and then evaluate it using derived value point evaluation as,
Br = rmm.Bx*cos(atan(y/x))+rmm.By*sin(atan(y/x))

Also I calculated theta separately using one more derived value and point evaluation as theta = atan(y/x).

Now the problem is that I want to plot Br with respect to theta. Can any one help with this? How to plot it? Keeping theta at x-axis and Br at y-axis.

Thanking You,
Gaurav
Hi, I think I got it now. First choose the coordinate using cut point 2d and then evaluate it using derived value point evaluation as, Br = rmm.Bx*cos(atan(y/x))+rmm.By*sin(atan(y/x)) Also I calculated theta separately using one more derived value and point evaluation as theta = atan(y/x). Now the problem is that I want to plot Br with respect to theta. Can any one help with this? How to plot it? Keeping theta at x-axis and Br at y-axis. Thanking You, Gaurav

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.