Thank you for your opinion.
I added "coordinate scaling = 1.0e^-6" to the sif file, but I cannot calculate the temperature.
Code: Select all
Header
CHECK KEYWORDS Warn
Mesh DB "." "."
Include Path ""
Results Directory ""
End
Simulation
Max Output Level = 10
Coordinate System = Cartesian
Coordinate Mapping(3) = 1 2 3
Coordinate Scaling = 1e-6
Simulation Type = Scanning
Steady State Max Iterations = 100
Output Intervals = 1
Timestepping Method = BDF
BDF Order = 2
Timestep intervals = 5
Timestep Sizes = 1
Solver Input File = case.sif
Post File = case.ep
End
Constants
Gravity(4) = 0 -1 0 9.82
Stefan Boltzmann = 5.67e-08 ! (pW)/(um)^2 /K^4=W/m^2 /K^4
Permittivity of Vacuum = 8.8542e-12 ! F/m
!Permittivity of Vacuum = 8.8542e-6 ! pF/um
Boltzmann Constant = 1.3807e-23
Unit Charge = 1.602e-19
End
Body 1
Target Bodies(1) = 6
Name = "Body Property 1"
Equation = 1
Material = 1
Body Force = 1
End
Solver 2
Equation = SaveScalars
Variable 2 = volume current
Filename = save scalars.dat
Save Flux = True
Procedure = "SaveData" "SaveScalars"
Operator 2 = area
Operator 1 = max
Variable 1 = potential
Exec Solver = After Timestep
End
Solver 1
Equation = Static Current Conduction
Calculate Joule Heating = True
Calculate Volume Current = True
Procedure = "StatCurrentSolve" "StatCurrentSolver"
Variable = Potential
!Exec Solver = After Timestep
Exec Solver = Always
Stabilize = True
Bubbles = True
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
BiCGstabl polynomial degree = 2
Linear System Preconditioning = Diagonal
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 3
Equation = Result Output
Output Format = Vtu
Procedure = "ResultOutputSolve" "ResultOutputSolver"
Output File Name = case
Scalar Field 3 = joule heating
Scalar Field 2 = temperature
Scalar Field 1 = potential
Vector Field 1 = volume current
Exec Solver = After Timestep
End
Solver 4
Equation = Heat Equation
Variable = Temperature
Procedure = "HeatSolve" "HeatSolver"
!Exec Solver = After Timestep
Exec Solver = Always
Stabilize = True
Bubbles = True
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
BiCGstabl polynomial degree = 2
Linear System Preconditioning = Diagonal
Linear System ILUT Tolerance = 1.0e-3
Linear System Abort Not Converged = False
Linear System Residual Output = 1
Linear System Precondition Recompute = 1
End
Equation 1
Name = "Equation 1"
Active Solvers(4) = 2 1 3 4
End
Material 1
Name = "Material 1"
!Reference Temperature = 290
!Electric Conductivity = Variable Temperature; Real MATC "(-9E+07)tx+1E+12"
!Electric Conductivity = Variable Temperature;real;290 9.26e11;1290 8.34e11;end
!Electric Conductivity = Variable Temperature;real;290 926000;1290 834000;end
! Electric Conductivity = 926000 ! S/m
Electric Conductivity (3,3) = Real \
926000 0 0 \
0 926000 0 \
0 0 926000
!Heat Conductivity = 13.4 ! W/mK
Heat Conductivity (3,3) = Real \
13.4 0 0 \
0 13.4 0 \
0 0 13.4
! Density =8400e-18 ! kg/(um)^3
Density =8400 ! kg/m^3
End
Body Force 1
Name = "BodyForce 1"
Joule Heat = True
End
Initial Condition 1
Name = "InitialCondition 1"
Temperature = 290
End
Boundary Condition 1
Target Boundaries(1) = 1
Name = "BoundaryCondition 1"
!Current Density = variable time;real;1 0;2 1e8;3 2e8;4 3e8;5 4e8;end
Potential=variable time;real;1 0.1;2 0.2;3 0.3;4 0.35;5 0.4;end
Temperature = 290
Save Scalars = True
End
Boundary Condition 2
Target Boundaries(1) = 2
Name = "BoundaryCondition 2"
Potential = 0
Temperature = 290
Save Scalars = True
End
The result was consistent with following hand calculation.
The predicted resistance from the length of 900 [um], cross-section area of 25 [um^2] and electric conductivity of 926000 [S/m] is 38.87689 [ohm]. Also the heating power V^2/R is 0.0041156 [J].
So I believe that there is no mistake, such as the parameters used.
What is the problem ?
Sincerely yours
Mahichihi