Writer output after a given timestep mathematical expression editor issue
Posted: Thu Aug 24, 2023 12:33 pm
Hi all,
I would like to save outputs with the writer to make animation on Paraview.
I need to save the data every 20 timesteps but only after the 10000th timestep.
I write in the setup file:
But it does not work, no output is saved. May you help me?
Notice that I even try:
And it still does not output anything.
Here is the full setup for the writer output:
Thank you very much!
I would like to save outputs with the writer to make animation on Paraview.
I need to save the data every 20 timesteps but only after the 10000th timestep.
I write in the setup file:
Code: Select all
<frequency period="formula">
if ( niter > 10000 ) { if (mod((niter - 10000), 20) == 0) { iactive=1; } }
</frequency>
Notice that I even try:
Code: Select all
<frequency period="formula">
if ( niter > 10000 ) { iactive=1; }
</frequency>
Here is the full setup for the writer output:
Code: Select all
<writer id="-1" label="results">
<directory name="postprocessing"/>
<format name="ensight" options="separate_meshes"/>
<frequency period="formula">if (niter > 10000) { iactive=1; }</frequency>
<output_at_start status="off"/>
<output_at_end status="off"/>
<time_dependency choice="fixed_mesh"/>
</writer>