Outputs
Output types¶
The various output types are presented in the Outputs - library section. Check the available outputs and their Fortran structure.
Result directory : structure¶
The results are written in a res
subdirectory of the working directory. The general /res
structure should be :
/wdir
/res
run_YYYY-MM-DD_HH:MM:SS # Text file with run informations
...
energy.plt # Post-treatment files : balance of energy, volume, etc.
energy_init_final.csv
umax.plt
volume.plt
/bin # General binary outputs
/vtk # General vtk outputs
/savefield_1d # Specific 1D outputs (XY datafiles)
/savefield_2d # Specific 2D outputs (binary or vtk)
The result subdirectory contains :
- a run information file
- post-treatment files (if
w_post = 1
in theinput.txt
file) :energy.plt
,energy_init_final.csv
,umax.plt
,volume.plt
- a
bin
subdirectory with general binary outputs - a
vtk
subdirectory with general vtk outputs - a
savefield_1d
subdirectory regrouping all the one dimensional specific results (state of the wanted fields at a specific point of the domain during a time interval) - a
savefield_2d
subdirectory regrouping all the two dimensional specific results (state of a subdomain during a time interval)
Post-treatment¶
Some outputs need to be post-treated. The post-treatment tools will be presented in the following paragraphs.
PyTolosa¶
As presented before, one could generate binary files and csv files with Tolosa-sw.
PyTolosa is a Python post-treatment tool which enables the user to post-treat two-dimensional data from binary files, and one-dimensional data from csv files. Two running modes are available : an interactive mode and a batch mode. The interactive mode enables the specifications to be asked as the program moves forward. On the other hand, the batch mode needs the specifications to be given by running arguments.
Installation and presentation
Please check how to install and use PyTolosa in the documentation.
One can obtain the following post-treatment images and animations :
[IMAGES]
Paraview¶
ParaView is an open-source, multi-platform data analysis and visualization application. ParaView users can quickly build visualizations to analyze their data using qualitative and quantitative techniques. Here, this tool is used to read .vtk
files bundle to analyse 2D outputs generated by Tolosa-sw.
ParaView enables us to create the following animations and views :