Hey,
I want to apologize if this is already posted on another thread.
I’m new using Paraview and I need to create an output module with Fortran 90 for a transient simulation. Since I’m just starting to use Paraview I’m trying with a very easy code in .f90.
I created a total of 10 different frames which are written under the names “temperaturas_1.vtp”, “temperaturas_2.vtp”… “temperaturas_10.vtp”, and each of them has written the following on it.
TITLE = “TEMPERATURAS”
VARIABLES=“X”,“Y”,“T”
ZONE T=" 0.1000000 "I= 4.000000 J= 4.000000
0.2500000 0.2500000 0.1000000
0.5000000 0.2500000 0.1000000
0.7500000 0.2500000 0.1000000
1.000000 0.2500000 0.1000000
0.2500000 0.5000000 0.1000000
0.5000000 0.5000000 0.1000000
0.7500000 0.5000000 0.1000000
1.000000 0.5000000 0.1000000
0.2500000 0.7500000 0.1000000
0.5000000 0.7500000 0.1000000
0.7500000 0.7500000 0.1000000
1.000000 0.7500000 0.1000000
0.2500000 1.000000 0.1000000
0.5000000 1.000000 0.1000000
0.7500000 1.000000 0.1000000
1.000000 1.000000 0.1000000
changing only the last column which represents the temperature values.
To read multiple files I also wrote a .pvd file based on this example Transient Simulation- Files in Tecplot Format.
My PVD file contains:
<VTKFile type="Collection" version="0.1" byte_order="LittleEndian" header_type=
"UInt64">
<Collection>
<DataSet timestep="0.1" part="0" file="TEMPERATURAS_1.vtp "/>
<DataSet timestep="0.2" part="0" file="TEMPERATURAS_2.vtp "/>
<DataSet timestep="0.3" part="0" file="TEMPERATURAS_3.vtp "/>
<DataSet timestep="0.4" part="0" file="TEMPERATURAS_4.vtp "/>
<DataSet timestep="0.5" part="0" file="TEMPERATURAS_5.vtp "/>
<DataSet timestep="0.6" part="0" file="TEMPERATURAS_6.vtp "/>
<DataSet timestep="0.7" part="0" file="TEMPERATURAS_7.vtp "/>
<DataSet timestep="0.8" part="0" file="TEMPERATURAS_8.vtp "/>
<DataSet timestep="0.9" part="0" file="TEMPERATURAS_9.vtp "/>
<DataSet timestep="1.0" part="0" file="TEMPERATURAS_10.vtp "/>
</Collection>
</VTKFile>
When I try to open my files on Paraview I have a little problem with the time step in the time display. There’s must be 10 different time steps (from 0 to 9) but It appears 18 (19 in total), where the first 10 are from 0.1 to 1.0 [s] and don’t change the frame, and the other 9 are from 1.0 to 9.0 changing the frames.
I don’t know if there is a problem openning the file or creating it.
I would be thankful if anyone could help me.
Thanks in advance.