Hello there,
my output-block usually looks something like the following.
<output>
<type>VTK</type>
<prefix>test_THM</prefix>
<timesteps>
<pair>
<repeat> 1 </repeat>
<each_steps> 2 </each_steps>
</pair>
</timesteps>
<variables>
<variable>displacement</variable>
<variable>pressure</variable>
<variable>temperature</variable>
<variable>sigma</variable>
<variable>epsilon</variable>
</variables>
<suffix>_ts_{:timestep}_t_{:time}</suffix>
</output>
That results in vtu-files with scheme like
test_THM__ts_2_t_1.vtu
test_THM__ts_4_t_10.vtu
test_THM__ts_8_t_100.vtu
test_THM__ts_12_t_1000.vtu
which does not sort well in lexicographic order. Is there a possibility to include leading zeors?
Something like the sprintf-function would do with
sprintf("%03i", :timestep)
for 001,002,ā¦
This is not super important but would look alot nicer in my result folder : )
Greetz max