Hi,
When making a model with Elmer, some parameters are defined (like physics constants/parameters or parametric geometric dimensions of the model, etc…).
So my question is: when going to Paraview for the postprocessing how is it possible to pass these parameters from Elmer to Paraview in order to be able to use them in Paraview for some additionnal calculations?
Thanks in advance for any help!
Roland
Does elmer write out this information on disk ?
How do you read the elmer data into ParaView ?
Hi,
No, Elmer does not write the information on disk as far as I know.
When making the model in Elmer, it makes a “case.sif” file (sif means Solver_Input_File) which is then run by Elmer solver to get the solution.
Here attached is the beginning of such a .sif file for a heat transfer model with phase change.
In the constants field you have all the constants and parameters. For instance $T_m is defined as the melting point of the material, etc…
So I would like to know if it is possible to transmit these parameters to Paraview in order to be able, for instance with the Calculator Filter, to make some calculations and draw line charts with these parameters?
Thanks in advance for your help.
Roland
case.sif (1.2 KB)
You will need a reader in ParaView to read this information as a table. You will then be able to use these data for computation.
You can write this reader in python using a programmable source.
Hi,
Thanks for your answer.
But as I am not used to Python langage, isn’t there another more simple way to get these parameters from Elmer to Paraview? (perhaps by using Excel …?)
Thanks in advance for your help
Roland