export vtk and vtu

Numerical methods and mathematical models of Elmer
Post Reply
du111cwct
Posts: 5
Joined: 03 Oct 2011, 16:53
Antispam: Yes

export vtk and vtu

Post by du111cwct » 11 Apr 2012, 15:49

my version is elmer 6.1.0.svn.5272 ubuntu 11.10 64bit
i have a simulation about a fluid flow in a pipe, and then I want to export an vtk or vtu format.
the simulation is well but there is something wrong with .vtk and .vtu!
when i open vtk or vtu file, the geometry of pipe showed well, but the pressure and velosity are all wrong.
the pressure and velosity of all nodes are the same value. but pressure and velocity showed well in elmerpost.

output solver(vtk)
Solver 2
Equation = Navier-Stokes
Variable = Flow Solution[Velocity:3 Pressure:1]
Procedure = "FlowSolve" "FlowSolver"
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-8
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-8
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 1
Equation = Result Output
Single Precision = True
Binary Output = True
Procedure = "ResultOutputSolve" "ResultOutputSolver"
Vector Field 1 = Velocity
Output Format = Vtk
Scalar Field 1 = Pressure
Output File Name = case
End

output solver(vtu)

Solver 2
Equation = Navier-Stokes
Variable = Flow Solution[Velocity:3 Pressure:1]
Procedure = "FlowSolve" "FlowSolver"
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-8
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-8
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 1
Equation = Result Output
Single Precision = True
Binary Output = True
Procedure = "ResultOutputSolve" "ResultOutputSolver"
Vector Field 1 = Velocity
Output Format = Vtu
Scalar Field 1 = Pressure
Output File Name = case
End

raback
Site Admin
Posts: 3699
Joined: 22 Aug 2009, 11:57
Antispam: Yes
Location: Espoo, Finland
Contact:

Re: export vtk and vtu

Post by raback » 11 Apr 2012, 16:28

Hi

Change the order of the solvers (with Priority in ElmerGUI, or just manually). Now the results are saved before being computed.

-Peter

Post Reply