Skip to content
Snippets Groups Projects
Commit 025a463c authored by François Henrotte's avatar François Henrotte
Browse files

adapted comment about making airring transfinite

parent ac3abe44
No related branches found
No related tags found
No related merge requests found
Pipeline #5221 passed
......@@ -206,10 +206,8 @@ StatorPerSlave() = face();
FaceId = 5; Call Cube2Face;
StatorTop() = face();
// Make AirRing a transfinite region. The width of the air ring is arbitrary,
// but it is in general thin, especially in machine models where it has to fit
// into the air gap. To improve the quality of the mesh, it is thus appropriate
// to have it transfinite in practice.
// The width of the air ring region is arbitrary, but it is in general thin,
// especially in machine models where it has to fit into the air gap.
surfaces() = Boundary { Volume{10}; };
lines() = Boundary { Surface{ SlidingSlave() }; };
......@@ -235,9 +233,9 @@ For num In { 0:#lines()-1 }
EndIf
EndFor
// Transfinite Surface{ surfaces() } ;
//Transfinite Surface{ surfaces() } ;
Transfinite Surface{ SlidingMaster() } ;
Transfinite Surface{ SlidingSlave() };
Transfinite Surface{ SlidingSlave() } ;
// Identify 'SlidingSubmaster' Curve
......
......@@ -19,7 +19,7 @@ DefineConstant[
Name "GetDP/1ResolutionChoices"},
C_ = {"-solve -v 4 -pos -v2", Visible 0,
Name "GetDP/9ComputeCommand"},
P_ = { "Check_Periodicity", Choices {"Fields", "Check_Periodicity"}, Visible 0,
P_ = { "", Choices {"Fields", "Check_Periodicity"}, Visible 0,
Name "GetDP/2PostOperationChoices"}
];
......@@ -251,6 +251,7 @@ Resolution {
UpdateConstraint[Sys_Mag] ;
Generate Sys_Mag ; Solve Sys_Mag ; SaveSolution Sys_Mag ;
PostOperation [Check_Periodicity];
PostOperation [Fields];
}
}
......@@ -326,7 +327,7 @@ PostOperation Check_Periodicity UsingPost MagSta_a {
"View[l].LineWidth = 5;"] ,
File "tmp.geo", LastTimeStepOnly] ;
EndIf
/*
Print[ bsurf, OnElementsOf Region[ {Sur_SlidingMaster} ],
LastTimeStepOnly, File "bsm.pos"] ;
Echo[ Str["l=PostProcessing.NbViews-1;",
......@@ -348,7 +349,7 @@ PostOperation Check_Periodicity UsingPost MagSta_a {
"View[l].LineWidth = 3;",
"View[l].VectorType = 4;" ] ,
File "tmp.geo", LastTimeStepOnly] ;
*/
Print[ bsurf, OnElementsOf Region[ Sur_Link ],
LastTimeStepOnly, File "bsl.pos"] ;
Echo[ Str["l=PostProcessing.NbViews-1;",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment