Good afternoon, Dear Martina,
I tried to set up a model in the way you suggested.... using a dummy variable in my case 'b' to select different boundaries in Paraview.
But it does not work... cant find 'b' in Paraview (only see 'potential' and 'GeometryIds'). Here my .sif file and the model as .zip
Code: Select all
Header
CHECK KEYWORDS Warn
Mesh DB "." "."
Include Path ""
Results Directory ""
End
Simulation
Max Output Level = 5
Coordinate System = Cartesian
Coordinate Mapping(3) = 1 2 3
Simulation Type = Steady state
Steady State Max Iterations = 1
Output Intervals = 1
Timestepping Method = BDF
BDF Order = 1
Solver Input File = case.sif
Post File = case.vtu
End
Constants
Gravity(4) = 0 -1 0 9.82
Stefan Boltzmann = 5.67e-08
Permittivity of Vacuum = 8.8542e-12
Boltzmann Constant = 1.3807e-23
Unit Charge = 1.602e-19
End
Body 1
Target Bodies(1) = 1
Name = "Body Property 1"
Equation = 1
Material = 1
End
Solver 2
Equation = Electrostatics
Variable = Potential
Procedure = "StatElecSolve" "StatElecSolver"
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
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 1
Equation = Result Output
Output Format = Vtu
Procedure = "ResultOutputSolve" "ResultOutputSolver"
Output File Name = case
Exec Solver = After Simulation
End
Equation 1
Name = "Equation 1"
Active Solvers(2) = 2 1
End
Material 1
Name = "Air (room temperature)"
Viscosity = 1.983e-5
Heat expansion Coefficient = 3.43e-3
Heat Conductivity = 0.0257
Relative Permittivity = 1.00059
Sound speed = 343.0
Heat Capacity = 1005.0
Density = 1.205
End
Boundary Condition 1
Target Boundaries(1) = 1
Name = "BoundaryCondition 1"
b = Real 1.0
End
Boundary Condition 2
Target Boundaries(1) = 2
Name = "BoundaryCondition 2"
b = Real 2.0
End
I tried also to specify 'b' as variable in 'Result Output'... but no luck.
raback wrote:Hi
I haven't found a way to impelement the groups in vtu format. The format is specified in
http://www.vtk.org/VTK/img/file-formats.pdf, see page 14->.
Perhaps somebody can tell how it should be done?
You can save only bulk and only boundaries, or mask the saving. These are sometimes useful.
-Peter
It is possible to use names from .unv files to access boundaries an domains (
viewtopic.php?f=7&t=4220&p=15341&hilit= ... fd1#p14925 keyword:'Use Mesh Names = True'). It would be very usefull to export these names also for the use in Paraview (keyword:"Export Mesh Names"??).
The GeomIds are nice but can vary if I cange my geometry and use the above mentioned names in Elmer.... It would be very very helpfull when we could use the same names for groups during mesh-creation, model set-up in Elmer and postprocessing!!
Thanks in advance,
Wil