Re: [Nektar-users] use 2-d initial condition for quasi-3d simulation
Hi Stanislaw I 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 violation
Here is my initial condition: <FUNCTION NAME="InitialConditions">
<F VAR="u,v" FILE="inflow2D_restart.fld" /> <E VAR="w,p" VALUE="0.0" /> </FUNCTION>
Kind regards syavash On 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
<https://www.pw.edu.pl/engpw> 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 <https://spam.ic.ac.uk/SpamConsole/Senders.aspx> 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 regards syavash
_______________________________________________ Nektar-users mailing listNektar-users@imperial.ac.ukhttps://mailman.ic.ac.uk/mailman/listinfo/nektar-users
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. Cheers Ankang -- Research Associate Department of modern mechanics University 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 simulation Hi Stanislaw I 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 violation Here is my initial condition: <FUNCTION NAME="InitialConditions"> <F VAR="u,v" FILE="inflow2D_restart.fld" /> <E VAR="w,p" VALUE="0.0" /> </FUNCTION> Kind regards syavash On 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 regards syavash _______________________________________________ Nektar-users mailing list Nektar-users@imperial.ac.ukhttps://mailman.ic.ac.uk/mailman/listinfo/nektar-users
Hi Ankang Thanks, that was the issue. I have a question though. Does it matter if I put "--set-start-time" before "--npz 64 -i Hdf5" in the command line? I ended up putting it before the latter. Otherwise it would give some mpi-related error. Kind regards syavash On Mon, May 29, 2023 at 11:21 AM <ankanggao@ustc.edu.cn> wrote:
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.
Cheers Ankang
-- Research Associate Department of modern mechanics University 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 simulation
Hi Stanislaw
I 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 violation
Here is my initial condition:
<FUNCTION NAME="InitialConditions">
<F VAR="u,v" FILE="inflow2D_restart.fld" /> <E VAR="w,p" VALUE="0.0" /> </FUNCTION>
Kind regards syavash
On 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
<https://www.pw.edu.pl/engpw> 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 <https://spam.ic.ac.uk/SpamConsole/Senders.aspx> 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 regards syavash
_______________________________________________ Nektar-users mailing list Nektar-users@imperial.ac.uk https://mailman.ic.ac.uk/mailman/listinfo/nektar-users
Hi Syavash, I am not sure, but I think the location doesn't matter. The "--set-start-time" has one argument, such as --set-start-time 0 -----Original Messages----- From:"Ehsan Asgari" <eh.asgari@gmail.com> Sent Time:2023-05-29 15:32:47 (Monday) To: ankanggao@ustc.edu.cn Cc: nektar-users <nektar-users@imperial.ac.uk> Subject: Re: Re: [Nektar-users] use 2-d initial condition for quasi-3d simulation Hi Ankang Thanks, that was the issue. I have a question though. Does it matter if I put "--set-start-time" before "--npz 64 -i Hdf5" in the command line? I ended up putting it before the latter. Otherwise it would give some mpi-related error. Kind regards syavash On Mon, May 29, 2023 at 11:21 AM <ankanggao@ustc.edu.cn> wrote: 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. Cheers Ankang -- Research Associate Department of modern mechanics University 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 simulation Hi Stanislaw I 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 violation Here is my initial condition: <FUNCTION NAME="InitialConditions"> <F VAR="u,v" FILE="inflow2D_restart.fld" /> <E VAR="w,p" VALUE="0.0" /> </FUNCTION> Kind regards syavash On 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 regards syavash _______________________________________________ Nektar-users mailing list Nektar-users@imperial.ac.ukhttps://mailman.ic.ac.uk/mailman/listinfo/nektar-users
Hi Ankang Following my last email, I noticed that despite solving quasi-3D, w-velocity is not developed even after a significant time. Do I have to introduce some perturbations to have w-velocity? Kind regards syavash On Mon, May 29, 2023 at 12:06 PM <ankanggao@ustc.edu.cn> wrote:
Hi Syavash, I am not sure, but I think the location doesn't matter. The "--set-start-time" has one argument, such as --set-start-time 0
-----Original Messages----- *From:*"Ehsan Asgari" <eh.asgari@gmail.com> *Sent Time:*2023-05-29 15:32:47 (Monday) *To:* ankanggao@ustc.edu.cn *Cc:* nektar-users <nektar-users@imperial.ac.uk> *Subject:* Re: Re: [Nektar-users] use 2-d initial condition for quasi-3d simulation
Hi Ankang
Thanks, that was the issue. I have a question though. Does it matter if I put "--set-start-time" before "--npz 64 -i Hdf5" in the command line? I ended up putting it before the latter. Otherwise it would give some mpi-related error.
Kind regards syavash
On Mon, May 29, 2023 at 11:21 AM <ankanggao@ustc.edu.cn> wrote:
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.
Cheers Ankang
-- Research Associate Department of modern mechanics University 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 simulation
Hi Stanislaw
I 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 violation
Here is my initial condition:
<FUNCTION NAME="InitialConditions">
<F VAR="u,v" FILE="inflow2D_restart.fld" /> <E VAR="w,p" VALUE="0.0" /> </FUNCTION>
Kind regards syavash
On 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
<https://www.pw.edu.pl/engpw> 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 <https://spam.ic.ac.uk/SpamConsole/Senders.aspx> 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 regards syavash
_______________________________________________ Nektar-users mailing list Nektar-users@imperial.ac.uk https://mailman.ic.ac.uk/mailman/listinfo/nektar-users
Hi syavash, 3-D perturbation is necessary, you can use the awgn function, for example "(x*x+y*y<1) * awgn(0.3)" to generate pertuabations within the unit circle. Cheers Ankang -----Original Messages----- From:"Ehsan Asgari" <eh.asgari@gmail.com> Sent Time:2023-05-30 01:58:22 (Tuesday) To: ankanggao@ustc.edu.cn Cc: nektar-users <nektar-users@imperial.ac.uk> Subject: Re: Re: Re: [Nektar-users] use 2-d initial condition for quasi-3d simulation Hi Ankang Following my last email, I noticed that despite solving quasi-3D, w-velocity is not developed even after a significant time. Do I have to introduce some perturbations to have w-velocity? Kind regards syavash On Mon, May 29, 2023 at 12:06 PM <ankanggao@ustc.edu.cn> wrote: Hi Syavash, I am not sure, but I think the location doesn't matter. The "--set-start-time" has one argument, such as --set-start-time 0 -----Original Messages----- From:"Ehsan Asgari" <eh.asgari@gmail.com> Sent Time:2023-05-29 15:32:47 (Monday) To:ankanggao@ustc.edu.cn Cc: nektar-users <nektar-users@imperial.ac.uk> Subject: Re: Re: [Nektar-users] use 2-d initial condition for quasi-3d simulation Hi Ankang Thanks, that was the issue. I have a question though. Does it matter if I put "--set-start-time" before "--npz 64 -i Hdf5" in the command line? I ended up putting it before the latter. Otherwise it would give some mpi-related error. Kind regards syavash On Mon, May 29, 2023 at 11:21 AM <ankanggao@ustc.edu.cn> wrote: 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. Cheers Ankang -- Research Associate Department of modern mechanics University 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 simulation Hi Stanislaw I 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 violation Here is my initial condition: <FUNCTION NAME="InitialConditions"> <F VAR="u,v" FILE="inflow2D_restart.fld" /> <E VAR="w,p" VALUE="0.0" /> </FUNCTION> Kind regards syavash On 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 regards syavash _______________________________________________ Nektar-users mailing list Nektar-users@imperial.ac.ukhttps://mailman.ic.ac.uk/mailman/listinfo/nektar-users
participants (2)
- 
                
                ankanggao@ustc.edu.cn
- 
                
                Ehsan Asgari