UCNS3D icon indicating copy to clipboard operation
UCNS3D copied to clipboard

Problem in restarting the run

Open anikm21 opened this issue 2 years ago • 13 comments

The restart file is being written according to the WALL CLOCK MAXIMUM TIME or, TOTAL SIMULATION TIME. It cannot be written according to the restart rate. And the more important problem is that when I am restarting my run, it diverges at the first step calculating a very high value of timestep. Please reply me soon. I am adding the history file. history.txt

anikm21 avatar Aug 26 '22 16:08 anikm21

Make sure that the correct flags are used when restarting from a RESTART file

TakisCFD avatar Sep 23 '22 15:09 TakisCFD

May you suggest me how I can make sure that the correct flags are used? Because when I am restarting my job I only keep the restart file in the directory.

On Fri, 23 Sept 2022 at 20:30, Takis Tsoutsanis @.***> wrote:

Make sure that the correct flags are used when restarting from a RESTART file

— Reply to this email directly, view it on GitHub https://github.com/ucns3d-team/UCNS3D/issues/34#issuecomment-1256327690, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZL6LOSKIUJGSUJJHZDPSRDV7XAX7ANCNFSM57XJUYMQ . You are receiving this because you authored the thread.Message ID: @.***>

anikm21 avatar Oct 04 '22 04:10 anikm21

Thank you. Problem is fixed.

On Tue, 4 Oct 2022 at 09:49, Anik Mandal @.***> wrote:

May you suggest me how I can make sure that the correct flags are used? Because when I am restarting my job I only keep the restart file in the directory.

On Fri, 23 Sept 2022 at 20:30, Takis Tsoutsanis @.***> wrote:

Make sure that the correct flags are used when restarting from a RESTART file

— Reply to this email directly, view it on GitHub https://github.com/ucns3d-team/UCNS3D/issues/34#issuecomment-1256327690, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZL6LOSKIUJGSUJJHZDPSRDV7XAX7ANCNFSM57XJUYMQ . You are receiving this because you authored the thread.Message ID: @.***>

anikm21 avatar Oct 04 '22 06:10 anikm21

I have the same question when I am restarting my run, it diverges at the first step calculating a very high value of timestep when I run multispeices Euler equation. Please reply me how to fix the problem.

qhma avatar Dec 11 '22 11:12 qhma

You will need to ensure that :

  1. the MULTISPECIES.DAT file is present in your simulation directory
  2. the RESTART.DAT file is present in your simulation directory
  3. the flags selected for the restart file are correct (such as restarting from steady or unsteady simulation, turbulent or non-turbulent)
  4. the types of equations solved should be -1
  5. the time advancement method should be explicit such as Runge-Kutta3

Hope this helps.

TakisCFD avatar Dec 12 '22 10:12 TakisCFD

I am sorry to bother you guys again with the same issue, but I'm having the same problem and I would like to know about your solutions for this problem. I see some of you posted that the problem is solved... My simulation is very simple, single component, non-turbulent, unsteady RK2, N-S (all flags are according to it).

I run the simulation, the restart.dat file is generated at the end of the simulation. (not at xxx iterations :/ ).

When I simply run it again in order to restart it, the simulation stops because the simulation "end time" is reached no matter what time limit I impose, of course, the simulation is probably blowing up.

Thanks for your attention.

falcaoceg avatar Jan 16 '23 16:01 falcaoceg

please send me your ucns3d.dat and multispecies.dat, since i can indicate if something is wrongly setup in the restart.

On Tue, Jan 17, 2023 at 6:13 PM falcaoceg @.***> wrote:

I have the same question when I am restarting my run, it diverges at the first step calculating a very high value of timestep when I run multispeices Euler equation. Please reply me how to fix the problem.

Did you solve the problem?

— Reply to this email directly, view it on GitHub https://github.com/ucns3d-team/UCNS3D/issues/34#issuecomment-1385833049, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADZVYISSWOUEZXVB4J655D3WS3OLRANCNFSM57XJUYMQ . You are receiving this because you commented.Message ID: @.***>

TakisCFD avatar Jan 17 '23 18:01 TakisCFD

Thank you for your help.

Just as a reminder, I am not the guy performing multispecies simulations, I specified some aspects of my case in the comments.

My simulation is very simple, single component, non-turbulent, unsteady RK2, N-S. At the end, RESIDUAL.dat is generated. At this point, I just re-run it to continue, without success.

best regards

Carlos

Em ter., 17 de jan. de 2023 às 15:19, Takis Tsoutsanis < @.***> escreveu:

please send me your ucns3d.dat and multispecies.dat, since i can indicate if something is wrongly setup in the restart.

On Tue, Jan 17, 2023 at 6:13 PM falcaoceg @.***> wrote:

I have the same question when I am restarting my run, it diverges at the first step calculating a very high value of timestep when I run multispeices Euler equation. Please reply me how to fix the problem.

Did you solve the problem?

— Reply to this email directly, view it on GitHub <https://github.com/ucns3d-team/UCNS3D/issues/34#issuecomment-1385833049 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/ADZVYISSWOUEZXVB4J655D3WS3OLRANCNFSM57XJUYMQ

. You are receiving this because you commented.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/ucns3d-team/UCNS3D/issues/34#issuecomment-1385840239, or unsubscribe https://github.com/notifications/unsubscribe-auth/A4ALLQDDQPRHUV3ECE6ISVLWS3PB3ANCNFSM57XJUYMQ . You are receiving this because you commented.Message ID: @.***>

falcaoceg avatar Jan 17 '23 18:01 falcaoceg

Post your ucns3d.dat file and I will indicate what could be wrong

TakisCFD avatar Jan 17 '23 18:01 TakisCFD

UCNS3D.txt

(I changed the extension to *.txt only to upload here)

falcaoceg avatar Jan 17 '23 18:01 falcaoceg

CFL should be less than one since it might crash otherwise.

Check Running the same setup for time stepping option 3 until I check that it might be a bug associated with RK2

TakisCFD avatar Jan 17 '23 19:01 TakisCFD

CFL should be less than one since it might crash otherwise.

Check Running the same setup for time stepping option 3 until I check that it might be a bug associated with RK2

Ok, the RK3 test I already performed but I'll do it again. I am running with this time step for a while now, but i will decrease it in order to verify. Appreciate your advices.

falcaoceg avatar Jan 17 '23 19:01 falcaoceg

Thank you. Problem is fixed. On Tue, 4 Oct 2022 at 09:49, Anik Mandal @.> wrote: May you suggest me how I can make sure that the correct flags are used? Because when I am restarting my job I only keep the restart file in the directory. On Fri, 23 Sept 2022 at 20:30, Takis Tsoutsanis @.> wrote: > Make sure that the correct flags are used when restarting from a RESTART > file > > — > Reply to this email directly, view it on GitHub > <#34 (comment)>, > or unsubscribe > https://github.com/notifications/unsubscribe-auth/AZL6LOSKIUJGSUJJHZDPSRDV7XAX7ANCNFSM57XJUYMQ > . > You are receiving this because you authored the thread.Message ID: > @.***> >

Hi. Can you tell me how you solved the code diverging on the first time step?

sidkamat avatar May 31 '23 18:05 sidkamat