|
[Sponsors] |
January 25, 2022, 13:18 |
Modifying dynamicMeshDict during simulation
|
#1 |
New Member
Adrian del Ser
Join Date: Oct 2021
Posts: 15
Rep Power: 5 |
Hi everyone,
Has anyone tried modifying the dynamicMeshDict during a simulation (for example, changing the rotation rate omega of a spinning body so that it changes midway through the simulation). This would be useful to be able to control the rate of rotation with an external controller (with python for example). Would this even work or does the dynamicMeshDict get read once at the start of the simulation only? Thanks |
|
February 10, 2022, 04:35 |
|
#2 | |
Member
Join Date: Dec 2018
Posts: 75
Rep Power: 7 |
Quote:
However, it will probably bring divergence problems if radical changes adopted. Please, let us know if it works. |
||
February 11, 2022, 06:40 |
|
#3 | |
New Member
Adrian del Ser
Join Date: Oct 2021
Posts: 15
Rep Power: 5 |
Quote:
How would you define dynamicMesh inside the controlDict? So far if I try to change the rotation rate in dynamicMeshDict after a simulation has started it will have no effect (I suspect omega is read only once at the start of the simulation). One could of course stop the simulation, change omega, and resume from the last time step, but this is far from ideal. |
||
Tags |
amicyclic, dynamicmeshdict |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Convergence Problem - Transient Simulation | gemxx | Main CFD Forum | 0 | July 15, 2018 10:36 |
Mapping Field Data for Mesh Regions from Another Simulation | veterator | OpenFOAM Pre-Processing | 1 | July 10, 2018 06:28 |
Surface Source - Fixed Temperature? | robtheslob | FloEFD, FloWorks & FloTHERM | 18 | May 12, 2017 03:28 |
Simulation FPEs - turbulence for transient and steady-state? | DaveR | OpenFOAM Running, Solving & CFD | 5 | March 5, 2017 16:06 |
setting up a simulation with multiple interactions | phandy | OpenFOAM Running, Solving & CFD | 1 | October 6, 2014 04:16 |