Is there a way to get a single body area? I am working with 2D and using SaveScalars:
Code: Select all
Variable 3 = Potential
Operator 3 = Volume
Mask Name 3 = InnerLeftCoil
Code: Select all
Variable 3 = Potential
Operator 3 = Volume
Mask Name 3 = InnerLeftCoil
Code: Select all
Body 3
Target Bodies(1) = 3
Name = "Body 3"
Equation = 1
Material = 1
Body Force = 2
InnerLeftCoil = Logical True
End
Code: Select all
Solver 3
! Remember that Elmer keeps the axial length as 1 m and in Femm this can be set.
! In Femm, this integral is dependent on the axial length.
Equation = SaveScalars
Procedure = "SaveData" "SaveScalars"
Filename = result
Exec Solver = After Timestep
Variable 1 = Potential
Operator 1 = Body int
Mask Name 1 = OuterLeftCoil
Variable 2 = Potential
Operator 2 = Body int
Mask Name 2 = InnerLeftCoil
Variable 3 = Potential
Operator 3 = Body Volume
Mask Name 3 = InnerLeftCoil
End