Hi Syavash,The solver uses the time in the resrat file as the intial time. This time may exceed the finaltime in you session file.You can either remove the finaltime or use the command line argument --set-start-time to reset the initial time.CheersAnkang
--Research AssociateDepartment of modern mechanicsUniversity of Science and Technology of China-----Original Messages-----
From:"Ehsan Asgari" <eh.asgari@gmail.com>
Sent Time:2023-05-29 14:34:49 (Monday)
To: "Stanisław Gepner" <stanislaw.gepner@pw.edu.pl>, nektar-users <nektar-users@imperial.ac.uk>
Cc:
Subject: Re: [Nektar-users] use 2-d initial condition for quasi-3d simulationHi StanislawI tried your suggestion but I get some error. Do you have any idea how I can fix this?Initial Conditions:
- Field u: from file inlflow2D_restart.fld
- Field v: from file inlflow2D_restart.fld
- Field w: 0.0
- Field p: 0.0
CFL (zero plane): 1.22293e-06 (in elmt 6555)
Fatal : Level 0 assertion violation
m_timestep < 0
Fatal : Level 0 assertion violation
m_timestep < 0
Fatal : Level 0 assertion violation
m_timestep < 0
Fatal : Level 0 assertion violation
m_timestep < 0
Fatal : Level 0 assertion violationHere is my initial condition:<FUNCTION NAME="InitialConditions">
<F VAR="u,v" FILE="inflow2D_restart.fld" />
<E VAR="w,p" VALUE="0.0" />
</FUNCTION>Kind regardssyavashOn Fri, May 26, 2023 at 11:07 AM Stanisław Gepner <stanislaw.gepner@pw.edu.pl> wrote:Hi,
It is, all you need is an XML file for the aquasi-3D simulation with velocity components u,v,w and pressure p, just as you would in quasi 3D, than in initial conditions you do:
<FUNCTION NAME="InitialConditions">
<F VAR="u,v" FILE="geom2D.fld" />
<E VAR="w" FILE="0" />
<E VAR="p" VALUE="0" />
</FUNCTION>You could also initialize w from file, eg. using solution from the ADR solver or any other fld file.
Cheers!
Stan
Faculty of Power and Aeronautical Engineering
Nowowiejska 21/25 Str.
00-665 Warsaw, Poland
phone +48 (22) 234 51 70
On 26.05.2023 08:30, Ehsan Asgari wrote:
This email from eh.asgari@gmail.com 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 to disable email stamping for this address.
Dear All,
Is it possible to run a 2-d simulation and then use it solution for the quasi-3d simulation of the same mesh? If so, how can I achieve this?
Kind regardssyavash
_______________________________________________ Nektar-users mailing list Nektar-users@imperial.ac.uk https://mailman.ic.ac.uk/mailman/listinfo/nektar-users