******************* This email originates from outside Imperial. Do not click on links and attachments unless you recognise the sender. If you trust the sender, add them to your safe senders list https://spam.ic.ac.uk/SpamConsole/Senders.aspx to disable email stamping for this address. ******************* Dear All,I am modeling laminar-to-turbulent transition in oscillatory boundary layers using IncNavierStokesSolver. I run this model for an half-period and intend to set the output obtained (say test.chk) as the "Initial Condition" in the subsequent model. To achieve this, I execute the following command:mpirun -np 28 FieldConvert test.xml test.chk test.fldThen, in the XML file (say new.xml), I define<FUNCTION NAME="InitialConditions"><F FILE="test.fld"></FUNCTION>However, when I checked the wall shear stress (wss) outputs, I noticed that the second run may ignore the initial condition (test.fld). What might be causing this issue? What is the proper way to define a restart file? What are the possible solutions (e.g., if there is any other file format that I can use as an initial condition to restart the model, would you please explain how to obtain this format)? Attached is an example of the wall shear stress signal (x-component) signal. This curve should be sinusoidal when the flow is laminar. One can see in the red-circled area that the flow behaves as the model starts from the very beginning (as in the blue-circled area) like there is no initial condition file. Thank you very much for your time and intention.Best regards,Selman BaysalR. A. in HydraulicsDept. of Civil Eng'gÇanakkale Onsekiz Mart University--ITU Civil Eng., BSc.ITU Coastal Sci. & Eng., MSc.
Hey Selman, how are you? In many cases that I've run, I've used only the flag function that you mentioned and all of them initialized with the conditions that I wanted. Also, I didn't need to state the restart file when submitting the job. In addition, you wrote "FieldConvert", maybe you wanted to write IncNavierStokesSolver. So it would be: mpirun -np 28 IncNavierStokesSolver test.xml and: <FUNCTION NAME="InitialConditions"> <F FILE="test.chk"> <!-- or .fld --> </FUNCTION> Also make sure it is inside CONDITIONS Cheers, Daniel Em ter., 5 de nov. de 2024 às 13:04, Selman BAYSAL <selmanbaysal@comu.edu.tr> escreveu:
This email from selmanbaysal@comu.edu.tr originates from outside Imperial. Do not click on links and attachments unless you recognise the sender. If you trust the sender, add them to your safe senders list <https://spam.ic.ac.uk/SpamConsole/Senders.aspx> to disable email stamping for this address.
Dear All,
I am modeling laminar-to-turbulent transition in oscillatory boundary layers using IncNavierStokesSolver. I run this model for an half-period and intend to set the output obtained (say *test.chk*) as the "Initial Condition" in the subsequent model. To achieve this, I execute the following command:
mpirun -np 28 FieldConvert test.xml test.chk test.fld
Then, in the XML file (say *new.xml*), I define
<FUNCTION NAME="InitialConditions"> <F FILE="test.fld"> </FUNCTION>
However, when I checked the wall shear stress (wss) outputs, I noticed that the second run may ignore the initial condition (test.fld). What might be causing this issue? What is the proper way to define a restart file? What are the possible solutions (e.g., if there is any other file format that I can use as an initial condition to restart the model, would you please explain how to obtain this format)?
Attached is an example of the wall shear stress signal (x-component) signal. This curve should be sinusoidal when the flow is laminar. One can see in the red-circled area that the flow behaves as the model starts from the very beginning (as in the blue-circled area) like there is no initial condition file.
Thank you very much for your time and intention.
Best regards,
Selman Baysal R. A. in Hydraulics Dept. of Civil Eng'g Çanakkale Onsekiz Mart University -- ITU Civil Eng., BSc. ITU Coastal Sci. & Eng., MSc. _______________________________________________ Nektar-users mailing list Nektar-users@imperial.ac.uk https://mailman.ic.ac.uk/mailman/listinfo/nektar-users
participants (2)
- 
                
                Daniel Garcia
- 
                
                Selman BAYSAL