Tank with Safety Valve
buoyantPimpleFoam, activePressureForceBaffleVelocity, meshing, topoSet, createPatch, createBaffle, function1, gap refinement, externalWallHeatFluxTemperature
Sponsored by the continuous support of «Andreas Mai» and hence, dedicated to «Andreas Mai»
The boundary condition named activePressureForceBaffleVelocity is a combination of a wall-type and cyclic-type patch. Therefore, we are able to model a kind of safety valve or rupture disc which can either close or open (only once). The combination of the wall-type and cyclic-type conditions does need special focus on the mesh generation. The goal of this tutorial is to demonstrate the usage of the activePressureForceBaffleVelocity mainly in terms of setting up the case / creating the mesh by using snappyHexMesh, topoSet, createBaffle, and createPatch.
Note: The boundary condition «activePressureForceBaffleVelocity» does contain a potential bug which opens the baffle after twice the user-defined threshold. See here for more information and possible merge to the code: Issue 2360.
The activePressureForceBaffleVelocity combines the wall-type and cyclic-type patch
The presented training case models a vessel that is headed at the bottom by using the boundary condition externalWallHeatFluxTemperature while applying a function1 table for the power supply. The safety valve, modeled by using the activePressureForceBaffleVelocity, will open after a defined pressure difference between the tank and the atmosphere is reached. After that, the valve opens based on the given parameters (fraction/opening-time). Hence, the wall-type condition switches to a cyclic-type patch which allows the release of the pressure tank. Thread at cfd-online.com.
Published under the GNU General Public License 3
Over the last ten years, Tobias tried to publish a wide range of different materials related to OpenFOAM® and CFD. You know it much better than he does if the content is worth to be supported. If you want to thank Tobias for the work he did, feel free to tell the community your opinion about the work Tobias Holzmann is doing or you can email your thoughts directly to »
Support the work of Tobias Holzmann
The available OpenFOAM® training cases are tested and built for different OpenFOAM® versions (not distributions) on a Linux machine. During the tests, only the OpenFOAM Foundation version of OpenFOAM® was used. Furthermore, the following software packages are required for most of the training cases: Salome®, ParaView®, and for optimization tasks, one also needs the open-source software DAKOTA®. The OpenFOAM® cases might work with the ESI version of OpenFOAM® but it is not supported. For the OpenFOAM® extend project, the training cases will probably not work as the code diverged too much. Additionally, there is no support for Windows-based and MAC-based OpenFOAM® versions.
This offering is not approved or endorsed by OpenCFD Limited, producer and distributor of the OpenFOAM software via www.openfoam.com, and owner of the OPENFOAM® and OpenCFD® trade marks