CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Post-Processing (https://www.cfd-online.com/Forums/openfoam-post-processing/)
-   -   FoamToVTK output names (https://www.cfd-online.com/Forums/openfoam-post-processing/61443-foamtovtk-output-names.html)

hartinger March 28, 2007 08:59

Hey, it always annoyed me,
 
Hey,

it always annoyed me, that the foamToVTK converter output files with the "timeLabel", so 0,1,2,3..., instead of the "timeName", so one could tell what time it actually is.

I changed that in the foamToVTK.C and attached it below.

http://www.cfd-online.com/OpenFOAM_D...hment_icon.gif foamToVTK.C.gz

I wonder why i didn't do it well before.

markus

mattijs March 28, 2007 17:00

Because to have automatic time
 
Because to have automatic time animation the file names have to end in an _ddd extension? (where ddd is an integer)

hartinger March 29, 2007 06:49

ahh, okay, then put both in. F
 
ahh, okay, then put both in. First timeName and then timeLabel. A bit long but does make live easier


All times are GMT -4. The time now is 09:16.