Modified Cylinder Example: Time Evolution of a Solution
I am trying to figure out how to generate a time based output showing snapshots of the evolution of the flow field around a cylinder. In essence, I want Nektar++ to output the values of the entire flow field after each time step. Having read through the User-Guide, I believe that I am able to do this by using <FILTERS> <FILTER TYPE="Checkpoint"> <PARAM NAME="OutputFile">IntermediateFields</PARAM> <PARAM NAME="OutputFrequency">1</PARAM> </FILTER> </FILTERS> Which will output a .chk file after each time step. Based on my OutputFrequency flag, I should get a .chk file after every time step. I am running this using the files from the Cylinder Flow example, and I am modifying Cylinder-Base.xml. However, when I run this, I get a single "Cylinder-Base_0.chk" file as opposed to 10 files. Any support would be greatly appreciated. Marcus Lander Graduate Research Student Oklahoma State University Marcus.lander@okstate.edu
Hi Marcus, Thank you for reporting this. Apparently there is a bug in this filter (which I will shortly fix). However, you can also obtain this exact same behaviour by defining IO_CheckSteps = 1 in the parameters section of your .xml file. In your case, this will generate a sequence of files named Cylinder-Base_0.chk, Cylinder-Base_1.chk, ... Cheers, Douglas ________________________________ From: nektar-users-bounces@imperial.ac.uk <nektar-users-bounces@imperial.ac.uk> on behalf of Lander, Marcus David <marcus.lander@okstate.edu> Sent: 23 May 2016 21:56:33 To: nektar-users Cc: Jayaraman, Balaji Subject: [Nektar-users] Modified Cylinder Example: Time Evolution of a Solution I am trying to figure out how to generate a time based output showing snapshots of the evolution of the flow field around a cylinder. In essence, I want Nektar++ to output the values of the entire flow field after each time step. Having read through the User-Guide, I believe that I am able to do this by using <FILTERS> <FILTER TYPE="Checkpoint"> <PARAM NAME="OutputFile">IntermediateFields</PARAM> <PARAM NAME="OutputFrequency">1</PARAM> </FILTER> </FILTERS> Which will output a .chk file after each time step. Based on my OutputFrequency flag, I should get a .chk file after every time step. I am running this using the files from the Cylinder Flow example, and I am modifying Cylinder-Base.xml. However, when I run this, I get a single "Cylinder-Base_0.chk" file as opposed to 10 files. Any support would be greatly appreciated. Marcus Lander Graduate Research Student Oklahoma State University Marcus.lander@okstate.edu
participants (2)
- 
                
                Lander, Marcus David
- 
                
                Serson, Douglas