Check Keywords "Warn"
Header
Mesh DB "." "metalTurn"
End
Simulation
Max Output Level = 5
Coordinate System = "Cartesian"
Simulation Type = Steady State
! Simulation Type = Transient
! Timestepping Method = BDF
! Timestep Sizes = 1.0/10
! Timestep Intervals(1) = 10
Output Intervals(1) = 1
Steady State Max Iterations = 1
Coordinate Scaling(3) = Real 1e-3 1e-3 1e-3
End
Body 1
Name = "Metal"
Target Bodies(1) = 1
Equation = 1
Material = 1
Body Force = 1
End
Body 2
Name = "Air"
Target Bodies(1) = 2
Equation = 2
Material = 2
End
Material 1
Name = "Copper"
Relative Permittivity = 1.0
Relative Permeability = 1.0
Electric Conductivity = 58e6
End
Material 2
Name = "Air"
Relative Permittivity = 1.0
Relative Permeability = 1.0
Electric Conductivity = 0.0
End
Equation 1
Active Solvers(2) = 1 2
End
Equation 2
Active Solvers(2) = 1 2
End
Solver 1
Equation = "MGDynamics"
Variable = "AV"
Procedure = "MagnetoDynamics" "WhitneyAVSolver"
Fix Input Current Density = Logical False
Linear System Symmetric = True
Linear System Solver = "Iterative"
! Linear System Preconditioning = Ilu
Linear System Preconditioning = none
Linear System Residual Output = 10
Linear System Max Iterations = 3000
! Linear System Iterative Method = Bicgstab
Linear System Iterative Method = GCR
Linear System Convergence Tolerance = 1.0e-8
BicgStabl Polynomial Degree =4
! Steady State Convergence Tolerance = 1e-09
End
Solver 2
Equation = "MGDynamicsCalc"
Procedure = "MagnetoDynamics" "MagnetoDynamicsCalcFields"
Linear System Symmetric = True
Potential Variable = String "AV"
Calculate Current Density = Logical True
Calculate Electric Field = Logical True
Calculate Magnetic Field Strength = Logical True
Calculate Joule Heating = True
Steady State Convergence Tolerance = 0
Linear System Solver = "Iterative"
Linear System Preconditioning = None
Linear System Residual Output = 0
Linear System Max Iterations = 5000
Linear System Iterative Method = CG
Linear System Convergence Tolerance = 1.0e-8
Calculate Nodal Fields = Logical False
Impose Body Force Porential = Logical True
Impose Body Force Current = Logical True
Discontinuous Bodies = True
End
Solver 3
Exec Solver = after all
Equation = "ResultOutput"
Procedure = "ResultOutputSolve" "ResultOutputSolver"
Output File Name = metalBar
Vtu format = Logical True
Discontinuous Bodies = Logical True
End
Body Force 1
Name="current density"
Current Density 1 = Variable time
Real MATC "1+sin(0.2*tx)"
! Current Density = 1e8
Current Density 2 = 0
Current Density 3 = 0
! Electric Potential = Real 0.01
End
Boundary Condition 1
Name = "Metal Start"
Target Boundaries(1) = 1
Coil Start = Logical True
AV {e} 1 = Real 0.0
AV {e} 2 = Real 0.0
AV = Real 0.0
End
Boundary Condition 2
Name = "Metal Surface"
Target Boundaries(1) = 2
End
Boundary Condition 3
Name = "Metal End"
Target Boundaries(1) = 3
Coil End = Logical True
AV {e} 1 = Real 0.0
AV {e} 2 = Real 0.0
AV = Real 0
End
Boundary Condition 4
Name = "Air Start"
Target Boundaries(1) = 4
AV {e} 1 = Real 0.0
AV {e} 2 = Real 0.0
End
Boundary Condition 5
Name = "Air Surface"
Target Boundaries(1) = 5
AV {e} 1 = Real 0.0
AV {e} 2 = Real 0.0
End
Boundary Condition 6
Name = "Air End"
Target Boundaries(1) = 6
AV {e} 1 = Real 0.0
AV {e} 2 = Real 0.0
End
RUN