CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Continue a simulation with modifications

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 30, 2022, 09:59
Default Continue a simulation with modifications
  #1
New Member
 
Join Date: Dec 2020
Posts: 5
Rep Power: 5
GuillaumeB is on a distinguished road
Hello everyone,

I recently found that it is possible to continue a stopped simulation in OpenFOAM, starting from the last timestep generated :
Can we restart the simulation from a different time in OpenFoam

I would like to continue my simulation, but this time, with some modifications. For exemple, you have a pipe and you want to model the wind behaviour based on the section profile in the last part of the pipe. The behaviour of the wind in the first part of the pipe will always remain the same, and running multiple times this beginning of the simulation (for each end of the pipe) is really a waste of time.

In FEM softwares, you are usually able to run the first part and set it as a calculation base, and then run all the different scenarios starting from this base (you don't need to re-run the base eash time). This is how it works in LS-DYNA for exemple :
https://ftp.lstc.com/anonymous/outgo...ay/restart.pdf

Does anyone know if it is possible on OpenFOAM to run a simulation for some time, stop it, make geometry modifications, and continue the simulation ? I tried it but I end up with geometry errors.

Thank You for your help,

Guillaume.
GuillaumeB is offline   Reply With Quote

Old   July 5, 2022, 11:47
Default
  #2
Member
 
Lorenzo
Join Date: Apr 2020
Location: Italy
Posts: 36
Rep Power: 6
Lorenzo210 is on a distinguished road
Hi,

When I needed to run a case with a different mesh resolution or with a longer domain, I used mapFields to set the initial conditions as the final step of a "base-case" (working with OpenFOAM v-2012 by ESIgroup).

You may have a look on that, I am not sure if this would cause problems at the beginning in terms of stability.

https://www.openfoam.com/documentati...mapFields.html

Regards,
Lorenzo
Lorenzo210 is offline   Reply With Quote

Reply


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
Surface Source - Fixed Temperature? robtheslob FloEFD, FloWorks & FloTHERM 18 May 12, 2017 02:28
can not continue running simulation with trn file mao CFX 5 September 23, 2016 10:31
Short shot simulation problems in die casting simulation correlation with test yanhua.li FLOW-3D 12 August 3, 2016 02:21
command TUI / Scheme for stop and continue calculate rayolau FLUENT 1 May 13, 2013 10:20
2D CFD code using SIMPLE algorithm bfan Main CFD Forum 3 June 22, 2002 22:01


All times are GMT -4. The time now is 14:19.