Modifying dynamicMeshDict during simulation
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 |
Quote:
However, it will probably bring divergence problems if radical changes adopted. Please, let us know if it works. |
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. |
All times are GMT -4. The time now is 06:15. |