Download benchmarks/advanced_cases.json from Eurus132/ExtFoamBench: direct link, hf CLI and curl.
- Browser
- Download file 307 kB
-
https://huggingface.co/datasets/Eurus132/ExtFoamBench/resolve/main/benchmarks/advanced_cases.json
- Command line
-
hf download hf://datasets/Eurus132/ExtFoamBench/benchmarks/advanced_cases.json
-
curl -L -o advanced_cases.json https://huggingface.co/datasets/Eurus132/ExtFoamBench/resolve/main/benchmarks/advanced_cases.json
307 kB
| { | |
| "Double_Square_SA": { | |
| "usr_requirement": "Perform an incompressible turbulent flow simulation over two square obstacle using the SpalartAllmaras turbulence model and pimpleFoam solver. The computational domain spans 0 to 5 in x direction and 0 to 2.5 in y direction and -0.5 to 0.5 in z direction. One of the square obstacle is of size 1 unit x 1 unit x 1 unit centered at 1.5 x 1.25 x 0.0 and the other square obstacle is of size 1 unit x 1 unit x 1 unit centered at 3.5 x 1.25 x 0.0. Use one cell in z direction making the geometry effectively 2D. Refine the mesh near to rectangle. Use sufficient grid points to discretize the domain and dont use more than 5000 cells in your mesh. The left boundary is the inlet which uses a uniform velocity of (1,0,0) m/s. The right boundary is the outlet using zero gradient pressure condition. Top and bottom boundaries are fixed walls with nop-slip condition. The front and back faces are empty. The rectangular obstacle also has no-slip boundary condition on its surface. The kinematic viscosity is 2e-6 m2/s. Use a deltaT of 0.5 s and run till a final time of 5 s. Write the results at every 0.5 s. Use a maximum courant number of 1.0. Use OpenFOAM-13 with foamRun -solver incompressibleFluid, corresponding to the legacy pimpleFoam application.", | |
| "Allrun": "#!/bin/sh\ncd ${0%/*} || exit 1 # Run from this directory\n\n# Source tutorial run functions\n. $WM_PROJECT_DIR/bin/tools/RunFunctions\n\nsolver=\"incompressibleFluid\"\n\nrunApplication blockMesh\nrunApplication foamRun -solver $solver\n\n#------------------------------------------------------------------------------\n", | |
| "system/fvSolution": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"system\";\n object fvSolution;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nsolvers\n{\n p\n {\n solver GAMG;\n smoother GaussSeidel;\n tolerance 1e-07;\n relTol 0.01;\n }\n\n pFinal\n {\n $p;\n relTol 0;\n }\n\n \"(U|k|epsilon|omega|nuTilda)\"\n {\n solver smoothSolver;\n smoother symGaussSeidel;\n tolerance 1e-06;\n relTol 0.1;\n }\n\n \"(U|k|epsilon|omega|nuTilda)Final\"\n {\n $U;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n nOuterCorrectors 1;\n nCorrectors 2;\n nNonOrthogonalCorrectors 0;\n pRefCell 0;\n pRefValue 0;\n}\n\nrelaxationFactors\n{\n fields\n {\n p 0.3;\n }\n equations\n {\n U 0.7;\n nuTilda 0.4;\n }\n}\n\n// ************************************************************************* //\n", | |
| "system/controlDict": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"system\";\n object controlDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\napplication foamRun;\nsolver incompressibleFluid;\n\nstartFrom startTime;\nstartTime 0;\nstopAt endTime;\nendTime 5;\ndeltaT 0.01;\n\nwriteControl adjustableRunTime;\nwriteInterval 0.5;\npurgeWrite 0;\nwriteFormat ascii;\nwritePrecision 8;\nwriteCompression off;\ntimeFormat general;\ntimePrecision 6;\nrunTimeModifiable true;\n\nadjustTimeStep yes;\nmaxCo 0.3;\nmaxDeltaT 0.05;\n\n// ************************************************************************* //\n", | |
| "system/decomposeParDict": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"system\";\n object decomposeParDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nnumberOfSubdomains 6;\n\nmethod hierarchical;\n\ncoeffs\n{\n n (3 2 1);\n}\n\n\n// ************************************************************************* //\n", | |
| "system/fvSchemes": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"system\";\n object fvSchemes;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nddtSchemes\n{\n default Euler;\n}\n\ngradSchemes\n{\n default Gauss linear;\n}\n\ndivSchemes\n{\n default none;\n div(phi,U) bounded Gauss linearUpwind grad(U);\n div(phi,k) bounded Gauss limitedLinear 1;\n div(phi,epsilon) bounded Gauss limitedLinear 1;\n div(phi,omega) bounded Gauss limitedLinear 1;\n div(phi,nuTilda) bounded Gauss upwind;\n div((nuEff*dev2(T(grad(U))))) Gauss linear;\n}\n\nlaplacianSchemes\n{\n default Gauss linear corrected;\n}\n\ninterpolationSchemes\n{\n default linear;\n}\n\nsnGradSchemes\n{\n default corrected;\n}\n\nwallDist\n{\n method meshWave;\n}\n\n// ************************************************************************* //\n", | |
| "system/blockMeshDict": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"system\";\n object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nconvertToMeters 1;\n\nvertices\n(\n// bottom layer (z = -0.5)\n (0.0 0.0 -0.5) // 0\n (1.0 0.0 -0.5) // 1\n (2.0 0.0 -0.5) // 2\n (3.0 0.0 -0.5) // 3\n (4.0 0.0 -0.5) // 4\n (5.0 0.0 -0.5) // 5\n\n (0.0 0.75 -0.5) // 6\n (1.0 0.75 -0.5) // 7\n (2.0 0.75 -0.5) // 8\n (3.0 0.75 -0.5) // 9\n (4.0 0.75 -0.5) // 10\n (5.0 0.75 -0.5) // 11\n\n (0.0 1.75 -0.5) // 12\n (1.0 1.75 -0.5) // 13\n (2.0 1.75 -0.5) // 14\n (3.0 1.75 -0.5) // 15\n (4.0 1.75 -0.5) // 16\n (5.0 1.75 -0.5) // 17\n\n (0.0 2.5 -0.5) // 18\n (1.0 2.5 -0.5) // 19\n (2.0 2.5 -0.5) // 20\n (3.0 2.5 -0.5) // 21\n (4.0 2.5 -0.5) // 22\n (5.0 2.5 -0.5) // 23\n\n// top layer (z = +0.5)\n (0.0 0.0 0.5) // 24\n (1.0 0.0 0.5) // 25\n (2.0 0.0 0.5) // 26\n (3.0 0.0 0.5) // 27\n (4.0 0.0 0.5) // 28\n (5.0 0.0 0.5) // 29\n\n (0.0 0.75 0.5) // 30\n (1.0 0.75 0.5) // 31\n (2.0 0.75 0.5) // 32\n (3.0 0.75 0.5) // 33\n (4.0 0.75 0.5) // 34\n (5.0 0.75 0.5) // 35\n\n (0.0 1.75 0.5) // 36\n (1.0 1.75 0.5) // 37\n (2.0 1.75 0.5) // 38\n (3.0 1.75 0.5) // 39\n (4.0 1.75 0.5) // 40\n (5.0 1.75 0.5) // 41\n\n (0.0 2.5 0.5) // 42\n (1.0 2.5 0.5) // 43\n (2.0 2.5 0.5) // 44\n (3.0 2.5 0.5) // 45\n (4.0 2.5 0.5) // 46\n (5.0 2.5 0.5) // 47\n);\n\nblocks\n(\n// bottom strip y ∈ [0,0.75]\n hex ( 0 1 7 6 24 25 31 30) (20 15 1) simpleGrading (1 1 1)\n hex ( 1 2 8 7 25 26 32 31) (20 15 1) simpleGrading (1 1 1)\n hex ( 2 3 9 8 26 27 33 32) (20 15 1) simpleGrading (1 1 1)\n hex ( 3 4 10 9 27 28 34 33) (20 15 1) simpleGrading (1 1 1)\n hex ( 4 5 11 10 28 29 35 34) (20 15 1) simpleGrading (1 1 1)\n\n// middle strip y ∈ [0.75,1.75], skipping posts at ix=1 & ix=3\n hex ( 6 7 13 12 30 31 37 36) (20 20 1) simpleGrading (1 1 1)\n hex ( 8 9 15 14 32 33 39 38) (20 20 1) simpleGrading (1 1 1)\n hex (10 11 17 16 34 35 41 40) (20 20 1) simpleGrading (1 1 1)\n\n// top strip y ∈ [1.75,2.5]\n hex (12 13 19 18 36 37 43 42) (20 15 1) simpleGrading (1 1 1)\n hex (13 14 20 19 37 38 44 43) (20 15 1) simpleGrading (1 1 1)\n hex (14 15 21 20 38 39 45 44) (20 15 1) simpleGrading (1 1 1)\n hex (15 16 22 21 39 40 46 45) (20 15 1) simpleGrading (1 1 1)\n hex (16 17 23 22 40 41 47 46) (20 15 1) simpleGrading (1 1 1)\n);\n\nedges\n(\n);\n\nboundary\n(\n inlet\n {\n type patch;\n faces\n (\n (0 6 30 24)\n (6 12 36 30)\n (12 18 42 36)\n );\n }\n outlet\n {\n type patch;\n faces\n (\n (5 11 35 29)\n (11 17 41 35)\n (17 23 47 41)\n );\n }\n bottomWall\n {\n type wall;\n faces\n (\n (0 1 25 24)\n (1 2 26 25)\n (2 3 27 26)\n (3 4 28 27)\n (4 5 29 28)\n );\n }\n topWall\n {\n type wall;\n faces\n (\n (18 19 43 42)\n (19 20 44 43)\n (20 21 45 44)\n (21 22 46 45)\n (22 23 47 46)\n );\n }\n posts\n {\n type wall;\n faces\n (\n // left square post at ix=1,iy=1\n (7 13 37 31)\n (8 14 38 32)\n (7 8 32 31)\n (13 14 38 37)\n // right square post at ix=3,iy=1\n (9 15 39 33)\n (10 16 40 34)\n (9 10 34 33)\n (15 16 40 39)\n );\n }\n frontAndBack\n {\n type empty;\n faces\n (\n // z = -0.5 faces (one per block, bottom-layer)\n (0 1 7 6)\n (1 2 8 7)\n (2 3 9 8)\n (3 4 10 9)\n (4 5 11 10)\n (6 7 13 12)\n (8 9 15 14)\n (10 11 17 16)\n (12 13 19 18)\n (13 14 20 19)\n (14 15 21 20)\n (15 16 22 21)\n (16 17 23 22)\n // z = +0.5 faces (top-layer)\n (24 25 31 30)\n (25 26 32 31)\n (26 27 33 32)\n (27 28 34 33)\n (28 29 35 34)\n (30 31 37 36)\n (32 33 39 38)\n (34 35 41 40)\n (36 37 43 42)\n (37 38 44 43)\n (38 39 45 44)\n (39 40 46 45)\n (40 41 47 46)\n );\n }\n);\n\nmergePatchPairs\n(\n);\n", | |
| "0/nuTilda": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object nuTilda;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -1 0 0 0 0];\n\ninternalField uniform 2e-7;\n\nboundaryField\n{\n inlet\n {\n type fixedValue;\n value uniform 2e-7;\n }\n outlet\n {\n type zeroGradient;\n } bottomWall\n {\n type fixedValue;\n value uniform 0;\n } topWall\n {\n type fixedValue;\n value uniform 0;\n } posts\n {\n type fixedValue;\n value uniform 0;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/p": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object p;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -2 0 0 0 0];\n\ninternalField uniform 101325;\n\nboundaryField\n{\n inlet\n {\n type fixedFluxPressure;\n value $internalField;\n }\n outlet\n {\n type fixedValue;\n value $internalField;\n }\n bottomWall\n {\n type fixedFluxPressure;\n value $internalField;\n }\n topWall\n {\n type fixedFluxPressure;\n value $internalField;\n }\n posts\n {\n type fixedFluxPressure;\n value $internalField;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/U": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volVectorField;\n location \"0\";\n object U;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -1 0 0 0 0];\n\ninternalField uniform (1 0 0);\n\nboundaryField\n{\n inlet\n {\n type fixedValue;\n value $internalField;\n }\n outlet\n {\n type pressureInletOutletVelocity;\n value uniform (0 0 0);\n }\n bottomWall\n {\n type fixedValue;\n value uniform (0 0 0);\n }\n topWall\n {\n type fixedValue;\n value uniform (0 0 0);\n }\n posts\n {\n type fixedValue;\n value uniform (0 0 0);\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/nut": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object nut;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -1 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{ inlet\n {\n type calculated;\n value uniform 0;\n } outlet\n {\n type calculated;\n value uniform 0;\n } bottomWall\n {\n type calculated;\n value uniform 0;\n } topWall\n {\n type calculated;\n value uniform 0;\n } posts\n {\n type calculated;\n value uniform 0;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "constant/physicalProperties": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"constant\";\n object physicalProperties;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nviscosityModel constant;\nnu [0 2 -1 0 0 0 0] 2e-06;\n\n// ************************************************************************* //\n", | |
| "constant/momentumTransport": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"constant\";\n object momentumTransport;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nsimulationType RAS;\n\nRAS\n{\n model SpalartAllmaras;\n turbulence on;\n printCoeffs on;\n}\n\n// ************************************************************************* //\n" | |
| }, | |
| "wedge_SA": { | |
| "usr_requirement": "Perform a 2D supersonic flow simulation over a wedge using. Create a 3D geometry spanning from -0.15242 m to 0.3048 m in the x-direction, 0 m to 0.1524 m in the y-direction, and -0.005 m to 0.005 m in the z-direction. The simulation starts at 0.0 seconds and runs until 0.2 seconds with a time step (deltaT) of 0.0001 seconds. The results are written every 0.02 seconds. The inlet velocity is 5 m/s, inlet temperature is 1 K and inlet pressure is 1 Pa. The Pr for the mixture is 1. Use rhoCentralFoam solver. Use SpalartAllmaras turbulence model. The wedge surface is a slip boundary. Use OpenFOAM-13 with foamRun -solver shockFluid, corresponding to the legacy rhoCentralFoam application.", | |
| "Allrun": "#!/bin/sh\ncd ${0%/*} || exit 1 # Run from this directory\n\n# Source tutorial run functions\n. $WM_PROJECT_DIR/bin/tools/RunFunctions\n\nsolver=\"shockFluid\"\n\nrunApplication blockMesh\nrunApplication foamRun -solver $solver\n\n#------------------------------------------------------------------------------\n", | |
| "system/fvSolution": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"system\";\n object fvSolution;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nsolvers\n{\n \"(rho|rhoU|rhoE).*\"\n {\n solver diagonal;\n }\n\n \"(U|h|e|T|nuTilda).*\"\n {\n solver smoothSolver;\n smoother symGaussSeidel;\n tolerance 1e-09;\n relTol 0.01;\n }\n\n \"(U|h|e|T|nuTilda).*Final\"\n {\n $U;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n}\n\n// ************************************************************************* //\n", | |
| "system/controlDict": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"system\";\n object controlDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\napplication foamRun;\nsolver shockFluid;\n\nstartFrom startTime;\nstartTime 0;\nstopAt endTime;\nendTime 0.2;\ndeltaT 0.0001;\n\nwriteControl runTime;\nwriteInterval 0.02;\npurgeWrite 0;\nwriteFormat ascii;\nwritePrecision 8;\nwriteCompression off;\ntimeFormat general;\ntimePrecision 6;\nrunTimeModifiable true;\n\nadjustTimeStep no;\nmaxCo 1;\nmaxDeltaT 1e-06;\n\n// ************************************************************************* //\n", | |
| "system/fvSchemes": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"system\";\n object fvSchemes;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nfluxScheme Kurganov;\n\nddtSchemes\n{\n default Euler;\n}\n\ngradSchemes\n{\n default Gauss linear;\n}\n\ndivSchemes\n{\n default none;\n div(tauMC) Gauss linear;\n div(phi,nuTilda) bounded Gauss upwind;\n div(phi,U) bounded Gauss upwind;\n}\n\nlaplacianSchemes\n{\n default Gauss linear corrected;\n laplacian(nuEff,U) Gauss linear corrected;\n laplacian(1,nuTilda) Gauss linear corrected;\n}\n\ninterpolationSchemes\n{\n default linear;\n reconstruct(rho) vanLeer;\n reconstruct(U) vanLeerV;\n reconstruct(T) vanLeer;\n}\n\nsnGradSchemes\n{\n default corrected;\n}\n\nwallDist\n{\n method meshWave;\n}\n\n// ************************************************************************* //\n", | |
| "system/blockMeshDict": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"system\";\n object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nconvertToMeters 1;\n\nvertices\n(\n (-0.15242 0 -0.005)\n ( 0 0 -0.005)\n ( 0.3048 0.081670913853 -0.005)\n (-0.15242 0.1524 -0.005)\n ( 0 0.1524 -0.005)\n ( 0.3048 0.1524 -0.005)\n\n (-0.15242 0 0.005)\n ( 0 0 0.005)\n ( 0.3048 0.081670913853 0.005)\n (-0.15242 0.1524 0.005)\n ( 0 0.1524 0.005)\n ( 0.3048 0.1524 0.005)\n\n);\n\nblocks\n(\n hex (0 1 4 3 6 7 10 9 ) (40 40 1) simpleGrading (1 1 1)\n hex (1 2 5 4 7 8 11 10) (80 40 1) simpleGrading (1 1 1)\n);\n\ndefaultPatch\n{\n type empty;\n}\n\nboundary\n(\n inlet\n {\n type patch;\n faces\n (\n (0 6 9 3)\n );\n }\n outlet\n {\n type patch;\n faces\n (\n (2 5 11 8)\n );\n }\n bottom\n {\n type symmetryPlane;\n faces\n (\n (0 1 7 6)\n );\n }\n top\n {\n type symmetryPlane;\n faces\n (\n (3 9 10 4)\n (4 10 11 5)\n );\n }\n obstacle\n {\n type patch;\n faces\n (\n (1 2 8 7)\n );\n }\n);\n\n\n// ************************************************************************* //\n", | |
| "0/nuTilda": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object nuTilda;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -1 0 0 0 0];\n\ninternalField uniform 1e-5;\n\nboundaryField\n{\n inlet\n {\n type fixedValue;\n value uniform 1e-5;\n }\n outlet\n {\n type fixedValue;\n value uniform 1e-5;\n }\n bottom\n {\n type symmetryPlane;\n }\n top\n {\n type symmetryPlane;\n } obstacle\n {\n type fixedValue;\n value uniform 0;\n }\n\n defaultFaces\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/p": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object p;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [1 -1 -2 0 0 0 0];\n\ninternalField uniform 1;\n\nboundaryField\n{\n inlet\n {\n type fixedValue;\n value uniform 1;\n }\n outlet\n {\n type zeroGradient;\n }\n bottom\n {\n type symmetryPlane;\n }\n top\n {\n type symmetryPlane;\n }\n obstacle\n {\n type zeroGradient;\n }\n\n defaultFaces\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/U": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volVectorField;\n location \"0\";\n object U;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -1 0 0 0 0];\n\ninternalField uniform (5 0 0);\n\nboundaryField\n{\n inlet\n {\n type fixedValue;\n value uniform (5 0 0);\n }\n outlet\n {\n type zeroGradient;\n }\n bottom\n {\n type symmetryPlane;\n }\n top\n {\n type symmetryPlane;\n }\n obstacle\n {\n type slip;\n }\n\n defaultFaces\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/nut": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object nut;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -1 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{ inlet\n {\n type calculated;\n value uniform 0;\n } outlet\n {\n type calculated;\n value uniform 0;\n }\n bottom\n {\n type symmetryPlane; // Correct boundary condition\n }\n top\n {\n type symmetryPlane; // Correct boundary condition\n } obstacle\n {\n type calculated;\n value uniform 0;\n }\n\n defaultFaces\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/T": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object T;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 0 0 1 0 0 0];\n\ninternalField uniform 1;\n\nboundaryField\n{\n inlet\n {\n type fixedValue;\n value uniform 1;\n }\n outlet\n {\n type zeroGradient;\n }\n bottom\n {\n type symmetryPlane;\n }\n top\n {\n type symmetryPlane;\n }\n obstacle\n {\n type zeroGradient;\n }\n\n defaultFaces\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/alphat": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object alphat;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [1 -1 -1 0 0 0 0];\n\ninternalField uniform 1e-5;\n\nboundaryField\n{\n inlet\n {\n type calculated;\n value uniform 0;\n }\n outlet\n {\n type calculated;\n value uniform 0;\n }\n bottom\n {\n type symmetryPlane;\n }\n top\n {\n type symmetryPlane;\n }\n obstacle\n {\n type calculated; // ✅ Replaced alphatWallFunction with calculated\n value uniform 0; // Placeholder required even if not directly used\n }\n\n defaultFaces\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "constant/momentumTransport": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"constant\";\n object momentumTransport;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nsimulationType RAS;\n\nRAS\n{\n model SpalartAllmaras;\n turbulence on;\n printCoeffs on;\n}\n\n// ************************************************************************* //\n", | |
| "constant/physicalProperties": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"constant\";\n object physicalProperties;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nthermoType\n{\n type hePsiThermo;\n mixture pureMixture;\n transport const;\n thermo hConst;\n equationOfState perfectGas;\n specie specie;\n energy sensibleInternalEnergy;\n}\n\nmixture\n{\n // normalised gas\n specie\n {\n molWeight 11640.3;\n }\n thermodynamics\n {\n Cp 2.5;\n Hf 0;\n }\n transport\n {\n mu 0.01;\n Pr 1;\n }\n}\n\n\n// ************************************************************************* //\n" | |
| }, | |
| "Cylinder_LES": { | |
| "usr_requirement": "do a offsetcylinder simulation using Large eddy simulation with dynamic kinetic energy equation model. Use PIMPLE algorithm. Boundary conditions specify a fixed velocity of 1m/s at the inlet (left),zero gradient pressure at the outlet (right), and no-slip conditions for walls, including the cylinder surface. Use timestep of 0.0025 and output every 0.05. Finaltime is 0.5. use constant viscosity model with nu value of 0.01 in physical properties. Use OpenFOAM-13 with foamRun -solver incompressibleFluid, corresponding to the legacy pimpleFoam application.", | |
| "Allrun": "#!/bin/sh\ncd ${0%/*} || exit 1 # Run from this directory\n\n# Source tutorial run functions\n. $WM_PROJECT_DIR/bin/tools/RunFunctions\n\nsolver=\"incompressibleFluid\"\n\nrunApplication blockMesh\nrunApplication foamRun -solver $solver\n\n#------------------------------------------------------------------------------\n", | |
| "system/fvSolution": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"system\";\n object fvSolution;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nsolvers\n{\n p\n {\n solver GAMG;\n smoother GaussSeidel;\n tolerance 1e-07;\n relTol 0.01;\n }\n\n pFinal\n {\n $p;\n relTol 0;\n }\n\n \"(U|k|epsilon|omega|nuTilda)\"\n {\n solver smoothSolver;\n smoother symGaussSeidel;\n tolerance 1e-06;\n relTol 0.1;\n }\n\n \"(U|k|epsilon|omega|nuTilda)Final\"\n {\n $U;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n nOuterCorrectors 1;\n nCorrectors 2;\n nNonOrthogonalCorrectors 0;\n pRefCell 0;\n pRefValue 0;\n}\n\n// ************************************************************************* //\n", | |
| "system/controlDict": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"system\";\n object controlDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\napplication foamRun;\nsolver incompressibleFluid;\n\nstartFrom startTime;\nstartTime 0;\nstopAt endTime;\nendTime 0.5;\ndeltaT 0.0025;\n\nwriteControl runTime;\nwriteInterval 0.05;\npurgeWrite 0;\nwriteFormat ascii;\nwritePrecision 8;\nwriteCompression off;\ntimeFormat general;\ntimePrecision 6;\nrunTimeModifiable true;\n\nadjustTimeStep no;\nmaxCo 1;\nmaxDeltaT 1;\n\n// ************************************************************************* //\n", | |
| "system/fvSchemes": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"system\";\n object fvSchemes;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nddtSchemes\n{\n default Euler;\n}\n\ngradSchemes\n{\n default Gauss linear;\n}\n\ndivSchemes\n{\n default none;\n div(phi,U) bounded Gauss linearUpwind grad(U);\n div(phi,k) bounded Gauss limitedLinear 1;\n div(phi,epsilon) bounded Gauss limitedLinear 1;\n div(phi,omega) bounded Gauss limitedLinear 1;\n div(phi,nuTilda) bounded Gauss limitedLinear 1;\n div((nuEff*dev2(T(grad(U))))) Gauss linear;\n}\n\nlaplacianSchemes\n{\n default Gauss linear corrected;\n}\n\ninterpolationSchemes\n{\n default linear;\n}\n\nsnGradSchemes\n{\n default corrected;\n}\n\nwallDist\n{\n method meshWave;\n}\n\n// ************************************************************************* //\n", | |
| "system/blockMeshDict": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"system\";\n object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nconvertToMeters 1;\n\nvertices\n(\n (1 0 -1)\n (1.4 0 -1)\n (5 0 -1)\n (5 0.989949 -1)\n (0.989949 0.989949 -1)\n (0.707107 0.707107 -1)\n (5 2.5 -1)\n (0.989949 2.5 -1)\n (0 2.5 -1)\n (0 1.4 -1)\n (0 1 -1)\n (-1 0 -1)\n (-1.4 0 -1)\n (-5 0 -1)\n (-5 0.989949 -1)\n (-0.989949 0.989949 -1)\n (-0.707107 0.707107 -1)\n (-5 2.5 -1)\n (-0.989949 2.5 -1)\n (5 -0.989949 -1)\n (0.989949 -0.989949 -1)\n (0.707107 -0.707107 -1)\n (5 -1.5 -1)\n (0.989949 -1.5 -1)\n (0 -1.5 -1)\n (0 -1.4 -1)\n (0 -1 -1)\n (-5 -0.989949 -1)\n (-0.989949 -0.989949 -1)\n (-0.707107 -0.707107 -1)\n (-5 -1.5 -1)\n (-0.989949 -1.5 -1)\n (1 0 1)\n (1.4 0 1)\n (5 0 1)\n (5 0.989949 1)\n (0.989949 0.989949 1)\n (0.707107 0.707107 1)\n (5 2.5 1)\n (0.989949 2.5 1)\n (0 2.5 1)\n (0 1.4 1)\n (0 1 1)\n (-1 0 1)\n (-1.4 0 1)\n (-5 0 1)\n (-5 0.989949 1)\n (-0.989949 0.989949 1)\n (-0.707107 0.707107 1)\n (-5 2.5 1)\n (-0.989949 2.5 1)\n (5 -0.989949 1)\n (0.989949 -0.989949 1)\n (0.707107 -0.707107 1)\n (5 -1.5 1)\n (0.989949 -1.5 1)\n (0 -1.5 1)\n (0 -1.4 1)\n (0 -1 1)\n (-5 -0.989949 1)\n (-0.989949 -0.989949 1)\n (-0.707107 -0.707107 1)\n (-5 -1.5 1)\n (-0.989949 -1.5 1)\n);\n\nblocks\n(\n hex (5 4 9 10 37 36 41 42) (10 10 1) simpleGrading (1 1 1)\n hex (0 1 4 5 32 33 36 37) (10 10 1) simpleGrading (1 1 1)\n hex (1 2 3 4 33 34 35 36) (10 10 1) simpleGrading (1 1 1)\n hex (4 3 6 7 36 35 38 39) (10 10 1) simpleGrading (1 1 1)\n hex (9 4 7 8 41 36 39 40) (10 10 1) simpleGrading (1 1 1)\n hex (15 16 10 9 47 48 42 41) (10 10 1) simpleGrading (1 1 1)\n hex (12 11 16 15 44 43 48 47) (10 10 1) simpleGrading (1 1 1)\n hex (13 12 15 14 45 44 47 46) (10 10 1) simpleGrading (1 1 1)\n hex (14 15 18 17 46 47 50 49) (10 10 1) simpleGrading (1 1 1)\n hex (15 9 8 18 47 41 40 50) (10 10 1) simpleGrading (1 1 1)\n hex (26 25 20 21 58 57 52 53) (10 10 1) simpleGrading (1 1 1)\n hex (21 20 1 0 53 52 33 32) (10 10 1) simpleGrading (1 1 1)\n hex (20 19 2 1 52 51 34 33) (10 10 1) simpleGrading (1 1 1)\n hex (23 22 19 20 55 54 51 52) (10 5 1) simpleGrading (1 1 1)\n hex (24 23 20 25 56 55 52 57) (10 5 1) simpleGrading (1 1 1)\n hex (28 29 11 12 60 61 43 44) (10 10 1) simpleGrading (1 1 1)\n hex (25 26 29 28 57 58 61 60) (10 10 1) simpleGrading (1 1 1)\n hex (27 28 12 13 59 60 44 45) (10 10 1) simpleGrading (1 1 1)\n hex (30 31 28 27 62 63 60 59) (10 5 1) simpleGrading (1 1 1)\n hex (31 24 25 28 63 56 57 60) (10 5 1) simpleGrading (1 1 1)\n);\n\nedges\n(\n arc 5 0 (0.92388 0.382683 -1)\n arc 5 10 (0.382683 0.923879 -1)\n arc 1 4 (1.29343 0.535757 -1)\n arc 4 9 (0.535757 1.29343 -1)\n arc 32 37 (0.92388 0.382683 1)\n arc 37 42 (0.382683 0.923879 1)\n arc 33 36 (1.29343 0.535757 1)\n arc 36 41 (0.535757 1.29343 1)\n arc 11 16 (-0.923879 0.382683 -1)\n arc 16 10 (-0.382683 0.923879 -1)\n arc 12 15 (-1.29343 0.535757 -1)\n arc 15 9 (-0.535757 1.29343 -1)\n arc 43 48 (-0.923879 0.382683 1)\n arc 48 42 (-0.382683 0.923879 1)\n arc 44 47 (-1.29343 0.535757 1)\n arc 47 41 (-0.535757 1.29343 1)\n arc 0 21 (0.923879 -0.382683 -1)\n arc 21 26 (0.382683 -0.923879 -1)\n arc 1 20 (1.29343 -0.535757 -1)\n arc 20 25 (0.535757 -1.29343 -1)\n arc 32 53 (0.923879 -0.382683 1)\n arc 53 58 (0.382683 -0.923879 1)\n arc 33 52 (1.29343 -0.535757 1)\n arc 52 57 (0.535757 -1.29343 1)\n arc 11 29 (-0.923879 -0.382683 -1)\n arc 29 26 (-0.382683 -0.923879 -1)\n arc 12 28 (-1.29343 -0.535757 -1)\n arc 28 25 (-0.535757 -1.29343 -1)\n arc 43 61 (-0.923879 -0.382683 1)\n arc 61 58 (-0.382683 -0.923879 1)\n arc 44 60 (-1.29343 -0.535757 1)\n arc 60 57 (-0.535757 -1.29343 1)\n);\n\ndefaultPatch\n{\n type empty;\n}\n\nboundary\n(\n left\n {\n type patch;\n faces\n (\n (17 14 46 49)\n (14 13 45 46)\n (13 27 59 45)\n (27 30 62 59)\n );\n }\n right\n {\n type patch;\n faces\n (\n (22 19 51 54)\n (19 2 34 51)\n (2 3 35 34)\n (3 6 38 35)\n );\n }\n down\n {\n type wall;\n faces\n (\n (30 31 63 62)\n (31 24 56 63)\n (24 23 55 56)\n (23 22 54 55)\n );\n }\n up\n {\n type wall;\n faces\n (\n (6 7 39 38)\n (7 8 40 39)\n (8 18 50 40)\n (18 17 49 50)\n );\n }\n cylinder\n {\n type wall;\n faces\n (\n (0 5 37 32)\n (5 10 42 37)\n (10 16 48 42)\n (16 11 43 48)\n (11 29 61 43)\n (29 26 58 61)\n (26 21 53 58)\n (21 0 32 53)\n );\n }\n);\n\n\n// ************************************************************************* //\n", | |
| "0/nuTilda": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object nuTilda;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -1 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n left\n {\n type fixedValue;\n value uniform 0;\n }\n right\n {\n type inletOutlet;\n inletValue uniform 0;\n value uniform 0;\n }\n down\n {\n type fixedValue;\n value uniform 0;\n }\n up\n {\n type fixedValue;\n value uniform 0;\n }\n cylinder\n {\n type fixedValue;\n value uniform 0;\n }\n\n defaultFaces\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/p": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object p;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -2 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n left\n {\n type zeroGradient;\n }\n right\n {\n type fixedValue;\n value uniform 0;\n }\n down\n {\n type zeroGradient;\n }\n up\n {\n type zeroGradient;\n }\n cylinder\n {\n type zeroGradient;\n }\n\n defaultFaces\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/k": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object k;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -2 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n left\n {\n type fixedValue;\n value uniform 2e-05;\n }\n right\n {\n type inletOutlet;\n inletValue uniform 0;\n value uniform 0;\n }\n down\n {\n type fixedValue;\n value uniform 0;\n }\n up\n {\n type fixedValue;\n value uniform 0;\n }\n cylinder\n {\n type fixedValue;\n value uniform 0;\n }\n\n defaultFaces\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/U": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volVectorField;\n location \"0\";\n object U;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -1 0 0 0 0];\n\ninternalField uniform (0 0 0);\n\nboundaryField\n{\n left\n {\n type fixedValue;\n value uniform (1 0 0);\n }\n right\n {\n type zeroGradient;\n }\n down\n {\n type noSlip;\n }\n up\n {\n type noSlip;\n }\n cylinder\n {\n type noSlip;\n }\n\n defaultFaces\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/nut": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object nut;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -1 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n left\n {\n type zeroGradient;\n }\n right\n {\n type zeroGradient;\n }\n down\n {\n type zeroGradient;\n }\n up\n {\n type zeroGradient;\n }\n cylinder\n {\n type zeroGradient;\n }\n\n defaultFaces\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "constant/momentumTransport": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"constant\";\n object momentumTransport;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nsimulationType LES;\n\nLES\n{\n model dynamicKEqn;\n delta cubeRootVol;\n filter simple;\n turbulence on;\n printCoeffs on;\n\n cubeRootVolCoeffs\n {\n deltaCoeff 1;\n }\n}\n\n// ************************************************************************* //\n", | |
| "constant/physicalProperties": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"constant\";\n object physicalProperties;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nviscosityModel constant;\nnu [0 2 -1 0 0 0 0] 0.01;\n\n// ************************************************************************* //\n" | |
| }, | |
| "Diamond_Obstacle_KOMEGASST": { | |
| "usr_requirement": "Perform an incompressible turbulent flow simulation over a 2D diamond obstacle using the k-Omega SST RANS turbulence model and pimpleFoam solver. The computational domain spans 0 to 15 in x direction and 0 to 5 in y direction and -0.5 to 0.5 in z direction. The diamond obstacle is a square rotated by 45 degrees with diagonal length of 1 unit centered at 2.5 x 2.5 x 0.0. Use one cell in z direction making the geometry effectively 2D. Refine the mesh near to diamond. Use sufficient grid points to discretize the domain and dont use more than 10000 cells in your mesh. The left boundary is the inlet which uses a uniform velocity of (1,0,0) m/s. The right boundary is the outlet using zero gradient pressure condition. Top and bottom boundaries are fixed walls with nop-slip condition. The front and back faces are empty. The diamond obstacle also has no-slip boundary condition on its surface. The kinematic viscosity is 2e-6 m2/s. Use a deltaT of 0.5 s and run till a final time of 5 s. Write the results at every 0.5 s. Use a maximum courant number of 1.0. Use OpenFOAM-13 with foamRun -solver incompressibleFluid, corresponding to the legacy pimpleFoam application.", | |
| "Allrun": "#!/bin/sh\ncd ${0%/*} || exit 1 # Run from this directory\n\n# Source tutorial run functions\n. $WM_PROJECT_DIR/bin/tools/RunFunctions\n\nsolver=\"incompressibleFluid\"\n\nrunApplication blockMesh\nrunApplication foamRun -solver $solver\n\n#------------------------------------------------------------------------------\n", | |
| "system/fvSolution": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"system\";\n object fvSolution;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nsolvers\n{\n p\n {\n solver GAMG;\n smoother GaussSeidel;\n tolerance 1e-07;\n relTol 0.01;\n }\n\n pFinal\n {\n $p;\n relTol 0;\n }\n\n \"(U|k|epsilon|omega|nuTilda)\"\n {\n solver smoothSolver;\n smoother symGaussSeidel;\n tolerance 1e-06;\n relTol 0.1;\n }\n\n \"(U|k|epsilon|omega|nuTilda)Final\"\n {\n $U;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n nOuterCorrectors 1;\n nCorrectors 2;\n nNonOrthogonalCorrectors 0;\n pRefCell 0;\n pRefValue 0;\n}\n\nrelaxationFactors\n{\n fields\n {\n p 0.3;\n }\n equations\n {\n U 0.7;\n k 0.5;\n omega 0.3;\n }\n}\n\n// ************************************************************************* //\n", | |
| "system/controlDict": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"system\";\n object controlDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\napplication foamRun;\nsolver incompressibleFluid;\n\nstartFrom startTime;\nstartTime 0;\nstopAt endTime;\nendTime 5;\ndeltaT 0.01;\n\nwriteControl adjustableRunTime;\nwriteInterval 0.5;\npurgeWrite 0;\nwriteFormat ascii;\nwritePrecision 8;\nwriteCompression off;\ntimeFormat general;\ntimePrecision 6;\nrunTimeModifiable true;\n\nadjustTimeStep yes;\nmaxCo 0.2;\nmaxDeltaT 0.05;\n\n// ************************************************************************* //\n", | |
| "system/decomposeParDict": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"system\";\n object decomposeParDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nnumberOfSubdomains 6;\n\nmethod hierarchical;\n\ncoeffs\n{\n n (3 2 1);\n}\n\n\n// ************************************************************************* //\n", | |
| "system/fvSchemes": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"system\";\n object fvSchemes;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nddtSchemes\n{\n default Euler;\n}\n\ngradSchemes\n{\n default Gauss linear;\n}\n\ndivSchemes\n{\n default none;\n div(phi,U) bounded Gauss linearUpwind grad(U);\n div(phi,k) bounded Gauss upwind;\n div(phi,epsilon) bounded Gauss limitedLinear 1;\n div(phi,omega) bounded Gauss upwind;\n div(phi,nuTilda) bounded Gauss limitedLinear 1;\n div((nuEff*dev2(T(grad(U))))) Gauss linear;\n}\n\nlaplacianSchemes\n{\n default Gauss linear corrected;\n}\n\ninterpolationSchemes\n{\n default linear;\n}\n\nsnGradSchemes\n{\n default corrected;\n}\n\nwallDist\n{\n method meshWave;\n}\n\n// ************************************************************************* //\n", | |
| "system/blockMeshDict": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"system\";\n object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nscale 1;\n\nvertices\n(\n (0 0 -0.5) // 0\n (2 0 -0.5) // 1\n (3 0 -0.5) // 2\n (15 0 -0.5) // 3\n (15 2 -0.5) // 4\n (15 3 -0.5) // 5\n (15 5 -0.5) // 6\n (3 5 -0.5) // 7\n (2 5 -0.5) // 8\n (0 5 -0.5) // 9\n (0 3 -0.5) // 10\n (0 2 -0.5) // 11\n\n // Diamond hole on bottom face:\n (2.5 2 -0.5) // 12 — midpoint of 11–13\n (3 2.5 -0.5) // 13 — midpoint of 13–14\n (2.5 3 -0.5) // 14 — midpoint of 14–15\n (2 2.5 -0.5) // 15 — midpoint of 12–11\n\n (0 0 0.5) // 16\n (2 0 0.5) // 17\n (3 0 0.5) // 18\n (15 0 0.5) // 19\n (15 2 0.5) // 20\n (15 3 0.5) // 21\n (15 5 0.5) // 22\n (3 5 0.5) // 23\n (2 5 0.5) // 24\n (0 5 0.5) // 25\n (0 3 0.5) // 26\n (0 2 0.5) // 27\n\n // Diamond hole on top face:\n (2.5 2 0.5) // 28\n (3 2.5 0.5) // 29\n (2.5 3 0.5) // 30\n (2 2.5 0.5) // 31\n);\n\nblocks\n(\n hex (0 1 12 11 16 17 28 27) (50 25 1) simpleGrading (1 1 1)\n hex (11 12 15 10 27 28 31 26) (50 25 1) simpleGrading (1 1 1)\n hex (10 15 8 9 26 31 24 25) (50 25 1) simpleGrading (1 1 1)\n hex (15 14 7 8 31 30 23 24) (50 25 1) simpleGrading (1 1 1)\n hex (1 2 13 12 17 18 29 28) (50 25 1) simpleGrading (1 1 1)\n hex (14 5 6 7 30 21 22 23) (50 25 1) simpleGrading (4 1 1)\n hex (13 4 5 14 29 20 21 30) (50 25 1) simpleGrading (4 1 1)\n hex (2 3 4 13 18 19 20 29) (50 25 1) simpleGrading (4 1 1)\n);\n\nedges\n(\n);\n\ndefaultPatch\n{\n type empty;\n}\n\nboundary\n(\n outlet\n {\n type patch;\n faces\n (\n (3 4 20 19)\n (4 5 21 20)\n (5 6 22 21)\n );\n }\n\n inlet\n {\n type patch;\n faces\n (\n (11 0 16 27)\n (10 11 27 26)\n (9 10 26 25)\n );\n }\n\n wall1\n {\n type wall;\n faces\n (\n (6 7 23 22)\n (7 8 24 23)\n (8 9 25 24)\n );\n }\n\n wall2\n {\n type wall;\n faces\n (\n (0 1 17 16)\n (1 2 18 17)\n (2 3 19 18)\n );\n }\n\n cylinder\n {\n type wall;\n faces\n (\n (15 12 28 31)\n (14 15 31 30)\n (12 13 29 28)\n (13 14 30 29)\n );\n }\n);\n\nmergePatchPairs\n(\n);\n\n// ************************************************************************* //\n", | |
| "0/p": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object p;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -2 0 0 0 0];\n\ninternalField uniform 101325;\n\nboundaryField\n{\n outlet\n {\n type fixedValue;\n value $internalField;\n }\n inlet\n {\n type fixedFluxPressure;\n value $internalField;\n }\n wall1\n {\n type fixedFluxPressure;\n value $internalField;\n }\n wall2\n {\n type fixedFluxPressure;\n value $internalField;\n }\n cylinder\n {\n type fixedFluxPressure;\n value $internalField;\n }\n\n defaultFaces\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/k": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object k;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -2 0 0 0 0];\n\ninternalField uniform 1e-4;\n\nboundaryField\n{\n outlet\n {\n type zeroGradient;\n }\n inlet\n {\n type turbulentIntensityKineticEnergyInlet;\n intensity 0.05;\n value uniform 1e-4;\n }\n wall1\n {\n type kqRWallFunction;\n value uniform 1e-4;\n }\n wall2\n {\n type kqRWallFunction;\n value uniform 1e-4;\n }\n cylinder\n {\n type kqRWallFunction;\n value uniform 1e-4;\n }\n\n defaultFaces\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/U": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volVectorField;\n location \"0\";\n object U;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -1 0 0 0 0];\n\ninternalField uniform (1 0 0);\n\nboundaryField\n{\n outlet\n {\n type pressureInletOutletVelocity;\n value uniform (0 0 0);\n }\n inlet\n {\n type fixedValue;\n value $internalField;\n }\n wall1\n {\n type fixedValue;\n value uniform (0 0 0);\n }\n wall2\n {\n type fixedValue;\n value uniform (0 0 0);\n }\n cylinder\n {\n type fixedValue;\n value uniform (0 0 0);\n }\n\n defaultFaces\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/nut": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object nut;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -1 0 0 0 0];\n\ninternalField uniform 1e-6;\n\nboundaryField\n{\n outlet\n {\n type zeroGradient;\n }\n inlet\n {\n type zeroGradient;\n }\n wall1\n {\n type nutkWallFunction;\n value uniform 1e-6;\n }\n wall2\n {\n type nutkWallFunction;\n value uniform 1e-6;\n }\n cylinder\n {\n type nutkWallFunction;\n value uniform 1e-6;\n }\n\n defaultFaces\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/omega": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object omega;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 0 -1 0 0 0 0];\n\ninternalField uniform 50;\n\nboundaryField\n{\n outlet\n {\n type zeroGradient;\n }\n inlet\n {\n type turbulentMixingLengthFrequencyInlet;\n mixingLength 1.2;\n value uniform 50;\n }\n wall1\n {\n type omegaWallFunction;\n value uniform 50;\n }\n wall2\n {\n type omegaWallFunction;\n value uniform 50;\n }\n cylinder\n {\n type omegaWallFunction;\n value uniform 50;\n }\n\n defaultFaces\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "constant/physicalProperties": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"constant\";\n object physicalProperties;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nviscosityModel constant;\nnu [0 2 -1 0 0 0 0] 2e-06;\n\n// ************************************************************************* //\n", | |
| "constant/momentumTransport": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"constant\";\n object momentumTransport;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nsimulationType RAS;\n\nRAS\n{\n model kOmegaSST;\n turbulence on;\n printCoeffs on;\n}\n\n// ************************************************************************* //\n" | |
| }, | |
| "Cavity_SA": { | |
| "usr_requirement": "do an incompressible of lid driven cavity flow using pisoFoam solver and SpalartAllmaras turbulence model. The cavity is a square with dimensions normalized to 1 unit on both the x and y axes and very thin in the z-direction (0.1 unit) and scale the domain down by a factor of 0.1. Use a grid of 20X20 in x and y direction and 1 cell in z-direction(due to the expected 2D flow characteristics). The top wall ('movingWall') moves in the x-direction with a uniform velocity of 1 m/s. The 'fixedWalls' have a no-slip boundary condition (velocity equal to zero at the wall). The front and back faces are designated as 'empty'. The simulation runs from time 0 to 10 with a time step of 0.005 units, and results are output every 100 time steps. The viscosity (`nu`) is set as constant with a value of 1e-05 m^2/s Use OpenFOAM-13 with foamRun -solver incompressibleFluid, corresponding to the legacy pisoFoam application.", | |
| "Allrun": "#!/bin/sh\ncd ${0%/*} || exit 1 # Run from this directory\n\n# Source tutorial run functions\n. $WM_PROJECT_DIR/bin/tools/RunFunctions\n\nsolver=\"incompressibleFluid\"\n\nrunApplication blockMesh\nrunApplication foamRun -solver $solver\n\n#------------------------------------------------------------------------------\n", | |
| "system/fvSolution": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"system\";\n object fvSolution;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nsolvers\n{\n p\n {\n solver GAMG;\n smoother GaussSeidel;\n tolerance 1e-07;\n relTol 0.01;\n }\n\n pFinal\n {\n $p;\n relTol 0;\n }\n\n \"(U|k|epsilon|omega|nuTilda)\"\n {\n solver smoothSolver;\n smoother symGaussSeidel;\n tolerance 1e-06;\n relTol 0.1;\n }\n\n \"(U|k|epsilon|omega|nuTilda)Final\"\n {\n $U;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n nOuterCorrectors 1;\n nCorrectors 2;\n nNonOrthogonalCorrectors 0;\n pRefCell 0;\n pRefValue 0;\n}\n\n// ************************************************************************* //\n", | |
| "system/controlDict": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"system\";\n object controlDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\napplication foamRun;\nsolver incompressibleFluid;\n\nstartFrom startTime;\nstartTime 0;\nstopAt endTime;\nendTime 10;\ndeltaT 0.005;\n\nwriteControl timeStep;\nwriteInterval 100;\npurgeWrite 0;\nwriteFormat ascii;\nwritePrecision 8;\nwriteCompression off;\ntimeFormat general;\ntimePrecision 6;\nrunTimeModifiable true;\n\nadjustTimeStep no;\nmaxCo 1;\nmaxDeltaT 1;\n\n// ************************************************************************* //\n", | |
| "system/fvSchemes": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"system\";\n object fvSchemes;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nddtSchemes\n{\n default Euler;\n}\n\ngradSchemes\n{\n default Gauss linear;\n}\n\ndivSchemes\n{\n default none;\n div(phi,U) bounded Gauss linearUpwind grad(U);\n div(phi,k) bounded Gauss limitedLinear 1;\n div(phi,epsilon) bounded Gauss limitedLinear 1;\n div(phi,omega) bounded Gauss limitedLinear 1;\n div(phi,nuTilda) bounded Gauss limitedLinear 1;\n div((nuEff*dev2(T(grad(U))))) Gauss linear;\n}\n\nlaplacianSchemes\n{\n default Gauss linear corrected;\n}\n\ninterpolationSchemes\n{\n default linear;\n}\n\nsnGradSchemes\n{\n default corrected;\n}\n\nwallDist\n{\n method meshWave;\n}\n\n// ************************************************************************* //\n", | |
| "system/blockMeshDict": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"system\";\n object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nconvertToMeters 0.1;\n\nvertices\n(\n (0 0 0)\n (1 0 0)\n (1 1 0)\n (0 1 0)\n (0 0 0.1)\n (1 0 0.1)\n (1 1 0.1)\n (0 1 0.1)\n);\n\nblocks\n(\n hex (0 1 2 3 4 5 6 7) (20 20 1) simpleGrading (1 1 1)\n);\n\nboundary\n(\n movingWall\n {\n type wall;\n faces\n (\n (3 7 6 2)\n );\n }\n fixedWalls\n {\n type wall;\n faces\n (\n (0 4 7 3)\n (2 6 5 1)\n (1 5 4 0)\n );\n }\n frontAndBack\n {\n type empty;\n faces\n (\n (0 3 2 1)\n (4 5 6 7)\n );\n }\n);\n\n\n// ************************************************************************* //\n", | |
| "0/nuTilda": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object nuTilda;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -1 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{ movingWall\n {\n type fixedValue;\n value uniform 0;\n } fixedWalls\n {\n type fixedValue;\n value uniform 0;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/p": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object p;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -2 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n movingWall\n {\n type zeroGradient;\n }\n fixedWalls\n {\n type zeroGradient;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/U": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volVectorField;\n location \"0\";\n object U;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -1 0 0 0 0];\n\ninternalField uniform (0 0 0);\n\nboundaryField\n{\n movingWall\n {\n type fixedValue;\n value uniform (1 0 0);\n }\n fixedWalls\n {\n type noSlip;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/nut": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object nut;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -1 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{ movingWall\n {\n type calculated;\n value uniform 0;\n } fixedWalls\n {\n type calculated;\n value uniform 0;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "constant/momentumTransport": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"constant\";\n object momentumTransport;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nsimulationType RAS;\n\nRAS\n{\n model SpalartAllmaras;\n turbulence on;\n printCoeffs on;\n}\n\n// ************************************************************************* //\n", | |
| "constant/physicalProperties": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"constant\";\n object physicalProperties;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nviscosityModel constant;\nnu [0 2 -1 0 0 0 0] 1e-05;\n\n// ************************************************************************* //\n" | |
| }, | |
| "counterFlowFlame2D_SA": { | |
| "usr_requirement": "do a counterflow flame simulation using OpenFOAM, employing a compressible flow solver for detailed combustion modeling. Use SpalartAllmaras turbulence model. Define the computational domain as a 2D rectangular region with a width of 0.02 meters and a height of 0.02 meters. Use CH4, O2 and N2 as species. Include chemical kinetics using the reaction mechanism. velocity of fuel is 0.1 m/s and velocity of air is -0.1 m/s. Set the simulation runtime from 0 to 0.5 seconds with a write interval of 0.05 seconds and deltaT of 1e-6. Use OpenFOAM-13 with foamRun -solver multicomponentFluid, corresponding to the legacy reactingFoam application.", | |
| "Allrun": "#!/bin/sh\ncd ${0%/*} || exit 1 # Run from this directory\n\n# Source tutorial run functions\n. $WM_PROJECT_DIR/bin/tools/RunFunctions\n\nsolver=\"multicomponentFluid\"\n\nrunApplication blockMesh\nrunApplication foamRun -solver $solver\n\n#------------------------------------------------------------------------------\n", | |
| "system/fvSolution": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"system\";\n object fvSolution;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nsolvers\n{\n rho\n {\n solver diagonal;\n }\n\n rhoFinal\n {\n $rho;\n }\n\n p\n {\n solver GAMG;\n smoother GaussSeidel;\n tolerance 1e-07;\n relTol 0.01;\n }\n\n pFinal\n {\n $p;\n relTol 0;\n }\n\n \"(U|h|e|T|k|epsilon|omega|nuTilda|Yi|CH4|O2|N2|CO2|H2O|Ydefault)\"\n {\n solver PBiCGStab;\n preconditioner DILU;\n tolerance 1e-08;\n relTol 0.1;\n }\n\n \"(U|h|e|T|k|epsilon|omega|nuTilda|Yi|CH4|O2|N2|CO2|H2O|Ydefault)Final\"\n {\n $U;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n nOuterCorrectors 1;\n nCorrectors 2;\n nNonOrthogonalCorrectors 0;\n}\n\nrelaxationFactors\n{\n equations\n {\n \".*\" 0.7;\n }\n}\n\n// ************************************************************************* //\n", | |
| "system/controlDict": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"system\";\n object controlDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\napplication foamRun;\nsolver multicomponentFluid;\n\nstartFrom startTime;\nstartTime 0;\nstopAt endTime;\nendTime 0.5;\ndeltaT 1e-6;\n\nwriteControl adjustableRunTime;\nwriteInterval 0.05;\npurgeWrite 0;\nwriteFormat ascii;\nwritePrecision 8;\nwriteCompression off;\ntimeFormat general;\ntimePrecision 6;\nrunTimeModifiable true;\n\nadjustTimeStep yes;\nmaxCo 0.4;\nmaxDeltaT 1;\n\n// ************************************************************************* //\n", | |
| "system/fvSchemes": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"system\";\n object fvSchemes;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nddtSchemes\n{\n default Euler;\n}\n\ngradSchemes\n{\n default Gauss linear;\n}\n\ndivSchemes\n{\n default none;\n div(phi,U) Gauss limitedLinearV 1;\n div(phi,h) Gauss limitedLinear 1;\n div(phi,e) Gauss limitedLinear 1;\n div(phi,T) Gauss limitedLinear 1;\n div(phi,Yi) Gauss limitedLinear 1;\n div(phi,Yi_h) Gauss limitedLinear 1;\n div(phi,K) Gauss limitedLinear 1;\n div(phid,p) Gauss limitedLinear 1;\n div(phi,k) Gauss limitedLinear 1;\n div(phi,epsilon) Gauss limitedLinear 1;\n div(phi,omega) Gauss limitedLinear 1;\n div(phi,nuTilda) Gauss limitedLinear 1;\n div(((rho*nuEff)*dev2(T(grad(U))))) Gauss linear;\n}\n\nlaplacianSchemes\n{\n default Gauss linear corrected;\n}\n\ninterpolationSchemes\n{\n default linear;\n}\n\nsnGradSchemes\n{\n default corrected;\n}\n\nwallDist\n{\n method meshWave;\n}\n\n// ************************************************************************* //\n", | |
| "system/blockMeshDict": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"system\";\n object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nconvertToMeters 1;\n\nvertices\n(\n (0.0 -0.01 -0.01)\n (0.02 -0.01 -0.01)\n (0.02 0.01 -0.01)\n (0.0 0.01 -0.01)\n (0.0 -0.01 0.01)\n (0.02 -0.01 0.01)\n (0.02 0.01 0.01)\n (0.0 0.01 0.01)\n);\n\nblocks\n(\n hex (0 1 2 3 4 5 6 7) (100 40 1) simpleGrading (1 1 1)\n);\n\nboundary\n(\n fuel\n {\n type patch;\n faces\n (\n (0 4 7 3)\n );\n }\n air\n {\n type patch;\n faces\n (\n (1 2 6 5)\n );\n }\n outlet\n {\n type patch;\n faces\n (\n (0 1 5 4)\n (7 6 2 3)\n );\n }\n frontAndBack\n {\n type empty;\n faces\n (\n (4 5 6 7)\n (0 3 2 1)\n );\n }\n);\n\n\n// ************************************************************************* //\n", | |
| "0/Ydefault": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object Ydefault;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 0 0 0 0 0 0];\n\ninternalField uniform 0.0;\n\nboundaryField\n{\n fuel\n {\n type fixedValue;\n value uniform 0.0;\n }\n air\n {\n type fixedValue;\n value uniform 0.0;\n }\n outlet\n {\n type inletOutlet;\n inletValue uniform 0.0;\n value uniform 0.0;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/H2O": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object H2O;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 0 0 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n fuel\n {\n type fixedValue;\n value uniform 0;\n }\n air\n {\n type fixedValue;\n value uniform 0;\n }\n outlet\n {\n type inletOutlet;\n inletValue uniform 0;\n value uniform 0;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/nuTilda": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object nuTilda;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -1 0 0 0 0];\n\ninternalField uniform 1e-5;\n\nboundaryField\n{\n fuel\n {\n type fixedValue;\n value uniform 1e-5; // Small non-zero value at inlet\n }\n air\n {\n type fixedValue;\n value uniform 1e-5; // Small non-zero value at inlet\n }\n outlet\n {\n type zeroGradient;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/p": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object p;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [1 -1 -2 0 0 0 0];\n\ninternalField uniform 1e5;\n\nboundaryField\n{\n fuel\n {\n type zeroGradient;\n }\n air\n {\n type zeroGradient;\n }\n outlet\n {\n type totalPressure;\n p0 $internalField;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/epsilon": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object epsilon;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -3 0 0 0 0];\n\ninternalField uniform 30000;\n\nboundaryField\n{\n fuel\n {\n type turbulentMixingLengthDissipationRateInlet;\n mixingLength 0.000504;\n phi phi;\n k k;\n value uniform 1;\n }\n air\n {\n type turbulentMixingLengthDissipationRateInlet;\n mixingLength 0.019677;\n value uniform 1;\n }\n outlet\n {\n type zeroGradient;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/CH4": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object CH4;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 0 0 0 0 0 0];\n\ninternalField uniform 0.0;\n\nboundaryField\n{\n fuel\n {\n type fixedValue;\n value uniform 1.0;\n }\n air\n {\n type fixedValue;\n value uniform 0.0;\n }\n outlet\n {\n type inletOutlet;\n inletValue uniform 0.0;\n value uniform 0.0;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/Qdot": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object Qdot;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [1 -1 -3 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n fuel\n {\n type calculated;\n value uniform 0;\n }\n air\n {\n type calculated;\n value uniform 0;\n }\n outlet\n {\n type calculated;\n value uniform 0;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/CO2": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object CO2;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 0 0 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n fuel\n {\n type fixedValue;\n value uniform 0;\n }\n air\n {\n type fixedValue;\n value uniform 0;\n }\n outlet\n {\n type inletOutlet;\n inletValue uniform 0;\n value uniform 0;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/U": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volVectorField;\n location \"0\";\n object U;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -1 0 0 0 0];\n\ninternalField uniform (0 0 0);\n\nboundaryField\n{\n fuel\n {\n type fixedValue;\n value uniform (0.1 0 0);\n }\n air\n {\n type fixedValue;\n value uniform (-0.1 0 0);\n }\n outlet\n {\n type pressureInletOutletVelocity;\n value $internalField;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/nut": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object nut;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -1 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n fuel\n {\n type calculated;\n value $internalField;\n }\n air\n {\n type calculated;\n value $internalField;\n }\n outlet\n {\n type calculated;\n value $internalField;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/T": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object T;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 0 0 1 0 0 0];\n\ninternalField uniform 2000;\n\nboundaryField\n{\n fuel\n {\n type fixedValue;\n value uniform 293;\n }\n air\n {\n type fixedValue;\n value uniform 293;\n }\n outlet\n {\n type inletOutlet;\n inletValue uniform 293;\n value uniform 293;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/O2": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object O2;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 0 0 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n fuel\n {\n type fixedValue;\n value uniform 0.0;\n }\n air\n {\n type fixedValue;\n value uniform 0.23;\n }\n outlet\n {\n type inletOutlet;\n inletValue uniform 0;\n value uniform 0;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/alphat": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object alphat;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [1 -1 -1 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n fuel\n {\n type fixedValue;\n value uniform 0;\n }\n air\n {\n type fixedValue;\n value uniform 0;\n }\n outlet\n {\n type zeroGradient;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/N2": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object N2;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 0 0 0 0 0 0];\n\ninternalField uniform 1;\n\nboundaryField\n{\n fuel\n {\n type fixedValue;\n value uniform 0.0;\n }\n air\n {\n type fixedValue;\n value uniform 0.77;\n }\n outlet\n {\n type inletOutlet;\n inletValue uniform 1;\n value uniform 1;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/uniform/time": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"0/uniform\";\n object time;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nbeginTime 0;\n\nvalue 0;\n\nname \"0\";\n\nindex 0;\n\ndeltaT 1e-06;\n\ndeltaT0 1e-06;\n\n\n// ************************************************************************* //\n", | |
| "constant/combustionProperties": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"constant\";\n object combustionProperties;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ncombustionModel laminar;\n\n// ************************************************************************* //\n", | |
| "constant/momentumTransport": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"constant\";\n object momentumTransport;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nsimulationType RAS;\n\nRAS\n{\n model SpalartAllmaras;\n turbulence on;\n printCoeffs on;\n}\n\n// ************************************************************************* //\n", | |
| "constant/chemistryProperties": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"constant\";\n object chemistryProperties;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nchemistryType\n{\n solver EulerImplicit;\n}\n\nchemistry on;\n\ninitialChemicalTimeStep 1e-07;\n\nEulerImplicitCoeffs\n{\n cTauChem 1;\n}\n\nodeCoeffs\n{\n solver Rosenbrock43;\n absTol 1e-8;\n relTol 0.01;\n}\n\n#include \"reactions\"\n\n// ************************************************************************* //\n", | |
| "constant/physicalProperties": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"constant\";\n object physicalProperties;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nthermoType\n{\n type hePsiThermo;\n mixture coefficientWilkeMulticomponentMixture;\n transport sutherland;\n thermo janaf;\n energy sensibleEnthalpy;\n equationOfState perfectGas;\n specie specie;\n}\n\ndefaultSpecie N2;\n\n#include \"thermo.compressibleGas\"\n\n// ************************************************************************* //\n", | |
| "constant/thermo.compressibleGas": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"constant\";\n object thermo.compressibleGas;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\n/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\n\nspecies\n(\n O2\n H2O\n CH4\n CO2\n N2\n);\n\nO2\n{\n specie\n {\n molWeight 31.9988;\n }\n thermodynamics\n {\n Tlow 200;\n Thigh 5000;\n Tcommon 1000;\n highCpCoeffs ( 3.69758 0.00061352 -1.25884e-07 1.77528e-11 -1.13644e-15 -1233.93 3.18917 );\n lowCpCoeffs ( 3.21294 0.00112749 -5.75615e-07 1.31388e-09 -8.76855e-13 -1005.25 6.03474 );\n }\n transport\n {\n As 1.753e-6;\n Ts 139;\n }\n}\n\nH2O\n{\n specie\n {\n molWeight 18.0153;\n }\n thermodynamics\n {\n Tlow 200;\n Thigh 5000;\n Tcommon 1000;\n highCpCoeffs ( 2.67215 0.00305629 -8.73026e-07 1.201e-10 -6.39162e-15 -29899.2 6.86282 );\n lowCpCoeffs ( 3.38684 0.00347498 -6.3547e-06 6.96858e-09 -2.50659e-12 -30208.1 2.59023 );\n }\n transport\n {\n As 2.978e-7;\n Ts 1064;\n }\n}\n\nCH4\n{\n specie\n {\n molWeight 16.0428;\n }\n thermodynamics\n {\n Tlow 200;\n Thigh 6000;\n Tcommon 1000;\n highCpCoeffs ( 1.63543 0.0100844 -3.36924e-06 5.34973e-10 -3.15528e-14 -10005.6 9.9937 );\n lowCpCoeffs ( 5.14988 -0.013671 4.91801e-05 -4.84744e-08 1.66694e-11 -10246.6 -4.64132 );\n }\n transport\n {\n As 1.0194e-06;\n Ts 171.06;\n }\n}\n\nCO2\n{\n specie\n {\n molWeight 44.01;\n }\n thermodynamics\n {\n Tlow 200;\n Thigh 5000;\n Tcommon 1000;\n highCpCoeffs ( 4.45362 0.00314017 -1.27841e-06 2.394e-10 -1.66903e-14 -48967 -0.955396 );\n lowCpCoeffs ( 2.27572 0.00992207 -1.04091e-05 6.86669e-09 -2.11728e-12 -48373.1 10.1885 );\n }\n transport\n {\n As 1.503e-6;\n Ts 222;\n }\n}\n\nN2\n{\n specie\n {\n molWeight 28.0134;\n }\n thermodynamics\n {\n Tlow 200;\n Thigh 5000;\n Tcommon 1000;\n highCpCoeffs ( 2.92664 0.00148798 -5.68476e-07 1.0097e-10 -6.75335e-15 -922.798 5.98053 );\n lowCpCoeffs ( 3.29868 0.00140824 -3.96322e-06 5.64152e-09 -2.44486e-12 -1020.9 3.95037 );\n }\n transport\n {\n As 1.401e-6;\n Ts 107;\n }\n}\n\n\n// ************************************************************************* //\n", | |
| "constant/reactions": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"constant\";\n object reactions;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\n/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n-------------------------------------------------------------------------------\nReference:\n Bui-Pham, M. N. (1992).\n Studies in structures of lam inar hydrocarbon flames.\n PhD Thesis, University of California, San Diego\n\nNotes:\n This mechanism was developed for simulating this exact counter-flow flame\n configuration. It should not be considered general-purpose.\n\n\\*---------------------------------------------------------------------------*/\n\nreactions\n{\n methaneReaction\n {\n type irreversibleArrhenius;\n reaction \"CH4 + 2O2 = CO2 + 2H2O\";\n A 5.2e16;\n beta 0;\n Ta 14906;\n }\n}\n\n// ************************************************************************* //\n" | |
| }, | |
| "obliqueShock_LES": { | |
| "usr_requirement": "do a 2D oblique shock wave LES simulation (Smagorinsky model) using OpenFOAM with the rhoCentralFoam solver. The computational domain spans 4.1 m x 1.0 m x 0.1 m. Use inlet velocity of 2.9 m/s and top velocity of (2.61933,-0.50632,0.0) m/s. Use an inlet temperature of 1.0 K and top boundary temperature of 1.25853, and an inlet pressure of 1.0 Pa. Use a time step of 0.0025 seconds, output results every 1.0 seconds, and run the simulation until a final time of 10 seconds. Use OpenFOAM-13 with foamRun -solver shockFluid, corresponding to the legacy rhoCentralFoam application.", | |
| "Allrun": "#!/bin/sh\ncd ${0%/*} || exit 1 # Run from this directory\n\n# Source tutorial run functions\n. $WM_PROJECT_DIR/bin/tools/RunFunctions\n\nsolver=\"shockFluid\"\n\nrunApplication blockMesh\nrunApplication foamRun -solver $solver\n\n#------------------------------------------------------------------------------\n", | |
| "system/fvSolution": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"system\";\n object fvSolution;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nsolvers\n{\n \"(rho|rhoU|rhoE).*\"\n {\n solver diagonal;\n }\n\n \"(U|h|e|T|k|nut|alphat).*\"\n {\n solver smoothSolver;\n smoother symGaussSeidel;\n tolerance 1e-09;\n relTol 0.01;\n }\n\n \"(U|h|e|T|k|nut|alphat).*Final\"\n {\n $U;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n}\n\n// ************************************************************************* //\n", | |
| "system/controlDict": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"system\";\n object controlDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\napplication foamRun;\nsolver shockFluid;\n\nstartFrom startTime;\nstartTime 0;\nstopAt endTime;\nendTime 10;\ndeltaT 0.0025;\n\nwriteControl adjustableRunTime;\nwriteInterval 1;\npurgeWrite 0;\nwriteFormat ascii;\nwritePrecision 8;\nwriteCompression off;\ntimeFormat general;\ntimePrecision 6;\nrunTimeModifiable true;\n\nadjustTimeStep yes;\nmaxCo 0.2;\nmaxDeltaT 1;\n\n// ************************************************************************* //\n", | |
| "system/fvSchemes": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"system\";\n object fvSchemes;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nfluxScheme Kurganov;\n\nddtSchemes\n{\n default Euler;\n}\n\ngradSchemes\n{\n default Gauss linear;\n}\n\ndivSchemes\n{\n default none;\n div(tauMC) Gauss linear;\n\n}\n\nlaplacianSchemes\n{\n default Gauss linear corrected;\n\n}\n\ninterpolationSchemes\n{\n default linear;\n reconstruct(rho) vanLeer;\n reconstruct(U) vanLeerV;\n reconstruct(T) vanLeer;\n}\n\nsnGradSchemes\n{\n default corrected;\n}\n\nwallDist\n{\n method meshWave;\n}\n\n// ************************************************************************* //\n", | |
| "system/blockMeshDict": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"system\";\n object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nconvertToMeters 1;\n\nvertices\n(\n (0 0 0)\n (4.1 0 0)\n (4.1 1 0)\n (0 1 0)\n (0 0 0.1)\n (4.1 0 0.1)\n (4.1 1 0.1)\n (0 1 0.1)\n);\n\nblocks\n(\n hex (0 1 2 3 4 5 6 7) (60 30 1) simpleGrading (1 1 1)\n);\n\nboundary\n(\n top\n {\n type wall;\n faces\n (\n (3 7 6 2)\n );\n }\n inlet\n {\n type patch;\n faces\n (\n (0 4 7 3)\n );\n }\n outlet\n {\n type patch;\n faces\n (\n (2 6 5 1)\n );\n }\n bottom\n {\n type symmetryPlane;\n faces\n (\n (1 5 4 0)\n );\n }\n frontAndBack\n {\n type empty;\n faces\n (\n (0 3 2 1)\n (4 5 6 7)\n );\n }\n);\n\n\n// ************************************************************************* //\n", | |
| "0/p": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object p;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [1 -1 -2 0 0 0 0];\n\ninternalField uniform 1;\n\nboundaryField\n{\n top\n {\n type zeroGradient;\n }\n inlet\n {\n type fixedValue;\n value uniform 1;\n }\n outlet\n {\n type zeroGradient;\n }\n bottom\n {\n type symmetryPlane;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/k": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object k;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -2 0 0 0 0];\n\ninternalField uniform 0.01;\n\nboundaryField\n{\n top\n {\n type zeroGradient;\n }\n inlet\n {\n type fixedValue;\n value uniform 0.01;\n }\n outlet\n {\n type zeroGradient;\n }\n bottom\n {\n type symmetryPlane;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/U": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volVectorField;\n location \"0\";\n object U;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -1 0 0 0 0];\n\ninternalField uniform (2.9 0 0);\n\nboundaryField\n{\n top\n {\n type fixedValue;\n value uniform (2.61933 -0.50632 0);\n }\n inlet\n {\n type fixedValue;\n value uniform (2.9 0 0);\n }\n outlet\n {\n type zeroGradient;\n }\n bottom\n {\n type symmetryPlane;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/nut": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object nut;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -1 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n top\n {\n type zeroGradient;\n }\n inlet\n {\n type fixedValue;\n value uniform 0;\n }\n outlet\n {\n type zeroGradient;\n }\n bottom\n {\n type symmetryPlane;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/T": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object T;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 0 0 1 0 0 0];\n\ninternalField uniform 1;\n\nboundaryField\n{\n top\n {\n type fixedValue;\n value uniform 1.25853;\n }\n inlet\n {\n type fixedValue;\n value uniform 1;\n }\n outlet\n {\n type zeroGradient;\n }\n bottom\n {\n type symmetryPlane;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/alphat": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object alphat;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [1 -1 -1 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n top\n {\n type zeroGradient;\n }\n inlet\n {\n type fixedValue;\n value uniform 0;\n }\n outlet\n {\n type zeroGradient;\n }\n bottom\n {\n type symmetryPlane;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "constant/momentumTransport": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"constant\";\n object momentumTransport;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nsimulationType LES;\n\nLES\n{\n model Smagorinsky;\n turbulence on;\n printCoeffs on;\n\ndelta cubeRootVol;\n\nSmagorinskyCoeffs\n{\n Cs 0.17;\n}\n}\n\n// ************************************************************************* //\n", | |
| "constant/physicalProperties": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"constant\";\n object physicalProperties;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nthermoType\n{\n type hePsiThermo;\n mixture pureMixture;\n transport const;\n thermo hConst;\n equationOfState perfectGas;\n specie specie;\n energy sensibleInternalEnergy;\n}\n\nmixture\n{\n // normalised gas\n specie\n {\n molWeight 11640.3;\n }\n thermodynamics\n {\n Cp 2.5;\n Hf 0;\n }\n transport\n {\n mu 0;\n Pr 1;\n }\n}\n\n\n// ************************************************************************* //\n" | |
| }, | |
| "Cavity_geometry_1": { | |
| "usr_requirement": "do an incompressible of lid driven cavity flow using pisoFoam solver and SpalartAllmaras turbulence model. The cavity is a square with dimensions normalized to 2 unit on both the x and y axes and very thin in the z-direction (0.1 unit) and scale the domain down by a factor of 0.1. Use a grid of 40X40 in x and y direction and 1 cell in z-direction(due to the expected 2D flow characteristics). The top wall ('movingWall') moves in the x-direction with a uniform velocity of 1 m/s. The 'fixedWalls' have a no-slip boundary condition (velocity equal to zero at the wall). The front and back faces are designated as 'empty'. The simulation runs from time 0 to 10 with a time step of 0.005 units, and results are output every 100 time steps. The viscosity (`nu`) is set as constant with a value of 1e-05 m^2/s Use OpenFOAM-13 with foamRun -solver incompressibleFluid, corresponding to the legacy pisoFoam application.", | |
| "Allrun": "#!/bin/sh\ncd ${0%/*} || exit 1 # Run from this directory\n\n# Source tutorial run functions\n. $WM_PROJECT_DIR/bin/tools/RunFunctions\n\nsolver=\"incompressibleFluid\"\n\nrunApplication blockMesh\nrunApplication foamRun -solver $solver\n\n#------------------------------------------------------------------------------\n", | |
| "system/fvSolution": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"system\";\n object fvSolution;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nsolvers\n{\n p\n {\n solver GAMG;\n smoother GaussSeidel;\n tolerance 1e-07;\n relTol 0.01;\n }\n\n pFinal\n {\n $p;\n relTol 0;\n }\n\n \"(U|k|epsilon|omega|nuTilda)\"\n {\n solver smoothSolver;\n smoother symGaussSeidel;\n tolerance 1e-06;\n relTol 0.1;\n }\n\n \"(U|k|epsilon|omega|nuTilda)Final\"\n {\n $U;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n nOuterCorrectors 1;\n nCorrectors 2;\n nNonOrthogonalCorrectors 0;\n pRefCell 0;\n pRefValue 0;\n}\n\n// ************************************************************************* //\n", | |
| "system/controlDict": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"system\";\n object controlDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\napplication foamRun;\nsolver incompressibleFluid;\n\nstartFrom startTime;\nstartTime 0;\nstopAt endTime;\nendTime 10;\ndeltaT 0.005;\n\nwriteControl timeStep;\nwriteInterval 100;\npurgeWrite 0;\nwriteFormat ascii;\nwritePrecision 8;\nwriteCompression off;\ntimeFormat general;\ntimePrecision 6;\nrunTimeModifiable true;\n\nadjustTimeStep no;\nmaxCo 1;\nmaxDeltaT 1;\n\n// ************************************************************************* //\n", | |
| "system/fvSchemes": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"system\";\n object fvSchemes;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nddtSchemes\n{\n default Euler;\n}\n\ngradSchemes\n{\n default Gauss linear;\n}\n\ndivSchemes\n{\n default none;\n div(phi,U) bounded Gauss linearUpwind grad(U);\n div(phi,k) bounded Gauss limitedLinear 1;\n div(phi,epsilon) bounded Gauss limitedLinear 1;\n div(phi,omega) bounded Gauss limitedLinear 1;\n div(phi,nuTilda) bounded Gauss limitedLinear 1;\n div((nuEff*dev2(T(grad(U))))) Gauss linear;\n}\n\nlaplacianSchemes\n{\n default Gauss linear corrected;\n}\n\ninterpolationSchemes\n{\n default linear;\n}\n\nsnGradSchemes\n{\n default corrected;\n}\n\nwallDist\n{\n method meshWave;\n}\n\n// ************************************************************************* //\n", | |
| "system/blockMeshDict": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"system\";\n object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nconvertToMeters 0.1;\n\nvertices\n(\n (0 0 0)\n (2 0 0)\n (2 2 0)\n (0 2 0)\n (0 0 0.1)\n (2 0 0.1)\n (2 2 0.1)\n (0 2 0.1)\n);\n\nblocks\n(\n hex (0 1 2 3 4 5 6 7) (40 40 1) simpleGrading (1 1 1)\n);\n\nboundary\n(\n movingWall\n {\n type wall;\n faces\n (\n (3 7 6 2)\n );\n }\n fixedWalls\n {\n type wall;\n faces\n (\n (0 4 7 3)\n (2 6 5 1)\n (1 5 4 0)\n );\n }\n frontAndBack\n {\n type empty;\n faces\n (\n (0 3 2 1)\n (4 5 6 7)\n );\n }\n);\n\n\n// ************************************************************************* //\n", | |
| "0/nuTilda": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object nuTilda;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -1 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{ movingWall\n {\n type fixedValue;\n value uniform 0;\n } fixedWalls\n {\n type fixedValue;\n value uniform 0;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/p": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object p;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -2 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n movingWall\n {\n type zeroGradient;\n }\n fixedWalls\n {\n type zeroGradient;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/U": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volVectorField;\n location \"0\";\n object U;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -1 0 0 0 0];\n\ninternalField uniform (0 0 0);\n\nboundaryField\n{\n movingWall\n {\n type fixedValue;\n value uniform (1 0 0);\n }\n fixedWalls\n {\n type noSlip;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/nut": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object nut;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -1 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{ movingWall\n {\n type calculated;\n value uniform 0;\n } fixedWalls\n {\n type calculated;\n value uniform 0;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "constant/momentumTransport": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"constant\";\n object momentumTransport;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nsimulationType RAS;\n\nRAS\n{\n model SpalartAllmaras;\n turbulence on;\n printCoeffs on;\n}\n\n// ************************************************************************* //\n", | |
| "constant/physicalProperties": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"constant\";\n object physicalProperties;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nviscosityModel constant;\nnu [0 2 -1 0 0 0 0] 1e-05;\n\n// ************************************************************************* //\n" | |
| }, | |
| "Diamond_Obstacle_SA": { | |
| "usr_requirement": "Perform an incompressible turbulent flow simulation over a 2D diamond obstacle using the SpalartAllmaras turbulence model and pimpleFoam solver. The computational domain spans 0 to 15 in x direction and 0 to 5 in y direction and -0.5 to 0.5 in z direction. The diamond obstacle is a square rotated by 45 degrees with diagonal length of 1 unit centered at 2.5 x 2.5 x 0.0. Use one cell in z direction making the geometry effectively 2D. Refine the mesh near to diamond. Use sufficient grid points to discretize the domain and dont use more than 10000 cells in your mesh. The left boundary is the inlet which uses a uniform velocity of (1,0,0) m/s. The right boundary is the outlet using zero gradient pressure condition. Top and bottom boundaries are fixed walls with nop-slip condition. The front and back faces are empty. The diamond obstacle also has no-slip boundary condition on its surface. The kinematic viscosity is 2e-6 m2/s. Use a deltaT of 0.5 s and run till a final time of 5 s. Write the results at every 0.5 s. Use a maximum courant number of 1.0. Use OpenFOAM-13 with foamRun -solver incompressibleFluid, corresponding to the legacy pimpleFoam application.", | |
| "Allrun": "#!/bin/sh\ncd ${0%/*} || exit 1 # Run from this directory\n\n# Source tutorial run functions\n. $WM_PROJECT_DIR/bin/tools/RunFunctions\n\nsolver=\"incompressibleFluid\"\n\nrunApplication blockMesh\nrunApplication foamRun -solver $solver\n\n#------------------------------------------------------------------------------\n", | |
| "system/fvSolution": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"system\";\n object fvSolution;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nsolvers\n{\n p\n {\n solver GAMG;\n smoother GaussSeidel;\n tolerance 1e-07;\n relTol 0.01;\n }\n\n pFinal\n {\n $p;\n relTol 0;\n }\n\n \"(U|k|epsilon|omega|nuTilda)\"\n {\n solver smoothSolver;\n smoother symGaussSeidel;\n tolerance 1e-06;\n relTol 0.1;\n }\n\n \"(U|k|epsilon|omega|nuTilda)Final\"\n {\n $U;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n nOuterCorrectors 1;\n nCorrectors 2;\n nNonOrthogonalCorrectors 0;\n pRefCell 0;\n pRefValue 0;\n}\n\n// ************************************************************************* //\n", | |
| "system/controlDict": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"system\";\n object controlDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\napplication foamRun;\nsolver incompressibleFluid;\n\nstartFrom startTime;\nstartTime 0;\nstopAt endTime;\nendTime 5;\ndeltaT 0.5;\n\nwriteControl adjustableRunTime;\nwriteInterval 0.5;\npurgeWrite 0;\nwriteFormat ascii;\nwritePrecision 8;\nwriteCompression off;\ntimeFormat general;\ntimePrecision 6;\nrunTimeModifiable true;\n\nadjustTimeStep yes;\nmaxCo 1;\nmaxDeltaT 1;\n\n// ************************************************************************* //\n", | |
| "system/decomposeParDict": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"system\";\n object decomposeParDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nnumberOfSubdomains 6;\n\nmethod hierarchical;\n\ncoeffs\n{\n n (3 2 1);\n}\n\n\n// ************************************************************************* //\n", | |
| "system/fvSchemes": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"system\";\n object fvSchemes;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nddtSchemes\n{\n default Euler;\n}\n\ngradSchemes\n{\n default Gauss linear;\n}\n\ndivSchemes\n{\n default none;\n div(phi,U) bounded Gauss linearUpwind grad(U);\n div(phi,k) bounded Gauss limitedLinear 1;\n div(phi,epsilon) bounded Gauss limitedLinear 1;\n div(phi,omega) bounded Gauss limitedLinear 1;\n div(phi,nuTilda) bounded Gauss limitedLinear 1;\n div((nuEff*dev2(T(grad(U))))) Gauss linear;\n}\n\nlaplacianSchemes\n{\n default Gauss linear corrected;\n}\n\ninterpolationSchemes\n{\n default linear;\n}\n\nsnGradSchemes\n{\n default corrected;\n}\n\nwallDist\n{\n method meshWave;\n}\n\n// ************************************************************************* //\n", | |
| "system/blockMeshDict": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"system\";\n object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nscale 1;\n\nvertices\n(\n (0 0 -0.5) // 0\n (2 0 -0.5) // 1\n (3 0 -0.5) // 2\n (15 0 -0.5) // 3\n (15 2 -0.5) // 4\n (15 3 -0.5) // 5\n (15 5 -0.5) // 6\n (3 5 -0.5) // 7\n (2 5 -0.5) // 8\n (0 5 -0.5) // 9\n (0 3 -0.5) // 10\n (0 2 -0.5) // 11\n\n // Diamond hole on bottom face:\n (2.5 2 -0.5) // 12 — midpoint of 11–13\n (3 2.5 -0.5) // 13 — midpoint of 13–14\n (2.5 3 -0.5) // 14 — midpoint of 14–15\n (2 2.5 -0.5) // 15 — midpoint of 12–11\n\n (0 0 0.5) // 16\n (2 0 0.5) // 17\n (3 0 0.5) // 18\n (15 0 0.5) // 19\n (15 2 0.5) // 20\n (15 3 0.5) // 21\n (15 5 0.5) // 22\n (3 5 0.5) // 23\n (2 5 0.5) // 24\n (0 5 0.5) // 25\n (0 3 0.5) // 26\n (0 2 0.5) // 27\n\n // Diamond hole on top face:\n (2.5 2 0.5) // 28\n (3 2.5 0.5) // 29\n (2.5 3 0.5) // 30\n (2 2.5 0.5) // 31\n);\n\nblocks\n(\n hex (0 1 12 11 16 17 28 27) (50 25 1) simpleGrading (1 1 1)\n hex (11 12 15 10 27 28 31 26) (50 25 1) simpleGrading (1 1 1)\n hex (10 15 8 9 26 31 24 25) (50 25 1) simpleGrading (1 1 1)\n hex (15 14 7 8 31 30 23 24) (50 25 1) simpleGrading (1 1 1)\n hex (1 2 13 12 17 18 29 28) (50 25 1) simpleGrading (1 1 1)\n hex (14 5 6 7 30 21 22 23) (50 25 1) simpleGrading (4 1 1)\n hex (13 4 5 14 29 20 21 30) (50 25 1) simpleGrading (4 1 1)\n hex (2 3 4 13 18 19 20 29) (50 25 1) simpleGrading (4 1 1)\n);\n\nedges\n(\n);\n\ndefaultPatch\n{\n type empty;\n}\n\nboundary\n(\n outlet\n {\n type patch;\n faces\n (\n (3 4 20 19)\n (4 5 21 20)\n (5 6 22 21)\n );\n }\n\n inlet\n {\n type patch;\n faces\n (\n (11 0 16 27)\n (10 11 27 26)\n (9 10 26 25)\n );\n }\n\n wall1\n {\n type wall;\n faces\n (\n (6 7 23 22)\n (7 8 24 23)\n (8 9 25 24)\n );\n }\n\n wall2\n {\n type wall;\n faces\n (\n (0 1 17 16)\n (1 2 18 17)\n (2 3 19 18)\n );\n }\n\n cylinder\n {\n type wall;\n faces\n (\n (15 12 28 31)\n (14 15 31 30)\n (12 13 29 28)\n (13 14 30 29)\n );\n }\n);\n\nmergePatchPairs\n(\n);\n\n// ************************************************************************* //\n", | |
| "0/nuTilda": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object nuTilda;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -1 0 0 0 0];\n\ninternalField uniform 1e-6;\n\nboundaryField\n{\n outlet\n {\n type zeroGradient;\n }\n inlet\n {\n type fixedValue;\n value uniform 1e-6;\n } wall1\n {\n type fixedValue;\n value uniform 0;\n } wall2\n {\n type fixedValue;\n value uniform 0;\n } cylinder\n {\n type fixedValue;\n value uniform 0;\n }\n\n defaultFaces\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/p": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object p;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -2 0 0 0 0];\n\ninternalField uniform 101325;\n\nboundaryField\n{\n outlet\n {\n type fixedValue;\n value $internalField;\n }\n inlet\n {\n type fixedFluxPressure;\n value $internalField;\n }\n wall1\n {\n type fixedFluxPressure;\n value $internalField;\n }\n wall2\n {\n type fixedFluxPressure;\n value $internalField;\n }\n cylinder\n {\n type fixedFluxPressure;\n value $internalField;\n }\n\n defaultFaces\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/U": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volVectorField;\n location \"0\";\n object U;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -1 0 0 0 0];\n\ninternalField uniform (1 0 0);\n\nboundaryField\n{\n outlet\n {\n type pressureInletOutletVelocity;\n value uniform (0 0 0);\n }\n inlet\n {\n type fixedValue;\n value $internalField;\n }\n wall1\n {\n type fixedValue;\n value uniform (0 0 0);\n }\n wall2\n {\n type fixedValue;\n value uniform (0 0 0);\n }\n cylinder\n {\n type fixedValue;\n value uniform (0 0 0);\n }\n\n defaultFaces\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/nut": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object nut;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -1 0 0 0 0];\n\ninternalField uniform 6.12e-2;\n\nboundaryField\n{ outlet\n {\n type calculated;\n value uniform 0;\n } inlet\n {\n type calculated;\n value uniform 0;\n } wall1\n {\n type calculated;\n value uniform 0;\n } wall2\n {\n type calculated;\n value uniform 0;\n } cylinder\n {\n type calculated;\n value uniform 0;\n }\n\n defaultFaces\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "constant/physicalProperties": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"constant\";\n object physicalProperties;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nviscosityModel constant;\nnu [0 2 -1 0 0 0 0] 2e-06;\n\n// ************************************************************************* //\n", | |
| "constant/momentumTransport": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"constant\";\n object momentumTransport;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nsimulationType RAS;\n\nRAS\n{\n model SpalartAllmaras;\n turbulence on;\n printCoeffs on;\n}\n\n// ************************************************************************* //\n" | |
| }, | |
| "counterFlowFlame2D_KE": { | |
| "usr_requirement": "do a counterflow flame simulation using OpenFOAM, employing a compressible flow solver for detailed combustion modeling. Use k-epsilon turbulence model. Define the computational domain as a 2D rectangular region with a width of 0.02 meters and a height of 0.02 meters. Use CH4, O2 and N2 as species. Include chemical kinetics using the reaction mechanism. velocity of fuel is 0.1 m/s and velocity of air is -0.1 m/s. Set the simulation runtime from 0 to 0.5 seconds with a write interval of 0.05 seconds and deltaT of 1e-6. Use OpenFOAM-13 with foamRun -solver multicomponentFluid, corresponding to the legacy reactingFoam application.", | |
| "Allrun": "#!/bin/sh\ncd ${0%/*} || exit 1 # Run from this directory\n\n# Source tutorial run functions\n. $WM_PROJECT_DIR/bin/tools/RunFunctions\n\nsolver=\"multicomponentFluid\"\n\nrunApplication blockMesh\nrunApplication foamRun -solver $solver\n\n#------------------------------------------------------------------------------\n", | |
| "system/fvSolution": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"system\";\n object fvSolution;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nsolvers\n{\n rho\n {\n solver diagonal;\n }\n\n rhoFinal\n {\n $rho;\n }\n\n p\n {\n solver GAMG;\n smoother GaussSeidel;\n tolerance 1e-07;\n relTol 0.01;\n }\n\n pFinal\n {\n $p;\n relTol 0;\n }\n\n \"(U|h|e|T|k|epsilon|omega|nuTilda|Yi|CH4|O2|N2|CO2|H2O|Ydefault)\"\n {\n solver PBiCGStab;\n preconditioner DILU;\n tolerance 1e-08;\n relTol 0.1;\n }\n\n \"(U|h|e|T|k|epsilon|omega|nuTilda|Yi|CH4|O2|N2|CO2|H2O|Ydefault)Final\"\n {\n $U;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n nOuterCorrectors 1;\n nCorrectors 2;\n nNonOrthogonalCorrectors 0;\n}\n\nrelaxationFactors\n{\n equations\n {\n \".*\" 0.7;\n }\n}\n\n// ************************************************************************* //\n", | |
| "system/controlDict": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"system\";\n object controlDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\napplication foamRun;\nsolver multicomponentFluid;\n\nstartFrom startTime;\nstartTime 0;\nstopAt endTime;\nendTime 0.5;\ndeltaT 1e-6;\n\nwriteControl adjustableRunTime;\nwriteInterval 0.05;\npurgeWrite 0;\nwriteFormat ascii;\nwritePrecision 8;\nwriteCompression off;\ntimeFormat general;\ntimePrecision 6;\nrunTimeModifiable true;\n\nadjustTimeStep yes;\nmaxCo 0.4;\nmaxDeltaT 1;\n\n// ************************************************************************* //\n", | |
| "system/fvSchemes": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"system\";\n object fvSchemes;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nddtSchemes\n{\n default Euler;\n}\n\ngradSchemes\n{\n default Gauss linear;\n}\n\ndivSchemes\n{\n default none;\n div(phi,U) Gauss limitedLinearV 1;\n div(phi,h) Gauss limitedLinear 1;\n div(phi,e) Gauss limitedLinear 1;\n div(phi,T) Gauss limitedLinear 1;\n div(phi,Yi) Gauss limitedLinear 1;\n div(phi,Yi_h) Gauss limitedLinear 1;\n div(phi,K) Gauss limitedLinear 1;\n div(phid,p) Gauss limitedLinear 1;\n div(phi,k) Gauss limitedLinear 1;\n div(phi,epsilon) Gauss limitedLinear 1;\n div(phi,omega) Gauss limitedLinear 1;\n div(phi,nuTilda) Gauss limitedLinear 1;\n div(((rho*nuEff)*dev2(T(grad(U))))) Gauss linear;\n}\n\nlaplacianSchemes\n{\n default Gauss linear corrected;\n}\n\ninterpolationSchemes\n{\n default linear;\n}\n\nsnGradSchemes\n{\n default corrected;\n}\n\nwallDist\n{\n method meshWave;\n}\n\n// ************************************************************************* //\n", | |
| "system/blockMeshDict": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"system\";\n object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nconvertToMeters 1;\n\nvertices\n(\n (0.0 -0.01 -0.01)\n (0.02 -0.01 -0.01)\n (0.02 0.01 -0.01)\n (0.0 0.01 -0.01)\n (0.0 -0.01 0.01)\n (0.02 -0.01 0.01)\n (0.02 0.01 0.01)\n (0.0 0.01 0.01)\n);\n\nblocks\n(\n hex (0 1 2 3 4 5 6 7) (100 40 1) simpleGrading (1 1 1)\n);\n\nboundary\n(\n fuel\n {\n type patch;\n faces\n (\n (0 4 7 3)\n );\n }\n air\n {\n type patch;\n faces\n (\n (1 2 6 5)\n );\n }\n outlet\n {\n type patch;\n faces\n (\n (0 1 5 4)\n (7 6 2 3)\n );\n }\n frontAndBack\n {\n type empty;\n faces\n (\n (4 5 6 7)\n (0 3 2 1)\n );\n }\n);\n\n\n// ************************************************************************* //\n", | |
| "0/Ydefault": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object Ydefault;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 0 0 0 0 0 0];\n\ninternalField uniform 0.0;\n\nboundaryField\n{\n fuel\n {\n type fixedValue;\n value uniform 0.0;\n }\n air\n {\n type fixedValue;\n value uniform 0.0;\n }\n outlet\n {\n type inletOutlet;\n inletValue uniform 0.0;\n value uniform 0.0;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/H2O": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object H2O;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 0 0 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n fuel\n {\n type fixedValue;\n value uniform 0;\n }\n air\n {\n type fixedValue;\n value uniform 0;\n }\n outlet\n {\n type inletOutlet;\n inletValue uniform 0;\n value uniform 0;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/p": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object p;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [1 -1 -2 0 0 0 0];\n\ninternalField uniform 1e5;\n\nboundaryField\n{\n fuel\n {\n type zeroGradient;\n }\n air\n {\n type zeroGradient;\n }\n outlet\n {\n type totalPressure;\n p0 $internalField;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/epsilon": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object epsilon;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -3 0 0 0 0];\n\ninternalField uniform 30000;\n\nboundaryField\n{\n fuel\n {\n type turbulentMixingLengthDissipationRateInlet;\n mixingLength 0.000504;\n phi phi;\n k k;\n value uniform 1;\n }\n air\n {\n type turbulentMixingLengthDissipationRateInlet;\n mixingLength 0.019677;\n value uniform 1;\n }\n outlet\n {\n type zeroGradient;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/CH4": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object CH4;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 0 0 0 0 0 0];\n\ninternalField uniform 0.0;\n\nboundaryField\n{\n fuel\n {\n type fixedValue;\n value uniform 1.0;\n }\n air\n {\n type fixedValue;\n value uniform 0.0;\n }\n outlet\n {\n type inletOutlet;\n inletValue uniform 0.0;\n value uniform 0.0;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/Qdot": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object Qdot;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [1 -1 -3 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n fuel\n {\n type calculated;\n value uniform 0;\n }\n air\n {\n type calculated;\n value uniform 0;\n }\n outlet\n {\n type calculated;\n value uniform 0;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/CO2": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object CO2;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 0 0 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n fuel\n {\n type fixedValue;\n value uniform 0;\n }\n air\n {\n type fixedValue;\n value uniform 0;\n }\n outlet\n {\n type inletOutlet;\n inletValue uniform 0;\n value uniform 0;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/k": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object k;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -2 0 0 0 0];\n\ninternalField uniform 30;\n\nboundaryField\n{\n fuel\n {\n type turbulentIntensityKineticEnergyInlet;\n intensity 0.0458;\n value uniform 1;\n }\n air\n {\n type turbulentIntensityKineticEnergyInlet;\n intensity 0.0471;\n value uniform 1;\n }\n outlet\n {\n type zeroGradient;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/U": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volVectorField;\n location \"0\";\n object U;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -1 0 0 0 0];\n\ninternalField uniform (0 0 0);\n\nboundaryField\n{\n fuel\n {\n type fixedValue;\n value uniform (0.1 0 0);\n }\n air\n {\n type fixedValue;\n value uniform (-0.1 0 0);\n }\n outlet\n {\n type pressureInletOutletVelocity;\n value $internalField;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/nut": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object nut;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -1 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n fuel\n {\n type calculated;\n value $internalField;\n }\n air\n {\n type calculated;\n value $internalField;\n }\n outlet\n {\n type calculated;\n value $internalField;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/T": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object T;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 0 0 1 0 0 0];\n\ninternalField uniform 2000;\n\nboundaryField\n{\n fuel\n {\n type fixedValue;\n value uniform 293;\n }\n air\n {\n type fixedValue;\n value uniform 293;\n }\n outlet\n {\n type inletOutlet;\n inletValue uniform 293;\n value uniform 293;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/O2": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object O2;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 0 0 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n fuel\n {\n type fixedValue;\n value uniform 0.0;\n }\n air\n {\n type fixedValue;\n value uniform 0.23;\n }\n outlet\n {\n type inletOutlet;\n inletValue uniform 0;\n value uniform 0;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/alphat": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object alphat;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [1 -1 -1 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n fuel\n {\n type fixedValue;\n value uniform 0;\n }\n air\n {\n type fixedValue;\n value uniform 0;\n }\n outlet\n {\n type zeroGradient;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/N2": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object N2;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 0 0 0 0 0 0];\n\ninternalField uniform 1;\n\nboundaryField\n{\n fuel\n {\n type fixedValue;\n value uniform 0.0;\n }\n air\n {\n type fixedValue;\n value uniform 0.77;\n }\n outlet\n {\n type inletOutlet;\n inletValue uniform 1;\n value uniform 1;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/uniform/time": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"0/uniform\";\n object time;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nbeginTime 0;\n\nvalue 0;\n\nname \"0\";\n\nindex 0;\n\ndeltaT 1e-06;\n\ndeltaT0 1e-06;\n\n\n// ************************************************************************* //\n", | |
| "constant/combustionProperties": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"constant\";\n object combustionProperties;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ncombustionModel laminar;\n\n// ************************************************************************* //\n", | |
| "constant/momentumTransport": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"constant\";\n object momentumTransport;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nsimulationType RAS;\n\nRAS\n{\n model kEpsilon;\n turbulence on;\n printCoeffs on;\n}\n\n// ************************************************************************* //\n", | |
| "constant/chemistryProperties": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"constant\";\n object chemistryProperties;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nchemistryType\n{\n solver EulerImplicit;\n}\n\nchemistry on;\n\ninitialChemicalTimeStep 1e-07;\n\nEulerImplicitCoeffs\n{\n cTauChem 1;\n}\n\nodeCoeffs\n{\n solver Rosenbrock43;\n absTol 1e-8;\n relTol 0.01;\n}\n\n#include \"reactions\"\n\n// ************************************************************************* //\n", | |
| "constant/physicalProperties": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"constant\";\n object physicalProperties;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nthermoType\n{\n type hePsiThermo;\n mixture coefficientWilkeMulticomponentMixture;\n transport sutherland;\n thermo janaf;\n energy sensibleEnthalpy;\n equationOfState perfectGas;\n specie specie;\n}\n\ndefaultSpecie N2;\n\n#include \"thermo.compressibleGas\"\n\n// ************************************************************************* //\n", | |
| "constant/thermo.compressibleGas": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"constant\";\n object thermo.compressibleGas;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\n/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\n\nspecies\n(\n O2\n H2O\n CH4\n CO2\n N2\n);\n\nO2\n{\n specie\n {\n molWeight 31.9988;\n }\n thermodynamics\n {\n Tlow 200;\n Thigh 5000;\n Tcommon 1000;\n highCpCoeffs ( 3.69758 0.00061352 -1.25884e-07 1.77528e-11 -1.13644e-15 -1233.93 3.18917 );\n lowCpCoeffs ( 3.21294 0.00112749 -5.75615e-07 1.31388e-09 -8.76855e-13 -1005.25 6.03474 );\n }\n transport\n {\n As 1.753e-6;\n Ts 139;\n }\n}\n\nH2O\n{\n specie\n {\n molWeight 18.0153;\n }\n thermodynamics\n {\n Tlow 200;\n Thigh 5000;\n Tcommon 1000;\n highCpCoeffs ( 2.67215 0.00305629 -8.73026e-07 1.201e-10 -6.39162e-15 -29899.2 6.86282 );\n lowCpCoeffs ( 3.38684 0.00347498 -6.3547e-06 6.96858e-09 -2.50659e-12 -30208.1 2.59023 );\n }\n transport\n {\n As 2.978e-7;\n Ts 1064;\n }\n}\n\nCH4\n{\n specie\n {\n molWeight 16.0428;\n }\n thermodynamics\n {\n Tlow 200;\n Thigh 6000;\n Tcommon 1000;\n highCpCoeffs ( 1.63543 0.0100844 -3.36924e-06 5.34973e-10 -3.15528e-14 -10005.6 9.9937 );\n lowCpCoeffs ( 5.14988 -0.013671 4.91801e-05 -4.84744e-08 1.66694e-11 -10246.6 -4.64132 );\n }\n transport\n {\n As 1.0194e-06;\n Ts 171.06;\n }\n}\n\nCO2\n{\n specie\n {\n molWeight 44.01;\n }\n thermodynamics\n {\n Tlow 200;\n Thigh 5000;\n Tcommon 1000;\n highCpCoeffs ( 4.45362 0.00314017 -1.27841e-06 2.394e-10 -1.66903e-14 -48967 -0.955396 );\n lowCpCoeffs ( 2.27572 0.00992207 -1.04091e-05 6.86669e-09 -2.11728e-12 -48373.1 10.1885 );\n }\n transport\n {\n As 1.503e-6;\n Ts 222;\n }\n}\n\nN2\n{\n specie\n {\n molWeight 28.0134;\n }\n thermodynamics\n {\n Tlow 200;\n Thigh 5000;\n Tcommon 1000;\n highCpCoeffs ( 2.92664 0.00148798 -5.68476e-07 1.0097e-10 -6.75335e-15 -922.798 5.98053 );\n lowCpCoeffs ( 3.29868 0.00140824 -3.96322e-06 5.64152e-09 -2.44486e-12 -1020.9 3.95037 );\n }\n transport\n {\n As 1.401e-6;\n Ts 107;\n }\n}\n\n\n// ************************************************************************* //\n", | |
| "constant/reactions": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"constant\";\n object reactions;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\n/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n-------------------------------------------------------------------------------\nReference:\n Bui-Pham, M. N. (1992).\n Studies in structures of lam inar hydrocarbon flames.\n PhD Thesis, University of California, San Diego\n\nNotes:\n This mechanism was developed for simulating this exact counter-flow flame\n configuration. It should not be considered general-purpose.\n\n\\*---------------------------------------------------------------------------*/\n\nreactions\n{\n methaneReaction\n {\n type irreversibleArrhenius;\n reaction \"CH4 + 2O2 = CO2 + 2H2O\";\n A 5.2e16;\n beta 0;\n Ta 14906;\n }\n}\n\n// ************************************************************************* //\n" | |
| }, | |
| "Rectangular_Obstacle_SA": { | |
| "usr_requirement": "Perform an incompressible turbulent flow simulation over a 2D rectangular obstacle using the SpalartAllmaras turbulence model and pimpleFoam solver. The computational domain spans 0 to 15 in x direction and 0 to 5 in y direction and -0.5 to 0.5 in z direction. The rectangular obstacle is of size 1 unit x 1 unit x 1 unit centered at 2.5 x 2.5 x 0.0. Use one cell in z direction making the geometry effectively 2D. Refine the mesh near to rectangle. Use sufficient grid points to discretize the domain and dont use more than 60000 cells in your mesh. The left boundary is the inlet which uses a uniform velocity of (1,0,0) m/s. The right boundary is the outlet using zero gradient pressure condition. Top and bottom boundaries are fixed walls with nop-slip condition. The front and back faces are empty. The rectangular obstacle also has no-slip boundary condition on its surface. The kinematic viscosity is 2e-6 m2/s. Use a deltaT of 0.5 s and run till a final time of 5 s. Write the results at every 0.5 s. Use a maximum courant number of 1.0. Use OpenFOAM-13 with foamRun -solver incompressibleFluid, corresponding to the legacy pimpleFoam application.", | |
| "Allrun": "#!/bin/sh\ncd ${0%/*} || exit 1 # Run from this directory\n\n# Source tutorial run functions\n. $WM_PROJECT_DIR/bin/tools/RunFunctions\n\nsolver=\"incompressibleFluid\"\n\nrunApplication blockMesh\nrunApplication foamRun -solver $solver\n\n#------------------------------------------------------------------------------\n", | |
| "system/fvSolution": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"system\";\n object fvSolution;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nsolvers\n{\n p\n {\n solver GAMG;\n smoother GaussSeidel;\n tolerance 1e-07;\n relTol 0.01;\n }\n\n pFinal\n {\n $p;\n relTol 0;\n }\n\n \"(U|k|epsilon|omega|nuTilda)\"\n {\n solver smoothSolver;\n smoother symGaussSeidel;\n tolerance 1e-06;\n relTol 0.1;\n }\n\n \"(U|k|epsilon|omega|nuTilda)Final\"\n {\n $U;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n nOuterCorrectors 1;\n nCorrectors 2;\n nNonOrthogonalCorrectors 0;\n pRefCell 0;\n pRefValue 0;\n}\n\nrelaxationFactors\n{\n fields\n {\n p 0.3;\n }\n equations\n {\n U 0.7;\n nuTilda 0.4;\n }\n}\n\n// ************************************************************************* //\n", | |
| "system/controlDict": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"system\";\n object controlDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\napplication foamRun;\nsolver incompressibleFluid;\n\nstartFrom startTime;\nstartTime 0;\nstopAt endTime;\nendTime 5;\ndeltaT 0.01;\n\nwriteControl adjustableRunTime;\nwriteInterval 0.5;\npurgeWrite 0;\nwriteFormat ascii;\nwritePrecision 8;\nwriteCompression off;\ntimeFormat general;\ntimePrecision 6;\nrunTimeModifiable true;\n\nadjustTimeStep yes;\nmaxCo 0.2;\nmaxDeltaT 0.05;\n\n// ************************************************************************* //\n", | |
| "system/decomposeParDict": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"system\";\n object decomposeParDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nnumberOfSubdomains 6;\n\nmethod hierarchical;\n\ncoeffs\n{\n n (3 2 1);\n}\n\n\n// ************************************************************************* //\n", | |
| "system/fvSchemes": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"system\";\n object fvSchemes;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nddtSchemes\n{\n default Euler;\n}\n\ngradSchemes\n{\n default Gauss linear;\n}\n\ndivSchemes\n{\n default none;\n div(phi,U) bounded Gauss linearUpwind grad(U);\n div(phi,k) bounded Gauss limitedLinear 1;\n div(phi,epsilon) bounded Gauss limitedLinear 1;\n div(phi,omega) bounded Gauss limitedLinear 1;\n div(phi,nuTilda) bounded Gauss upwind;\n div((nuEff*dev2(T(grad(U))))) Gauss linear;\n}\n\nlaplacianSchemes\n{\n default Gauss linear corrected;\n}\n\ninterpolationSchemes\n{\n default linear;\n}\n\nsnGradSchemes\n{\n default corrected;\n}\n\nwallDist\n{\n method meshWave;\n}\n\n// ************************************************************************* //\n", | |
| "system/blockMeshDict": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"system\";\n object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nscale 1;\n\nvertices\n(\n(0 0 -0.5) //0\n(2 0 -0.5) //1\n(3 0 -0.5) //2\n(15 0 -0.5) //3\n(15 2 -0.5) //4\n(15 3 -0.5) //5\n(15 5 -0.5) //6\n(3 5 -0.5) //7\n(2 5 -0.5) //8\n(0 5 -0.5) //9\n(0 3 -0.5) //10\n(0 2 -0.5) //11\n(2 2 -0.5) //12\n(3 2 -0.5) //13\n(3 3 -0.5) //14\n(2 3 -0.5) //15\n\n(0 0 0.5) //16\n(2 0 0.5) //17\n(3 0 0.5) //18\n(15 0 0.5) //19\n(15 2 0.5) //20\n(15 3 0.5) //21\n(15 5 0.5) //22\n(3 5 0.5) //23\n(2 5 0.5) //24\n(0 5 0.5) //25\n(0 3 0.5) //26\n(0 2 0.5) //27\n(2 2 0.5) //28\n(3 2 0.5) //29\n(3 3 0.5) //30\n(2 3 0.5) //31\n);\n\nblocks\n(\nhex (0 1 12 11 16 17 28 27) (100 50 1) simpleGrading (1 1 1)\nhex (11 12 15 10 27 28 31 26) (100 50 1) simpleGrading (1 1 1)\nhex (10 15 8 9 26 31 24 25) (100 50 1) simpleGrading (1 1 1)\nhex (15 14 7 8 31 30 23 24) (100 50 1) simpleGrading (1 1 1)\nhex (1 2 13 12 17 18 29 28) (100 50 1) simpleGrading (1 1 1)\nhex (14 5 6 7 30 21 22 23) (200 50 1) simpleGrading (4 1 1)\nhex (13 4 5 14 29 20 21 30) (200 50 1) simpleGrading (4 1 1)\nhex (2 3 4 13 18 19 20 29) (200 50 1) simpleGrading (4 1 1)\n);\n\nedges\n(\n);\n\ndefaultPatch\n{\n type empty;\n}\n\nboundary\n(\noutlet\n{\ntype patch;\nfaces\n(\n(3 4 20 19)\n(4 5 21 20)\n(5 6 22 21)\n);\n}\n\ninlet\n{\ntype patch;\nfaces\n(\n(11 0 16 27)\n(10 11 27 26)\n(9 10 26 25)\n);\n}\n\nwall1\n{\ntype wall;\nfaces\n(\n(6 7 23 22)\n(7 8 24 23)\n(8 9 25 24)\n);\n}\n\nwall2\n{\ntype wall;\nfaces\n(\n(0 1 17 16)\n(1 2 18 17)\n(2 3 19 18)\n\n);\n}\n\ncylinder\n{\ntype wall;\nfaces\n(\n(15 12 28 31)\n(14 15 31 30)\n(12 13 29 28)\n(13 14 30 29)\n);\n}\n\n\n);\n\nmergePatchPairs\n(\n);\n\n// ************************************************************************* //\n", | |
| "0/nuTilda": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object nuTilda;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -1 0 0 0 0];\n\ninternalField uniform 2e-7;\n\nboundaryField\n{\n outlet\n {\n type zeroGradient;\n }\n inlet\n {\n type fixedValue;\n value uniform 2e-7;\n } wall1\n {\n type fixedValue;\n value uniform 0;\n } wall2\n {\n type fixedValue;\n value uniform 0;\n } cylinder\n {\n type fixedValue;\n value uniform 0;\n }\n\n defaultFaces\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/p": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object p;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -2 0 0 0 0];\n\ninternalField uniform 101325;\n\nboundaryField\n{\n outlet\n {\n type fixedValue;\n value $internalField;\n }\n inlet\n {\n type fixedFluxPressure;\n value $internalField;\n }\n wall1\n {\n type fixedFluxPressure;\n value $internalField;\n }\n wall2\n {\n type fixedFluxPressure;\n value $internalField;\n }\n cylinder\n {\n type fixedFluxPressure;\n value $internalField;\n }\n\n defaultFaces\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/U": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volVectorField;\n location \"0\";\n object U;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -1 0 0 0 0];\n\ninternalField uniform (1 0 0);\n\nboundaryField\n{\n outlet\n {\n type pressureInletOutletVelocity;\n value uniform (0 0 0);\n }\n inlet\n {\n type fixedValue;\n value $internalField;\n }\n wall1\n {\n type fixedValue;\n value uniform (0 0 0);\n }\n wall2\n {\n type fixedValue;\n value uniform (0 0 0);\n }\n cylinder\n {\n type fixedValue;\n value uniform (0 0 0);\n }\n\n defaultFaces\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/nut": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object nut;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -1 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{ outlet\n {\n type calculated;\n value uniform 0;\n } inlet\n {\n type calculated;\n value uniform 0;\n } wall1\n {\n type calculated;\n value uniform 0;\n } wall2\n {\n type calculated;\n value uniform 0;\n } cylinder\n {\n type calculated;\n value uniform 0;\n }\n\n defaultFaces\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "constant/physicalProperties": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"constant\";\n object physicalProperties;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nviscosityModel constant;\nnu [0 2 -1 0 0 0 0] 2e-06;\n\n// ************************************************************************* //\n", | |
| "constant/momentumTransport": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"constant\";\n object momentumTransport;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nsimulationType RAS;\n\nRAS\n{\n model SpalartAllmaras;\n turbulence on;\n printCoeffs on;\n}\n\n// ************************************************************************* //\n" | |
| }, | |
| "nozzleFlow2D_SA": { | |
| "usr_requirement": "do a 2D nozzle flow simulation using interfoam solver and Spalart-Allmaras turbulence model. Use a time step of 1e-8 seconds, output results every 1e-06s. The end time is 1e-5s. seconds, and run the simulation until a final time of 10 seconds. Use OpenFOAM-13 with foamRun -solver incompressibleVoF, corresponding to the legacy interFoam application.", | |
| "Allrun": "#!/bin/sh\ncd ${0%/*} || exit 1 # Run from this directory\n\n# Source tutorial run functions\n. $WM_PROJECT_DIR/bin/tools/RunFunctions\n\nsolver=\"incompressibleVoF\"\n\nrunApplication blockMesh\n\nfor i in 1 2\ndo\n runApplication -s $i topoSet -dict topoSetDict.${i}\n runApplication -s $i refineMesh -dict refineMeshDict -overwrite\ndone\n\nrunApplication setFields\nrunApplication foamRun -solver $solver\n\n#------------------------------------------------------------------------------\n", | |
| "system/fvSolution": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"system\";\n object fvSolution;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nsolvers\n{\n \"alpha.*\"\n {\n nAlphaCorr 1;\n nAlphaSubCycles 4;\n solver smoothSolver;\n smoother symGaussSeidel;\n tolerance 1e-08;\n relTol 0;\n }\n\n \"pcorr.*\"\n {\n solver PCG;\n preconditioner\n {\n preconditioner GAMG;\n tolerance 1e-05;\n relTol 0;\n smoother DICGaussSeidel;\n }\n tolerance 1e-05;\n relTol 0;\n maxIter 100;\n }\n\n p_rgh\n {\n solver GAMG;\n smoother GaussSeidel;\n tolerance 1e-07;\n relTol 0.05;\n }\n\n p_rghFinal\n {\n $p_rgh;\n relTol 0;\n }\n\n \"(U|nuTilda)\"\n {\n solver smoothSolver;\n smoother symGaussSeidel;\n tolerance 1e-06;\n relTol 0.1;\n }\n\n \"(U|nuTilda)Final\"\n {\n $U;\n tolerance 1e-08;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n momentumPredictor no;\n nOuterCorrectors 1;\n nCorrectors 2;\n nNonOrthogonalCorrectors 1;\n}\n\n// ************************************************************************* //\n", | |
| "system/controlDict": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"system\";\n object controlDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\napplication foamRun;\nsolver incompressibleVoF;\n\nstartFrom startTime;\nstartTime 0;\nstopAt endTime;\nendTime 1e-05;\ndeltaT 1e-08;\n\nwriteControl adjustableRunTime;\nwriteInterval 1e-06;\npurgeWrite 0;\nwriteFormat ascii;\nwritePrecision 8;\nwriteCompression off;\ntimeFormat general;\ntimePrecision 6;\nrunTimeModifiable true;\nadjustTimeStep yes;\nmaxCo 0.5;\nmaxAlphaCo 1;\nmaxDeltaT 1;\n\n// ************************************************************************* //\n", | |
| "system/topoSetDict.1": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"system\";\n object topoSetDict.1;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nactions\n(\n {\n name c0;\n type cellSet;\n action new;\n source boxToCell;\n box (0 0 -2e-05) (0.0036 0.0008 4e-05);\n }\n);\n\n// ************************************************************************* //\n", | |
| "system/refineMeshDict": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"system\";\n object refineMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nset c0;\n\ncoordinateSystem global;\n\nglobalCoeffs\n{\n e1 (1 0 0);\n e2 (0 1 0);\n}\n\npatchLocalCoeffs\n{\n patch outside;\n e1 (1 0 0);\n}\n\ndirections (e1);\n\nuseHexTopology no;\n\ngeometricCut yes;\n\nwriteMesh no;\n\n\n// ************************************************************************* //\n", | |
| "system/fvSchemes": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"system\";\n object fvSchemes;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nddtSchemes\n{\n default Euler;\n}\n\ngradSchemes\n{\n default Gauss linear;\n}\n\ndivSchemes\n{\n default none;\n div(rhoPhi,U) Gauss linearUpwind grad(U);\n div(phi,U) Gauss linearUpwind grad(U);\n div(phi,alpha) Gauss interfaceCompression vanLeer 1;\n div(phirb,alpha) Gauss interfaceCompression vanLeer 1;\n div(phi,nuTilda) bounded Gauss limitedLinear 1;\n div((nuEff*dev2(T(grad(U))))) Gauss linear;\n div(((rho*nuEff)*dev2(T(grad(U))))) Gauss linear;\n}\n\nlaplacianSchemes\n{\n default Gauss linear corrected;\n}\n\ninterpolationSchemes\n{\n default linear;\n}\n\nsnGradSchemes\n{\n default corrected;\n}\n\nwallDist\n{\n method meshWave;\n}\n\n// ************************************************************************* //\n", | |
| "system/blockMeshDict": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"system\";\n object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nconvertToMeters 1e-06;\n\nvertices\n(\n (0 0 0)\n (3000 0 0)\n (0 100 -4.36609429085)\n (3000 300 -13.0982828726)\n (0 400 -17.4643771634)\n (3000 700 -30.562660036)\n (0 800 -34.9287543268)\n (3000 1000 -43.6609429085)\n (0 1600 -69.8575086536)\n (3000 1600 -69.8575086536)\n\n (0 100 4.36609429085)\n (3000 300 13.0982828726)\n (0 400 17.4643771634)\n (3000 700 30.562660036)\n (0 800 34.9287543268)\n (3000 1000 43.6609429085)\n (0 1600 69.8575086536)\n (3000 1600 69.8575086536)\n);\n\nblocks\n(\n hex (0 1 3 2 0 1 11 10)\n (75 30 1)\n edgeGrading (1 1 1 1 0.1666667 1 1 0.1666667 1 1 1 1)\n\n hex (2 3 5 4 10 11 13 12)\n (75 40 1)\n edgeGrading (1 1 1 1 20 1 1 20 1 1 1 1)\n\n hex (4 5 7 6 12 13 15 14)\n (75 15 1)\n simpleGrading (1.0 1.0 1.0)\n\n hex (6 7 9 8 14 15 17 16)\n (75 15 1)\n simpleGrading (1.0 1.0 1.0)\n);\n\nboundary\n(\n axis\n {\n type empty;\n faces\n (\n (0 1 1 0)\n );\n }\n\n inlet\n {\n type patch;\n faces\n (\n (0 0 10 2)\n );\n }\n\n walls\n {\n type wall;\n faces\n (\n (2 10 12 4)\n (4 12 14 6)\n (6 14 16 8)\n );\n }\n\n atmosphere\n {\n type patch;\n faces\n (\n (8 16 17 9)\n (7 9 17 15)\n (5 7 15 13)\n (3 5 13 11)\n (1 3 11 1)\n );\n }\n\n front\n {\n type wedge;\n faces\n (\n (0 1 11 10)\n (10 11 13 12)\n (12 13 15 14)\n (14 15 17 16)\n );\n }\n\n back\n {\n type wedge;\n faces\n (\n (0 2 3 1)\n (2 4 5 3)\n (4 6 7 5)\n (6 8 9 7)\n );\n }\n);\n\n\n// ************************************************************************* //\n", | |
| "system/topoSetDict.2": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"system\";\n object topoSetDict.2;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nactions\n(\n {\n name c0;\n type cellSet;\n action new;\n source boxToCell;\n box (0 0 -2e-05) (0.0036 0.0003 2e-05);\n }\n);\n\n// ************************************************************************* //\n", | |
| "0/alpha.fuel": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object alpha.fuel;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 0 0 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n axis\n {\n type empty;\n }\n inlet\n {\n type fixedValue;\n value uniform 1;\n }\n walls\n {\n type zeroGradient;\n }\n atmosphere\n {\n type inletOutlet;\n inletValue uniform 0;\n value uniform 0;\n }\n front\n {\n type wedge;\n }\n back\n {\n type wedge;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/nuTilda": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object nuTilda;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -1 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n axis\n {\n type empty;\n }\n inlet\n {\n type fixedValue;\n value uniform 0;\n } walls\n {\n type fixedValue;\n value uniform 0;\n }\n atmosphere\n {\n type zeroGradient;\n }\n front\n {\n type wedge;\n }\n back\n {\n type wedge;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/p_rgh": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object p_rgh;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [1 -1 -2 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n axis\n {\n type empty;\n }\n inlet\n {\n type zeroGradient;\n }\n walls\n {\n type zeroGradient;\n }\n atmosphere\n {\n type prghTotalPressure;\n p0 uniform 0;\n }\n front\n {\n type wedge;\n }\n back\n {\n type wedge;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/epsilon": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object epsilon;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -3 0 0 0 0];\n\ninternalField uniform 1e-5;\n\nboundaryField\n{\n axis\n {\n type empty;\n }\n inlet\n {\n type fixedValue;\n value uniform 1e-5; // Small turbulence at inlet\n }\n walls\n {\n type epsilonWallFunction; \n value uniform 1e-11;\n }\n atmosphere\n {\n type zeroGradient;\n }\n front\n {\n type wedge;\n }\n back\n {\n type wedge;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/k": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object k;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -2 0 0 0 0];\n\ninternalField uniform 1e-11;\n\nboundaryField\n{\n axis\n {\n type empty;\n }\n inlet\n {\n type fixedValue;\n value uniform 1e-05;\n }\n walls\n {\n type kqRWallFunction; \n value uniform 1e-11;\n }\n atmosphere\n {\n type inletOutlet;\n inletValue uniform 0.001;\n value uniform 1e-11;\n }\n front\n {\n type wedge;\n }\n back\n {\n type wedge;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/U": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volVectorField;\n location \"0\";\n object U;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -1 0 0 0 0];\n\ninternalField uniform (0 0 0);\n\nboundaryField\n{\n axis\n {\n type empty;\n }\n inlet\n {\n type fixedValue;\n value uniform (460 0 0);\n }\n walls\n {\n type noSlip;\n }\n atmosphere\n {\n type pressureInletOutletVelocity;\n value uniform (0 0 0);\n }\n front\n {\n type wedge;\n }\n back\n {\n type wedge;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/nut": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object nut;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -1 0 0 0 0];\n\ninternalField uniform 1e-11;\n\nboundaryField\n{\n axis\n {\n type empty;\n } inlet\n {\n type calculated;\n value uniform 0;\n } walls\n {\n type calculated;\n value uniform 0;\n } atmosphere\n {\n type calculated;\n value uniform 0;\n }\n front\n {\n type wedge;\n }\n back\n {\n type wedge;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/data/ptrace": "", | |
| "0/data/Ubulk": "", | |
| "constant/g": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"constant\";\n object g;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -2 0 0 0 0];\nvalue (0 0 0);\n\n\n// ************************************************************************* //\n", | |
| "constant/phaseProperties": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"constant\";\n object phaseProperties;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nphases (fuel air);\n\nsigma 0.0261;\n\n\n// ************************************************************************* //\n", | |
| "constant/physicalProperties.fuel": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"constant\";\n object physicalProperties.fuel;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nviscosityModel constant;\n\nnu 5.952e-06;\n\nrho 840;\n\n\n// ************************************************************************* //\n", | |
| "constant/momentumTransport": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"constant\";\n object momentumTransport;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nsimulationType RAS;\n\nRAS\n{\n model SpalartAllmaras;\n turbulence on;\n printCoeffs on;\n}\n\n// ************************************************************************* //\n", | |
| "constant/physicalProperties.air": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"constant\";\n object physicalProperties.air;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nviscosityModel constant;\n\nnu 8.5e-07;\n\nrho 20;\n\n\n// ************************************************************************* //\n", | |
| "constant/physicalProperties": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"constant\";\n object physicalProperties;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nviscosityModel constant;\nnu [0 2 -1 0 0 0 0] 1e-06;\nrho [1 -3 0 0 0 0 0] 1000;\n\n// ************************************************************************* //\n", | |
| "system/setFieldsDict": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"system\";\n object setFieldsDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndefaultFieldValues\n(\n volScalarFieldValue alpha.fuel 0\n);\n\nregions\n(\n boxToCell\n {\n box (0 0 0) (0.5 0.5 1);\n fieldValues\n (\n volScalarFieldValue alpha.fuel 1\n );\n }\n);\n\n// ************************************************************************* //\n" | |
| }, | |
| "Cavity_LES": { | |
| "usr_requirement": "do an incompressible large eddy simulation (using dynamic kinetic energy equation model) of lid driven cavity flow using pisoFoam solver. The cavity is a square with dimensions normalized to 1 unit on both the x and y axes and very thin in the z-direction (0.1 unit) and scale the domain down by a factor of 0.1. Use a grid of 20X20 in x and y direction and 1 cell in z-direction(due to the expected 2D flow characteristics). The top wall ('movingWall') moves in the x-direction with a uniform velocity of 1 m/s. The 'fixedWalls' have a no-slip boundary condition (velocity equal to zero at the wall). The front and back faces are designated as 'empty'. The simulation runs from time 0 to 10 with a time step of 0.005 units, and results are output every 100 time steps. The viscosity (`nu`) is set as constant with a value of 1e-05 m^2/s Use OpenFOAM-13 with foamRun -solver incompressibleFluid, corresponding to the legacy pisoFoam application.", | |
| "Allrun": "#!/bin/sh\ncd ${0%/*} || exit 1 # Run from this directory\n\n# Source tutorial run functions\n. $WM_PROJECT_DIR/bin/tools/RunFunctions\n\nsolver=\"incompressibleFluid\"\n\nrunApplication blockMesh\nrunApplication foamRun -solver $solver\n\n#------------------------------------------------------------------------------\n", | |
| "system/fvSolution": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"system\";\n object fvSolution;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nsolvers\n{\n p\n {\n solver GAMG;\n smoother GaussSeidel;\n tolerance 1e-07;\n relTol 0.01;\n }\n\n pFinal\n {\n $p;\n relTol 0;\n }\n\n \"(U|k|epsilon|omega|nuTilda)\"\n {\n solver smoothSolver;\n smoother symGaussSeidel;\n tolerance 1e-06;\n relTol 0.1;\n }\n\n \"(U|k|epsilon|omega|nuTilda)Final\"\n {\n $U;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n nOuterCorrectors 1;\n nCorrectors 2;\n nNonOrthogonalCorrectors 0;\n pRefCell 0;\n pRefValue 0;\n}\n\n// ************************************************************************* //\n", | |
| "system/controlDict": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"system\";\n object controlDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\napplication foamRun;\nsolver incompressibleFluid;\n\nstartFrom startTime;\nstartTime 0;\nstopAt endTime;\nendTime 10;\ndeltaT 0.005;\n\nwriteControl timeStep;\nwriteInterval 100;\npurgeWrite 0;\nwriteFormat ascii;\nwritePrecision 8;\nwriteCompression off;\ntimeFormat general;\ntimePrecision 6;\nrunTimeModifiable true;\n\nadjustTimeStep no;\nmaxCo 1;\nmaxDeltaT 1;\n\n// ************************************************************************* //\n", | |
| "system/fvSchemes": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"system\";\n object fvSchemes;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nddtSchemes\n{\n default Euler;\n}\n\ngradSchemes\n{\n default Gauss linear;\n}\n\ndivSchemes\n{\n default none;\n div(phi,U) bounded Gauss linearUpwind grad(U);\n div(phi,k) bounded Gauss limitedLinear 1;\n div(phi,epsilon) bounded Gauss limitedLinear 1;\n div(phi,omega) bounded Gauss limitedLinear 1;\n div(phi,nuTilda) bounded Gauss limitedLinear 1;\n div((nuEff*dev2(T(grad(U))))) Gauss linear;\n}\n\nlaplacianSchemes\n{\n default Gauss linear corrected;\n}\n\ninterpolationSchemes\n{\n default linear;\n}\n\nsnGradSchemes\n{\n default corrected;\n}\n\nwallDist\n{\n method meshWave;\n}\n\n// ************************************************************************* //\n", | |
| "system/blockMeshDict": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"system\";\n object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nconvertToMeters 0.1;\n\nvertices\n(\n (0 0 0)\n (1 0 0)\n (1 1 0)\n (0 1 0)\n (0 0 0.1)\n (1 0 0.1)\n (1 1 0.1)\n (0 1 0.1)\n);\n\nblocks\n(\n hex (0 1 2 3 4 5 6 7) (20 20 1) simpleGrading (1 1 1)\n);\n\nboundary\n(\n movingWall\n {\n type wall;\n faces\n (\n (3 7 6 2)\n );\n }\n fixedWalls\n {\n type wall;\n faces\n (\n (0 4 7 3)\n (2 6 5 1)\n (1 5 4 0)\n );\n }\n frontAndBack\n {\n type empty;\n faces\n (\n (0 3 2 1)\n (4 5 6 7)\n );\n }\n);\n\n\n// ************************************************************************* //\n", | |
| "0/nuTilda": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object nuTilda;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -1 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n movingWall\n {\n type zeroGradient;\n }\n fixedWalls\n {\n type zeroGradient;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/p": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object p;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -2 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n movingWall\n {\n type zeroGradient;\n }\n fixedWalls\n {\n type zeroGradient;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/k": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object k;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -2 0 0 0 0];\n\ninternalField uniform 0.00375;\n\nboundaryField\n{\n movingWall\n {\n type kqRWallFunction;\n value uniform 0.00375;\n }\n fixedWalls\n {\n type kqRWallFunction;\n value uniform 0.00375;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/U": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volVectorField;\n location \"0\";\n object U;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -1 0 0 0 0];\n\ninternalField uniform (0 0 0);\n\nboundaryField\n{\n movingWall\n {\n type fixedValue;\n value uniform (1 0 0);\n }\n fixedWalls\n {\n type noSlip;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/nut": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object nut;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -1 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n movingWall\n {\n type nutkWallFunction;\n value uniform 0;\n }\n fixedWalls\n {\n type nutkWallFunction;\n value uniform 0;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "constant/momentumTransport": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"constant\";\n object momentumTransport;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nsimulationType LES;\n\nLES\n{\n model dynamicKEqn;\n delta cubeRootVol;\n filter simple;\n turbulence on;\n printCoeffs on;\n\n cubeRootVolCoeffs\n {\n deltaCoeff 1;\n }\n}\n\n// ************************************************************************* //\n", | |
| "constant/physicalProperties": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"constant\";\n object physicalProperties;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nviscosityModel constant;\nnu [0 2 -1 0 0 0 0] 1e-05;\n\n// ************************************************************************* //\n" | |
| }, | |
| "Rectangular_Obstacle_KOMEGASST": { | |
| "usr_requirement": "Perform an incompressible turbulent flow simulation over a 2D rectangular obstacle using the k-Omega SST RANS turbulence model and pimpleFoam solver. The computational domain spans 0 to 15 in x direction and 0 to 5 in y direction and -0.5 to 0.5 in z direction. The rectangular obstacle is of size 1 unit x 1 unit x 1 unit centered at 2.5 x 2.5 x 0.0. Use one cell in z direction making the geometry effectively 2D. Refine the mesh near to rectangle. Use sufficient grid points to discretize the domain and dont use more than 60000 cells in your mesh. The left boundary is the inlet which uses a uniform velocity of (1,0,0) m/s. The right boundary is the outlet using zero gradient pressure condition. Top and bottom boundaries are fixed walls with nop-slip condition. The front and back faces are empty. The rectangular obstacle also has no-slip boundary condition on its surface. The kinematic viscosity is 2e-6 m2/s. Use a deltaT of 0.5 s and run till a final time of 5 s. Write the results at every 0.5 s. Use a maximum courant number of 1.0. Use OpenFOAM-13 with foamRun -solver incompressibleFluid, corresponding to the legacy pimpleFoam application.", | |
| "Allrun": "#!/bin/sh\ncd ${0%/*} || exit 1 # Run from this directory\n\n# Source tutorial run functions\n. $WM_PROJECT_DIR/bin/tools/RunFunctions\n\nsolver=\"incompressibleFluid\"\n\nrunApplication blockMesh\nrunApplication foamRun -solver $solver\n\n#------------------------------------------------------------------------------\n", | |
| "system/fvSolution": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"system\";\n object fvSolution;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nsolvers\n{\n p\n {\n solver GAMG;\n smoother GaussSeidel;\n tolerance 1e-07;\n relTol 0.01;\n }\n\n pFinal\n {\n $p;\n relTol 0;\n }\n\n \"(U|k|epsilon|omega|nuTilda)\"\n {\n solver smoothSolver;\n smoother symGaussSeidel;\n tolerance 1e-06;\n relTol 0.1;\n }\n\n \"(U|k|epsilon|omega|nuTilda)Final\"\n {\n $U;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n nOuterCorrectors 1;\n nCorrectors 2;\n nNonOrthogonalCorrectors 0;\n pRefCell 0;\n pRefValue 0;\n}\n\nrelaxationFactors\n{\n fields\n {\n p 0.3;\n }\n equations\n {\n U 0.7;\n k 0.5;\n omega 0.3;\n }\n}\n\n// ************************************************************************* //\n", | |
| "system/controlDict": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"system\";\n object controlDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\napplication foamRun;\nsolver incompressibleFluid;\n\nstartFrom startTime;\nstartTime 0;\nstopAt endTime;\nendTime 5;\ndeltaT 0.01;\n\nwriteControl adjustableRunTime;\nwriteInterval 0.5;\npurgeWrite 0;\nwriteFormat ascii;\nwritePrecision 8;\nwriteCompression off;\ntimeFormat general;\ntimePrecision 6;\nrunTimeModifiable true;\n\nadjustTimeStep yes;\nmaxCo 0.2;\nmaxDeltaT 0.05;\n\n// ************************************************************************* //\n", | |
| "system/decomposeParDict": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"system\";\n object decomposeParDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nnumberOfSubdomains 6;\n\nmethod hierarchical;\n\ncoeffs\n{\n n (3 2 1);\n}\n\n\n// ************************************************************************* //\n", | |
| "system/fvSchemes": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"system\";\n object fvSchemes;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nddtSchemes\n{\n default Euler;\n}\n\ngradSchemes\n{\n default Gauss linear;\n}\n\ndivSchemes\n{\n default none;\n div(phi,U) bounded Gauss linearUpwind grad(U);\n div(phi,k) bounded Gauss upwind;\n div(phi,epsilon) bounded Gauss limitedLinear 1;\n div(phi,omega) bounded Gauss upwind;\n div(phi,nuTilda) bounded Gauss limitedLinear 1;\n div((nuEff*dev2(T(grad(U))))) Gauss linear;\n}\n\nlaplacianSchemes\n{\n default Gauss linear corrected;\n}\n\ninterpolationSchemes\n{\n default linear;\n}\n\nsnGradSchemes\n{\n default corrected;\n}\n\nwallDist\n{\n method meshWave;\n}\n\n// ************************************************************************* //\n", | |
| "system/blockMeshDict": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"system\";\n object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nscale 1;\n\nvertices\n(\n(0 0 -0.5) //0\n(2 0 -0.5) //1\n(3 0 -0.5) //2\n(15 0 -0.5) //3\n(15 2 -0.5) //4\n(15 3 -0.5) //5\n(15 5 -0.5) //6\n(3 5 -0.5) //7\n(2 5 -0.5) //8\n(0 5 -0.5) //9\n(0 3 -0.5) //10\n(0 2 -0.5) //11\n(2 2 -0.5) //12\n(3 2 -0.5) //13\n(3 3 -0.5) //14\n(2 3 -0.5) //15\n\n(0 0 0.5) //16\n(2 0 0.5) //17\n(3 0 0.5) //18\n(15 0 0.5) //19\n(15 2 0.5) //20\n(15 3 0.5) //21\n(15 5 0.5) //22\n(3 5 0.5) //23\n(2 5 0.5) //24\n(0 5 0.5) //25\n(0 3 0.5) //26\n(0 2 0.5) //27\n(2 2 0.5) //28\n(3 2 0.5) //29\n(3 3 0.5) //30\n(2 3 0.5) //31\n);\n\nblocks\n(\nhex (0 1 12 11 16 17 28 27) (100 50 1) simpleGrading (1 1 1)\nhex (11 12 15 10 27 28 31 26) (100 50 1) simpleGrading (1 1 1)\nhex (10 15 8 9 26 31 24 25) (100 50 1) simpleGrading (1 1 1)\nhex (15 14 7 8 31 30 23 24) (100 50 1) simpleGrading (1 1 1)\nhex (1 2 13 12 17 18 29 28) (100 50 1) simpleGrading (1 1 1)\nhex (14 5 6 7 30 21 22 23) (200 50 1) simpleGrading (4 1 1)\nhex (13 4 5 14 29 20 21 30) (200 50 1) simpleGrading (4 1 1)\nhex (2 3 4 13 18 19 20 29) (200 50 1) simpleGrading (4 1 1)\n);\n\nedges\n(\n);\n\ndefaultPatch\n{\n type empty;\n}\n\nboundary\n(\noutlet\n{\ntype patch;\nfaces\n(\n(3 4 20 19)\n(4 5 21 20)\n(5 6 22 21)\n);\n}\n\ninlet\n{\ntype patch;\nfaces\n(\n(11 0 16 27)\n(10 11 27 26)\n(9 10 26 25)\n);\n}\n\nwall1\n{\ntype wall;\nfaces\n(\n(6 7 23 22)\n(7 8 24 23)\n(8 9 25 24)\n);\n}\n\nwall2\n{\ntype wall;\nfaces\n(\n(0 1 17 16)\n(1 2 18 17)\n(2 3 19 18)\n\n);\n}\n\ncylinder\n{\ntype wall;\nfaces\n(\n(15 12 28 31)\n(14 15 31 30)\n(12 13 29 28)\n(13 14 30 29)\n);\n}\n\n\n);\n\nmergePatchPairs\n(\n);\n\n// ************************************************************************* //\n", | |
| "0/p": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object p;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -2 0 0 0 0];\n\ninternalField uniform 101325;\n\nboundaryField\n{\n outlet\n {\n type fixedValue;\n value $internalField;\n }\n inlet\n {\n type fixedFluxPressure;\n value $internalField;\n }\n wall1\n {\n type fixedFluxPressure;\n value $internalField;\n }\n wall2\n {\n type fixedFluxPressure;\n value $internalField;\n }\n cylinder\n {\n type fixedFluxPressure;\n value $internalField;\n }\n\n defaultFaces\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/k": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object k;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -2 0 0 0 0];\n\ninternalField uniform 1e-4;\n\nboundaryField\n{\n outlet\n {\n type zeroGradient;\n }\n inlet\n {\n type turbulentIntensityKineticEnergyInlet;\n intensity 0.05;\n value uniform 1e-4;\n }\n wall1\n {\n type kqRWallFunction;\n value uniform 1e-4;\n }\n wall2\n {\n type kqRWallFunction;\n value uniform 1e-4;\n }\n cylinder\n {\n type kqRWallFunction;\n value uniform 1e-4;\n }\n\n defaultFaces\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/U": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volVectorField;\n location \"0\";\n object U;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -1 0 0 0 0];\n\ninternalField uniform (1 0 0);\n\nboundaryField\n{\n outlet\n {\n type pressureInletOutletVelocity;\n value uniform (0 0 0);\n }\n inlet\n {\n type fixedValue;\n value $internalField;\n }\n wall1\n {\n type fixedValue;\n value uniform (0 0 0);\n }\n wall2\n {\n type fixedValue;\n value uniform (0 0 0);\n }\n cylinder\n {\n type fixedValue;\n value uniform (0 0 0);\n }\n\n defaultFaces\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/nut": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object nut;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -1 0 0 0 0];\n\ninternalField uniform 1e-6;\n\nboundaryField\n{\n outlet\n {\n type zeroGradient;\n }\n inlet\n {\n type zeroGradient;\n }\n wall1\n {\n type nutkWallFunction;\n value uniform 1e-6;\n }\n wall2\n {\n type nutkWallFunction;\n value uniform 1e-6;\n }\n cylinder\n {\n type nutkWallFunction;\n value uniform 1e-6;\n }\n\n defaultFaces\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/omega": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object omega;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 0 -1 0 0 0 0];\n\ninternalField uniform 50;\n\nboundaryField\n{\n outlet\n {\n type zeroGradient;\n }\n inlet\n {\n type turbulentMixingLengthFrequencyInlet;\n mixingLength 1.2;\n value uniform 50;\n }\n wall1\n {\n type omegaWallFunction;\n value uniform 50;\n }\n wall2\n {\n type omegaWallFunction;\n value uniform 50;\n }\n cylinder\n {\n type omegaWallFunction;\n value uniform 50;\n }\n\n defaultFaces\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "constant/physicalProperties": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"constant\";\n object physicalProperties;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nviscosityModel constant;\nnu [0 2 -1 0 0 0 0] 2e-06;\n\n// ************************************************************************* //\n", | |
| "constant/momentumTransport": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"constant\";\n object momentumTransport;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nsimulationType RAS;\n\nRAS\n{\n model kOmegaSST;\n turbulence on;\n printCoeffs on;\n}\n\n// ************************************************************************* //\n" | |
| }, | |
| "obliqueShock_KE": { | |
| "usr_requirement": "do a 2D oblique shock wave simulation using OpenFOAM with the rhoCentralFoam solver. The computational domain spans 4.1 m x 1.0 m x 0.1 m. Use inlet velocity of 2.9 m/s and top velocity of (2.61933,-0.50632,0.0) m/s. Use an inlet temperature of 1.0 K and top boundary temperature of 1.25853, and an inlet pressure of 1.0 Pa. Use a time step of 0.0025 seconds, output results every 1.0 seconds, and run the simulation until a final time of 10 seconds. Use k-epsilon turbulence model. Use OpenFOAM-13 with foamRun -solver shockFluid, corresponding to the legacy rhoCentralFoam application.", | |
| "Allrun": "#!/bin/sh\ncd ${0%/*} || exit 1 # Run from this directory\n\n# Source tutorial run functions\n. $WM_PROJECT_DIR/bin/tools/RunFunctions\n\nsolver=\"shockFluid\"\n\nrunApplication blockMesh\nrunApplication foamRun -solver $solver\n\n#------------------------------------------------------------------------------\n", | |
| "system/fvSolution": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"system\";\n object fvSolution;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nsolvers\n{\n \"(rho|rhoU|rhoE).*\"\n {\n solver diagonal;\n }\n\n \"(U|h|e|T|k|epsilon|nut|alphat).*\"\n {\n solver smoothSolver;\n smoother symGaussSeidel;\n tolerance 1e-09;\n relTol 0.01;\n }\n\n \"(U|h|e|T|k|epsilon|nut|alphat).*Final\"\n {\n $U;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n}\n\n// ************************************************************************* //\n", | |
| "system/controlDict": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"system\";\n object controlDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\napplication foamRun;\nsolver shockFluid;\n\nstartFrom startTime;\nstartTime 0;\nstopAt endTime;\nendTime 10;\ndeltaT 0.0025;\n\nwriteControl adjustableRunTime;\nwriteInterval 1;\npurgeWrite 0;\nwriteFormat ascii;\nwritePrecision 8;\nwriteCompression off;\ntimeFormat general;\ntimePrecision 6;\nrunTimeModifiable true;\n\nadjustTimeStep yes;\nmaxCo 0.2;\nmaxDeltaT 1;\n\n// ************************************************************************* //\n", | |
| "system/fvSchemes": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"system\";\n object fvSchemes;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nfluxScheme Kurganov;\n\nddtSchemes\n{\n default Euler;\n}\n\ngradSchemes\n{\n default Gauss linear;\n}\n\ndivSchemes\n{\n default none;\n div(tauMC) Gauss linear;\n div(phi,k) bounded Gauss upwind;\n div(phi,epsilon) bounded Gauss upwind;\n}\n\nlaplacianSchemes\n{\n default Gauss linear corrected;\n\n}\n\ninterpolationSchemes\n{\n default linear;\n reconstruct(rho) vanLeer;\n reconstruct(U) vanLeerV;\n reconstruct(T) vanLeer;\n}\n\nsnGradSchemes\n{\n default corrected;\n}\n\nwallDist\n{\n method meshWave;\n}\n\n// ************************************************************************* //\n", | |
| "system/blockMeshDict": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"system\";\n object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nconvertToMeters 1;\n\nvertices\n(\n (0 0 0)\n (4.1 0 0)\n (4.1 1 0)\n (0 1 0)\n (0 0 0.1)\n (4.1 0 0.1)\n (4.1 1 0.1)\n (0 1 0.1)\n);\n\nblocks\n(\n hex (0 1 2 3 4 5 6 7) (60 30 1) simpleGrading (1 1 1)\n);\n\nboundary\n(\n top\n {\n type wall;\n faces\n (\n (3 7 6 2)\n );\n }\n inlet\n {\n type patch;\n faces\n (\n (0 4 7 3)\n );\n }\n outlet\n {\n type patch;\n faces\n (\n (2 6 5 1)\n );\n }\n bottom\n {\n type symmetryPlane;\n faces\n (\n (1 5 4 0)\n );\n }\n frontAndBack\n {\n type empty;\n faces\n (\n (0 3 2 1)\n (4 5 6 7)\n );\n }\n);\n\n\n// ************************************************************************* //\n", | |
| "0/p": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object p;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [1 -1 -2 0 0 0 0];\n\ninternalField uniform 1;\n\nboundaryField\n{\n top\n {\n type zeroGradient;\n }\n inlet\n {\n type fixedValue;\n value uniform 1;\n }\n outlet\n {\n type zeroGradient;\n }\n bottom\n {\n type symmetryPlane;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/epsilon": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object epsilon;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -3 0 0 0 0];\n\ninternalField uniform 0.001;\n\nboundaryField\n{\n top\n {\n type zeroGradient;\n }\n inlet\n {\n type fixedValue;\n value uniform 0.001;\n }\n outlet\n {\n type zeroGradient;\n }\n bottom\n {\n type symmetryPlane;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/k": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object k;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -2 0 0 0 0];\n\ninternalField uniform 0.01;\n\nboundaryField\n{\n top\n {\n type zeroGradient;\n }\n inlet\n {\n type fixedValue;\n value uniform 0.01;\n }\n outlet\n {\n type zeroGradient;\n }\n bottom\n {\n type symmetryPlane;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/U": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volVectorField;\n location \"0\";\n object U;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -1 0 0 0 0];\n\ninternalField uniform (2.9 0 0);\n\nboundaryField\n{\n top\n {\n type fixedValue;\n value uniform (2.61933 -0.50632 0);\n }\n inlet\n {\n type fixedValue;\n value uniform (2.9 0 0);\n }\n outlet\n {\n type zeroGradient;\n }\n bottom\n {\n type symmetryPlane;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/nut": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object nut;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -1 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n top\n {\n type zeroGradient;\n }\n inlet\n {\n type fixedValue;\n value uniform 0;\n }\n outlet\n {\n type zeroGradient;\n }\n bottom\n {\n type symmetryPlane;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/T": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object T;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 0 0 1 0 0 0];\n\ninternalField uniform 1;\n\nboundaryField\n{\n top\n {\n type fixedValue;\n value uniform 1.25853;\n }\n inlet\n {\n type fixedValue;\n value uniform 1;\n }\n outlet\n {\n type zeroGradient;\n }\n bottom\n {\n type symmetryPlane;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/alphat": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object alphat;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [1 -1 -1 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n top\n {\n type zeroGradient;\n }\n inlet\n {\n type fixedValue;\n value uniform 0;\n }\n outlet\n {\n type zeroGradient;\n }\n bottom\n {\n type symmetryPlane;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "constant/momentumTransport": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"constant\";\n object momentumTransport;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nsimulationType RAS;\n\nRAS\n{\n model kEpsilon;\n turbulence on;\n printCoeffs on;\n\nkEpsilonCoeffs\n{\n Cmu 0.09;\n C1 1.44;\n C2 1.92;\n sigmaEps 1.3;\n sigmaK 1.0;\n}\n}\n\n// ************************************************************************* //\n", | |
| "constant/physicalProperties": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"constant\";\n object physicalProperties;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nthermoType\n{\n type hePsiThermo;\n mixture pureMixture;\n transport const;\n thermo hConst;\n equationOfState perfectGas;\n specie specie;\n energy sensibleInternalEnergy;\n}\n\nmixture\n{\n // normalised gas\n specie\n {\n molWeight 11640.3;\n }\n thermodynamics\n {\n Cp 2.5;\n Hf 0;\n }\n transport\n {\n mu 0;\n Pr 1;\n }\n}\n\n\n// ************************************************************************* //\n" | |
| }, | |
| "Cylinder_SA": { | |
| "usr_requirement": "do a offsetcylinder simulation using SpalartAllmaras turbulence model. Use PIMPLE algorithm. Boundary conditions specify a fixed velocity of 1m/s at the inlet (left),zero gradient pressure at the outlet (right), and no-slip conditions for walls, including the cylinder surface. Use timestep of 0.0025 and output every 0.05. Finaltime is 0.5. use constant viscosity model with nu value of 0.01 in physical properties. Use OpenFOAM-13 with foamRun -solver incompressibleFluid, corresponding to the legacy pimpleFoam application.", | |
| "Allrun": "#!/bin/sh\ncd ${0%/*} || exit 1 # Run from this directory\n\n# Source tutorial run functions\n. $WM_PROJECT_DIR/bin/tools/RunFunctions\n\nsolver=\"incompressibleFluid\"\n\nrunApplication blockMesh\nrunApplication foamRun -solver $solver\n\n#------------------------------------------------------------------------------\n", | |
| "system/fvSolution": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"system\";\n object fvSolution;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nsolvers\n{\n p\n {\n solver GAMG;\n smoother GaussSeidel;\n tolerance 1e-07;\n relTol 0.01;\n }\n\n pFinal\n {\n $p;\n relTol 0;\n }\n\n \"(U|k|epsilon|omega|nuTilda)\"\n {\n solver smoothSolver;\n smoother symGaussSeidel;\n tolerance 1e-06;\n relTol 0.1;\n }\n\n \"(U|k|epsilon|omega|nuTilda)Final\"\n {\n $U;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n nOuterCorrectors 1;\n nCorrectors 2;\n nNonOrthogonalCorrectors 0;\n pRefCell 0;\n pRefValue 0;\n}\n\n// ************************************************************************* //\n", | |
| "system/controlDict": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"system\";\n object controlDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\napplication foamRun;\nsolver incompressibleFluid;\n\nstartFrom startTime;\nstartTime 0;\nstopAt endTime;\nendTime 0.5;\ndeltaT 0.0025;\n\nwriteControl runTime;\nwriteInterval 0.05;\npurgeWrite 0;\nwriteFormat ascii;\nwritePrecision 8;\nwriteCompression off;\ntimeFormat general;\ntimePrecision 6;\nrunTimeModifiable true;\n\nadjustTimeStep no;\nmaxCo 1;\nmaxDeltaT 1;\n\n// ************************************************************************* //\n", | |
| "system/fvSchemes": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"system\";\n object fvSchemes;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nddtSchemes\n{\n default Euler;\n}\n\ngradSchemes\n{\n default Gauss linear;\n}\n\ndivSchemes\n{\n default none;\n div(phi,U) bounded Gauss linearUpwind grad(U);\n div(phi,k) bounded Gauss limitedLinear 1;\n div(phi,epsilon) bounded Gauss limitedLinear 1;\n div(phi,omega) bounded Gauss limitedLinear 1;\n div(phi,nuTilda) bounded Gauss limitedLinear 1;\n div((nuEff*dev2(T(grad(U))))) Gauss linear;\n}\n\nlaplacianSchemes\n{\n default Gauss linear corrected;\n}\n\ninterpolationSchemes\n{\n default linear;\n}\n\nsnGradSchemes\n{\n default corrected;\n}\n\nwallDist\n{\n method meshWave;\n}\n\n// ************************************************************************* //\n", | |
| "system/blockMeshDict": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"system\";\n object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nconvertToMeters 1;\n\nvertices\n(\n (1 0 -1)\n (1.4 0 -1)\n (5 0 -1)\n (5 0.989949 -1)\n (0.989949 0.989949 -1)\n (0.707107 0.707107 -1)\n (5 2.5 -1)\n (0.989949 2.5 -1)\n (0 2.5 -1)\n (0 1.4 -1)\n (0 1 -1)\n (-1 0 -1)\n (-1.4 0 -1)\n (-5 0 -1)\n (-5 0.989949 -1)\n (-0.989949 0.989949 -1)\n (-0.707107 0.707107 -1)\n (-5 2.5 -1)\n (-0.989949 2.5 -1)\n (5 -0.989949 -1)\n (0.989949 -0.989949 -1)\n (0.707107 -0.707107 -1)\n (5 -1.5 -1)\n (0.989949 -1.5 -1)\n (0 -1.5 -1)\n (0 -1.4 -1)\n (0 -1 -1)\n (-5 -0.989949 -1)\n (-0.989949 -0.989949 -1)\n (-0.707107 -0.707107 -1)\n (-5 -1.5 -1)\n (-0.989949 -1.5 -1)\n (1 0 1)\n (1.4 0 1)\n (5 0 1)\n (5 0.989949 1)\n (0.989949 0.989949 1)\n (0.707107 0.707107 1)\n (5 2.5 1)\n (0.989949 2.5 1)\n (0 2.5 1)\n (0 1.4 1)\n (0 1 1)\n (-1 0 1)\n (-1.4 0 1)\n (-5 0 1)\n (-5 0.989949 1)\n (-0.989949 0.989949 1)\n (-0.707107 0.707107 1)\n (-5 2.5 1)\n (-0.989949 2.5 1)\n (5 -0.989949 1)\n (0.989949 -0.989949 1)\n (0.707107 -0.707107 1)\n (5 -1.5 1)\n (0.989949 -1.5 1)\n (0 -1.5 1)\n (0 -1.4 1)\n (0 -1 1)\n (-5 -0.989949 1)\n (-0.989949 -0.989949 1)\n (-0.707107 -0.707107 1)\n (-5 -1.5 1)\n (-0.989949 -1.5 1)\n);\n\nblocks\n(\n hex (5 4 9 10 37 36 41 42) (10 10 1) simpleGrading (1 1 1)\n hex (0 1 4 5 32 33 36 37) (10 10 1) simpleGrading (1 1 1)\n hex (1 2 3 4 33 34 35 36) (10 10 1) simpleGrading (1 1 1)\n hex (4 3 6 7 36 35 38 39) (10 10 1) simpleGrading (1 1 1)\n hex (9 4 7 8 41 36 39 40) (10 10 1) simpleGrading (1 1 1)\n hex (15 16 10 9 47 48 42 41) (10 10 1) simpleGrading (1 1 1)\n hex (12 11 16 15 44 43 48 47) (10 10 1) simpleGrading (1 1 1)\n hex (13 12 15 14 45 44 47 46) (10 10 1) simpleGrading (1 1 1)\n hex (14 15 18 17 46 47 50 49) (10 10 1) simpleGrading (1 1 1)\n hex (15 9 8 18 47 41 40 50) (10 10 1) simpleGrading (1 1 1)\n hex (26 25 20 21 58 57 52 53) (10 10 1) simpleGrading (1 1 1)\n hex (21 20 1 0 53 52 33 32) (10 10 1) simpleGrading (1 1 1)\n hex (20 19 2 1 52 51 34 33) (10 10 1) simpleGrading (1 1 1)\n hex (23 22 19 20 55 54 51 52) (10 5 1) simpleGrading (1 1 1)\n hex (24 23 20 25 56 55 52 57) (10 5 1) simpleGrading (1 1 1)\n hex (28 29 11 12 60 61 43 44) (10 10 1) simpleGrading (1 1 1)\n hex (25 26 29 28 57 58 61 60) (10 10 1) simpleGrading (1 1 1)\n hex (27 28 12 13 59 60 44 45) (10 10 1) simpleGrading (1 1 1)\n hex (30 31 28 27 62 63 60 59) (10 5 1) simpleGrading (1 1 1)\n hex (31 24 25 28 63 56 57 60) (10 5 1) simpleGrading (1 1 1)\n);\n\nedges\n(\n arc 5 0 (0.92388 0.382683 -1)\n arc 5 10 (0.382683 0.923879 -1)\n arc 1 4 (1.29343 0.535757 -1)\n arc 4 9 (0.535757 1.29343 -1)\n arc 32 37 (0.92388 0.382683 1)\n arc 37 42 (0.382683 0.923879 1)\n arc 33 36 (1.29343 0.535757 1)\n arc 36 41 (0.535757 1.29343 1)\n arc 11 16 (-0.923879 0.382683 -1)\n arc 16 10 (-0.382683 0.923879 -1)\n arc 12 15 (-1.29343 0.535757 -1)\n arc 15 9 (-0.535757 1.29343 -1)\n arc 43 48 (-0.923879 0.382683 1)\n arc 48 42 (-0.382683 0.923879 1)\n arc 44 47 (-1.29343 0.535757 1)\n arc 47 41 (-0.535757 1.29343 1)\n arc 0 21 (0.923879 -0.382683 -1)\n arc 21 26 (0.382683 -0.923879 -1)\n arc 1 20 (1.29343 -0.535757 -1)\n arc 20 25 (0.535757 -1.29343 -1)\n arc 32 53 (0.923879 -0.382683 1)\n arc 53 58 (0.382683 -0.923879 1)\n arc 33 52 (1.29343 -0.535757 1)\n arc 52 57 (0.535757 -1.29343 1)\n arc 11 29 (-0.923879 -0.382683 -1)\n arc 29 26 (-0.382683 -0.923879 -1)\n arc 12 28 (-1.29343 -0.535757 -1)\n arc 28 25 (-0.535757 -1.29343 -1)\n arc 43 61 (-0.923879 -0.382683 1)\n arc 61 58 (-0.382683 -0.923879 1)\n arc 44 60 (-1.29343 -0.535757 1)\n arc 60 57 (-0.535757 -1.29343 1)\n);\n\ndefaultPatch\n{\n type empty;\n}\n\nboundary\n(\n left\n {\n type patch;\n faces\n (\n (17 14 46 49)\n (14 13 45 46)\n (13 27 59 45)\n (27 30 62 59)\n );\n }\n right\n {\n type patch;\n faces\n (\n (22 19 51 54)\n (19 2 34 51)\n (2 3 35 34)\n (3 6 38 35)\n );\n }\n down\n {\n type wall;\n faces\n (\n (30 31 63 62)\n (31 24 56 63)\n (24 23 55 56)\n (23 22 54 55)\n );\n }\n up\n {\n type wall;\n faces\n (\n (6 7 39 38)\n (7 8 40 39)\n (8 18 50 40)\n (18 17 49 50)\n );\n }\n cylinder\n {\n type wall;\n faces\n (\n (0 5 37 32)\n (5 10 42 37)\n (10 16 48 42)\n (16 11 43 48)\n (11 29 61 43)\n (29 26 58 61)\n (26 21 53 58)\n (21 0 32 53)\n );\n }\n);\n\n\n// ************************************************************************* //\n", | |
| "0/nuTilda": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object nuTilda;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -1 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n left\n {\n type fixedValue;\n value uniform 0;\n }\n right\n {\n type inletOutlet;\n inletValue uniform 0;\n value uniform 0;\n } down\n {\n type fixedValue;\n value uniform 0;\n } up\n {\n type fixedValue;\n value uniform 0;\n } cylinder\n {\n type fixedValue;\n value uniform 0;\n }\n\n defaultFaces\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/p": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object p;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -2 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n left\n {\n type zeroGradient;\n }\n right\n {\n type fixedValue;\n value uniform 0;\n }\n down\n {\n type zeroGradient;\n }\n up\n {\n type zeroGradient;\n }\n cylinder\n {\n type zeroGradient;\n }\n\n defaultFaces\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/U": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volVectorField;\n location \"0\";\n object U;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -1 0 0 0 0];\n\ninternalField uniform (0 0 0);\n\nboundaryField\n{\n left\n {\n type fixedValue;\n value uniform (1 0 0);\n }\n right\n {\n type zeroGradient;\n }\n down\n {\n type noSlip;\n }\n up\n {\n type noSlip;\n }\n cylinder\n {\n type noSlip;\n }\n\n defaultFaces\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "0/nut": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class volScalarField;\n location \"0\";\n object nut;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -1 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{ left\n {\n type calculated;\n value uniform 0;\n } right\n {\n type calculated;\n value uniform 0;\n } down\n {\n type calculated;\n value uniform 0;\n } up\n {\n type calculated;\n value uniform 0;\n } cylinder\n {\n type calculated;\n value uniform 0;\n }\n\n defaultFaces\n {\n type empty;\n }\n}\n\n// ************************************************************************* //\n", | |
| "constant/momentumTransport": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"constant\";\n object momentumTransport;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nsimulationType RAS;\n\nRAS\n{\n model SpalartAllmaras;\n turbulence on;\n printCoeffs on;\n}\n\n// ************************************************************************* //\n", | |
| "constant/physicalProperties": "/*--------------------------------*- C++ -*----------------------------------*\\\n ========= |\n \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n \\\\ / O peration | Website: https://openfoam.org\n \\\\ / A nd | Version: 13\n \\\\/ M anipulation |\n\\*---------------------------------------------------------------------------*/\nFoamFile\n{\n format ascii;\n class dictionary;\n location \"constant\";\n object physicalProperties;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nviscosityModel constant;\nnu [0 2 -1 0 0 0 0] 0.01;\n\n// ************************************************************************* //\n" | |
| } | |
| } |