Skip to content

Commit c9edd1b

Browse files
Fix radius circumferential mesh division settings (#367)
* Disable auto radial/circumferential mesh division --------- Co-authored-by: Takahiro Noguchi <tnoguchi@umn.edu>
1 parent fdef25a commit c9edd1b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • mach_eval/analyzers/electromagnetic/bspm

mach_eval/analyzers/electromagnetic/bspm/jmag_2d.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -618,6 +618,8 @@ def add_mesh(self, study, model):
618618

619619
study.GetMeshControl().SetValue("MeshType", 1) # make sure this has been exe'd:
620620
# study.GetCondition(u"RotCon").AddSet(model.GetSetList().GetSet(u"Motion_Region"), 0)
621+
study.GetMeshControl().SetValue(u"AutoGapDivision", 0)
622+
study.GetMeshControl().SetValue(u"AutoDivision", 0)
621623
study.GetMeshControl().SetValue(
622624
"RadialDivision", self.config.airgap_mesh_radial_div
623625
) # for air region near which motion occurs

0 commit comments

Comments
 (0)