Skip to content
Snippets Groups Projects
Commit 0e2b97d6 authored by Ruth Sabariego's avatar Ruth Sabariego
Browse files

Update electromagnet.pro

parent 37e57bb2
Branches
Tags
No related merge requests found
Pipeline #1943 passed
...@@ -14,6 +14,8 @@ ...@@ -14,6 +14,8 @@
To compute the solution interactively from the Gmsh GUI: To compute the solution interactively from the Gmsh GUI:
File > Open > electromagnet.pro File > Open > electromagnet.pro
You may choose the Resolution in the left panel:
Magnetodynamics2D_av (default) or Magnetostatics2D_a
Run (button at the bottom of the left panel) Run (button at the bottom of the left panel)
------------------------------------------------------------------- */ ------------------------------------------------------------------- */
...@@ -32,8 +34,8 @@ Group { ...@@ -32,8 +34,8 @@ Group {
Vol_Mag = Region[{Air, Core, Ind, AirInf}]; // full magnetic domain Vol_Mag = Region[{Air, Core, Ind, AirInf}]; // full magnetic domain
Vol_C_Mag = Region[Core]; // massive conductors Vol_C_Mag = Region[Core]; // massive conductors
Vol_S_Mag = Region[Ind]; // stranded conductors (coils) Vol_S_Mag = Region[Ind]; // stranded conductors (coils)
Vol_Inf_Mag = Region[AirInf]; // annulus for infinite shell transformation Vol_Inf_Mag = Region[AirInf]; // ring-shaped shell for infinite transformation
Val_Rint = rInt; Val_Rext = rExt; // interior and exterior radii of annulus Val_Rint = rInt; Val_Rext = rExt; // interior and exterior radii of ring
} }
Function { Function {
...@@ -50,7 +52,7 @@ Function { ...@@ -50,7 +52,7 @@ Function {
sigma[ Ind ] = 5e7; sigma[ Ind ] = 5e7;
Ns[ Ind ] = 1000 ; // number of turns in coil Ns[ Ind ] = 1000 ; // number of turns in coil
Sc[ Ind ] = SurfaceArea[] ; // surface (cross section) of coil Sc[ Ind ] = SurfaceArea[] ; // area of coil cross section
// Current density in each coil portion for a unit current (will be multiplied // Current density in each coil portion for a unit current (will be multiplied
// by the actual total current in the coil) // by the actual total current in the coil)
js0[ Ind ] = Ns[]/Sc[] * Vector[0,0,-1]; js0[ Ind ] = Ns[]/Sc[] * Vector[0,0,-1];
...@@ -66,7 +68,7 @@ Constraint { ...@@ -66,7 +68,7 @@ Constraint {
} }
{ Name Current_2D; { Name Current_2D;
Case { Case {
// represents the phasor amplitude for a dynamic analysis // represents the phasor amplitude (peak to peak value) for a dynamic analysis
{ Region Ind; Value Current; } { Region Ind; Value Current; }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment