$FOAM_TUTORIALS/heatTransfer/buoyantSimpleFoam/externalCoupledCavity
We calculate the flow between two plates with different temperatures. It is assumed that there is no fluid flow into or out of the analysis domain, and during the calculation, the temperature condition is dynamically changed by rewriting the reference file under the folder "comms" using the external program "externalSolver". The gravity acceleration is assumed to be in the negative direction on the Y-axis.
The magnitude and direction of the gravity acceleration is specified in the file constant/g as follows.
dimensions [0 1 -2 0 0 0 0]; value (0 -9.81 0);
The meshes are as follows, and the number of mesh is 78750.
The calculation result is as follows.
We run buoyantSimpleFoam and the external program (shell script) externalSolver at the same time. The externalSolver rewrites files under the folder "comms" in sync with buoyantSimpleFoam's cycles to change the temperature conditions dynamically.
45.94 seconds *Single, Inter(R) Core(TM) i7-2600 CPU @ 3.40GHz 3.40GHz