Water Valve Case Structure
- In this tutorial there are three case directories case-plug-5mm, case-plug-8mm, case-plug-11mm with small differences in the model, boundary conditions, but the same computation setup.
- Each of WaterValve case directories include all the OpenFOAM files needed to run simpleFoam solver.
- The root directory of the WaterValve cases has its structure presented in Table
- Allrun.sh decomposes case for parallel computation on 4 processors. Then runs simpleFoam solver in parallel. After the computation reconstructs data, evaluates the total pressure on patches and writes the results into pTot.csv file. All the processes in Allrun.sh are written into individual log files.
- Allclean.sh removes results, log files created by Allrun.sh and mesh sent from meshFactory, if they are present.
- 0.org contains the initial and boundary condition of the simpleFoam solver.
|p||- static pressure|
Constant consists of physical properties and mesh details. PolyMesh is added into directory after running makeMesh.sh script, which is necessary before start of the simpleFoam computation.
|polyMesh||- mesh details|
|g||- gravity acceleration|
|transportProperties||- transport properties|
|turbulenceProperties||- turbulence setup|
Computation setup details are stored in system directory.
|controlDict||- computation setup for simpleFoam solver|
|decomposeParDict||- domain decomposition|
|fvSchemes||- numerical discretization in solver|
|fvSolution||- linear matrix solvers definition in solver|