|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Join Date: Feb 2025
Posts: 4
Rep Power: 2 ![]() |
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. |
|
![]() |
![]() |
![]() |
![]() |
#2 | |
Senior Member
Tobias
Join Date: May 2016
Location: Germany
Posts: 311
Rep Power: 11 ![]() |
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:
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. |
||
![]() |
![]() |
![]() |
Tags |
converge, initial conditions, map, restart file |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
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 |