save the output

General discussion about Elmer
Post Reply
andrearossi
Posts: 3
Joined: 07 Jun 2011, 20:09
Antispam: Yes

save the output

Post by andrearossi »

Hello, i am newby. I'am not able to export ( save) the output data in a file format such Vtk or vtu or any other. In effect i write a name of the file in the field of the output solve equation form, but no file with that name appear on my computer...
what i have to do?

Thank you
Andrea
hazelsct
Posts: 153
Joined: 05 Oct 2009, 17:02
Location: Boston, MA, USA
Contact:

Re: save the output

Post by hazelsct »

Hello Andrea,

Can you please post the case.sif file, or tell us which steps you are following to try to export the output data, so we can try to see what's wrong? Are you using ElmerGUI?

-Adam
andrearossi
Posts: 3
Joined: 07 Jun 2011, 20:09
Antispam: Yes

Re: save the output

Post by andrearossi »

Hi Adam,
this is my step:
1- I build my model in ElmerGUI with equation, boundary condition, ecc...
2- In "Equation", i add another equation: Result Output

I configure it with "Edit solver setting" button and, in "solver specific option" use this input:

Procedure: "ResultOutputSolve" "ResultOutputSolver"
Output format: Vtk
Binary output: no flag
Single precision: no flag
Output file name: testfile (letterally, without any extension)

In Scalar Field and vector field, i leave empty field ( i try to write any type of name... but same result.. ;) )...


3- Run Solver... for result i have the FEM result request, but any file for external post-processor...

i forget what? what is wrong?

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

Re: save the output

Post by raback »

Hi

I propose that you rather choose the "VTU" format. VTK needs the variables defined. With VTU you can also use binary/single precision flags.

-Peter
andrearossi
Posts: 3
Joined: 07 Jun 2011, 20:09
Antispam: Yes

Re: save the output

Post by andrearossi »

Hi Peter,
i try with VTU e other format, but i haven't any result... :?
now i have 2 type of problem:
1- export data
2- export data in a format compatible with Visit for postprocessing

for export data, i used the same method describet in the previous post...

problem 1
the export equation not work... I had not activated anything?
Is there a metod to apply at the body the "result output"'s equation? there is the flag, but not usable...
is necessary apply a priority? what i have to write in the priority's field?...

problem 2
what name i have to write in the variable field? can i give a "free choice"'s name? or i have to write the "program's name" of variable?
how do i know what is variable1, variable2, etc..?

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

Re: save the output

Post by raback »

Hi

Perhaps on example will help. What happens if you add this as the first free solver in your command file?

Code: Select all

Solver 3
  Exec Solver = after timestep
  Equation = "result output"
  Procedure = "ResultOutputSolve" "ResultOutputSolver"
  Output File Name = "case"
  Vtu Format = Logical True
  Binary Output = Logical True
  Single Precision = Logical True
End
-Peter
Post Reply