Sorry...
Simply wanted to finish it. THX in advance
Moderator: bernd
Code: Select all
Check Keywords Warn
Header
Mesh DB "."
End
Solver 1
Bubbles = Logical False
Calculate Capacitance Matrix = Logical True
Calculate Electric Energy = Logical True
Calculate Electric Field = Logical True
Calculate Surface Charge = Logical False
Displace mesh = Logical False
Equation = String "Stat Elec Solver"
Exec Solver = String "Always"
Linear System Abort Not Converged = Logical False
Linear System Convergence Tolerance = Real 1e-08
Linear System Iterative Method = String "BiCGStab"
Linear System Max Iterations = Integer 500
Linear System Precondition Recompute = Integer 1
Linear System Preconditioning = String "ILU0"
Linear System Residual Output = Integer 1
Linear System Solver = String "Iterative"
Optimize Bandwidth = Logical True
Procedure = File "StatElecSolve" "StatElecSolver"
Stabilize = Logical True
Steady State Convergence Tolerance = Real 1e-05
Variable = String "Potential"
Variable DOFs = Integer 1
End
Solver 3
Equation = Electric Force
Procedure = "ElectricForce" "StatElecForce"
End
Solver 4
Exec Solver = After All
Equation = SaveScalars
Procedure = "SaveData" "SaveScalars"
Filename = "scalars.dat"
End
Simulation
BDF Order = Integer 1
Coordinate Mapping(3) = Integer 1 2 3
Coordinate System = String "Cartesian 3D"
Output Intervals = Integer 1
Simulation Type = String "Steady state"
Steady State Max Iterations = Integer 1
Steady State Min Iterations = Integer 0
Timestepping Method = String "BDF"
Use Mesh Names = Logical True
End
Constants
Permittivity Of Vacuum = Real 8.8542e-15
End
Body 1
Equation = Integer 1
Material = Integer 1
Name = String "Solid1"
End
Material 1
Relative Permittivity = Real 1.0
End
Equation 1
Active Solvers(2) = Integer 1 2 3 4
End
Solver 2
Equation = String "ResultOutput"
Exec Solver = String "After simulation"
Output File Name = File "case"
Procedure = File "ResultOutputSolve" "ResultOutputSolver"
Vtu Format = Logical True
End
Boundary Condition 1
Capacitance Body = Integer 1
Name = String "Face1"
Potential = Real 0.0
Calculate Electric Force = True
End
Boundary Condition 2
Capacitance Body = Integer 2
Name = String "Face8"
Potential = Real 1000000000000.0
End
Boundary Condition 3
Capacitance Body = Integer 2
Name = String "Face9"
Potential = Real 1000000000000.0
End
Boundary Condition 4
Capacitance Body = Integer 2
Name = String "Face10"
Potential = Real 1000000000000.0
End
Boundary Condition 5
Capacitance Body = Integer 2
Name = String "Face11"
Potential = Real 1000000000000.0
End
very good idea! In the regard of a time line. There is a lot refactoring still going on in Draft ATM. But IMHO the show stopper will be the list of werner in the regard of changes he would like to see in 0.19 in the regard of App::Link merge.
Would you have a look at this? But it is not finished yet. The writer does not yet work.
Sounds good. Compiling.....bernd wrote: ↑Sun Mar 15, 2020 10:09 pm Would you have a look at this? But it is not finished yet. The writer does not yet work.
https://github.com/berndhahnebach/FreeC ... rmittivity The idea is to add a object if one would like to change one of these values https://github.com/FreeCAD/FreeCAD/blob ... py#L35-L48 What do you think of this?
Its only related to some wrong units (you used the one of stefan_boltzmann() ). Please see https://github.com/berndhahnebach/FreeCAD_bhb/pull/67 for the changes in the following lines in writer.py to....
Code: Select all
theUnit = "s^4*A^2/(m*kg)"
Code: Select all
setConstant("PermittivityOfVacuum", "0 s^4*A^2/(m*kg)")
Code: Select all
Warning: Ignored constraint ConstantPermittivityOfVakuum.