I wanted to create a example case of the use of FEMM / Triangle to create the input mesh for simulation of electrical machines. But, before submiting to elmer-elmag folder, I wish for help in some points.
First:
I could not use the 'Discontinuous Boundary = Logical True' directly, the simulation gave the following error: ERROR:: CreateDiscontMesh: Alternative strategy requires all parent elements!
Using 'Discontinuous Target Bodies(1) = 10' helped.
Second:
I could not use SaveLine solver, either using 'Save Line = True' in the BC or using:
Code: Select all
Coordinate Transformation = String "cartesian to cylindrical"
Coordinate Transformation Use Degrees = Logical True
Polyline Coordinates(2,3) = 0.010738 0.0 0.0 0.010738 180.0 0.0
Polyline Divisions(1) = Integer 181
Using 'Coordinate Transformation' gave weird results.
For comparing the magnetic flux in the air gap, I had to extract the line results from Paraview.
Please refer to the case files here:
https://github.com/gforti84/ElmerFiles/ ... in/share_1