<div dir="ltr"><span style="font-size:12.8000001907349px">Hello Everyone,</span><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">I am trying to write a python script to output data for each time step. I know to use the following script to save data for one time step:</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px"><pre style="white-space:pre-wrap;font-family:monospace,monospace;padding:0px;border:0px none white;color:rgb(0,0,0);line-height:1.2em;font-stretch:normal;font-size:1em;margin-top:0px;margin-bottom:0px;vertical-align:top;background:none rgb(249,249,249)"><span style="color:rgb(102,204,102)">>>></span> writer <span style="color:rgb(102,204,102)">=</span> CreateWriter(<span style="color:rgb(72,61,139)">".../foo.csv"</span><span style="color:rgb(102,204,102)">,</span> source)
<span style="color:rgb(102,204,102)">>>></span> writer.FieldAssociation <span style="color:rgb(102,204,102)">=</span> <span style="color:rgb(72,61,139)">"Points"</span> <span style="color:rgb(128,128,128);font-style:italic"># or "Cells"</span>
<span style="color:rgb(102,204,102)">>>></span> writer.UpdatePipeline()
<span style="color:rgb(102,204,102)">>>></span> <span style="color:rgb(255,119,0);font-weight:bold">del</span> writer</pre></div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">I'm curious how I may do this for every time step?</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">Thank you for your help,</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">Patrick</div></div>