Problems creating .vtu file

Mesh generators, CAD programs, and other tools
Post Reply
recnice
Posts: 16
Joined: 15 Nov 2010, 11:26

Problems creating .vtu file

Post by recnice »

Hi,
i'm doing the tutorial FluidStructureBeam. I added an extra solver, to get a vtu output-file.
This is the solver i've had created, it's more or less the same as the one on the Elmer-Wiki page:

Solver 4
Exec Solver = String "after timestep"
exec interval = 1
Equation = String "ResultOutput"
Procedure = File "ResultOutputSolve" "ResultOutputSolver"
Output File Name = String "paraver."
Output Format = String "vtu"
Vtu Format = Logical True
Scalar Field 1 = Pressure
Vector Field 1 = Velocity
End


After the iterations over the field, the ResultOutputSolver gives me this massage:

"ERROR: Elmer2VtkElement: Implement 409"

What did I wrong???
pamakela
Posts: 49
Joined: 06 Mar 2010, 18:37

Re: Problems creating .vtu file

Post by pamakela »

Hi,

this works for me:

Code: Select all

  
Solver xx
  Exec Solver = String "after timestep"   
  exec interval = 1
  Equation = String "ResultOutput"
  Procedure = File "ResultOutputSolve" "ResultOutputSolver"
  Output File Name = String "case."
  Output Format = String "vtu"
  Vtk Format = Logical False
End
raback
Site Admin
Posts: 4812
Joined: 22 Aug 2009, 11:57
Antispam: Yes
Location: Espoo, Finland
Contact:

Re: Problems creating .vtu file

Post by raback »

Hi
recnice wrote:"ERROR: Elmer2VtkElement: Implement 409"
What did I wrong???
Nothing, it's just that there does not seem to exist a corresponding elementtype for 409 in vtk. This is a biquadratic element with a center node. Only 408 without the center node seems to exist. See http://www.vtk.org/VTK/img/file-formats.pdf for more details.

Now what one could do is to split the quadrilaterals into two triangles, or just drop the center node. This is however, a small extra effort that hasn't been done, partly also because the solution is not that pretty. It would be easiest if it turned out that 409 after all is defined in vtk. Anaways, I don't see a remedy in near future, so you could just also drop the center node from the .grd file (?) you're using and you should be able to use vtu as described by others.

-Peter
recnice
Posts: 16
Joined: 15 Nov 2010, 11:26

Re: Problems creating .vtu file

Post by recnice »

@ Peter:

Thank you for your help. I deleted the elemet innernode and indeed, it worked.
Again, thank you!!


Denis
jeromeB
Posts: 5
Joined: 16 Sep 2013, 13:36
Antispam: Yes

Re: Problems creating .vtu file

Post by jeromeB »

For the record, non-GUI Tutorial number 1 (Radiation Heat Transfer) has this issue. It is axi-symmetric with innernodes. I am referring to these documentation files :
To be able to run tutorial 1 with vtu output, one must edit the grid file:

TemperatureRadiation/radiation.grd

Code: Select all

set Element Innernodes = False
And (of course) adding the solver thar writes the vtu output. For reference, this works for me:

TemperatureRadiation/radiation.sif

Code: Select all

Solver 2
  Exec Solver = after timestep
  Equation = "result output"
  Procedure = "ResultOutputSolve" "ResultOutputSolver"
  Output File Name = "results_radiation"
  Output Format = String "vtu"
  Binary Output = True
  Single Precision = True
  Output Directory = results
End
raback
Site Admin
Posts: 4812
Joined: 22 Aug 2009, 11:57
Antispam: Yes
Location: Espoo, Finland
Contact:

Re: Problems creating .vtu file

Post by raback »

Hi

Accidentally I happened just yeasterday to add the element 409 (and element 715) to VtuOutputSolver so they should be now usable also with Paraview.

-Peter
Post Reply