CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > CONVERGE

Restarting/Mapping Simulation

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 12, 2025, 05:52
Default Restarting/Mapping Simulation
  #1
New Member
 
Join Date: Feb 2025
Posts: 4
Rep Power: 2
grath is on a distinguished road
Hello everyone,

I really want to clarify a subject: initialization from Map or Restart files.

I perform an ICE simulation with multiple cycles on Converge 4.1.
So, I write MAP files at specified times and I activated restart file writing every 10degCA with a 3-file limit.

My case crashes due to memory reasons, not numerical or physical issues.

Now, I would like to restart my case from a restart.rst file, but there are extrapolation errors, CFL_min, and it crashes very quickly. So I want to clarify the procedure.

Do you have any idea of the reason and/or a solution?

My understanding of the procedure is (could be incorrect):
Initialize from a MAP file:
- Put map.h5 in the root folder
- Activate MAP in input.in
- Specify initialization degCA according to MAP in input.in
- Specify the map file name and settings in map.in

Initialize from a restart file:
- Put restartXYZ.rst in the root folder
- Activate Restart and specify the restart number (XYZ) in input.in
- Specify initialization degCA according to restartXYZ.rst in input.in

Please don't hesitate to correct these procedures to clarify this subject.

Have a good day.
Sincerely.
grath is offline   Reply With Quote

Old   March 13, 2025, 04:12
Default
  #2
Senior Member
 
Tobias
Join Date: May 2016
Location: Germany
Posts: 311
Rep Power: 11
MFGT is on a distinguished road
Overall this sounds correct. Important to note that mapping can be done from rst. files as well. I typically do this as I simulate single engine cylces from -540 to +180 and use the restart file as initialization for the following cylce. Also, you dont need to copy the file as you can specify the path directly if its in a different folder.
Starting crank angle has to match the map file crank angle for useful mapping of course. Actual grid distribution will not be used!

Quote:
Originally Posted by grath View Post
My understanding of the procedure is (could be incorrect):
Initialize from a MAP file:
- Put map.h5 in the root folder
- Activate MAP in input.in
- Specify initialization degCA according to MAP in input.in
- Specify the map file name and settings in map.in

Initialize from a restart file:
- Put restartXYZ.rst in the root folder
- Activate Restart and specify the restart number (XYZ) in input.in
- Specify initialization degCA according to restartXYZ.rst in input.in
The restart number is not linked to the XYZ of the file, nor the starting crank angle has to be modified. I typically leave the number to 0.
Basically I copy the whole input files + restart file into a new folder and manually set restart_flag to 1 and thats it.

Restarts do not allow geometry changes as fair as I know.


If a case has crashed I prefer a simple restart as the output files can be combined afterwards very easily.
MFGT is offline   Reply With Quote

Reply

Tags
converge, initial conditions, map, restart file

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Convergence Problem - Transient Simulation gemxx Main CFD Forum 0 July 15, 2018 09:36
Mapping Field Data for Mesh Regions from Another Simulation veterator OpenFOAM Pre-Processing 1 July 10, 2018 05:28
Surface Source - Fixed Temperature? robtheslob FloEFD, FloWorks & FloTHERM 18 May 12, 2017 02:28
Simulation FPEs - turbulence for transient and steady-state? DaveR OpenFOAM Running, Solving & CFD 5 March 5, 2017 15:06
setting up a simulation with multiple interactions phandy OpenFOAM Running, Solving & CFD 1 October 6, 2014 03:16


All times are GMT -4. The time now is 16:22.