Dear all,
I have been trying for a month to solve a similar problem, a coil on an iron core surrounded by air. The log file does not show any warning message or error but it seems that the magnetic field is not computed from th reimposed current into the closed coil. Indeed, changing the current density does not produce any changes in the results.
Here I am joining the mesh and case file as well as the log file in the attached zip folder. I provide the case.sif file below.
Best regards,
Frederic
Header
CHECK KEYWORDS Warn
Mesh DB "." "assembly"
Results Directory "Results"
End
Simulation
Coordinate System = "Cartesian 3D"
Coordinate Mapping(3) = 1 2 3
Simulation Type = Steady
Steady State Max Iterations = 1
Max Output Level = 6
End
Constants
Gravity(4) = 0 0 -1 9.82
Stefan Boltzmann = 5.67e-08
Permittivity of Vacuum = 8.8542e-12
Boltzmann Constant = 1.3807e-23
Unit Charge = 1.602e-19
End
! -- BODIES --
Body 1
Name = "SOL001"
Target Bodies(1) = 1
Equation = 2
Material = 1
Body Force = 1
End
Body 2
Name = "SOL002"
Target Bodies(1) = 2
Equation = 1
Material = 3
End
Body 3
Name = "SOL003"
Target Bodies(1) = 3
Equation = 1
Material = 2
End
! -- MATERIAL PROPERTIES --
Material 1
Name = "Conductor"
Relative Permeability = 1.0
Relative Permittivity = 1.0
Electric Conductivity = 1.0
End
Material 2
Name = "Air"
Relative Permeability = 1.0
Relative Permittivity = 1.0
End
Material 3
Name = "Iron"
Relative Permeability = 1000.0
Relative Permittivity = 1.0
End
! -- COMPONENTS --
Component 1
Name = String "Coil1"
Coil Type = String "test"
Master Bodies(1) = Integer 1
Desired Current Density = Real 1e7
End
! -- BODY FORCE --
Body Force 1
Name = "Source"
Current Density 1 = Equals "CoilCurrent e 1"
Current Density 2 = Equals "CoilCurrent e 2"
Current Density 3 = Equals "CoilCurrent e 3"
End
!-- BOUNDARY CONDITIONS --
Boundary Condition 1
Name = "FAC003"
Target Boundaries(1) = 6
AV {e} = real 0
AV = real 0
Jfix = real 0.0
End
!-- EQUATIONS --
Equation 1
Name = "MGDyn for air"
Active Solvers(2) = 2 3
End
Equation 2
Name = "MGDyn for coils"
Active Solvers(3) = 1 2 3
End
!-- SOLVERS --
Solver 1
Equation = "CoilSolver"
Procedure = "CoilSolver" "CoilSolver"
Linear System Solver = "Iterative"
Linear System Preconditioning = ILU1
Linear System Max Iterations = 1000
Linear System Convergence Tolerance = 1e-10
Linear System Iterative Method = BiCGStab
Linear System Residual Output = 10
Steady State Convergence Tolerance = 1e-06
Normalize Coil Current = Logical True
Nonlinear System Consistent Norm = Logical True
Coil Closed = Logical True
Narrow Interface = Logical True
Save Coil Set = Logical True
Save Coil Index = Logical True
Calculate Elemental Fields = Logical True
!Coil Center(3) = Real ...
Coil Normal(3) = Real 0. 0. 1.
End
Solver 2
Equation = MGDynamics
Procedure = "MagnetoDynamics" "WhitneyAVSolver"
Variable = AV
Fix Input Current density = True
Steady State Convergence Tolerance = 1.0e-5
Nonlinear System Max Iterations = 1
Linear System Solver = iterative
Linear System Iterative Method = BiCGStabl
Linear System GCR Restart = 100
BiCGStabl Polynomial Degree = 6
Idrs Parameter = Integer 6
Linear System Robust = Logical True
Linear System Max Iterations = 1000
Linear System Convergence Tolerance = 1.0e-8
Linear System Preconditioning = none
Linear System Residual Output = 1
Linear System Abort Not Converged = False
Linear System Row Equilibration = Logical True
Nonlinear System Consistent Norm = Logical True
End
Solver 3
Equation = MGDynamicsCalc
Procedure = "MagnetoDynamics" "MagnetoDynamicsCalcFields"
Potential Variable = String "AV"
Steady State Convergence Tolerance = 1.0e-5
Nonlinear System Convergence Tolerance = 1.0e-8
Nonlinear System Max Iterations = 20
Nonlinear System Newton After Iterations = 3
Nonlinear System Newton After Tolerance = 1.0e-3
Nonlinear System Relaxation Factor = 1
Linear System Solver = Iterative
Linear System Symmetric = True
Linear System Iterative Method = CG
Linear System Max Iterations = 5000
Linear System Convergence Tolerance = 1.0e-8
Linear System Preconditioning = ILU0
Linear System ILUT Tolerance = 1.0e-3
Linear System Abort Not Converged = False
Linear System Residual Output = 1
Linear System Precondition Recompute = 1
Nonlinear System Consistent Norm = Logical True
Discontinuous Bodies = True
Calculate Current Density = True
Calculate Magnetic Field Strength = True
Calculate Maxwell Stress = True
Calculate Elemental Fields = True
End
Solver 4
Exec Solver = after all
Equation = "ResultOutput"
Procedure = "ResultOutputSolve" "ResultOutputSolver"
Output File Name = case
Vtu format = Logical True
Binary Output = True
Discontinuous Bodies = Logical True
Save Geometry Ids = True
End