I have a problem for coupling heat equation and Navier Stockes equation.
I have 3 body forces
- 1 for exciting a coil in MagnetoDynamics2DHarmonic solver
- 1 for calculate the stiring and joule heating of a metallic liquid charge
- 1 for Joule heating in a solid body
3 equations are used to calculate on different locations physics.
- equation 1 : Induction in bodies 1 and 4 (air and coil)
- equation 2 : Induction + Joule heating in body 2 (solid graphite plate)
- equation 3: Induction + Joule heating + stiring in body 3 (silicon melt): if I turned on Convection = Computed or not in the third equation, it changes nothing!
Code: Select all
Body Force 1
Current Density = 10e6
End
Body Force 2
Joule Heat = Logical True
BMAG = Variable b re 1, b re 2
Real MATC "sqrt(tx(0)^2+tx(1)^2)"
stiring = Variable BMAG, Coordinate 1
Real MATC "-1*(tx(0)^2/(2*4*pi*1e-7*0.003355)*exp(-0.01*(0.1-tx(1))/0.003355))"
Flow Bodyforce 1 = Variable BMAG, Coordinate 1
Real MATC "-1*((tx(0)^2/(2*4*pi*1e-7*0.003355)*exp(-0.01*(0.1-tx(1))/0.003355))/1000)"
End
Body Force 3
Joule Heat = Logical True
End
Body 3
Name = "silicon"
Equation = 3
Material = 2
Body Force = 2
Initial condition = 1
End
Body 2
Name = "Graphite"
Equation = 2
Material = 3
Body Force = 3
Initial condition = 2
End
Body 4
Name = "Coil"
Equation = 1
Material = 1
Body Force = 1
End
Body 1
Name = "Air"
Equation = 1
Material = 1
End
Equation 1
Name = "Induction -> air + coil"
Angular Frequency = 9.424778e4
Active Solvers(3) = 1 2 4
End
Equation 2
Name = "heating -> graphite"
Angular Frequency = 9.424778e4
Active Solvers(4) = 1 2 4 5
End
Equation 3
Name = "volume force + heating -> silicium"
Angular Frequency = 9.424778e4
Convection = Computed
Active Solvers(5) = 1 2 3 4 5
End
Code: Select all
Solver 3
Equation = Navier-Stokes
Variable = Flow Solution[Velocity:2 Pressure:1]
Procedure = "FlowSolve" "FlowSolver"
Calculate Loads = True
Exec Solver = Always
Stabilize = True
Bubbles = False
Lumped Mass Matrix = False
Optimize Bandwidth = True
Steady State Convergence Tolerance = 1.0e-5
Nonlinear System Convergence Tolerance = 1.0e-7
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 Iterative Method = BiCGStab
Linear System Max Iterations = 500
Linear System Convergence Tolerance = 1.0e-10
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
End
Solver 5
Equation = Heat Equation
Procedure = "HeatSolve" "HeatSolver"
Calculate Loads = True
Variable = Temperature
Exec Solver = After Timestep
Stabilize = True
Bubbles = False
Lumped Mass Matrix = False
Optimize Bandwidth = True
Steady State Convergence Tolerance = 1.0e-5
Nonlinear System Convergence Tolerance = 1.0e-7
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 Iterative Method = BiCGStab
Linear System Max Iterations = 500
Linear System Convergence Tolerance = 1.0e-10
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
End
Velocities fields are well calculated.
Temperature fields are the same if I have no stiring, the coupling of physics is not good!
Where is my mistake?
Regards
Julien