{ "obliqueShock/7": { "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 4.0 m/s and top velocity of (3.5,-0.50632,0.0) m/s. Use an inlet temperature of 1.0 K and top boundary temperature of 1.25853 K, and an inlet pressure of 1.0 Pa. Use normalized thermodynamic properties where molWeight is set to 11640.3, Cp is 2.5, Pr is 1.0, and dynamic viscosity mu is 0. This corresponds to a gas constant R of 0.7143 and a specific heat ratio of 1.4. 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 the shockFluid solver module, 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", "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 laminar;\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", "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 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\n inlet\n {\n type fixedValue;\n value uniform 1;\n }\n\n outlet\n {\n type zeroGradient;\n }\n\n bottom\n {\n type symmetryPlane;\n }\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 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 (3.5 -0.50632 0);\n }\n\n inlet\n {\n type fixedValue;\n value uniform (4.0 0 0);\n }\n\n outlet\n {\n type zeroGradient;\n }\n\n bottom\n {\n type symmetryPlane;\n }\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 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\n inlet\n {\n type fixedValue;\n value uniform 1;\n }\n\n outlet\n {\n type zeroGradient;\n }\n\n bottom\n {\n type symmetryPlane;\n }\n\n frontAndBack\n {\n type empty;\n }\n}\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.*\"\n {\n solver smoothSolver;\n smoother GaussSeidel;\n nSweeps 2;\n tolerance 1e-09;\n relTol 0.01;\n }\n\n \"e.*\"\n {\n $U;\n tolerance 1e-10;\n relTol 0;\n }\n}\n\n\n\nPIMPLE\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 rhoCentralFoam;\nsolver shockFluid;\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 10;\n\ndeltaT 0.0025;\n\nwriteControl adjustableRunTime;\n\nwriteInterval 1;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\ngraphFormat raw;\n\nrunTimeModifiable true;\n\nadjustTimeStep yes;\n\nmaxCo 0.2;\n\nmaxDeltaT 1;\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\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\nlaplacianSchemes\n{\n default 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\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 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" }, "obliqueShock/6": { "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 (3.0,-0.50632,0.0) m/s. Use an inlet temperature of 2.0 K and top boundary temperature of 1.25853 K, and an inlet pressure of 1.0 Pa. Use normalized thermodynamic properties where molWeight is set to 11640.3, Cp is 2.5, Pr is 1.0, and dynamic viscosity mu is 0. This corresponds to a gas constant R of 0.7143 and a specific heat ratio of 1.4. 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 the shockFluid solver module, 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", "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 laminar;\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", "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 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\n inlet\n {\n type fixedValue;\n value uniform 1;\n }\n\n outlet\n {\n type zeroGradient;\n }\n\n bottom\n {\n type symmetryPlane;\n }\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 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 (3.0 -0.50632 0);\n }\n\n inlet\n {\n type fixedValue;\n value uniform (2.9 0 0);\n }\n\n outlet\n {\n type zeroGradient;\n }\n\n bottom\n {\n type symmetryPlane;\n }\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 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\n inlet\n {\n type fixedValue;\n value uniform 2;\n }\n\n outlet\n {\n type zeroGradient;\n }\n\n bottom\n {\n type symmetryPlane;\n }\n\n frontAndBack\n {\n type empty;\n }\n}\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.*\"\n {\n solver smoothSolver;\n smoother GaussSeidel;\n nSweeps 2;\n tolerance 1e-09;\n relTol 0.01;\n }\n\n \"e.*\"\n {\n $U;\n tolerance 1e-10;\n relTol 0;\n }\n}\n\n\n\nPIMPLE\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 rhoCentralFoam;\nsolver shockFluid;\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 10;\n\ndeltaT 0.0025;\n\nwriteControl adjustableRunTime;\n\nwriteInterval 1;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\ngraphFormat raw;\n\nrunTimeModifiable true;\n\nadjustTimeStep yes;\n\nmaxCo 0.2;\n\nmaxDeltaT 1;\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\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\nlaplacianSchemes\n{\n default 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\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 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" }, "obliqueShock/3": { "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 3.5 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 K, and an inlet pressure of 1.0 Pa. Use normalized thermodynamic properties where molWeight is set to 11640.3, Cp is 2.5, Pr is 1.0, and dynamic viscosity mu is 0. This corresponds to a gas constant R of 0.7143 and a specific heat ratio of 1.4. 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 the shockFluid solver module, 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", "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 laminar;\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", "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 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\n inlet\n {\n type fixedValue;\n value uniform 1;\n }\n\n outlet\n {\n type zeroGradient;\n }\n\n bottom\n {\n type symmetryPlane;\n }\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 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\n inlet\n {\n type fixedValue;\n value uniform (3.5 0 0);\n }\n\n outlet\n {\n type zeroGradient;\n }\n\n bottom\n {\n type symmetryPlane;\n }\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 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\n inlet\n {\n type fixedValue;\n value uniform 1;\n }\n\n outlet\n {\n type zeroGradient;\n }\n\n bottom\n {\n type symmetryPlane;\n }\n\n frontAndBack\n {\n type empty;\n }\n}\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.*\"\n {\n solver smoothSolver;\n smoother GaussSeidel;\n nSweeps 2;\n tolerance 1e-09;\n relTol 0.01;\n }\n\n \"e.*\"\n {\n $U;\n tolerance 1e-10;\n relTol 0;\n }\n}\n\n\n\nPIMPLE\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 rhoCentralFoam;\nsolver shockFluid;\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 10;\n\ndeltaT 0.0025;\n\nwriteControl adjustableRunTime;\n\nwriteInterval 1;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\ngraphFormat raw;\n\nrunTimeModifiable true;\n\nadjustTimeStep yes;\n\nmaxCo 0.2;\n\nmaxDeltaT 1;\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\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\nlaplacianSchemes\n{\n default 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\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 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" }, "obliqueShock/5": { "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 3.5 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 2.0 K, and an inlet pressure of 1.0 Pa. Use normalized thermodynamic properties where molWeight is set to 11640.3, Cp is 2.5, Pr is 1.0, and dynamic viscosity mu is 0. This corresponds to a gas constant R of 0.7143 and a specific heat ratio of 1.4. 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 the shockFluid solver module, 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", "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 laminar;\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", "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 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\n inlet\n {\n type fixedValue;\n value uniform 1;\n }\n\n outlet\n {\n type zeroGradient;\n }\n\n bottom\n {\n type symmetryPlane;\n }\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 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\n inlet\n {\n type fixedValue;\n value uniform (3.5 0 0);\n }\n\n outlet\n {\n type zeroGradient;\n }\n\n bottom\n {\n type symmetryPlane;\n }\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 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 2.0;\n }\n\n inlet\n {\n type fixedValue;\n value uniform 1;\n }\n\n outlet\n {\n type zeroGradient;\n }\n\n bottom\n {\n type symmetryPlane;\n }\n\n frontAndBack\n {\n type empty;\n }\n}\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.*\"\n {\n solver smoothSolver;\n smoother GaussSeidel;\n nSweeps 2;\n tolerance 1e-09;\n relTol 0.01;\n }\n\n \"e.*\"\n {\n $U;\n tolerance 1e-10;\n relTol 0;\n }\n}\n\n\n\nPIMPLE\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 rhoCentralFoam;\nsolver shockFluid;\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 10;\n\ndeltaT 0.0025;\n\nwriteControl adjustableRunTime;\n\nwriteInterval 1;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\ngraphFormat raw;\n\nrunTimeModifiable true;\n\nadjustTimeStep yes;\n\nmaxCo 0.2;\n\nmaxDeltaT 1;\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\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\nlaplacianSchemes\n{\n default 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\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 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" }, "obliqueShock/2": { "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 (3.0,-0.50632,0.0) m/s. Use an inlet temperature of 1.0 K and top boundary temperature of 1.25853 K, and an inlet pressure of 1.0 Pa. Use normalized thermodynamic properties where molWeight is set to 11640.3, Cp is 2.5, Pr is 1.0, and dynamic viscosity mu is 0. This corresponds to a gas constant R of 0.7143 and a specific heat ratio of 1.4. 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 the shockFluid solver module, 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", "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 laminar;\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", "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 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\n inlet\n {\n type fixedValue;\n value uniform 1;\n }\n\n outlet\n {\n type zeroGradient;\n }\n\n bottom\n {\n type symmetryPlane;\n }\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 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 (3.0 -0.50632 0);\n }\n\n inlet\n {\n type fixedValue;\n value uniform (2.9 0 0);\n }\n\n outlet\n {\n type zeroGradient;\n }\n\n bottom\n {\n type symmetryPlane;\n }\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 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\n inlet\n {\n type fixedValue;\n value uniform 1;\n }\n\n outlet\n {\n type zeroGradient;\n }\n\n bottom\n {\n type symmetryPlane;\n }\n\n frontAndBack\n {\n type empty;\n }\n}\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.*\"\n {\n solver smoothSolver;\n smoother GaussSeidel;\n nSweeps 2;\n tolerance 1e-09;\n relTol 0.01;\n }\n\n \"e.*\"\n {\n $U;\n tolerance 1e-10;\n relTol 0;\n }\n}\n\n\n\nPIMPLE\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 rhoCentralFoam;\nsolver shockFluid;\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 10;\n\ndeltaT 0.0025;\n\nwriteControl adjustableRunTime;\n\nwriteInterval 1;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\ngraphFormat raw;\n\nrunTimeModifiable true;\n\nadjustTimeStep yes;\n\nmaxCo 0.2;\n\nmaxDeltaT 1;\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\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\nlaplacianSchemes\n{\n default 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\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 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" }, "obliqueShock/4": { "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 temperaure of 2.0 K, and an inlet pressure of 1.0 Pa. Use normalized thermodynamic properties where molWeight is set to 11640.3, Cp is 2.5, Pr is 1.0, and dynamic viscosity mu is 0. This corresponds to a gas constant R of 0.7143 and a specific heat ratio of 1.4. 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 the shockFluid solver module, 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", "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 laminar;\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", "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 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\n inlet\n {\n type fixedValue;\n value uniform 1;\n }\n\n outlet\n {\n type zeroGradient;\n }\n\n bottom\n {\n type symmetryPlane;\n }\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 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\n inlet\n {\n type fixedValue;\n value uniform (2.9 0 0);\n }\n\n outlet\n {\n type zeroGradient;\n }\n\n bottom\n {\n type symmetryPlane;\n }\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 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 2.0;\n }\n\n inlet\n {\n type fixedValue;\n value uniform 1;\n }\n\n outlet\n {\n type zeroGradient;\n }\n\n bottom\n {\n type symmetryPlane;\n }\n\n frontAndBack\n {\n type empty;\n }\n}\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.*\"\n {\n solver smoothSolver;\n smoother GaussSeidel;\n nSweeps 2;\n tolerance 1e-09;\n relTol 0.01;\n }\n\n \"e.*\"\n {\n $U;\n tolerance 1e-10;\n relTol 0;\n }\n}\n\n\n\nPIMPLE\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 rhoCentralFoam;\nsolver shockFluid;\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 10;\n\ndeltaT 0.0025;\n\nwriteControl adjustableRunTime;\n\nwriteInterval 1;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\ngraphFormat raw;\n\nrunTimeModifiable true;\n\nadjustTimeStep yes;\n\nmaxCo 0.2;\n\nmaxDeltaT 1;\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\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\nlaplacianSchemes\n{\n default 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\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 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" }, "obliqueShock/1": { "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 normalized thermodynamic properties where molWeight is set to 11640.3, Cp is 2.5, Pr is 1.0, and dynamic viscosity mu is 0. This corresponds to a gas constant R of 0.7143 and a specific heat ratio of 1.4. 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 the shockFluid solver module, 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", "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 laminar;\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", "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 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\n inlet\n {\n type fixedValue;\n value uniform 1;\n }\n\n outlet\n {\n type zeroGradient;\n }\n\n bottom\n {\n type symmetryPlane;\n }\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 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\n inlet\n {\n type fixedValue;\n value uniform (2.9 0 0);\n }\n\n outlet\n {\n type zeroGradient;\n }\n\n bottom\n {\n type symmetryPlane;\n }\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 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\n inlet\n {\n type fixedValue;\n value uniform 1;\n }\n\n outlet\n {\n type zeroGradient;\n }\n\n bottom\n {\n type symmetryPlane;\n }\n\n frontAndBack\n {\n type empty;\n }\n}\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.*\"\n {\n solver smoothSolver;\n smoother GaussSeidel;\n nSweeps 2;\n tolerance 1e-09;\n relTol 0.01;\n }\n\n \"e.*\"\n {\n $U;\n tolerance 1e-10;\n relTol 0;\n }\n}\n\n\n\nPIMPLE\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 rhoCentralFoam;\nsolver shockFluid;\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 10;\n\ndeltaT 0.0025;\n\nwriteControl adjustableRunTime;\n\nwriteInterval 1;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\ngraphFormat raw;\n\nrunTimeModifiable true;\n\nadjustTimeStep yes;\n\nmaxCo 0.2;\n\nmaxDeltaT 1;\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\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\nlaplacianSchemes\n{\n default 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\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 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" }, "obliqueShock/9": { "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 4.0 m/s and top velocity of (3.5,-0.50632,0.0) m/s. Use an inlet temperature of 2.0 K and top boundary temperature of 2.0 K, and an inlet pressure of 1.0 Pa. Use normalized thermodynamic properties where molWeight is set to 11640.3, Cp is 2.5, Pr is 1.0, and dynamic viscosity mu is 0. This corresponds to a gas constant R of 0.7143 and a specific heat ratio of 1.4. 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 the shockFluid solver module, 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", "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 laminar;\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", "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 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\n inlet\n {\n type fixedValue;\n value uniform 1;\n }\n\n outlet\n {\n type zeroGradient;\n }\n\n bottom\n {\n type symmetryPlane;\n }\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 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 (3.5 -0.50632 0);\n }\n\n inlet\n {\n type fixedValue;\n value uniform (4.0 0 0);\n }\n\n outlet\n {\n type zeroGradient;\n }\n\n bottom\n {\n type symmetryPlane;\n }\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 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 2.0;\n }\n\n inlet\n {\n type fixedValue;\n value uniform 2.0;\n }\n\n outlet\n {\n type zeroGradient;\n }\n\n bottom\n {\n type symmetryPlane;\n }\n\n frontAndBack\n {\n type empty;\n }\n}\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.*\"\n {\n solver smoothSolver;\n smoother GaussSeidel;\n nSweeps 2;\n tolerance 1e-09;\n relTol 0.01;\n }\n\n \"e.*\"\n {\n $U;\n tolerance 1e-10;\n relTol 0;\n }\n}\n\n\n\nPIMPLE\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 rhoCentralFoam;\nsolver shockFluid;\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 10;\n\ndeltaT 0.0025;\n\nwriteControl adjustableRunTime;\n\nwriteInterval 1;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\ngraphFormat raw;\n\nrunTimeModifiable true;\n\nadjustTimeStep yes;\n\nmaxCo 0.2;\n\nmaxDeltaT 1;\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\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\nlaplacianSchemes\n{\n default 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\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 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" }, "obliqueShock/10": { "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 4.0 m/s and top velocity of (4.0,-0.50632,0.0) m/s. Use an inlet temperature of 2.0 K and top boundary temperature of 2.0 K, and an inlet pressure of 1.0 Pa. Use normalized thermodynamic properties where molWeight is set to 11640.3, Cp is 2.5, Pr is 1.0, and dynamic viscosity mu is 0. This corresponds to a gas constant R of 0.7143 and a specific heat ratio of 1.4. 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 the shockFluid solver module, 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", "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 laminar;\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", "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 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\n inlet\n {\n type fixedValue;\n value uniform 1;\n }\n\n outlet\n {\n type zeroGradient;\n }\n\n bottom\n {\n type symmetryPlane;\n }\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 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 (4.0 -0.50632 0);\n }\n\n inlet\n {\n type fixedValue;\n value uniform (4.0 0 0);\n }\n\n outlet\n {\n type zeroGradient;\n }\n\n bottom\n {\n type symmetryPlane;\n }\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 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 2.0;\n }\n\n inlet\n {\n type fixedValue;\n value uniform 2.0;\n }\n\n outlet\n {\n type zeroGradient;\n }\n\n bottom\n {\n type symmetryPlane;\n }\n\n frontAndBack\n {\n type empty;\n }\n}\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.*\"\n {\n solver smoothSolver;\n smoother GaussSeidel;\n nSweeps 2;\n tolerance 1e-09;\n relTol 0.01;\n }\n\n \"e.*\"\n {\n $U;\n tolerance 1e-10;\n relTol 0;\n }\n}\n\n\n\nPIMPLE\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 rhoCentralFoam;\nsolver shockFluid;\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 10;\n\ndeltaT 0.0025;\n\nwriteControl adjustableRunTime;\n\nwriteInterval 1;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\ngraphFormat raw;\n\nrunTimeModifiable true;\n\nadjustTimeStep yes;\n\nmaxCo 0.2;\n\nmaxDeltaT 1;\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\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\nlaplacianSchemes\n{\n default 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\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 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" }, "obliqueShock/8": { "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 2.0 K, and an inlet pressure of 1.0 Pa. Use normalized thermodynamic properties where molWeight is set to 11640.3, Cp is 2.5, Pr is 1.0, and dynamic viscosity mu is 0. This corresponds to a gas constant R of 0.7143 and a specific heat ratio of 1.4. 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 the shockFluid solver module, 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", "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 laminar;\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", "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 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\n inlet\n {\n type fixedValue;\n value uniform 1;\n }\n\n outlet\n {\n type zeroGradient;\n }\n\n bottom\n {\n type symmetryPlane;\n }\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 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 (3.5 -0.50632 0);\n }\n\n inlet\n {\n type fixedValue;\n value uniform (4.0 0 0);\n }\n\n outlet\n {\n type zeroGradient;\n }\n\n bottom\n {\n type symmetryPlane;\n }\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 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 2.0;\n }\n\n inlet\n {\n type fixedValue;\n value uniform 1;\n }\n\n outlet\n {\n type zeroGradient;\n }\n\n bottom\n {\n type symmetryPlane;\n }\n\n frontAndBack\n {\n type empty;\n }\n}\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.*\"\n {\n solver smoothSolver;\n smoother GaussSeidel;\n nSweeps 2;\n tolerance 1e-09;\n relTol 0.01;\n }\n\n \"e.*\"\n {\n $U;\n tolerance 1e-10;\n relTol 0;\n }\n}\n\n\n\nPIMPLE\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 rhoCentralFoam;\nsolver shockFluid;\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 10;\n\ndeltaT 0.0025;\n\nwriteControl adjustableRunTime;\n\nwriteInterval 1;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\ngraphFormat raw;\n\nrunTimeModifiable true;\n\nadjustTimeStep yes;\n\nmaxCo 0.2;\n\nmaxDeltaT 1;\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\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\nlaplacianSchemes\n{\n default 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\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 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" }, "squareBend/7": { "usr_requirement": "Conduct a 3D squarebend flow simulation using OpenFOAM. The computational domain includes multiple regions, with vertices defined as inlet points at (-50, 25, 25) and (-50, 25, -25), outlet points at (-500, -75, 25) and (-500, -75, -25), and mid-bend points like (25, 0, 25) and (25, 0, -25). Follow the same geomtery as the tutorial. Use a start time of 0 seconds, an end time of 500 seconds, a time step of 1 second, and write results every 100 seconds. Use a massflow rate inlet of 0.5 with turbulentBL profile. Outlet is pressureInletOutletVelocity. Temperature has an inlet value of 1100. Pressure inlet has a value of 110000. use kepsilon turbulence model. Use rhoSimpleFoam solver. Use Pr value of 0.71. Use mu value of 5.0e-5. Use OpenFOAM-13 with the fluid solver module, corresponding to the legacy rhoSimpleFoam 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=\"fluid\"\n\nrunApplication blockMesh\nrunApplication foamRun -solver $solver\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\n turbulence on;\n\n printCoeffs on;\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 sensibleEnthalpy;\n}\n\nmixture\n{\n specie\n {\n molWeight 28.9;\n }\n thermodynamics\n {\n Cp 1005;\n Hf 0;\n }\n transport\n {\n mu 5e-05;\n Pr 0.71;\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 object p;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [1 -1 -2 0 0 0 0];\n\ninternalField uniform 110000;\n\nboundaryField\n{\n walls\n {\n type zeroGradient;\n }\n inlet\n {\n type zeroGradient;\n // type mixed;\n refValue uniform 110000;\n refGradient uniform 0;\n valueFraction uniform 0.3;\n }\n outlet\n {\n type fixedValue;\n value uniform 110000;\n\n // type mixed;\n // refValue uniform 110000;\n // refGradient uniform 0;\n // valueFraction uniform 1;\n // type transonicOutletPressure;\n // U U;\n // phi phi;\n // gamma 1.4;\n // psi psi;\n // pInf uniform 110000;\n }\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 200;\n\nboundaryField\n{\n walls\n {\n type epsilonWallFunction;\n Cmu 0.09;\n kappa 0.41;\n E 9.8;\n value uniform 200;\n }\n inlet\n {\n type turbulentMixingLengthDissipationRateInlet;\n mixingLength 0.005;\n value uniform 200;\n }\n outlet\n {\n type inletOutlet;\n inletValue uniform 200;\n value uniform 200;\n }\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 1;\n\nboundaryField\n{\n walls\n {\n type kqRWallFunction;\n value uniform 1;\n }\n inlet\n {\n type turbulentIntensityKineticEnergyInlet;\n intensity 0.05;\n value uniform 1;\n }\n outlet\n {\n type inletOutlet;\n inletValue uniform 1;\n value uniform 1;\n }\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 object U;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -1 0 0 0 0];\n\ninternalField uniform (0 0 0);\n\nboundaryField\n{\n walls\n {\n type noSlip;\n }\n\n inlet\n {\n type flowRateInletVelocity;\n massFlowRate constant 0.5;\n rhoInlet 0.5; // Guess for rho\n profile turbulentBL;\n }\n\n outlet\n {\n type pressureInletOutletVelocity;\n value uniform (0 0 0);\n }\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 walls\n {\n type nutkWallFunction;\n Cmu 0.09;\n kappa 0.41;\n E 9.8;\n value uniform 0;\n }\n inlet\n {\n type calculated;\n value uniform 0;\n }\n outlet\n {\n type calculated;\n value uniform 0;\n }\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 object T;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 0 0 1 0 0 0];\n\ninternalField uniform 1000;\n\nboundaryField\n{\n walls\n {\n type zeroGradient;\n }\n\n inlet\n {\n type fixedValue;\n value uniform 1100;\n }\n\n outlet\n {\n type inletOutlet;\n // type zeroGradient;\n value uniform 1000;\n inletValue uniform 1000;\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 walls\n {\n type compressible::alphatWallFunction;\n Prt 0.85;\n value uniform 0;\n }\n inlet\n {\n type calculated;\n value uniform 0;\n }\n outlet\n {\n type calculated;\n value uniform 0;\n }\n}\n\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 DILU;\n\n tolerance 1e-08;\n relTol 0.1;\n }\n\n \"(U|h|k|epsilon)\"\n {\n solver PBiCGStab;\n preconditioner DILU;\n\n tolerance 1e-08;\n relTol 0.1;\n }\n}\n\nSIMPLE\n{\n nNonOrthogonalCorrectors 0;\n\n transonic yes;\n consistent yes;\n\n residualControl\n {\n p 1e-3;\n U 1e-4;\n h 1e-3;\n \"(k|epsilon)\" 1e-3;\n }\n}\n\nrelaxationFactors\n{\n fields\n {\n p 1;\n }\n\n equations\n {\n p 1;\n U 0.9;\n h 0.9;\n k 0.9;\n epsilon 0.9;\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 rhoSimpleFoam;\nsolver fluid;\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 500;\n\ndeltaT 0.5;\n\nwriteControl timeStep;\n\nwriteInterval 100;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\ngraphFormat raw;\n\nrunTimeModifiable true;\n\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 8;\n\nmethod hierarchical;\n\nsimpleCoeffs\n{\n n (8 1 1);\n}\n\nhierarchicalCoeffs\n{\n n (4 2 1);\n order xyz;\n}\n\nmanualCoeffs\n{\n dataFile \"\";\n}\n\ndistributed no;\n\nroots ( );\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 steadyState;\n}\n\ngradSchemes\n{\n default Gauss linear;\n}\n\ndivSchemes\n{\n default none;\n\n div(phi,U) bounded Gauss upwind;\n div(phi,h) bounded Gauss upwind;\n\n div(phi,epsilon) bounded Gauss upwind;\n div(phi,k) bounded Gauss upwind;\n\n div(phi,K) bounded Gauss upwind;\n\n div(phid,p) Gauss upwind;\n\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\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 object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nconvertToMeters 0.001;\n\nvertices\n(\n // front-plane: z = +25mm\n // inlet region\n ( -50 25 25) // pt 0\n ( 0 25 25) // pt 1\n ( -50 75 25) // pt 2\n ( 0 75 25) // pt 3\n // outlet region\n ( -500 -75 25) // pt 4\n ( 0 -75 25) // pt 5\n ( -500 -25 25) // pt 6\n ( 0 -25 25) // pt 7\n // bend mid-points\n ( 25 0 25) // pt 8\n ( 75 0 25) // pt 9\n // back-plane: z = -25mm\n // inlet region\n ( -50 25 -25) // pt 0 + 10\n ( 0 25 -25) // pt 1 + 10\n ( -50 75 -25) // pt 2 + 10\n ( 0 75 -25) // pt 3 + 10\n // outlet region\n ( -500 -75 -25) // pt 4 + 10\n ( 0 -75 -25) // pt 5 + 10\n ( -500 -25 -25) // pt 7 + 10\n ( 0 -25 -25) // pt 8 + 10\n // bend mid-points\n ( 25 0 -25) // pt 8 + 10\n ( 75 0 -25) // pt 9 + 10\n);\n\nblocks\n(\n hex (0 1 11 10 2 3 13 12) inlet ( 20 20 20) simpleGrading (1 1 1)\n hex (4 5 15 14 6 7 17 16) outlet (200 20 20) simpleGrading (1 1 1)\n\n hex (1 8 18 11 3 9 19 13) bend1 ( 30 20 20) simpleGrading (1 1 1)\n hex (5 9 19 15 7 8 18 17) bend2 ( 30 20 20) simpleGrading (1 1 1)\n);\n\nedges\n(\n // block 2\n arc 1 8 ( 17.678 17.678 25)\n arc 11 18 ( 17.678 17.678 -25)\n arc 3 9 ( 53.033 53.033 25)\n arc 13 19 ( 53.033 53.033 -25)\n // block 3\n arc 7 8 ( 17.678 -17.678 25)\n arc 17 18 ( 17.678 -17.678 -25)\n arc 5 9 ( 53.033 -53.033 25)\n arc 15 19 ( 53.033 -53.033 -25)\n);\nboundary\n(\n inlet\n {\n type patch;\n faces\n (\n (0 2 12 10)\n );\n }\n\n outlet\n {\n type patch;\n faces\n (\n (4 6 16 14)\n );\n }\n walls\n {\n type wall;\n faces\n (\n(0 1 3 2)\n (10 12 13 11)\n (0 10 11 1)\n (2 3 13 12)\n (4 5 7 6)\n (14 16 17 15)\n (4 14 15 5)\n (6 7 17 16)\n (1 8 9 3)\n (11 13 19 18)\n (1 11 18 8)\n (3 9 19 13)\n (5 9 8 7)\n (15 17 18 19)\n (5 15 19 9)\n (7 8 18 17)\n );\n }\n\n);\n\n// ************************************************************************* //\n", "system/fvConstraints": "/*--------------------------------*- 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 object fvConstraints;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nlimitp\n{\n type limitPressure;\n\n minFactor 0.1;\n maxFactor 2;\n}\n\n// ************************************************************************* //\n" }, "squareBend/6": { "usr_requirement": "Conduct a 3D squarebend flow simulation using OpenFOAM. The computational domain includes multiple regions, with vertices defined as inlet points at (-50, 25, 25) and (-50, 25, -25), outlet points at (-500, -75, 25) and (-500, -75, -25), and mid-bend points like (25, 0, 25) and (25, 0, -25). Follow the same geomtery as the tutorial. Use a start time of 0 seconds, an end time of 500 seconds, a time step of 1 second, and write results every 100 seconds. Use a massflow rate inlet of 0.5 with turbulentBL profile. Outlet is pressureInletOutletVelocity. Temperature has an inlet value of 1100. Pressure inlet has a value of 110000. use kepsilon turbulence model. Use rhoSimpleFoam solver. Use Pr value of 1.0. Use mu value of 2.5e-5. Use OpenFOAM-13 with the fluid solver module, corresponding to the legacy rhoSimpleFoam 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=\"fluid\"\n\nrunApplication blockMesh\nrunApplication foamRun -solver $solver\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\n turbulence on;\n\n printCoeffs on;\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 sensibleEnthalpy;\n}\n\nmixture\n{\n specie\n {\n molWeight 28.9;\n }\n thermodynamics\n {\n Cp 1005;\n Hf 0;\n }\n transport\n {\n mu 2.5e-05;\n Pr 1.0;\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 object p;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [1 -1 -2 0 0 0 0];\n\ninternalField uniform 110000;\n\nboundaryField\n{\n walls\n {\n type zeroGradient;\n }\n inlet\n {\n type zeroGradient;\n // type mixed;\n refValue uniform 110000;\n refGradient uniform 0;\n valueFraction uniform 0.3;\n }\n outlet\n {\n type fixedValue;\n value uniform 110000;\n\n // type mixed;\n // refValue uniform 110000;\n // refGradient uniform 0;\n // valueFraction uniform 1;\n // type transonicOutletPressure;\n // U U;\n // phi phi;\n // gamma 1.4;\n // psi psi;\n // pInf uniform 110000;\n }\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 200;\n\nboundaryField\n{\n walls\n {\n type epsilonWallFunction;\n Cmu 0.09;\n kappa 0.41;\n E 9.8;\n value uniform 200;\n }\n inlet\n {\n type turbulentMixingLengthDissipationRateInlet;\n mixingLength 0.005;\n value uniform 200;\n }\n outlet\n {\n type inletOutlet;\n inletValue uniform 200;\n value uniform 200;\n }\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 1;\n\nboundaryField\n{\n walls\n {\n type kqRWallFunction;\n value uniform 1;\n }\n inlet\n {\n type turbulentIntensityKineticEnergyInlet;\n intensity 0.05;\n value uniform 1;\n }\n outlet\n {\n type inletOutlet;\n inletValue uniform 1;\n value uniform 1;\n }\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 object U;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -1 0 0 0 0];\n\ninternalField uniform (0 0 0);\n\nboundaryField\n{\n walls\n {\n type noSlip;\n }\n\n inlet\n {\n type flowRateInletVelocity;\n massFlowRate constant 0.5;\n rhoInlet 0.5; // Guess for rho\n profile turbulentBL;\n }\n\n outlet\n {\n type pressureInletOutletVelocity;\n value uniform (0 0 0);\n }\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 walls\n {\n type nutkWallFunction;\n Cmu 0.09;\n kappa 0.41;\n E 9.8;\n value uniform 0;\n }\n inlet\n {\n type calculated;\n value uniform 0;\n }\n outlet\n {\n type calculated;\n value uniform 0;\n }\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 object T;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 0 0 1 0 0 0];\n\ninternalField uniform 1000;\n\nboundaryField\n{\n walls\n {\n type zeroGradient;\n }\n\n inlet\n {\n type fixedValue;\n value uniform 1100;\n }\n\n outlet\n {\n type inletOutlet;\n // type zeroGradient;\n value uniform 1000;\n inletValue uniform 1000;\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 walls\n {\n type compressible::alphatWallFunction;\n Prt 0.85;\n value uniform 0;\n }\n inlet\n {\n type calculated;\n value uniform 0;\n }\n outlet\n {\n type calculated;\n value uniform 0;\n }\n}\n\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 DILU;\n\n tolerance 1e-08;\n relTol 0.1;\n }\n\n \"(U|h|k|epsilon)\"\n {\n solver PBiCGStab;\n preconditioner DILU;\n\n tolerance 1e-08;\n relTol 0.1;\n }\n}\n\nSIMPLE\n{\n nNonOrthogonalCorrectors 0;\n\n transonic yes;\n consistent yes;\n\n residualControl\n {\n p 1e-3;\n U 1e-4;\n h 1e-3;\n \"(k|epsilon)\" 1e-3;\n }\n}\n\nrelaxationFactors\n{\n fields\n {\n p 1;\n }\n\n equations\n {\n p 1;\n U 0.9;\n h 0.9;\n k 0.9;\n epsilon 0.9;\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 rhoSimpleFoam;\nsolver fluid;\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 500;\n\ndeltaT 1;\n\nwriteControl timeStep;\n\nwriteInterval 100;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\ngraphFormat raw;\n\nrunTimeModifiable true;\n\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 8;\n\nmethod hierarchical;\n\nsimpleCoeffs\n{\n n (8 1 1);\n}\n\nhierarchicalCoeffs\n{\n n (4 2 1);\n order xyz;\n}\n\nmanualCoeffs\n{\n dataFile \"\";\n}\n\ndistributed no;\n\nroots ( );\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 steadyState;\n}\n\ngradSchemes\n{\n default Gauss linear;\n}\n\ndivSchemes\n{\n default none;\n\n div(phi,U) bounded Gauss upwind;\n div(phi,h) bounded Gauss upwind;\n\n div(phi,epsilon) bounded Gauss upwind;\n div(phi,k) bounded Gauss upwind;\n\n div(phi,K) bounded Gauss upwind;\n\n div(phid,p) Gauss upwind;\n\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\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 object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nconvertToMeters 0.001;\n\nvertices\n(\n // front-plane: z = +25mm\n // inlet region\n ( -50 25 25) // pt 0\n ( 0 25 25) // pt 1\n ( -50 75 25) // pt 2\n ( 0 75 25) // pt 3\n // outlet region\n ( -500 -75 25) // pt 4\n ( 0 -75 25) // pt 5\n ( -500 -25 25) // pt 6\n ( 0 -25 25) // pt 7\n // bend mid-points\n ( 25 0 25) // pt 8\n ( 75 0 25) // pt 9\n // back-plane: z = -25mm\n // inlet region\n ( -50 25 -25) // pt 0 + 10\n ( 0 25 -25) // pt 1 + 10\n ( -50 75 -25) // pt 2 + 10\n ( 0 75 -25) // pt 3 + 10\n // outlet region\n ( -500 -75 -25) // pt 4 + 10\n ( 0 -75 -25) // pt 5 + 10\n ( -500 -25 -25) // pt 7 + 10\n ( 0 -25 -25) // pt 8 + 10\n // bend mid-points\n ( 25 0 -25) // pt 8 + 10\n ( 75 0 -25) // pt 9 + 10\n);\n\nblocks\n(\n hex (0 1 11 10 2 3 13 12) inlet ( 20 20 20) simpleGrading (1 1 1)\n hex (4 5 15 14 6 7 17 16) outlet (200 20 20) simpleGrading (1 1 1)\n\n hex (1 8 18 11 3 9 19 13) bend1 ( 30 20 20) simpleGrading (1 1 1)\n hex (5 9 19 15 7 8 18 17) bend2 ( 30 20 20) simpleGrading (1 1 1)\n);\n\nedges\n(\n // block 2\n arc 1 8 ( 17.678 17.678 25)\n arc 11 18 ( 17.678 17.678 -25)\n arc 3 9 ( 53.033 53.033 25)\n arc 13 19 ( 53.033 53.033 -25)\n // block 3\n arc 7 8 ( 17.678 -17.678 25)\n arc 17 18 ( 17.678 -17.678 -25)\n arc 5 9 ( 53.033 -53.033 25)\n arc 15 19 ( 53.033 -53.033 -25)\n);\nboundary\n(\n inlet\n {\n type patch;\n faces\n (\n (0 2 12 10)\n );\n }\n\n outlet\n {\n type patch;\n faces\n (\n (4 6 16 14)\n );\n }\n walls\n {\n type wall;\n faces\n (\n(0 1 3 2)\n (10 12 13 11)\n (0 10 11 1)\n (2 3 13 12)\n (4 5 7 6)\n (14 16 17 15)\n (4 14 15 5)\n (6 7 17 16)\n (1 8 9 3)\n (11 13 19 18)\n (1 11 18 8)\n (3 9 19 13)\n (5 9 8 7)\n (15 17 18 19)\n (5 15 19 9)\n (7 8 18 17)\n );\n }\n\n);\n\n// ************************************************************************* //\n", "system/fvConstraints": "/*--------------------------------*- 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 object fvConstraints;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nlimitp\n{\n type limitPressure;\n\n minFactor 0.1;\n maxFactor 2;\n}\n\n// ************************************************************************* //\n" }, "squareBend/3": { "usr_requirement": "Conduct a 3D squarebend flow simulation using OpenFOAM. The computational domain includes multiple regions, with vertices defined as inlet points at (-50, 25, 25) and (-50, 25, -25), outlet points at (-500, -75, 25) and (-500, -75, -25), and mid-bend points like (25, 0, 25) and (25, 0, -25). Follow the same geomtery as the tutorial. Use a start time of 0 seconds, an end time of 500 seconds, a time step of 1 second, and write results every 100 seconds. Use a massflow rate inlet of 0.5 with turbulentBL profile. Outlet is pressureInletOutletVelocity. Temperature has an inlet value of 1000. Pressure inlet has a value of 110000. use kepsilon turbulence model. Use rhoSimpleFoam solver. Use Pr value of 1.0. Use OpenFOAM-13 with the fluid solver module, corresponding to the legacy rhoSimpleFoam 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=\"fluid\"\n\nrunApplication blockMesh\nrunApplication foamRun -solver $solver\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\n turbulence on;\n\n printCoeffs on;\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 sensibleEnthalpy;\n}\n\nmixture\n{\n specie\n {\n molWeight 28.9;\n }\n thermodynamics\n {\n Cp 1005;\n Hf 0;\n }\n transport\n {\n mu 1.82e-05;\n Pr 1.0;\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 object p;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [1 -1 -2 0 0 0 0];\n\ninternalField uniform 110000;\n\nboundaryField\n{\n walls\n {\n type zeroGradient;\n }\n inlet\n {\n type zeroGradient;\n // type mixed;\n refValue uniform 110000;\n refGradient uniform 0;\n valueFraction uniform 0.3;\n }\n outlet\n {\n type fixedValue;\n value uniform 110000;\n\n // type mixed;\n // refValue uniform 110000;\n // refGradient uniform 0;\n // valueFraction uniform 1;\n // type transonicOutletPressure;\n // U U;\n // phi phi;\n // gamma 1.4;\n // psi psi;\n // pInf uniform 110000;\n }\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 200;\n\nboundaryField\n{\n walls\n {\n type epsilonWallFunction;\n Cmu 0.09;\n kappa 0.41;\n E 9.8;\n value uniform 200;\n }\n inlet\n {\n type turbulentMixingLengthDissipationRateInlet;\n mixingLength 0.005;\n value uniform 200;\n }\n outlet\n {\n type inletOutlet;\n inletValue uniform 200;\n value uniform 200;\n }\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 1;\n\nboundaryField\n{\n walls\n {\n type kqRWallFunction;\n value uniform 1;\n }\n inlet\n {\n type turbulentIntensityKineticEnergyInlet;\n intensity 0.05;\n value uniform 1;\n }\n outlet\n {\n type inletOutlet;\n inletValue uniform 1;\n value uniform 1;\n }\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 object U;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -1 0 0 0 0];\n\ninternalField uniform (0 0 0);\n\nboundaryField\n{\n walls\n {\n type noSlip;\n }\n\n inlet\n {\n type flowRateInletVelocity;\n massFlowRate constant 0.5;\n rhoInlet 0.5; // Guess for rho\n profile turbulentBL;\n }\n\n outlet\n {\n type pressureInletOutletVelocity;\n value uniform (0 0 0);\n }\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 walls\n {\n type nutkWallFunction;\n Cmu 0.09;\n kappa 0.41;\n E 9.8;\n value uniform 0;\n }\n inlet\n {\n type calculated;\n value uniform 0;\n }\n outlet\n {\n type calculated;\n value uniform 0;\n }\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 object T;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 0 0 1 0 0 0];\n\ninternalField uniform 1000;\n\nboundaryField\n{\n walls\n {\n type zeroGradient;\n }\n\n inlet\n {\n type fixedValue;\n value uniform 1000;\n }\n\n outlet\n {\n type inletOutlet;\n // type zeroGradient;\n value uniform 1000;\n inletValue uniform 1000;\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 walls\n {\n type compressible::alphatWallFunction;\n Prt 0.85;\n value uniform 0;\n }\n inlet\n {\n type calculated;\n value uniform 0;\n }\n outlet\n {\n type calculated;\n value uniform 0;\n }\n}\n\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 DILU;\n\n tolerance 1e-08;\n relTol 0.1;\n }\n\n \"(U|h|k|epsilon)\"\n {\n solver PBiCGStab;\n preconditioner DILU;\n\n tolerance 1e-08;\n relTol 0.1;\n }\n}\n\nSIMPLE\n{\n nNonOrthogonalCorrectors 0;\n\n transonic yes;\n consistent yes;\n\n residualControl\n {\n p 1e-3;\n U 1e-4;\n h 1e-3;\n \"(k|epsilon)\" 1e-3;\n }\n}\n\nrelaxationFactors\n{\n fields\n {\n p 1;\n }\n\n equations\n {\n p 1;\n U 0.9;\n h 0.9;\n k 0.9;\n epsilon 0.9;\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 rhoSimpleFoam;\nsolver fluid;\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 500;\n\ndeltaT 1;\n\nwriteControl timeStep;\n\nwriteInterval 100;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\ngraphFormat raw;\n\nrunTimeModifiable true;\n\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 8;\n\nmethod hierarchical;\n\nsimpleCoeffs\n{\n n (8 1 1);\n}\n\nhierarchicalCoeffs\n{\n n (4 2 1);\n order xyz;\n}\n\nmanualCoeffs\n{\n dataFile \"\";\n}\n\ndistributed no;\n\nroots ( );\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 steadyState;\n}\n\ngradSchemes\n{\n default Gauss linear;\n}\n\ndivSchemes\n{\n default none;\n\n div(phi,U) bounded Gauss upwind;\n div(phi,h) bounded Gauss upwind;\n\n div(phi,epsilon) bounded Gauss upwind;\n div(phi,k) bounded Gauss upwind;\n\n div(phi,K) bounded Gauss upwind;\n\n div(phid,p) Gauss upwind;\n\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\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 object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nconvertToMeters 0.001;\n\nvertices\n(\n // front-plane: z = +25mm\n // inlet region\n ( -50 25 25) // pt 0\n ( 0 25 25) // pt 1\n ( -50 75 25) // pt 2\n ( 0 75 25) // pt 3\n // outlet region\n ( -500 -75 25) // pt 4\n ( 0 -75 25) // pt 5\n ( -500 -25 25) // pt 6\n ( 0 -25 25) // pt 7\n // bend mid-points\n ( 25 0 25) // pt 8\n ( 75 0 25) // pt 9\n // back-plane: z = -25mm\n // inlet region\n ( -50 25 -25) // pt 0 + 10\n ( 0 25 -25) // pt 1 + 10\n ( -50 75 -25) // pt 2 + 10\n ( 0 75 -25) // pt 3 + 10\n // outlet region\n ( -500 -75 -25) // pt 4 + 10\n ( 0 -75 -25) // pt 5 + 10\n ( -500 -25 -25) // pt 7 + 10\n ( 0 -25 -25) // pt 8 + 10\n // bend mid-points\n ( 25 0 -25) // pt 8 + 10\n ( 75 0 -25) // pt 9 + 10\n);\n\nblocks\n(\n hex (0 1 11 10 2 3 13 12) inlet ( 20 20 20) simpleGrading (1 1 1)\n hex (4 5 15 14 6 7 17 16) outlet (200 20 20) simpleGrading (1 1 1)\n\n hex (1 8 18 11 3 9 19 13) bend1 ( 30 20 20) simpleGrading (1 1 1)\n hex (5 9 19 15 7 8 18 17) bend2 ( 30 20 20) simpleGrading (1 1 1)\n);\n\nedges\n(\n // block 2\n arc 1 8 ( 17.678 17.678 25)\n arc 11 18 ( 17.678 17.678 -25)\n arc 3 9 ( 53.033 53.033 25)\n arc 13 19 ( 53.033 53.033 -25)\n // block 3\n arc 7 8 ( 17.678 -17.678 25)\n arc 17 18 ( 17.678 -17.678 -25)\n arc 5 9 ( 53.033 -53.033 25)\n arc 15 19 ( 53.033 -53.033 -25)\n);\nboundary\n(\n inlet\n {\n type patch;\n faces\n (\n (0 2 12 10)\n );\n }\n\n outlet\n {\n type patch;\n faces\n (\n (4 6 16 14)\n );\n }\n walls\n {\n type wall;\n faces\n (\n(0 1 3 2)\n (10 12 13 11)\n (0 10 11 1)\n (2 3 13 12)\n (4 5 7 6)\n (14 16 17 15)\n (4 14 15 5)\n (6 7 17 16)\n (1 8 9 3)\n (11 13 19 18)\n (1 11 18 8)\n (3 9 19 13)\n (5 9 8 7)\n (15 17 18 19)\n (5 15 19 9)\n (7 8 18 17)\n );\n }\n\n);\n\n// ************************************************************************* //\n", "system/fvConstraints": "/*--------------------------------*- 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 object fvConstraints;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nlimitp\n{\n type limitPressure;\n\n minFactor 0.1;\n maxFactor 2;\n}\n\n// ************************************************************************* //\n" }, "squareBend/5": { "usr_requirement": "Conduct a 3D squarebend flow simulation using OpenFOAM. The computational domain includes multiple regions, with vertices defined as inlet points at (-50, 25, 25) and (-50, 25, -25), outlet points at (-500, -75, 25) and (-500, -75, -25), and mid-bend points like (25, 0, 25) and (25, 0, -25). Follow the same geomtery as the tutorial. Use a start time of 0 seconds, an end time of 500 seconds, a time step of 1 second, and write results every 100 seconds. Use a massflow rate inlet of 0.5 with turbulentBL profile. Outlet is pressureInletOutletVelocity. Temperature has an inlet value of 1000. Pressure inlet has a value of 110000. use kepsilon turbulence model. Use rhoSimpleFoam solver. Use Pr value of 1.0. Use mu value of 2.5e-5. Use OpenFOAM-13 with the fluid solver module, corresponding to the legacy rhoSimpleFoam 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=\"fluid\"\n\nrunApplication blockMesh\nrunApplication foamRun -solver $solver\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\n turbulence on;\n\n printCoeffs on;\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 sensibleEnthalpy;\n}\n\nmixture\n{\n specie\n {\n molWeight 28.9;\n }\n thermodynamics\n {\n Cp 1005;\n Hf 0;\n }\n transport\n {\n mu 2.5e-05;\n Pr 1.0;\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 object p;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [1 -1 -2 0 0 0 0];\n\ninternalField uniform 110000;\n\nboundaryField\n{\n walls\n {\n type zeroGradient;\n }\n inlet\n {\n type zeroGradient;\n // type mixed;\n refValue uniform 110000;\n refGradient uniform 0;\n valueFraction uniform 0.3;\n }\n outlet\n {\n type fixedValue;\n value uniform 110000;\n\n // type mixed;\n // refValue uniform 110000;\n // refGradient uniform 0;\n // valueFraction uniform 1;\n // type transonicOutletPressure;\n // U U;\n // phi phi;\n // gamma 1.4;\n // psi psi;\n // pInf uniform 110000;\n }\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 200;\n\nboundaryField\n{\n walls\n {\n type epsilonWallFunction;\n Cmu 0.09;\n kappa 0.41;\n E 9.8;\n value uniform 200;\n }\n inlet\n {\n type turbulentMixingLengthDissipationRateInlet;\n mixingLength 0.005;\n value uniform 200;\n }\n outlet\n {\n type inletOutlet;\n inletValue uniform 200;\n value uniform 200;\n }\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 1;\n\nboundaryField\n{\n walls\n {\n type kqRWallFunction;\n value uniform 1;\n }\n inlet\n {\n type turbulentIntensityKineticEnergyInlet;\n intensity 0.05;\n value uniform 1;\n }\n outlet\n {\n type inletOutlet;\n inletValue uniform 1;\n value uniform 1;\n }\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 object U;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -1 0 0 0 0];\n\ninternalField uniform (0 0 0);\n\nboundaryField\n{\n walls\n {\n type noSlip;\n }\n\n inlet\n {\n type flowRateInletVelocity;\n massFlowRate constant 0.5;\n rhoInlet 0.5; // Guess for rho\n profile turbulentBL;\n }\n\n outlet\n {\n type pressureInletOutletVelocity;\n value uniform (0 0 0);\n }\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 walls\n {\n type nutkWallFunction;\n Cmu 0.09;\n kappa 0.41;\n E 9.8;\n value uniform 0;\n }\n inlet\n {\n type calculated;\n value uniform 0;\n }\n outlet\n {\n type calculated;\n value uniform 0;\n }\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 object T;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 0 0 1 0 0 0];\n\ninternalField uniform 1000;\n\nboundaryField\n{\n walls\n {\n type zeroGradient;\n }\n\n inlet\n {\n type fixedValue;\n value uniform 1000;\n }\n\n outlet\n {\n type inletOutlet;\n // type zeroGradient;\n value uniform 1000;\n inletValue uniform 1000;\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 walls\n {\n type compressible::alphatWallFunction;\n Prt 0.85;\n value uniform 0;\n }\n inlet\n {\n type calculated;\n value uniform 0;\n }\n outlet\n {\n type calculated;\n value uniform 0;\n }\n}\n\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 DILU;\n\n tolerance 1e-08;\n relTol 0.1;\n }\n\n \"(U|h|k|epsilon)\"\n {\n solver PBiCGStab;\n preconditioner DILU;\n\n tolerance 1e-08;\n relTol 0.1;\n }\n}\n\nSIMPLE\n{\n nNonOrthogonalCorrectors 0;\n\n transonic yes;\n consistent yes;\n\n residualControl\n {\n p 1e-3;\n U 1e-4;\n h 1e-3;\n \"(k|epsilon)\" 1e-3;\n }\n}\n\nrelaxationFactors\n{\n fields\n {\n p 1;\n }\n\n equations\n {\n p 1;\n U 0.9;\n h 0.9;\n k 0.9;\n epsilon 0.9;\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 rhoSimpleFoam;\nsolver fluid;\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 500;\n\ndeltaT 1;\n\nwriteControl timeStep;\n\nwriteInterval 100;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\ngraphFormat raw;\n\nrunTimeModifiable true;\n\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 8;\n\nmethod hierarchical;\n\nsimpleCoeffs\n{\n n (8 1 1);\n}\n\nhierarchicalCoeffs\n{\n n (4 2 1);\n order xyz;\n}\n\nmanualCoeffs\n{\n dataFile \"\";\n}\n\ndistributed no;\n\nroots ( );\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 steadyState;\n}\n\ngradSchemes\n{\n default Gauss linear;\n}\n\ndivSchemes\n{\n default none;\n\n div(phi,U) bounded Gauss upwind;\n div(phi,h) bounded Gauss upwind;\n\n div(phi,epsilon) bounded Gauss upwind;\n div(phi,k) bounded Gauss upwind;\n\n div(phi,K) bounded Gauss upwind;\n\n div(phid,p) Gauss upwind;\n\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\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 object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nconvertToMeters 0.001;\n\nvertices\n(\n // front-plane: z = +25mm\n // inlet region\n ( -50 25 25) // pt 0\n ( 0 25 25) // pt 1\n ( -50 75 25) // pt 2\n ( 0 75 25) // pt 3\n // outlet region\n ( -500 -75 25) // pt 4\n ( 0 -75 25) // pt 5\n ( -500 -25 25) // pt 6\n ( 0 -25 25) // pt 7\n // bend mid-points\n ( 25 0 25) // pt 8\n ( 75 0 25) // pt 9\n // back-plane: z = -25mm\n // inlet region\n ( -50 25 -25) // pt 0 + 10\n ( 0 25 -25) // pt 1 + 10\n ( -50 75 -25) // pt 2 + 10\n ( 0 75 -25) // pt 3 + 10\n // outlet region\n ( -500 -75 -25) // pt 4 + 10\n ( 0 -75 -25) // pt 5 + 10\n ( -500 -25 -25) // pt 7 + 10\n ( 0 -25 -25) // pt 8 + 10\n // bend mid-points\n ( 25 0 -25) // pt 8 + 10\n ( 75 0 -25) // pt 9 + 10\n);\n\nblocks\n(\n hex (0 1 11 10 2 3 13 12) inlet ( 20 20 20) simpleGrading (1 1 1)\n hex (4 5 15 14 6 7 17 16) outlet (200 20 20) simpleGrading (1 1 1)\n\n hex (1 8 18 11 3 9 19 13) bend1 ( 30 20 20) simpleGrading (1 1 1)\n hex (5 9 19 15 7 8 18 17) bend2 ( 30 20 20) simpleGrading (1 1 1)\n);\n\nedges\n(\n // block 2\n arc 1 8 ( 17.678 17.678 25)\n arc 11 18 ( 17.678 17.678 -25)\n arc 3 9 ( 53.033 53.033 25)\n arc 13 19 ( 53.033 53.033 -25)\n // block 3\n arc 7 8 ( 17.678 -17.678 25)\n arc 17 18 ( 17.678 -17.678 -25)\n arc 5 9 ( 53.033 -53.033 25)\n arc 15 19 ( 53.033 -53.033 -25)\n);\nboundary\n(\n inlet\n {\n type patch;\n faces\n (\n (0 2 12 10)\n );\n }\n\n outlet\n {\n type patch;\n faces\n (\n (4 6 16 14)\n );\n }\n walls\n {\n type wall;\n faces\n (\n(0 1 3 2)\n (10 12 13 11)\n (0 10 11 1)\n (2 3 13 12)\n (4 5 7 6)\n (14 16 17 15)\n (4 14 15 5)\n (6 7 17 16)\n (1 8 9 3)\n (11 13 19 18)\n (1 11 18 8)\n (3 9 19 13)\n (5 9 8 7)\n (15 17 18 19)\n (5 15 19 9)\n (7 8 18 17)\n );\n }\n\n);\n\n// ************************************************************************* //\n", "system/fvConstraints": "/*--------------------------------*- 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 object fvConstraints;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nlimitp\n{\n type limitPressure;\n\n minFactor 0.1;\n maxFactor 2;\n}\n\n// ************************************************************************* //\n" }, "squareBend/2": { "usr_requirement": "Conduct a 3D squarebend flow simulation using OpenFOAM. The computational domain includes multiple regions, with vertices defined as inlet points at (-50, 25, 25) and (-50, 25, -25), outlet points at (-500, -75, 25) and (-500, -75, -25), and mid-bend points like (25, 0, 25) and (25, 0, -25). Follow the same geomtery as the tutorial. Use a start time of 0 seconds, an end time of 500 seconds, a time step of 1 second, and write results every 100 seconds. Use a massflow rate inlet of 0.5 with turbulentBL profile. Outlet is pressureInletOutletVelocity. Temperature has an inlet value of 1500. Pressure inlet has a value of 110000. use kepsilon turbulence model. Use rhoSimpleFoam solver. Use Pr value of 0.71. Use OpenFOAM-13 with the fluid solver module, corresponding to the legacy rhoSimpleFoam 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=\"fluid\"\n\nrunApplication blockMesh\nrunApplication foamRun -solver $solver\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\n turbulence on;\n\n printCoeffs on;\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 sensibleEnthalpy;\n}\n\nmixture\n{\n specie\n {\n molWeight 28.9;\n }\n thermodynamics\n {\n Cp 1005;\n Hf 0;\n }\n transport\n {\n mu 1.82e-05;\n Pr 0.71;\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 object p;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [1 -1 -2 0 0 0 0];\n\ninternalField uniform 110000;\n\nboundaryField\n{\n walls\n {\n type zeroGradient;\n }\n inlet\n {\n type zeroGradient;\n // type mixed;\n refValue uniform 110000;\n refGradient uniform 0;\n valueFraction uniform 0.3;\n }\n outlet\n {\n type fixedValue;\n value uniform 110000;\n\n // type mixed;\n // refValue uniform 110000;\n // refGradient uniform 0;\n // valueFraction uniform 1;\n // type transonicOutletPressure;\n // U U;\n // phi phi;\n // gamma 1.4;\n // psi psi;\n // pInf uniform 110000;\n }\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 200;\n\nboundaryField\n{\n walls\n {\n type epsilonWallFunction;\n Cmu 0.09;\n kappa 0.41;\n E 9.8;\n value uniform 200;\n }\n inlet\n {\n type turbulentMixingLengthDissipationRateInlet;\n mixingLength 0.005;\n value uniform 200;\n }\n outlet\n {\n type inletOutlet;\n inletValue uniform 200;\n value uniform 200;\n }\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 1;\n\nboundaryField\n{\n walls\n {\n type kqRWallFunction;\n value uniform 1;\n }\n inlet\n {\n type turbulentIntensityKineticEnergyInlet;\n intensity 0.05;\n value uniform 1;\n }\n outlet\n {\n type inletOutlet;\n inletValue uniform 1;\n value uniform 1;\n }\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 object U;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -1 0 0 0 0];\n\ninternalField uniform (0 0 0);\n\nboundaryField\n{\n walls\n {\n type noSlip;\n }\n\n inlet\n {\n type flowRateInletVelocity;\n massFlowRate constant 0.5;\n rhoInlet 0.5; // Guess for rho\n profile turbulentBL;\n }\n\n outlet\n {\n type pressureInletOutletVelocity;\n value uniform (0 0 0);\n }\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 walls\n {\n type nutkWallFunction;\n Cmu 0.09;\n kappa 0.41;\n E 9.8;\n value uniform 0;\n }\n inlet\n {\n type calculated;\n value uniform 0;\n }\n outlet\n {\n type calculated;\n value uniform 0;\n }\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 object T;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 0 0 1 0 0 0];\n\ninternalField uniform 1000;\n\nboundaryField\n{\n walls\n {\n type zeroGradient;\n }\n\n inlet\n {\n type fixedValue;\n value uniform 1500;\n }\n\n outlet\n {\n type inletOutlet;\n // type zeroGradient;\n value uniform 1000;\n inletValue uniform 1000;\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 walls\n {\n type compressible::alphatWallFunction;\n Prt 0.85;\n value uniform 0;\n }\n inlet\n {\n type calculated;\n value uniform 0;\n }\n outlet\n {\n type calculated;\n value uniform 0;\n }\n}\n\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 DILU;\n\n tolerance 1e-08;\n relTol 0.1;\n }\n\n \"(U|h|k|epsilon)\"\n {\n solver PBiCGStab;\n preconditioner DILU;\n\n tolerance 1e-08;\n relTol 0.1;\n }\n}\n\nSIMPLE\n{\n nNonOrthogonalCorrectors 0;\n\n transonic yes;\n consistent yes;\n\n residualControl\n {\n p 1e-3;\n U 1e-4;\n h 1e-3;\n \"(k|epsilon)\" 1e-3;\n }\n}\n\nrelaxationFactors\n{\n fields\n {\n p 1;\n }\n\n equations\n {\n p 1;\n U 0.9;\n h 0.9;\n k 0.9;\n epsilon 0.9;\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 rhoSimpleFoam;\nsolver fluid;\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 500;\n\ndeltaT 1;\n\nwriteControl timeStep;\n\nwriteInterval 100;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\ngraphFormat raw;\n\nrunTimeModifiable true;\n\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 8;\n\nmethod hierarchical;\n\nsimpleCoeffs\n{\n n (8 1 1);\n}\n\nhierarchicalCoeffs\n{\n n (4 2 1);\n order xyz;\n}\n\nmanualCoeffs\n{\n dataFile \"\";\n}\n\ndistributed no;\n\nroots ( );\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 steadyState;\n}\n\ngradSchemes\n{\n default Gauss linear;\n}\n\ndivSchemes\n{\n default none;\n\n div(phi,U) bounded Gauss upwind;\n div(phi,h) bounded Gauss upwind;\n\n div(phi,epsilon) bounded Gauss upwind;\n div(phi,k) bounded Gauss upwind;\n\n div(phi,K) bounded Gauss upwind;\n\n div(phid,p) Gauss upwind;\n\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\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 object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nconvertToMeters 0.001;\n\nvertices\n(\n // front-plane: z = +25mm\n // inlet region\n ( -50 25 25) // pt 0\n ( 0 25 25) // pt 1\n ( -50 75 25) // pt 2\n ( 0 75 25) // pt 3\n // outlet region\n ( -500 -75 25) // pt 4\n ( 0 -75 25) // pt 5\n ( -500 -25 25) // pt 6\n ( 0 -25 25) // pt 7\n // bend mid-points\n ( 25 0 25) // pt 8\n ( 75 0 25) // pt 9\n // back-plane: z = -25mm\n // inlet region\n ( -50 25 -25) // pt 0 + 10\n ( 0 25 -25) // pt 1 + 10\n ( -50 75 -25) // pt 2 + 10\n ( 0 75 -25) // pt 3 + 10\n // outlet region\n ( -500 -75 -25) // pt 4 + 10\n ( 0 -75 -25) // pt 5 + 10\n ( -500 -25 -25) // pt 7 + 10\n ( 0 -25 -25) // pt 8 + 10\n // bend mid-points\n ( 25 0 -25) // pt 8 + 10\n ( 75 0 -25) // pt 9 + 10\n);\n\nblocks\n(\n hex (0 1 11 10 2 3 13 12) inlet ( 20 20 20) simpleGrading (1 1 1)\n hex (4 5 15 14 6 7 17 16) outlet (200 20 20) simpleGrading (1 1 1)\n\n hex (1 8 18 11 3 9 19 13) bend1 ( 30 20 20) simpleGrading (1 1 1)\n hex (5 9 19 15 7 8 18 17) bend2 ( 30 20 20) simpleGrading (1 1 1)\n);\n\nedges\n(\n // block 2\n arc 1 8 ( 17.678 17.678 25)\n arc 11 18 ( 17.678 17.678 -25)\n arc 3 9 ( 53.033 53.033 25)\n arc 13 19 ( 53.033 53.033 -25)\n // block 3\n arc 7 8 ( 17.678 -17.678 25)\n arc 17 18 ( 17.678 -17.678 -25)\n arc 5 9 ( 53.033 -53.033 25)\n arc 15 19 ( 53.033 -53.033 -25)\n);\nboundary\n(\n inlet\n {\n type patch;\n faces\n (\n (0 2 12 10)\n );\n }\n\n outlet\n {\n type patch;\n faces\n (\n (4 6 16 14)\n );\n }\n walls\n {\n type wall;\n faces\n (\n(0 1 3 2)\n (10 12 13 11)\n (0 10 11 1)\n (2 3 13 12)\n (4 5 7 6)\n (14 16 17 15)\n (4 14 15 5)\n (6 7 17 16)\n (1 8 9 3)\n (11 13 19 18)\n (1 11 18 8)\n (3 9 19 13)\n (5 9 8 7)\n (15 17 18 19)\n (5 15 19 9)\n (7 8 18 17)\n );\n }\n\n);\n\n// ************************************************************************* //\n", "system/fvConstraints": "/*--------------------------------*- 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 object fvConstraints;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nlimitp\n{\n type limitPressure;\n\n minFactor 0.1;\n maxFactor 2;\n}\n\n// ************************************************************************* //\n" }, "squareBend/4": { "usr_requirement": "Conduct a 3D squarebend flow simulation using OpenFOAM. The computational domain includes multiple regions, with vertices defined as inlet points at (-50, 25, 25) and (-50, 25, -25), outlet points at (-500, -75, 25) and (-500, -75, -25), and mid-bend points like (25, 0, 25) and (25, 0, -25). Follow the same geomtery as the tutorial. Use a start time of 0 seconds, an end time of 500 seconds, a time step of 1 second, and write results every 100 seconds. Use a massflow rate inlet of 0.5 with turbulentBL profile. Outlet is pressureInletOutletVelocity. Temperature has an inlet value of 1000. Pressure inlet has a value of 110000. use kepsilon turbulence model. Use rhoSimpleFoam solver. Use Pr value of 0.71. Use mu value of 2.5e-5. Use OpenFOAM-13 with the fluid solver module, corresponding to the legacy rhoSimpleFoam 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=\"fluid\"\n\nrunApplication blockMesh\nrunApplication foamRun -solver $solver\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\n turbulence on;\n\n printCoeffs on;\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 sensibleEnthalpy;\n}\n\nmixture\n{\n specie\n {\n molWeight 28.9;\n }\n thermodynamics\n {\n Cp 1005;\n Hf 0;\n }\n transport\n {\n mu 2.5e-05;\n Pr 0.71;\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 object p;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [1 -1 -2 0 0 0 0];\n\ninternalField uniform 110000;\n\nboundaryField\n{\n walls\n {\n type zeroGradient;\n }\n inlet\n {\n type zeroGradient;\n // type mixed;\n refValue uniform 110000;\n refGradient uniform 0;\n valueFraction uniform 0.3;\n }\n outlet\n {\n type fixedValue;\n value uniform 110000;\n\n // type mixed;\n // refValue uniform 110000;\n // refGradient uniform 0;\n // valueFraction uniform 1;\n // type transonicOutletPressure;\n // U U;\n // phi phi;\n // gamma 1.4;\n // psi psi;\n // pInf uniform 110000;\n }\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 200;\n\nboundaryField\n{\n walls\n {\n type epsilonWallFunction;\n Cmu 0.09;\n kappa 0.41;\n E 9.8;\n value uniform 200;\n }\n inlet\n {\n type turbulentMixingLengthDissipationRateInlet;\n mixingLength 0.005;\n value uniform 200;\n }\n outlet\n {\n type inletOutlet;\n inletValue uniform 200;\n value uniform 200;\n }\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 1;\n\nboundaryField\n{\n walls\n {\n type kqRWallFunction;\n value uniform 1;\n }\n inlet\n {\n type turbulentIntensityKineticEnergyInlet;\n intensity 0.05;\n value uniform 1;\n }\n outlet\n {\n type inletOutlet;\n inletValue uniform 1;\n value uniform 1;\n }\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 object U;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -1 0 0 0 0];\n\ninternalField uniform (0 0 0);\n\nboundaryField\n{\n walls\n {\n type noSlip;\n }\n\n inlet\n {\n type flowRateInletVelocity;\n massFlowRate constant 0.5;\n rhoInlet 0.5; // Guess for rho\n profile turbulentBL;\n }\n\n outlet\n {\n type pressureInletOutletVelocity;\n value uniform (0 0 0);\n }\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 walls\n {\n type nutkWallFunction;\n Cmu 0.09;\n kappa 0.41;\n E 9.8;\n value uniform 0;\n }\n inlet\n {\n type calculated;\n value uniform 0;\n }\n outlet\n {\n type calculated;\n value uniform 0;\n }\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 object T;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 0 0 1 0 0 0];\n\ninternalField uniform 1000;\n\nboundaryField\n{\n walls\n {\n type zeroGradient;\n }\n\n inlet\n {\n type fixedValue;\n value uniform 1000;\n }\n\n outlet\n {\n type inletOutlet;\n // type zeroGradient;\n value uniform 1000;\n inletValue uniform 1000;\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 walls\n {\n type compressible::alphatWallFunction;\n Prt 0.85;\n value uniform 0;\n }\n inlet\n {\n type calculated;\n value uniform 0;\n }\n outlet\n {\n type calculated;\n value uniform 0;\n }\n}\n\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 DILU;\n\n tolerance 1e-08;\n relTol 0.1;\n }\n\n \"(U|h|k|epsilon)\"\n {\n solver PBiCGStab;\n preconditioner DILU;\n\n tolerance 1e-08;\n relTol 0.1;\n }\n}\n\nSIMPLE\n{\n nNonOrthogonalCorrectors 0;\n\n transonic yes;\n consistent yes;\n\n residualControl\n {\n p 1e-3;\n U 1e-4;\n h 1e-3;\n \"(k|epsilon)\" 1e-3;\n }\n}\n\nrelaxationFactors\n{\n fields\n {\n p 1;\n }\n\n equations\n {\n p 1;\n U 0.9;\n h 0.9;\n k 0.9;\n epsilon 0.9;\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 rhoSimpleFoam;\nsolver fluid;\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 500;\n\ndeltaT 1;\n\nwriteControl timeStep;\n\nwriteInterval 100;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\ngraphFormat raw;\n\nrunTimeModifiable true;\n\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 8;\n\nmethod hierarchical;\n\nsimpleCoeffs\n{\n n (8 1 1);\n}\n\nhierarchicalCoeffs\n{\n n (4 2 1);\n order xyz;\n}\n\nmanualCoeffs\n{\n dataFile \"\";\n}\n\ndistributed no;\n\nroots ( );\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 steadyState;\n}\n\ngradSchemes\n{\n default Gauss linear;\n}\n\ndivSchemes\n{\n default none;\n\n div(phi,U) bounded Gauss upwind;\n div(phi,h) bounded Gauss upwind;\n\n div(phi,epsilon) bounded Gauss upwind;\n div(phi,k) bounded Gauss upwind;\n\n div(phi,K) bounded Gauss upwind;\n\n div(phid,p) Gauss upwind;\n\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\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 object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nconvertToMeters 0.001;\n\nvertices\n(\n // front-plane: z = +25mm\n // inlet region\n ( -50 25 25) // pt 0\n ( 0 25 25) // pt 1\n ( -50 75 25) // pt 2\n ( 0 75 25) // pt 3\n // outlet region\n ( -500 -75 25) // pt 4\n ( 0 -75 25) // pt 5\n ( -500 -25 25) // pt 6\n ( 0 -25 25) // pt 7\n // bend mid-points\n ( 25 0 25) // pt 8\n ( 75 0 25) // pt 9\n // back-plane: z = -25mm\n // inlet region\n ( -50 25 -25) // pt 0 + 10\n ( 0 25 -25) // pt 1 + 10\n ( -50 75 -25) // pt 2 + 10\n ( 0 75 -25) // pt 3 + 10\n // outlet region\n ( -500 -75 -25) // pt 4 + 10\n ( 0 -75 -25) // pt 5 + 10\n ( -500 -25 -25) // pt 7 + 10\n ( 0 -25 -25) // pt 8 + 10\n // bend mid-points\n ( 25 0 -25) // pt 8 + 10\n ( 75 0 -25) // pt 9 + 10\n);\n\nblocks\n(\n hex (0 1 11 10 2 3 13 12) inlet ( 20 20 20) simpleGrading (1 1 1)\n hex (4 5 15 14 6 7 17 16) outlet (200 20 20) simpleGrading (1 1 1)\n\n hex (1 8 18 11 3 9 19 13) bend1 ( 30 20 20) simpleGrading (1 1 1)\n hex (5 9 19 15 7 8 18 17) bend2 ( 30 20 20) simpleGrading (1 1 1)\n);\n\nedges\n(\n // block 2\n arc 1 8 ( 17.678 17.678 25)\n arc 11 18 ( 17.678 17.678 -25)\n arc 3 9 ( 53.033 53.033 25)\n arc 13 19 ( 53.033 53.033 -25)\n // block 3\n arc 7 8 ( 17.678 -17.678 25)\n arc 17 18 ( 17.678 -17.678 -25)\n arc 5 9 ( 53.033 -53.033 25)\n arc 15 19 ( 53.033 -53.033 -25)\n);\nboundary\n(\n inlet\n {\n type patch;\n faces\n (\n (0 2 12 10)\n );\n }\n\n outlet\n {\n type patch;\n faces\n (\n (4 6 16 14)\n );\n }\n walls\n {\n type wall;\n faces\n (\n(0 1 3 2)\n (10 12 13 11)\n (0 10 11 1)\n (2 3 13 12)\n (4 5 7 6)\n (14 16 17 15)\n (4 14 15 5)\n (6 7 17 16)\n (1 8 9 3)\n (11 13 19 18)\n (1 11 18 8)\n (3 9 19 13)\n (5 9 8 7)\n (15 17 18 19)\n (5 15 19 9)\n (7 8 18 17)\n );\n }\n\n);\n\n// ************************************************************************* //\n", "system/fvConstraints": "/*--------------------------------*- 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 object fvConstraints;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nlimitp\n{\n type limitPressure;\n\n minFactor 0.1;\n maxFactor 2;\n}\n\n// ************************************************************************* //\n" }, "squareBend/1": { "usr_requirement": "Conduct a 3D squarebend flow simulation using OpenFOAM. The computational domain includes multiple regions, with vertices defined as inlet points at (-50, 25, 25) and (-50, 25, -25), outlet points at (-500, -75, 25) and (-500, -75, -25), and mid-bend points like (25, 0, 25) and (25, 0, -25). Follow the same geomtery as the tutorial. Use a start time of 0 seconds, an end time of 500 seconds, a time step of 1 second, and write results every 100 seconds. Use a massflow rate inlet of 0.5 with turbulentBL profile. Outlet is pressureInletOutletVelocity. Temperature has an inlet value of 1000. Pressure inlet has a value of 110000. use kepsilon turbulence model. Use rhoSimpleFoam solver. Use Pr value of 0.71. Use OpenFOAM-13 with the fluid solver module, corresponding to the legacy rhoSimpleFoam 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=\"fluid\"\n\nrunApplication blockMesh\nrunApplication foamRun -solver $solver\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\n turbulence on;\n\n printCoeffs on;\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 sensibleEnthalpy;\n}\n\nmixture\n{\n specie\n {\n molWeight 28.9;\n }\n thermodynamics\n {\n Cp 1005;\n Hf 0;\n }\n transport\n {\n mu 1.82e-05;\n Pr 0.71;\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 object p;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [1 -1 -2 0 0 0 0];\n\ninternalField uniform 110000;\n\nboundaryField\n{\n walls\n {\n type zeroGradient;\n }\n inlet\n {\n type zeroGradient;\n // type mixed;\n refValue uniform 110000;\n refGradient uniform 0;\n valueFraction uniform 0.3;\n }\n outlet\n {\n type fixedValue;\n value uniform 110000;\n\n // type mixed;\n // refValue uniform 110000;\n // refGradient uniform 0;\n // valueFraction uniform 1;\n // type transonicOutletPressure;\n // U U;\n // phi phi;\n // gamma 1.4;\n // psi psi;\n // pInf uniform 110000;\n }\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 200;\n\nboundaryField\n{\n walls\n {\n type epsilonWallFunction;\n Cmu 0.09;\n kappa 0.41;\n E 9.8;\n value uniform 200;\n }\n inlet\n {\n type turbulentMixingLengthDissipationRateInlet;\n mixingLength 0.005;\n value uniform 200;\n }\n outlet\n {\n type inletOutlet;\n inletValue uniform 200;\n value uniform 200;\n }\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 1;\n\nboundaryField\n{\n walls\n {\n type kqRWallFunction;\n value uniform 1;\n }\n inlet\n {\n type turbulentIntensityKineticEnergyInlet;\n intensity 0.05;\n value uniform 1;\n }\n outlet\n {\n type inletOutlet;\n inletValue uniform 1;\n value uniform 1;\n }\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 object U;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -1 0 0 0 0];\n\ninternalField uniform (0 0 0);\n\nboundaryField\n{\n walls\n {\n type noSlip;\n }\n\n inlet\n {\n type flowRateInletVelocity;\n massFlowRate constant 0.5;\n rhoInlet 0.5; // Guess for rho\n profile turbulentBL;\n }\n\n outlet\n {\n type pressureInletOutletVelocity;\n value uniform (0 0 0);\n }\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 walls\n {\n type nutkWallFunction;\n Cmu 0.09;\n kappa 0.41;\n E 9.8;\n value uniform 0;\n }\n inlet\n {\n type calculated;\n value uniform 0;\n }\n outlet\n {\n type calculated;\n value uniform 0;\n }\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 object T;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 0 0 1 0 0 0];\n\ninternalField uniform 1000;\n\nboundaryField\n{\n walls\n {\n type zeroGradient;\n }\n\n inlet\n {\n type fixedValue;\n value uniform 1000;\n }\n\n outlet\n {\n type inletOutlet;\n // type zeroGradient;\n value uniform 1000;\n inletValue uniform 1000;\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 walls\n {\n type compressible::alphatWallFunction;\n Prt 0.85;\n value uniform 0;\n }\n inlet\n {\n type calculated;\n value uniform 0;\n }\n outlet\n {\n type calculated;\n value uniform 0;\n }\n}\n\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 DILU;\n\n tolerance 1e-08;\n relTol 0.1;\n }\n\n \"(U|h|k|epsilon)\"\n {\n solver PBiCGStab;\n preconditioner DILU;\n\n tolerance 1e-08;\n relTol 0.1;\n }\n}\n\nSIMPLE\n{\n nNonOrthogonalCorrectors 0;\n\n transonic yes;\n consistent yes;\n\n residualControl\n {\n p 1e-3;\n U 1e-4;\n h 1e-3;\n \"(k|epsilon)\" 1e-3;\n }\n}\n\nrelaxationFactors\n{\n fields\n {\n p 1;\n }\n\n equations\n {\n p 1;\n U 0.9;\n h 0.9;\n k 0.9;\n epsilon 0.9;\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 rhoSimpleFoam;\nsolver fluid;\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 500;\n\ndeltaT 1;\n\nwriteControl timeStep;\n\nwriteInterval 100;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\ngraphFormat raw;\n\nrunTimeModifiable true;\n\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 8;\n\nmethod hierarchical;\n\nsimpleCoeffs\n{\n n (8 1 1);\n}\n\nhierarchicalCoeffs\n{\n n (4 2 1);\n order xyz;\n}\n\nmanualCoeffs\n{\n dataFile \"\";\n}\n\ndistributed no;\n\nroots ( );\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 steadyState;\n}\n\ngradSchemes\n{\n default Gauss linear;\n}\n\ndivSchemes\n{\n default none;\n\n div(phi,U) bounded Gauss upwind;\n div(phi,h) bounded Gauss upwind;\n\n div(phi,epsilon) bounded Gauss upwind;\n div(phi,k) bounded Gauss upwind;\n\n div(phi,K) bounded Gauss upwind;\n\n div(phid,p) Gauss upwind;\n\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\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 object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nconvertToMeters 0.001;\n\nvertices\n(\n // front-plane: z = +25mm\n // inlet region\n ( -50 25 25) // pt 0\n ( 0 25 25) // pt 1\n ( -50 75 25) // pt 2\n ( 0 75 25) // pt 3\n // outlet region\n ( -500 -75 25) // pt 4\n ( 0 -75 25) // pt 5\n ( -500 -25 25) // pt 6\n ( 0 -25 25) // pt 7\n // bend mid-points\n ( 25 0 25) // pt 8\n ( 75 0 25) // pt 9\n // back-plane: z = -25mm\n // inlet region\n ( -50 25 -25) // pt 0 + 10\n ( 0 25 -25) // pt 1 + 10\n ( -50 75 -25) // pt 2 + 10\n ( 0 75 -25) // pt 3 + 10\n // outlet region\n ( -500 -75 -25) // pt 4 + 10\n ( 0 -75 -25) // pt 5 + 10\n ( -500 -25 -25) // pt 7 + 10\n ( 0 -25 -25) // pt 8 + 10\n // bend mid-points\n ( 25 0 -25) // pt 8 + 10\n ( 75 0 -25) // pt 9 + 10\n);\n\nblocks\n(\n hex (0 1 11 10 2 3 13 12) inlet ( 20 20 20) simpleGrading (1 1 1)\n hex (4 5 15 14 6 7 17 16) outlet (200 20 20) simpleGrading (1 1 1)\n\n hex (1 8 18 11 3 9 19 13) bend1 ( 30 20 20) simpleGrading (1 1 1)\n hex (5 9 19 15 7 8 18 17) bend2 ( 30 20 20) simpleGrading (1 1 1)\n);\n\nedges\n(\n // block 2\n arc 1 8 ( 17.678 17.678 25)\n arc 11 18 ( 17.678 17.678 -25)\n arc 3 9 ( 53.033 53.033 25)\n arc 13 19 ( 53.033 53.033 -25)\n // block 3\n arc 7 8 ( 17.678 -17.678 25)\n arc 17 18 ( 17.678 -17.678 -25)\n arc 5 9 ( 53.033 -53.033 25)\n arc 15 19 ( 53.033 -53.033 -25)\n);\nboundary\n(\n inlet\n {\n type patch;\n faces\n (\n (0 2 12 10)\n );\n }\n\n outlet\n {\n type patch;\n faces\n (\n (4 6 16 14)\n );\n }\n\n walls\n {\n type wall;\n faces\n (\n (0 1 3 2)\n (10 12 13 11)\n (0 10 11 1)\n (2 3 13 12)\n (4 5 7 6)\n (14 16 17 15)\n (4 14 15 5)\n (6 7 17 16)\n (1 8 9 3)\n (11 13 19 18)\n (1 11 18 8)\n (3 9 19 13)\n (5 9 8 7)\n (15 17 18 19)\n (5 15 19 9)\n (7 8 18 17)\n );\n }\n);\n\n// ************************************************************************* //\n", "system/fvConstraints": "/*--------------------------------*- 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 object fvConstraints;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nlimitp\n{\n type limitPressure;\n\n minFactor 0.1;\n maxFactor 2;\n}\n\n// ************************************************************************* //\n" }, "squareBend/9": { "usr_requirement": "Conduct a 3D squarebend flow simulation using OpenFOAM. The computational domain includes multiple regions, with vertices defined as inlet points at (-50, 25, 25) and (-50, 25, -25), outlet points at (-500, -75, 25) and (-500, -75, -25), and mid-bend points like (25, 0, 25) and (25, 0, -25). Follow the same geomtery as the tutorial. Use a start time of 0 seconds, an end time of 500 seconds, a time step of 1 second, and write results every 100 seconds. Use a massflow rate inlet of 0.5 with turbulentBL profile. Outlet is pressureInletOutletVelocity. Temperature has an inlet value of 1000. Pressure inlet has a value of 110000. use kepsilon turbulence model. Use rhoSimpleFoam solver. Use Pr value of 0.71. Use mu value of 1e-4. Use OpenFOAM-13 with the fluid solver module, corresponding to the legacy rhoSimpleFoam 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=\"fluid\"\n\nrunApplication blockMesh\nrunApplication foamRun -solver $solver\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\n turbulence on;\n\n printCoeffs on;\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 sensibleEnthalpy;\n}\n\nmixture\n{\n specie\n {\n molWeight 28.9;\n }\n thermodynamics\n {\n Cp 1005;\n Hf 0;\n }\n transport\n {\n mu 1e-04;\n Pr 0.71;\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 object p;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [1 -1 -2 0 0 0 0];\n\ninternalField uniform 110000;\n\nboundaryField\n{\n walls\n {\n type zeroGradient;\n }\n inlet\n {\n type zeroGradient;\n // type mixed;\n refValue uniform 110000;\n refGradient uniform 0;\n valueFraction uniform 0.3;\n }\n outlet\n {\n type fixedValue;\n value uniform 110000;\n\n // type mixed;\n // refValue uniform 110000;\n // refGradient uniform 0;\n // valueFraction uniform 1;\n // type transonicOutletPressure;\n // U U;\n // phi phi;\n // gamma 1.4;\n // psi psi;\n // pInf uniform 110000;\n }\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 200;\n\nboundaryField\n{\n walls\n {\n type epsilonWallFunction;\n Cmu 0.09;\n kappa 0.41;\n E 9.8;\n value uniform 200;\n }\n inlet\n {\n type turbulentMixingLengthDissipationRateInlet;\n mixingLength 0.005;\n value uniform 200;\n }\n outlet\n {\n type inletOutlet;\n inletValue uniform 200;\n value uniform 200;\n }\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 1;\n\nboundaryField\n{\n walls\n {\n type kqRWallFunction;\n value uniform 1;\n }\n inlet\n {\n type turbulentIntensityKineticEnergyInlet;\n intensity 0.05;\n value uniform 1;\n }\n outlet\n {\n type inletOutlet;\n inletValue uniform 1;\n value uniform 1;\n }\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 object U;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -1 0 0 0 0];\n\ninternalField uniform (0 0 0);\n\nboundaryField\n{\n walls\n {\n type noSlip;\n }\n\n inlet\n {\n type flowRateInletVelocity;\n massFlowRate constant 0.5;\n rhoInlet 0.5; // Guess for rho\n profile turbulentBL;\n }\n\n outlet\n {\n type pressureInletOutletVelocity;\n value uniform (0 0 0);\n }\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 walls\n {\n type nutkWallFunction;\n Cmu 0.09;\n kappa 0.41;\n E 9.8;\n value uniform 0;\n }\n inlet\n {\n type calculated;\n value uniform 0;\n }\n outlet\n {\n type calculated;\n value uniform 0;\n }\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 object T;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 0 0 1 0 0 0];\n\ninternalField uniform 1000;\n\nboundaryField\n{\n walls\n {\n type zeroGradient;\n }\n\n inlet\n {\n type fixedValue;\n value uniform 1000;\n }\n\n outlet\n {\n type inletOutlet;\n // type zeroGradient;\n value uniform 1000;\n inletValue uniform 1000;\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 walls\n {\n type compressible::alphatWallFunction;\n Prt 0.85;\n value uniform 0;\n }\n inlet\n {\n type calculated;\n value uniform 0;\n }\n outlet\n {\n type calculated;\n value uniform 0;\n }\n}\n\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 DILU;\n\n tolerance 1e-08;\n relTol 0.1;\n }\n\n \"(U|h|k|epsilon)\"\n {\n solver PBiCGStab;\n preconditioner DILU;\n\n tolerance 1e-08;\n relTol 0.1;\n }\n}\n\nSIMPLE\n{\n nNonOrthogonalCorrectors 0;\n\n transonic yes;\n consistent yes;\n\n residualControl\n {\n p 1e-3;\n U 1e-4;\n h 1e-3;\n \"(k|epsilon)\" 1e-3;\n }\n}\n\nrelaxationFactors\n{\n fields\n {\n p 1;\n }\n\n equations\n {\n p 1;\n U 0.9;\n h 0.9;\n k 0.9;\n epsilon 0.9;\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 rhoSimpleFoam;\nsolver fluid;\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 500;\n\ndeltaT 0.5;\n\nwriteControl timeStep;\n\nwriteInterval 100;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\ngraphFormat raw;\n\nrunTimeModifiable true;\n\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 8;\n\nmethod hierarchical;\n\nsimpleCoeffs\n{\n n (8 1 1);\n}\n\nhierarchicalCoeffs\n{\n n (4 2 1);\n order xyz;\n}\n\nmanualCoeffs\n{\n dataFile \"\";\n}\n\ndistributed no;\n\nroots ( );\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 steadyState;\n}\n\ngradSchemes\n{\n default Gauss linear;\n}\n\ndivSchemes\n{\n default none;\n\n div(phi,U) bounded Gauss upwind;\n div(phi,h) bounded Gauss upwind;\n\n div(phi,epsilon) bounded Gauss upwind;\n div(phi,k) bounded Gauss upwind;\n\n div(phi,K) bounded Gauss upwind;\n\n div(phid,p) Gauss upwind;\n\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\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 object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nconvertToMeters 0.001;\n\nvertices\n(\n // front-plane: z = +25mm\n // inlet region\n ( -50 25 25) // pt 0\n ( 0 25 25) // pt 1\n ( -50 75 25) // pt 2\n ( 0 75 25) // pt 3\n // outlet region\n ( -500 -75 25) // pt 4\n ( 0 -75 25) // pt 5\n ( -500 -25 25) // pt 6\n ( 0 -25 25) // pt 7\n // bend mid-points\n ( 25 0 25) // pt 8\n ( 75 0 25) // pt 9\n // back-plane: z = -25mm\n // inlet region\n ( -50 25 -25) // pt 0 + 10\n ( 0 25 -25) // pt 1 + 10\n ( -50 75 -25) // pt 2 + 10\n ( 0 75 -25) // pt 3 + 10\n // outlet region\n ( -500 -75 -25) // pt 4 + 10\n ( 0 -75 -25) // pt 5 + 10\n ( -500 -25 -25) // pt 7 + 10\n ( 0 -25 -25) // pt 8 + 10\n // bend mid-points\n ( 25 0 -25) // pt 8 + 10\n ( 75 0 -25) // pt 9 + 10\n);\n\nblocks\n(\n hex (0 1 11 10 2 3 13 12) inlet ( 20 20 20) simpleGrading (1 1 1)\n hex (4 5 15 14 6 7 17 16) outlet (200 20 20) simpleGrading (1 1 1)\n\n hex (1 8 18 11 3 9 19 13) bend1 ( 30 20 20) simpleGrading (1 1 1)\n hex (5 9 19 15 7 8 18 17) bend2 ( 30 20 20) simpleGrading (1 1 1)\n);\n\nedges\n(\n // block 2\n arc 1 8 ( 17.678 17.678 25)\n arc 11 18 ( 17.678 17.678 -25)\n arc 3 9 ( 53.033 53.033 25)\n arc 13 19 ( 53.033 53.033 -25)\n // block 3\n arc 7 8 ( 17.678 -17.678 25)\n arc 17 18 ( 17.678 -17.678 -25)\n arc 5 9 ( 53.033 -53.033 25)\n arc 15 19 ( 53.033 -53.033 -25)\n);\nboundary\n(\n inlet\n {\n type patch;\n faces\n (\n (0 2 12 10)\n );\n }\n\n outlet\n {\n type patch;\n faces\n (\n (4 6 16 14)\n );\n }\n walls\n {\n type wall;\n faces\n (\n(0 1 3 2)\n (10 12 13 11)\n (0 10 11 1)\n (2 3 13 12)\n (4 5 7 6)\n (14 16 17 15)\n (4 14 15 5)\n (6 7 17 16)\n (1 8 9 3)\n (11 13 19 18)\n (1 11 18 8)\n (3 9 19 13)\n (5 9 8 7)\n (15 17 18 19)\n (5 15 19 9)\n (7 8 18 17)\n );\n }\n\n);\n\n// ************************************************************************* //\n", "system/fvConstraints": "/*--------------------------------*- 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 object fvConstraints;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nlimitp\n{\n type limitPressure;\n\n minFactor 0.1;\n maxFactor 2;\n}\n\n// ************************************************************************* //\n" }, "squareBend/10": { "usr_requirement": "Conduct a 3D squarebend flow simulation using OpenFOAM. The computational domain includes multiple regions, with vertices defined as inlet points at (-50, 25, 25) and (-50, 25, -25), outlet points at (-500, -75, 25) and (-500, -75, -25), and mid-bend points like (25, 0, 25) and (25, 0, -25). Follow the same geomtery as the tutorial. Use a start time of 0 seconds, an end time of 500 seconds, a time step of 1 second, and write results every 100 seconds. Use a massflow rate inlet of 0.5 with turbulentBL profile. Outlet is pressureInletOutletVelocity. Temperature has an inlet value of 1000. Pressure inlet has a value of 110000. use kepsilon turbulence model. Use rhoSimpleFoam solver. Use Pr value of 1.0. Use mu value of 1e-4. Use OpenFOAM-13 with the fluid solver module, corresponding to the legacy rhoSimpleFoam 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=\"fluid\"\n\nrunApplication blockMesh\nrunApplication foamRun -solver $solver\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\n turbulence on;\n\n printCoeffs on;\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 sensibleEnthalpy;\n}\n\nmixture\n{\n specie\n {\n molWeight 28.9;\n }\n thermodynamics\n {\n Cp 1005;\n Hf 0;\n }\n transport\n {\n mu 1e-04;\n Pr 1.0;\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 object p;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [1 -1 -2 0 0 0 0];\n\ninternalField uniform 110000;\n\nboundaryField\n{\n walls\n {\n type zeroGradient;\n }\n inlet\n {\n type zeroGradient;\n // type mixed;\n refValue uniform 110000;\n refGradient uniform 0;\n valueFraction uniform 0.3;\n }\n outlet\n {\n type fixedValue;\n value uniform 110000;\n\n // type mixed;\n // refValue uniform 110000;\n // refGradient uniform 0;\n // valueFraction uniform 1;\n // type transonicOutletPressure;\n // U U;\n // phi phi;\n // gamma 1.4;\n // psi psi;\n // pInf uniform 110000;\n }\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 200;\n\nboundaryField\n{\n walls\n {\n type epsilonWallFunction;\n Cmu 0.09;\n kappa 0.41;\n E 9.8;\n value uniform 200;\n }\n inlet\n {\n type turbulentMixingLengthDissipationRateInlet;\n mixingLength 0.005;\n value uniform 200;\n }\n outlet\n {\n type inletOutlet;\n inletValue uniform 200;\n value uniform 200;\n }\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 1;\n\nboundaryField\n{\n walls\n {\n type kqRWallFunction;\n value uniform 1;\n }\n inlet\n {\n type turbulentIntensityKineticEnergyInlet;\n intensity 0.05;\n value uniform 1;\n }\n outlet\n {\n type inletOutlet;\n inletValue uniform 1;\n value uniform 1;\n }\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 object U;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -1 0 0 0 0];\n\ninternalField uniform (0 0 0);\n\nboundaryField\n{\n walls\n {\n type noSlip;\n }\n\n inlet\n {\n type flowRateInletVelocity;\n massFlowRate constant 0.5;\n rhoInlet 0.5; // Guess for rho\n profile turbulentBL;\n }\n\n outlet\n {\n type pressureInletOutletVelocity;\n value uniform (0 0 0);\n }\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 walls\n {\n type nutkWallFunction;\n Cmu 0.09;\n kappa 0.41;\n E 9.8;\n value uniform 0;\n }\n inlet\n {\n type calculated;\n value uniform 0;\n }\n outlet\n {\n type calculated;\n value uniform 0;\n }\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 object T;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 0 0 1 0 0 0];\n\ninternalField uniform 1000;\n\nboundaryField\n{\n walls\n {\n type zeroGradient;\n }\n\n inlet\n {\n type fixedValue;\n value uniform 1000;\n }\n\n outlet\n {\n type inletOutlet;\n // type zeroGradient;\n value uniform 1000;\n inletValue uniform 1000;\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 walls\n {\n type compressible::alphatWallFunction;\n Prt 0.85;\n value uniform 0;\n }\n inlet\n {\n type calculated;\n value uniform 0;\n }\n outlet\n {\n type calculated;\n value uniform 0;\n }\n}\n\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 DILU;\n\n tolerance 1e-08;\n relTol 0.1;\n }\n\n \"(U|h|k|epsilon)\"\n {\n solver PBiCGStab;\n preconditioner DILU;\n\n tolerance 1e-08;\n relTol 0.1;\n }\n}\n\nSIMPLE\n{\n nNonOrthogonalCorrectors 0;\n\n transonic yes;\n consistent yes;\n\n residualControl\n {\n p 1e-3;\n U 1e-4;\n h 1e-3;\n \"(k|epsilon)\" 1e-3;\n }\n}\n\nrelaxationFactors\n{\n fields\n {\n p 1;\n }\n\n equations\n {\n p 1;\n U 0.9;\n h 0.9;\n k 0.9;\n epsilon 0.9;\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 rhoSimpleFoam;\nsolver fluid;\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 500;\n\ndeltaT 0.5;\n\nwriteControl timeStep;\n\nwriteInterval 100;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\ngraphFormat raw;\n\nrunTimeModifiable true;\n\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 8;\n\nmethod hierarchical;\n\nsimpleCoeffs\n{\n n (8 1 1);\n}\n\nhierarchicalCoeffs\n{\n n (4 2 1);\n order xyz;\n}\n\nmanualCoeffs\n{\n dataFile \"\";\n}\n\ndistributed no;\n\nroots ( );\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 steadyState;\n}\n\ngradSchemes\n{\n default Gauss linear;\n}\n\ndivSchemes\n{\n default none;\n\n div(phi,U) bounded Gauss upwind;\n div(phi,h) bounded Gauss upwind;\n\n div(phi,epsilon) bounded Gauss upwind;\n div(phi,k) bounded Gauss upwind;\n\n div(phi,K) bounded Gauss upwind;\n\n div(phid,p) Gauss upwind;\n\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\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 object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nconvertToMeters 0.001;\n\nvertices\n(\n // front-plane: z = +25mm\n // inlet region\n ( -50 25 25) // pt 0\n ( 0 25 25) // pt 1\n ( -50 75 25) // pt 2\n ( 0 75 25) // pt 3\n // outlet region\n ( -500 -75 25) // pt 4\n ( 0 -75 25) // pt 5\n ( -500 -25 25) // pt 6\n ( 0 -25 25) // pt 7\n // bend mid-points\n ( 25 0 25) // pt 8\n ( 75 0 25) // pt 9\n // back-plane: z = -25mm\n // inlet region\n ( -50 25 -25) // pt 0 + 10\n ( 0 25 -25) // pt 1 + 10\n ( -50 75 -25) // pt 2 + 10\n ( 0 75 -25) // pt 3 + 10\n // outlet region\n ( -500 -75 -25) // pt 4 + 10\n ( 0 -75 -25) // pt 5 + 10\n ( -500 -25 -25) // pt 7 + 10\n ( 0 -25 -25) // pt 8 + 10\n // bend mid-points\n ( 25 0 -25) // pt 8 + 10\n ( 75 0 -25) // pt 9 + 10\n);\n\nblocks\n(\n hex (0 1 11 10 2 3 13 12) inlet ( 20 20 20) simpleGrading (1 1 1)\n hex (4 5 15 14 6 7 17 16) outlet (200 20 20) simpleGrading (1 1 1)\n\n hex (1 8 18 11 3 9 19 13) bend1 ( 30 20 20) simpleGrading (1 1 1)\n hex (5 9 19 15 7 8 18 17) bend2 ( 30 20 20) simpleGrading (1 1 1)\n);\n\nedges\n(\n // block 2\n arc 1 8 ( 17.678 17.678 25)\n arc 11 18 ( 17.678 17.678 -25)\n arc 3 9 ( 53.033 53.033 25)\n arc 13 19 ( 53.033 53.033 -25)\n // block 3\n arc 7 8 ( 17.678 -17.678 25)\n arc 17 18 ( 17.678 -17.678 -25)\n arc 5 9 ( 53.033 -53.033 25)\n arc 15 19 ( 53.033 -53.033 -25)\n);\nboundary\n(\n inlet\n {\n type patch;\n faces\n (\n (0 2 12 10)\n );\n }\n\n outlet\n {\n type patch;\n faces\n (\n (4 6 16 14)\n );\n }\n walls\n {\n type wall;\n faces\n (\n(0 1 3 2)\n (10 12 13 11)\n (0 10 11 1)\n (2 3 13 12)\n (4 5 7 6)\n (14 16 17 15)\n (4 14 15 5)\n (6 7 17 16)\n (1 8 9 3)\n (11 13 19 18)\n (1 11 18 8)\n (3 9 19 13)\n (5 9 8 7)\n (15 17 18 19)\n (5 15 19 9)\n (7 8 18 17)\n );\n }\n\n);\n\n// ************************************************************************* //\n", "system/fvConstraints": "/*--------------------------------*- 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 object fvConstraints;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nlimitp\n{\n type limitPressure;\n\n minFactor 0.1;\n maxFactor 2;\n}\n\n// ************************************************************************* //\n" }, "squareBend/8": { "usr_requirement": "Conduct a 3D squarebend flow simulation using OpenFOAM. The computational domain includes multiple regions, with vertices defined as inlet points at (-50, 25, 25) and (-50, 25, -25), outlet points at (-500, -75, 25) and (-500, -75, -25), and mid-bend points like (25, 0, 25) and (25, 0, -25). Follow the same geomtery as the tutorial. Use a start time of 0 seconds, an end time of 500 seconds, a time step of 1 second, and write results every 100 seconds. Use a massflow rate inlet of 0.5 with turbulentBL profile. Outlet is pressureInletOutletVelocity. Temperature has an inlet value of 1000. Pressure inlet has a value of 110000. use kepsilon turbulence model. Use rhoSimpleFoam solver. Use Pr value of 0.71. Use mu value of 5.0e-5. Use OpenFOAM-13 with the fluid solver module, corresponding to the legacy rhoSimpleFoam 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=\"fluid\"\n\nrunApplication blockMesh\nrunApplication foamRun -solver $solver\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\n turbulence on;\n\n printCoeffs on;\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 sensibleEnthalpy;\n}\n\nmixture\n{\n specie\n {\n molWeight 28.9;\n }\n thermodynamics\n {\n Cp 1005;\n Hf 0;\n }\n transport\n {\n mu 5e-05;\n Pr 0.71;\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 object p;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [1 -1 -2 0 0 0 0];\n\ninternalField uniform 110000;\n\nboundaryField\n{\n walls\n {\n type zeroGradient;\n }\n inlet\n {\n type zeroGradient;\n // type mixed;\n refValue uniform 110000;\n refGradient uniform 0;\n valueFraction uniform 0.3;\n }\n outlet\n {\n type fixedValue;\n value uniform 110000;\n\n // type mixed;\n // refValue uniform 110000;\n // refGradient uniform 0;\n // valueFraction uniform 1;\n // type transonicOutletPressure;\n // U U;\n // phi phi;\n // gamma 1.4;\n // psi psi;\n // pInf uniform 110000;\n }\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 200;\n\nboundaryField\n{\n walls\n {\n type epsilonWallFunction;\n Cmu 0.09;\n kappa 0.41;\n E 9.8;\n value uniform 200;\n }\n inlet\n {\n type turbulentMixingLengthDissipationRateInlet;\n mixingLength 0.005;\n value uniform 200;\n }\n outlet\n {\n type inletOutlet;\n inletValue uniform 200;\n value uniform 200;\n }\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 1;\n\nboundaryField\n{\n walls\n {\n type kqRWallFunction;\n value uniform 1;\n }\n inlet\n {\n type turbulentIntensityKineticEnergyInlet;\n intensity 0.05;\n value uniform 1;\n }\n outlet\n {\n type inletOutlet;\n inletValue uniform 1;\n value uniform 1;\n }\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 object U;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -1 0 0 0 0];\n\ninternalField uniform (0 0 0);\n\nboundaryField\n{\n walls\n {\n type noSlip;\n }\n\n inlet\n {\n type flowRateInletVelocity;\n massFlowRate constant 0.5;\n rhoInlet 0.5; // Guess for rho\n profile turbulentBL;\n }\n\n outlet\n {\n type pressureInletOutletVelocity;\n value uniform (0 0 0);\n }\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 walls\n {\n type nutkWallFunction;\n Cmu 0.09;\n kappa 0.41;\n E 9.8;\n value uniform 0;\n }\n inlet\n {\n type calculated;\n value uniform 0;\n }\n outlet\n {\n type calculated;\n value uniform 0;\n }\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 object T;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 0 0 1 0 0 0];\n\ninternalField uniform 1000;\n\nboundaryField\n{\n walls\n {\n type zeroGradient;\n }\n\n inlet\n {\n type fixedValue;\n value uniform 1000;\n }\n\n outlet\n {\n type inletOutlet;\n // type zeroGradient;\n value uniform 1000;\n inletValue uniform 1000;\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 walls\n {\n type compressible::alphatWallFunction;\n Prt 0.85;\n value uniform 0;\n }\n inlet\n {\n type calculated;\n value uniform 0;\n }\n outlet\n {\n type calculated;\n value uniform 0;\n }\n}\n\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 DILU;\n\n tolerance 1e-08;\n relTol 0.1;\n }\n\n \"(U|h|k|epsilon)\"\n {\n solver PBiCGStab;\n preconditioner DILU;\n\n tolerance 1e-08;\n relTol 0.1;\n }\n}\n\nSIMPLE\n{\n nNonOrthogonalCorrectors 0;\n\n transonic yes;\n consistent yes;\n\n residualControl\n {\n p 1e-3;\n U 1e-4;\n h 1e-3;\n \"(k|epsilon)\" 1e-3;\n }\n}\n\nrelaxationFactors\n{\n fields\n {\n p 1;\n }\n\n equations\n {\n p 1;\n U 0.9;\n h 0.9;\n k 0.9;\n epsilon 0.9;\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 rhoSimpleFoam;\nsolver fluid;\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 500;\n\ndeltaT 0.5;\n\nwriteControl timeStep;\n\nwriteInterval 100;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\ngraphFormat raw;\n\nrunTimeModifiable true;\n\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 8;\n\nmethod hierarchical;\n\nsimpleCoeffs\n{\n n (8 1 1);\n}\n\nhierarchicalCoeffs\n{\n n (4 2 1);\n order xyz;\n}\n\nmanualCoeffs\n{\n dataFile \"\";\n}\n\ndistributed no;\n\nroots ( );\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 steadyState;\n}\n\ngradSchemes\n{\n default Gauss linear;\n}\n\ndivSchemes\n{\n default none;\n\n div(phi,U) bounded Gauss upwind;\n div(phi,h) bounded Gauss upwind;\n\n div(phi,epsilon) bounded Gauss upwind;\n div(phi,k) bounded Gauss upwind;\n\n div(phi,K) bounded Gauss upwind;\n\n div(phid,p) Gauss upwind;\n\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\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 object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nconvertToMeters 0.001;\n\nvertices\n(\n // front-plane: z = +25mm\n // inlet region\n ( -50 25 25) // pt 0\n ( 0 25 25) // pt 1\n ( -50 75 25) // pt 2\n ( 0 75 25) // pt 3\n // outlet region\n ( -500 -75 25) // pt 4\n ( 0 -75 25) // pt 5\n ( -500 -25 25) // pt 6\n ( 0 -25 25) // pt 7\n // bend mid-points\n ( 25 0 25) // pt 8\n ( 75 0 25) // pt 9\n // back-plane: z = -25mm\n // inlet region\n ( -50 25 -25) // pt 0 + 10\n ( 0 25 -25) // pt 1 + 10\n ( -50 75 -25) // pt 2 + 10\n ( 0 75 -25) // pt 3 + 10\n // outlet region\n ( -500 -75 -25) // pt 4 + 10\n ( 0 -75 -25) // pt 5 + 10\n ( -500 -25 -25) // pt 7 + 10\n ( 0 -25 -25) // pt 8 + 10\n // bend mid-points\n ( 25 0 -25) // pt 8 + 10\n ( 75 0 -25) // pt 9 + 10\n);\n\nblocks\n(\n hex (0 1 11 10 2 3 13 12) inlet ( 20 20 20) simpleGrading (1 1 1)\n hex (4 5 15 14 6 7 17 16) outlet (200 20 20) simpleGrading (1 1 1)\n\n hex (1 8 18 11 3 9 19 13) bend1 ( 30 20 20) simpleGrading (1 1 1)\n hex (5 9 19 15 7 8 18 17) bend2 ( 30 20 20) simpleGrading (1 1 1)\n);\n\nedges\n(\n // block 2\n arc 1 8 ( 17.678 17.678 25)\n arc 11 18 ( 17.678 17.678 -25)\n arc 3 9 ( 53.033 53.033 25)\n arc 13 19 ( 53.033 53.033 -25)\n // block 3\n arc 7 8 ( 17.678 -17.678 25)\n arc 17 18 ( 17.678 -17.678 -25)\n arc 5 9 ( 53.033 -53.033 25)\n arc 15 19 ( 53.033 -53.033 -25)\n);\nboundary\n(\n inlet\n {\n type patch;\n faces\n (\n (0 2 12 10)\n );\n }\n\n outlet\n {\n type patch;\n faces\n (\n (4 6 16 14)\n );\n }\n walls\n {\n type wall;\n faces\n (\n(0 1 3 2)\n (10 12 13 11)\n (0 10 11 1)\n (2 3 13 12)\n (4 5 7 6)\n (14 16 17 15)\n (4 14 15 5)\n (6 7 17 16)\n (1 8 9 3)\n (11 13 19 18)\n (1 11 18 8)\n (3 9 19 13)\n (5 9 8 7)\n (15 17 18 19)\n (5 15 19 9)\n (7 8 18 17)\n );\n }\n\n);\n\n// ************************************************************************* //\n", "system/fvConstraints": "/*--------------------------------*- 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 object fvConstraints;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nlimitp\n{\n type limitPressure;\n\n minFactor 0.1;\n maxFactor 2;\n}\n\n// ************************************************************************* //\n" }, "damBreakWithObstacle/7": { "usr_requirement": "do a laminar dam break with obstacle simulation. user interfoam solver. The domain extent is 1x1x1. Use 32 grid points in all directions. Use density of air to be 1 kg/m3 and density of water to be 1000 kg/m3. Take the viscosity of air to be 0.001 and viscosity of water to be 1e-05. The simulation runs from t=0s to t=0.1s with a timestep of 0.001s and a write interval of 0.02. Use OpenFOAM-13 with the incompressibleVoF solver module, 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\nrunApplication setFields\nrunApplication foamRun -solver $solver\n\n#------------------------------------------------------------------------------\n", "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 uniformDimensionedVectorField;\n location \"constant\";\n object g;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -2 0 0 0 0];\nvalue (0 0 -9.81);\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 (water air);\n\nsigma 0.07;\n\n\n// ************************************************************************* //\n", "constant/physicalProperties.water": "/*--------------------------------*- 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.water;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nviscosityModel constant;\n\nnu 1e-05;\n\nrho 1000;\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 laminar;\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 0.001;\n\nrho 1;\n\n\n// ************************************************************************* //\n", "constant/dynamicMeshDict": "/*--------------------------------*- 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 dynamicMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ntopoChanger\n{\n type refiner;\n\n libs (\"libfvMeshTopoChangers.so\");\n\n mover none;\n\n // How often to refine\n refineInterval 1;\n\n // Field to be refinement on\n field alpha.water;\n\n // Refine field in between lower..upper\n lowerRefineLevel 0.001;\n upperRefineLevel 0.999;\n\n // Have slower than 2:1 refinement\n nBufferLayers 1;\n\n // Refine cells only up to maxRefinement levels\n maxRefinement 2;\n\n // Stop refinement if maxCells reached\n maxCells 200000;\n\n // Flux field and corresponding velocity field. Fluxes on changed\n // faces get recalculated by interpolating the velocity. Use 'none'\n // on surfaceScalarFields that do not need to be reinterpolated.\n correctFluxes\n (\n (phi none)\n (nHatf none)\n (rhoPhi none)\n (alphaPhi.water none)\n (ghf none)\n );\n\n // Write the refinement level as a volScalarField\n dumpLevel true;\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 atmosphere\n {\n type prghTotalPressure;\n rho rho;\n psi none;\n gamma 1;\n p0 uniform 0;\n value uniform 0;\n }\n walls\n {\n type fixedFluxPressure;\n gradient uniform 0;\n value uniform 0;\n }\n}\n\n\n// ************************************************************************* //\n", "0/U.orig": "/*--------------------------------*- 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 atmosphere\n {\n type pressureInletOutletVelocity;\n value uniform (0 0 0);\n }\n walls\n {\n type uniformFixedValue;\n uniformValue constant (0 0 0);\n value uniform (0 0 0);\n }\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.00015;\n\nboundaryField\n{\n atmosphere\n {\n type inletOutlet;\n inletValue uniform 0.00015;\n value uniform 0.00015;\n }\n walls\n {\n type kqRWallFunction;\n value uniform 0.00015;\n }\n}\n\n\n// ************************************************************************* //\n", "0/alpha.water.orig": "/*--------------------------------*- 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.water;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 0 0 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n atmosphere\n {\n type inletOutlet;\n inletValue uniform 0;\n value uniform 0;\n }\n walls\n {\n type zeroGradient;\n }\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 binary;\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 atmosphere\n {\n type pressureInletOutletVelocity;\n value uniform (0 0 0);\n }\n walls\n {\n type uniformFixedValue;\n uniformValue \n {\n type constant;\n value (0 0 0);\n }\n value uniform (0 0 0);\n }\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 5e-07;\n\nboundaryField\n{\n atmosphere\n {\n type zeroGradient;\n }\n walls\n {\n type nutkRoughWallFunction;\n Ks uniform 0.0001;\n Cs uniform 0.5;\n value uniform 5e-07;\n }\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 2;\n\nboundaryField\n{\n atmosphere\n {\n type inletOutlet;\n inletValue uniform 2;\n value uniform 2;\n }\n walls\n {\n type omegaWallFunction;\n value uniform 2;\n }\n}\n\n\n// ************************************************************************* //\n", "0/alpha.water": "/*--------------------------------*- 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.water;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 0 0 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n atmosphere\n {\n type inletOutlet;\n inletValue uniform 0;\n value uniform 0;\n }\n walls\n {\n type zeroGradient;\n }\n}\n\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.water.*\"\n {\n nAlphaCorr 1;\n nAlphaSubCycles 3;\n nLimiterIter 5;\n }\n\n p_rgh\n {\n solver GAMG;\n tolerance 1e-08;\n relTol 0.01;\n smoother DIC;\n cacheAgglomeration no;\n }\n\n p_rghFinal\n {\n $p_rgh;\n relTol 0;\n }\n\n \"pcorr.*\"\n {\n $p_rghFinal;\n tolerance 1e-4;\n }\n\n U\n {\n solver smoothSolver;\n smoother GaussSeidel;\n tolerance 1e-06;\n relTol 0;\n nSweeps 1;\n }\n\n \"(k|omega|B|nuTilda).*\"\n {\n solver smoothSolver;\n smoother symGaussSeidel;\n tolerance 1e-08;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n momentumPredictor no;\n nCorrectors 3;\n nNonOrthogonalCorrectors 0;\n\n pRefPoint (0.51 0.51 0.51);\n pRefValue 0;\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 interFoam;\nsolver incompressibleVoF;\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 0.1;\n\ndeltaT 0.001;\n\nwriteControl adjustableRunTime;\n\nwriteInterval 0.02;\n\npurgeWrite 0;\n\nwriteFormat binary;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable yes;\n\nadjustTimeStep yes;\n\nmaxCo 0.5;\nmaxAlphaCo 0.5;\nmaxDeltaT 1;\n\n// ************************************************************************* //\n", "system/topoSetDict": "/*--------------------------------*- 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 object topoSetDict;\n}\n\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nactions\n(\n {\n name c0;\n type cellSet;\n action clear;\n }\n {\n name c0;\n type cellSet;\n action invert;\n }\n {\n name c0;\n type cellSet;\n action delete;\n source boxToCell;\n box (0.375 0.375 0) (0.625 0.625 0.25);\n }\n);\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 scotch;\n\nsimpleCoeffs\n{\n n (2 2 1);\n}\n\nhierarchicalCoeffs\n{\n n (2 2 1);\n order xyz;\n}\n\nmanualCoeffs\n{\n dataFile \"\";\n}\n\ndistributed no;\n\nroots ( );\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 div(rhoPhi,U) Gauss upwind;\n div(phi,alpha) Gauss MPLIC;\n div(phi,k) Gauss upwind;\n div(phi,omega) Gauss upwind;\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// ************************************************************************* //\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 object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nconvertToMeters 1;\n\nvertices\n(\n (0 0 0)\n (1 0 0)\n (1 1 0)\n (0 1 0)\n (0 0 1)\n (1 0 1)\n (1 1 1)\n (0 1 1)\n);\n\nblocks\n(\n hex (0 1 2 3 4 5 6 7) (32 32 32) simpleGrading (1 1 1)\n);\n\nboundary\n(\n atmosphere\n {\n type patch;\n faces\n (\n (3 7 6 2)\n );\n }\n walls\n {\n type wall;\n faces\n (\n (0 4 7 3)\n (2 6 5 1)\n (1 5 4 0)\n (0 3 2 1)\n (4 5 6 7)\n );\n }\n);\n\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\ndefaultValues\n{\n alpha.water 0;\n U (0 0 0);\n}\n\nzones\n{\n waterColumn\n {\n type box;\n zoneType cell;\n\n box (0 0 0) (0.6 0.1875 0.75);\n\n values\n {\n alpha.water 1;\n }\n }\n}\n\n// ************************************************************************* //\n" }, "damBreakWithObstacle/6": { "usr_requirement": "do a laminar dam break with obstacle simulation. user interfoam solver. The domain extent is 1x1x1. Use 32 grid points in all directions. Use density of air to be 1 kg/m3 and density of water to be 1000 kg/m3. Take the viscosity of air to be 0.001 and viscosity of water to be 0.0001. The simulation runs from t=0s to t=0.1s with a timestep of 0.001s and a write interval of 0.02. Use OpenFOAM-13 with the incompressibleVoF solver module, 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\nrunApplication setFields\nrunApplication foamRun -solver $solver\n\n#------------------------------------------------------------------------------\n", "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 uniformDimensionedVectorField;\n location \"constant\";\n object g;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -2 0 0 0 0];\nvalue (0 0 -9.81);\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 (water air);\n\nsigma 0.07;\n\n\n// ************************************************************************* //\n", "constant/physicalProperties.water": "/*--------------------------------*- 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.water;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nviscosityModel constant;\n\nnu 0.0001;\n\nrho 1000;\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 laminar;\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 0.001;\n\nrho 1;\n\n\n// ************************************************************************* //\n", "constant/dynamicMeshDict": "/*--------------------------------*- 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 dynamicMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ntopoChanger\n{\n type refiner;\n\n libs (\"libfvMeshTopoChangers.so\");\n\n mover none;\n\n // How often to refine\n refineInterval 1;\n\n // Field to be refinement on\n field alpha.water;\n\n // Refine field in between lower..upper\n lowerRefineLevel 0.001;\n upperRefineLevel 0.999;\n\n // Have slower than 2:1 refinement\n nBufferLayers 1;\n\n // Refine cells only up to maxRefinement levels\n maxRefinement 2;\n\n // Stop refinement if maxCells reached\n maxCells 200000;\n\n // Flux field and corresponding velocity field. Fluxes on changed\n // faces get recalculated by interpolating the velocity. Use 'none'\n // on surfaceScalarFields that do not need to be reinterpolated.\n correctFluxes\n (\n (phi none)\n (nHatf none)\n (rhoPhi none)\n (alphaPhi.water none)\n (ghf none)\n );\n\n // Write the refinement level as a volScalarField\n dumpLevel true;\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 atmosphere\n {\n type prghTotalPressure;\n rho rho;\n psi none;\n gamma 1;\n p0 uniform 0;\n value uniform 0;\n }\n walls\n {\n type fixedFluxPressure;\n gradient uniform 0;\n value uniform 0;\n }\n}\n\n\n// ************************************************************************* //\n", "0/U.orig": "/*--------------------------------*- 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 atmosphere\n {\n type pressureInletOutletVelocity;\n value uniform (0 0 0);\n }\n walls\n {\n type uniformFixedValue;\n uniformValue constant (0 0 0);\n value uniform (0 0 0);\n }\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.00015;\n\nboundaryField\n{\n atmosphere\n {\n type inletOutlet;\n inletValue uniform 0.00015;\n value uniform 0.00015;\n }\n walls\n {\n type kqRWallFunction;\n value uniform 0.00015;\n }\n}\n\n\n// ************************************************************************* //\n", "0/alpha.water.orig": "/*--------------------------------*- 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.water;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 0 0 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n atmosphere\n {\n type inletOutlet;\n inletValue uniform 0;\n value uniform 0;\n }\n walls\n {\n type zeroGradient;\n }\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 binary;\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 atmosphere\n {\n type pressureInletOutletVelocity;\n value uniform (0 0 0);\n }\n walls\n {\n type uniformFixedValue;\n uniformValue \n {\n type constant;\n value (0 0 0);\n }\n value uniform (0 0 0);\n }\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 5e-07;\n\nboundaryField\n{\n atmosphere\n {\n type zeroGradient;\n }\n walls\n {\n type nutkRoughWallFunction;\n Ks uniform 0.0001;\n Cs uniform 0.5;\n value uniform 5e-07;\n }\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 2;\n\nboundaryField\n{\n atmosphere\n {\n type inletOutlet;\n inletValue uniform 2;\n value uniform 2;\n }\n walls\n {\n type omegaWallFunction;\n value uniform 2;\n }\n}\n\n\n// ************************************************************************* //\n", "0/alpha.water": "/*--------------------------------*- 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.water;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 0 0 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n atmosphere\n {\n type inletOutlet;\n inletValue uniform 0;\n value uniform 0;\n }\n walls\n {\n type zeroGradient;\n }\n}\n\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.water.*\"\n {\n nAlphaCorr 1;\n nAlphaSubCycles 3;\n nLimiterIter 5;\n }\n\n p_rgh\n {\n solver GAMG;\n tolerance 1e-08;\n relTol 0.01;\n smoother DIC;\n cacheAgglomeration no;\n }\n\n p_rghFinal\n {\n $p_rgh;\n relTol 0;\n }\n\n \"pcorr.*\"\n {\n $p_rghFinal;\n tolerance 1e-4;\n }\n\n U\n {\n solver smoothSolver;\n smoother GaussSeidel;\n tolerance 1e-06;\n relTol 0;\n nSweeps 1;\n }\n\n \"(k|omega|B|nuTilda).*\"\n {\n solver smoothSolver;\n smoother symGaussSeidel;\n tolerance 1e-08;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n momentumPredictor no;\n nCorrectors 3;\n nNonOrthogonalCorrectors 0;\n\n pRefPoint (0.51 0.51 0.51);\n pRefValue 0;\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 interFoam;\nsolver incompressibleVoF;\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 0.1;\n\ndeltaT 0.001;\n\nwriteControl adjustableRunTime;\n\nwriteInterval 0.02;\n\npurgeWrite 0;\n\nwriteFormat binary;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable yes;\n\nadjustTimeStep yes;\n\nmaxCo 0.5;\nmaxAlphaCo 0.5;\nmaxDeltaT 1;\n\n// ************************************************************************* //\n", "system/topoSetDict": "/*--------------------------------*- 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 object topoSetDict;\n}\n\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nactions\n(\n {\n name c0;\n type cellSet;\n action clear;\n }\n {\n name c0;\n type cellSet;\n action invert;\n }\n {\n name c0;\n type cellSet;\n action delete;\n source boxToCell;\n box (0.375 0.375 0) (0.625 0.625 0.25);\n }\n);\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 scotch;\n\nsimpleCoeffs\n{\n n (2 2 1);\n}\n\nhierarchicalCoeffs\n{\n n (2 2 1);\n order xyz;\n}\n\nmanualCoeffs\n{\n dataFile \"\";\n}\n\ndistributed no;\n\nroots ( );\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 div(rhoPhi,U) Gauss upwind;\n div(phi,alpha) Gauss MPLIC;\n div(phi,k) Gauss upwind;\n div(phi,omega) Gauss upwind;\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// ************************************************************************* //\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 object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nconvertToMeters 1;\n\nvertices\n(\n (0 0 0)\n (1 0 0)\n (1 1 0)\n (0 1 0)\n (0 0 1)\n (1 0 1)\n (1 1 1)\n (0 1 1)\n);\n\nblocks\n(\n hex (0 1 2 3 4 5 6 7) (32 32 32) simpleGrading (1 1 1)\n);\n\nboundary\n(\n atmosphere\n {\n type patch;\n faces\n (\n (3 7 6 2)\n );\n }\n walls\n {\n type wall;\n faces\n (\n (0 4 7 3)\n (2 6 5 1)\n (1 5 4 0)\n (0 3 2 1)\n (4 5 6 7)\n );\n }\n);\n\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\ndefaultValues\n{\n alpha.water 0;\n U (0 0 0);\n}\n\nzones\n{\n waterColumn\n {\n type box;\n zoneType cell;\n\n box (0 0 0) (0.6 0.1875 0.75);\n\n values\n {\n alpha.water 1;\n }\n }\n}\n\n// ************************************************************************* //\n" }, "damBreakWithObstacle/3": { "usr_requirement": "do a laminar dam break with obstacle simulation. user interfoam solver. The domain extent is 1x1x1. Use 32 grid points in all directions. Use density of air to be 1 kg/m3 and density of water to be 1000 kg/m3. Take the viscosity of air to be 0.0001 and viscosity of water to be 0.0001. The simulation runs from t=0s to t=0.1s with a timestep of 0.001s and a write interval of 0.02. Use OpenFOAM-13 with the incompressibleVoF solver module, 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\nrunApplication setFields\nrunApplication foamRun -solver $solver\n\n#------------------------------------------------------------------------------\n", "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 uniformDimensionedVectorField;\n location \"constant\";\n object g;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -2 0 0 0 0];\nvalue (0 0 -9.81);\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 (water air);\n\nsigma 0.07;\n\n\n// ************************************************************************* //\n", "constant/physicalProperties.water": "/*--------------------------------*- 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.water;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nviscosityModel constant;\n\nnu 0.0001;\n\nrho 1000;\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 laminar;\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 0.0001;\n\nrho 1;\n\n\n// ************************************************************************* //\n", "constant/dynamicMeshDict": "/*--------------------------------*- 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 dynamicMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ntopoChanger\n{\n type refiner;\n\n libs (\"libfvMeshTopoChangers.so\");\n\n mover none;\n\n // How often to refine\n refineInterval 1;\n\n // Field to be refinement on\n field alpha.water;\n\n // Refine field in between lower..upper\n lowerRefineLevel 0.001;\n upperRefineLevel 0.999;\n\n // Have slower than 2:1 refinement\n nBufferLayers 1;\n\n // Refine cells only up to maxRefinement levels\n maxRefinement 2;\n\n // Stop refinement if maxCells reached\n maxCells 200000;\n\n // Flux field and corresponding velocity field. Fluxes on changed\n // faces get recalculated by interpolating the velocity. Use 'none'\n // on surfaceScalarFields that do not need to be reinterpolated.\n correctFluxes\n (\n (phi none)\n (nHatf none)\n (rhoPhi none)\n (alphaPhi.water none)\n (ghf none)\n );\n\n // Write the refinement level as a volScalarField\n dumpLevel true;\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 atmosphere\n {\n type prghTotalPressure;\n rho rho;\n psi none;\n gamma 1;\n p0 uniform 0;\n value uniform 0;\n }\n walls\n {\n type fixedFluxPressure;\n gradient uniform 0;\n value uniform 0;\n }\n}\n\n\n// ************************************************************************* //\n", "0/U.orig": "/*--------------------------------*- 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 atmosphere\n {\n type pressureInletOutletVelocity;\n value uniform (0 0 0);\n }\n walls\n {\n type uniformFixedValue;\n uniformValue constant (0 0 0);\n value uniform (0 0 0);\n }\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.00015;\n\nboundaryField\n{\n atmosphere\n {\n type inletOutlet;\n inletValue uniform 0.00015;\n value uniform 0.00015;\n }\n walls\n {\n type kqRWallFunction;\n value uniform 0.00015;\n }\n}\n\n\n// ************************************************************************* //\n", "0/alpha.water.orig": "/*--------------------------------*- 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.water;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 0 0 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n atmosphere\n {\n type inletOutlet;\n inletValue uniform 0;\n value uniform 0;\n }\n walls\n {\n type zeroGradient;\n }\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 binary;\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 atmosphere\n {\n type pressureInletOutletVelocity;\n value uniform (0 0 0);\n }\n walls\n {\n type uniformFixedValue;\n uniformValue \n {\n type constant;\n value (0 0 0);\n }\n value uniform (0 0 0);\n }\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 5e-07;\n\nboundaryField\n{\n atmosphere\n {\n type zeroGradient;\n }\n walls\n {\n type nutkRoughWallFunction;\n Ks uniform 0.0001;\n Cs uniform 0.5;\n value uniform 5e-07;\n }\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 2;\n\nboundaryField\n{\n atmosphere\n {\n type inletOutlet;\n inletValue uniform 2;\n value uniform 2;\n }\n walls\n {\n type omegaWallFunction;\n value uniform 2;\n }\n}\n\n\n// ************************************************************************* //\n", "0/alpha.water": "/*--------------------------------*- 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.water;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 0 0 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n atmosphere\n {\n type inletOutlet;\n inletValue uniform 0;\n value uniform 0;\n }\n walls\n {\n type zeroGradient;\n }\n}\n\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.water.*\"\n {\n nAlphaCorr 1;\n nAlphaSubCycles 3;\n nLimiterIter 5;\n }\n\n p_rgh\n {\n solver GAMG;\n tolerance 1e-08;\n relTol 0.01;\n smoother DIC;\n cacheAgglomeration no;\n }\n\n p_rghFinal\n {\n $p_rgh;\n relTol 0;\n }\n\n \"pcorr.*\"\n {\n $p_rghFinal;\n tolerance 1e-4;\n }\n\n U\n {\n solver smoothSolver;\n smoother GaussSeidel;\n tolerance 1e-06;\n relTol 0;\n nSweeps 1;\n }\n\n \"(k|omega|B|nuTilda).*\"\n {\n solver smoothSolver;\n smoother symGaussSeidel;\n tolerance 1e-08;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n momentumPredictor no;\n nCorrectors 3;\n nNonOrthogonalCorrectors 0;\n\n pRefPoint (0.51 0.51 0.51);\n pRefValue 0;\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 interFoam;\nsolver incompressibleVoF;\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 0.1;\n\ndeltaT 0.001;\n\nwriteControl adjustableRunTime;\n\nwriteInterval 0.02;\n\npurgeWrite 0;\n\nwriteFormat binary;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable yes;\n\nadjustTimeStep yes;\n\nmaxCo 0.5;\nmaxAlphaCo 0.5;\nmaxDeltaT 1;\n\n// ************************************************************************* //\n", "system/topoSetDict": "/*--------------------------------*- 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 object topoSetDict;\n}\n\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nactions\n(\n {\n name c0;\n type cellSet;\n action clear;\n }\n {\n name c0;\n type cellSet;\n action invert;\n }\n {\n name c0;\n type cellSet;\n action delete;\n source boxToCell;\n box (0.375 0.375 0) (0.625 0.625 0.25);\n }\n);\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 scotch;\n\nsimpleCoeffs\n{\n n (2 2 1);\n}\n\nhierarchicalCoeffs\n{\n n (2 2 1);\n order xyz;\n}\n\nmanualCoeffs\n{\n dataFile \"\";\n}\n\ndistributed no;\n\nroots ( );\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 div(rhoPhi,U) Gauss upwind;\n div(phi,alpha) Gauss MPLIC;\n div(phi,k) Gauss upwind;\n div(phi,omega) Gauss upwind;\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// ************************************************************************* //\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 object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nconvertToMeters 1;\n\nvertices\n(\n (0 0 0)\n (1 0 0)\n (1 1 0)\n (0 1 0)\n (0 0 1)\n (1 0 1)\n (1 1 1)\n (0 1 1)\n);\n\nblocks\n(\n hex (0 1 2 3 4 5 6 7) (32 32 32) simpleGrading (1 1 1)\n);\n\nboundary\n(\n atmosphere\n {\n type patch;\n faces\n (\n (3 7 6 2)\n );\n }\n walls\n {\n type wall;\n faces\n (\n (0 4 7 3)\n (2 6 5 1)\n (1 5 4 0)\n (0 3 2 1)\n (4 5 6 7)\n );\n }\n);\n\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\ndefaultValues\n{\n alpha.water 0;\n U (0 0 0);\n}\n\nzones\n{\n waterColumn\n {\n type box;\n zoneType cell;\n\n box (0 0 0) (0.6 0.1875 0.75);\n\n values\n {\n alpha.water 1;\n }\n }\n}\n\n// ************************************************************************* //\n" }, "damBreakWithObstacle/5": { "usr_requirement": "do a laminar dam break with obstacle simulation. user interfoam solver. The domain extent is 1x1x1. Use 32 grid points in all directions. Use density of air to be 1 kg/m3 and density of water to be 1000 kg/m3. Take the viscosity of air to be 0.001 and viscosity of water to be 0.001. The simulation runs from t=0s to t=0.1s with a timestep of 0.001s and a write interval of 0.02. Use OpenFOAM-13 with the incompressibleVoF solver module, 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\nrunApplication setFields\nrunApplication foamRun -solver $solver\n\n#------------------------------------------------------------------------------\n", "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 uniformDimensionedVectorField;\n location \"constant\";\n object g;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -2 0 0 0 0];\nvalue (0 0 -9.81);\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 (water air);\n\nsigma 0.07;\n\n\n// ************************************************************************* //\n", "constant/physicalProperties.water": "/*--------------------------------*- 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.water;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nviscosityModel constant;\n\nnu 0.001;\n\nrho 1000;\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 laminar;\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 0.001;\n\nrho 1;\n\n\n// ************************************************************************* //\n", "constant/dynamicMeshDict": "/*--------------------------------*- 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 dynamicMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ntopoChanger\n{\n type refiner;\n\n libs (\"libfvMeshTopoChangers.so\");\n\n mover none;\n\n // How often to refine\n refineInterval 1;\n\n // Field to be refinement on\n field alpha.water;\n\n // Refine field in between lower..upper\n lowerRefineLevel 0.001;\n upperRefineLevel 0.999;\n\n // Have slower than 2:1 refinement\n nBufferLayers 1;\n\n // Refine cells only up to maxRefinement levels\n maxRefinement 2;\n\n // Stop refinement if maxCells reached\n maxCells 200000;\n\n // Flux field and corresponding velocity field. Fluxes on changed\n // faces get recalculated by interpolating the velocity. Use 'none'\n // on surfaceScalarFields that do not need to be reinterpolated.\n correctFluxes\n (\n (phi none)\n (nHatf none)\n (rhoPhi none)\n (alphaPhi.water none)\n (ghf none)\n );\n\n // Write the refinement level as a volScalarField\n dumpLevel true;\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 atmosphere\n {\n type prghTotalPressure;\n rho rho;\n psi none;\n gamma 1;\n p0 uniform 0;\n value uniform 0;\n }\n walls\n {\n type fixedFluxPressure;\n gradient uniform 0;\n value uniform 0;\n }\n}\n\n\n// ************************************************************************* //\n", "0/U.orig": "/*--------------------------------*- 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 atmosphere\n {\n type pressureInletOutletVelocity;\n value uniform (0 0 0);\n }\n walls\n {\n type uniformFixedValue;\n uniformValue constant (0 0 0);\n value uniform (0 0 0);\n }\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.00015;\n\nboundaryField\n{\n atmosphere\n {\n type inletOutlet;\n inletValue uniform 0.00015;\n value uniform 0.00015;\n }\n walls\n {\n type kqRWallFunction;\n value uniform 0.00015;\n }\n}\n\n\n// ************************************************************************* //\n", "0/alpha.water.orig": "/*--------------------------------*- 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.water;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 0 0 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n atmosphere\n {\n type inletOutlet;\n inletValue uniform 0;\n value uniform 0;\n }\n walls\n {\n type zeroGradient;\n }\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 binary;\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 atmosphere\n {\n type pressureInletOutletVelocity;\n value uniform (0 0 0);\n }\n walls\n {\n type uniformFixedValue;\n uniformValue \n {\n type constant;\n value (0 0 0);\n }\n value uniform (0 0 0);\n }\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 5e-07;\n\nboundaryField\n{\n atmosphere\n {\n type zeroGradient;\n }\n walls\n {\n type nutkRoughWallFunction;\n Ks uniform 0.0001;\n Cs uniform 0.5;\n value uniform 5e-07;\n }\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 2;\n\nboundaryField\n{\n atmosphere\n {\n type inletOutlet;\n inletValue uniform 2;\n value uniform 2;\n }\n walls\n {\n type omegaWallFunction;\n value uniform 2;\n }\n}\n\n\n// ************************************************************************* //\n", "0/alpha.water": "/*--------------------------------*- 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.water;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 0 0 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n atmosphere\n {\n type inletOutlet;\n inletValue uniform 0;\n value uniform 0;\n }\n walls\n {\n type zeroGradient;\n }\n}\n\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.water.*\"\n {\n nAlphaCorr 1;\n nAlphaSubCycles 3;\n nLimiterIter 5;\n }\n\n p_rgh\n {\n solver GAMG;\n tolerance 1e-08;\n relTol 0.01;\n smoother DIC;\n cacheAgglomeration no;\n }\n\n p_rghFinal\n {\n $p_rgh;\n relTol 0;\n }\n\n \"pcorr.*\"\n {\n $p_rghFinal;\n tolerance 1e-4;\n }\n\n U\n {\n solver smoothSolver;\n smoother GaussSeidel;\n tolerance 1e-06;\n relTol 0;\n nSweeps 1;\n }\n\n \"(k|omega|B|nuTilda).*\"\n {\n solver smoothSolver;\n smoother symGaussSeidel;\n tolerance 1e-08;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n momentumPredictor no;\n nCorrectors 3;\n nNonOrthogonalCorrectors 0;\n\n pRefPoint (0.51 0.51 0.51);\n pRefValue 0;\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 interFoam;\nsolver incompressibleVoF;\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 0.1;\n\ndeltaT 0.001;\n\nwriteControl adjustableRunTime;\n\nwriteInterval 0.02;\n\npurgeWrite 0;\n\nwriteFormat binary;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable yes;\n\nadjustTimeStep yes;\n\nmaxCo 0.5;\nmaxAlphaCo 0.5;\nmaxDeltaT 1;\n\n// ************************************************************************* //\n", "system/topoSetDict": "/*--------------------------------*- 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 object topoSetDict;\n}\n\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nactions\n(\n {\n name c0;\n type cellSet;\n action clear;\n }\n {\n name c0;\n type cellSet;\n action invert;\n }\n {\n name c0;\n type cellSet;\n action delete;\n source boxToCell;\n box (0.375 0.375 0) (0.625 0.625 0.25);\n }\n);\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 scotch;\n\nsimpleCoeffs\n{\n n (2 2 1);\n}\n\nhierarchicalCoeffs\n{\n n (2 2 1);\n order xyz;\n}\n\nmanualCoeffs\n{\n dataFile \"\";\n}\n\ndistributed no;\n\nroots ( );\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 div(rhoPhi,U) Gauss upwind;\n div(phi,alpha) Gauss MPLIC;\n div(phi,k) Gauss upwind;\n div(phi,omega) Gauss upwind;\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// ************************************************************************* //\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 object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nconvertToMeters 1;\n\nvertices\n(\n (0 0 0)\n (1 0 0)\n (1 1 0)\n (0 1 0)\n (0 0 1)\n (1 0 1)\n (1 1 1)\n (0 1 1)\n);\n\nblocks\n(\n hex (0 1 2 3 4 5 6 7) (32 32 32) simpleGrading (1 1 1)\n);\n\nboundary\n(\n atmosphere\n {\n type patch;\n faces\n (\n (3 7 6 2)\n );\n }\n walls\n {\n type wall;\n faces\n (\n (0 4 7 3)\n (2 6 5 1)\n (1 5 4 0)\n (0 3 2 1)\n (4 5 6 7)\n );\n }\n);\n\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\ndefaultValues\n{\n alpha.water 0;\n U (0 0 0);\n}\n\nzones\n{\n waterColumn\n {\n type box;\n zoneType cell;\n\n box (0 0 0) (0.6 0.1875 0.75);\n\n values\n {\n alpha.water 1;\n }\n }\n}\n\n// ************************************************************************* //\n" }, "damBreakWithObstacle/2": { "usr_requirement": "do a laminar dam break with obstacle simulation. user interfoam solver. The domain extent is 1x1x1. Use 32 grid points in all directions. Use density of air to be 1 kg/m3 and density of water to be 1000 kg/m3. Take the viscosity of air to be 0.0001 and viscosity of water to be 0.001. The simulation runs from t=0s to t=0.1s with a timestep of 0.001s and a write interval of 0.02. Use OpenFOAM-13 with the incompressibleVoF solver module, 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\nrunApplication setFields\nrunApplication foamRun -solver $solver\n\n#------------------------------------------------------------------------------\n", "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 uniformDimensionedVectorField;\n location \"constant\";\n object g;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -2 0 0 0 0];\nvalue (0 0 -9.81);\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 (water air);\n\nsigma 0.07;\n\n\n// ************************************************************************* //\n", "constant/physicalProperties.water": "/*--------------------------------*- 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.water;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nviscosityModel constant;\n\nnu 0.001;\n\nrho 1000;\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 laminar;\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 0.0001;\n\nrho 1;\n\n\n// ************************************************************************* //\n", "constant/dynamicMeshDict": "/*--------------------------------*- 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 dynamicMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ntopoChanger\n{\n type refiner;\n\n libs (\"libfvMeshTopoChangers.so\");\n\n mover none;\n\n // How often to refine\n refineInterval 1;\n\n // Field to be refinement on\n field alpha.water;\n\n // Refine field in between lower..upper\n lowerRefineLevel 0.001;\n upperRefineLevel 0.999;\n\n // Have slower than 2:1 refinement\n nBufferLayers 1;\n\n // Refine cells only up to maxRefinement levels\n maxRefinement 2;\n\n // Stop refinement if maxCells reached\n maxCells 200000;\n\n // Flux field and corresponding velocity field. Fluxes on changed\n // faces get recalculated by interpolating the velocity. Use 'none'\n // on surfaceScalarFields that do not need to be reinterpolated.\n correctFluxes\n (\n (phi none)\n (nHatf none)\n (rhoPhi none)\n (alphaPhi.water none)\n (ghf none)\n );\n\n // Write the refinement level as a volScalarField\n dumpLevel true;\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 atmosphere\n {\n type prghTotalPressure;\n rho rho;\n psi none;\n gamma 1;\n p0 uniform 0;\n value uniform 0;\n }\n walls\n {\n type fixedFluxPressure;\n gradient uniform 0;\n value uniform 0;\n }\n}\n\n\n// ************************************************************************* //\n", "0/U.orig": "/*--------------------------------*- 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 atmosphere\n {\n type pressureInletOutletVelocity;\n value uniform (0 0 0);\n }\n walls\n {\n type uniformFixedValue;\n uniformValue constant (0 0 0);\n value uniform (0 0 0);\n }\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.00015;\n\nboundaryField\n{\n atmosphere\n {\n type inletOutlet;\n inletValue uniform 0.00015;\n value uniform 0.00015;\n }\n walls\n {\n type kqRWallFunction;\n value uniform 0.00015;\n }\n}\n\n\n// ************************************************************************* //\n", "0/alpha.water.orig": "/*--------------------------------*- 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.water;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 0 0 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n atmosphere\n {\n type inletOutlet;\n inletValue uniform 0;\n value uniform 0;\n }\n walls\n {\n type zeroGradient;\n }\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 binary;\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 atmosphere\n {\n type pressureInletOutletVelocity;\n value uniform (0 0 0);\n }\n walls\n {\n type uniformFixedValue;\n uniformValue \n {\n type constant;\n value (0 0 0);\n }\n value uniform (0 0 0);\n }\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 5e-07;\n\nboundaryField\n{\n atmosphere\n {\n type zeroGradient;\n }\n walls\n {\n type nutkRoughWallFunction;\n Ks uniform 0.0001;\n Cs uniform 0.5;\n value uniform 5e-07;\n }\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 2;\n\nboundaryField\n{\n atmosphere\n {\n type inletOutlet;\n inletValue uniform 2;\n value uniform 2;\n }\n walls\n {\n type omegaWallFunction;\n value uniform 2;\n }\n}\n\n\n// ************************************************************************* //\n", "0/alpha.water": "/*--------------------------------*- 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.water;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 0 0 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n atmosphere\n {\n type inletOutlet;\n inletValue uniform 0;\n value uniform 0;\n }\n walls\n {\n type zeroGradient;\n }\n}\n\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.water.*\"\n {\n nAlphaCorr 1;\n nAlphaSubCycles 3;\n nLimiterIter 5;\n }\n\n p_rgh\n {\n solver GAMG;\n tolerance 1e-08;\n relTol 0.01;\n smoother DIC;\n cacheAgglomeration no;\n }\n\n p_rghFinal\n {\n $p_rgh;\n relTol 0;\n }\n\n \"pcorr.*\"\n {\n $p_rghFinal;\n tolerance 1e-4;\n }\n\n U\n {\n solver smoothSolver;\n smoother GaussSeidel;\n tolerance 1e-06;\n relTol 0;\n nSweeps 1;\n }\n\n \"(k|omega|B|nuTilda).*\"\n {\n solver smoothSolver;\n smoother symGaussSeidel;\n tolerance 1e-08;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n momentumPredictor no;\n nCorrectors 3;\n nNonOrthogonalCorrectors 0;\n\n pRefPoint (0.51 0.51 0.51);\n pRefValue 0;\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 interFoam;\nsolver incompressibleVoF;\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 0.1;\n\ndeltaT 0.001;\n\nwriteControl adjustableRunTime;\n\nwriteInterval 0.02;\n\npurgeWrite 0;\n\nwriteFormat binary;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable yes;\n\nadjustTimeStep yes;\n\nmaxCo 0.5;\nmaxAlphaCo 0.5;\nmaxDeltaT 1;\n\n// ************************************************************************* //\n", "system/topoSetDict": "/*--------------------------------*- 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 object topoSetDict;\n}\n\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nactions\n(\n {\n name c0;\n type cellSet;\n action clear;\n }\n {\n name c0;\n type cellSet;\n action invert;\n }\n {\n name c0;\n type cellSet;\n action delete;\n source boxToCell;\n box (0.375 0.375 0) (0.625 0.625 0.25);\n }\n);\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 scotch;\n\nsimpleCoeffs\n{\n n (2 2 1);\n}\n\nhierarchicalCoeffs\n{\n n (2 2 1);\n order xyz;\n}\n\nmanualCoeffs\n{\n dataFile \"\";\n}\n\ndistributed no;\n\nroots ( );\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 div(rhoPhi,U) Gauss upwind;\n div(phi,alpha) Gauss MPLIC;\n div(phi,k) Gauss upwind;\n div(phi,omega) Gauss upwind;\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// ************************************************************************* //\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 object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nconvertToMeters 1;\n\nvertices\n(\n (0 0 0)\n (1 0 0)\n (1 1 0)\n (0 1 0)\n (0 0 1)\n (1 0 1)\n (1 1 1)\n (0 1 1)\n);\n\nblocks\n(\n hex (0 1 2 3 4 5 6 7) (32 32 32) simpleGrading (1 1 1)\n);\n\nboundary\n(\n atmosphere\n {\n type patch;\n faces\n (\n (3 7 6 2)\n );\n }\n walls\n {\n type wall;\n faces\n (\n (0 4 7 3)\n (2 6 5 1)\n (1 5 4 0)\n (0 3 2 1)\n (4 5 6 7)\n );\n }\n);\n\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\ndefaultValues\n{\n alpha.water 0;\n U (0 0 0);\n}\n\nzones\n{\n waterColumn\n {\n type box;\n zoneType cell;\n\n box (0 0 0) (0.6 0.1875 0.75);\n\n values\n {\n alpha.water 1;\n }\n }\n}\n\n// ************************************************************************* //\n" }, "damBreakWithObstacle/4": { "usr_requirement": "do a laminar dam break with obstacle simulation. user interfoam solver. The domain extent is 1x1x1. Use 32 grid points in all directions. Use density of air to be 1 kg/m3 and density of water to be 1000 kg/m3. Take the viscosity of air to be 0.0001 and viscosity of water to be 1e-05. The simulation runs from t=0s to t=0.1s with a timestep of 0.001s and a write interval of 0.02. Use OpenFOAM-13 with the incompressibleVoF solver module, 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\nrunApplication setFields\nrunApplication foamRun -solver $solver\n\n#------------------------------------------------------------------------------\n", "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 uniformDimensionedVectorField;\n location \"constant\";\n object g;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -2 0 0 0 0];\nvalue (0 0 -9.81);\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 (water air);\n\nsigma 0.07;\n\n\n// ************************************************************************* //\n", "constant/physicalProperties.water": "/*--------------------------------*- 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.water;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nviscosityModel constant;\n\nnu 1e-05;\n\nrho 1000;\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 laminar;\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 0.0001;\n\nrho 1;\n\n\n// ************************************************************************* //\n", "constant/dynamicMeshDict": "/*--------------------------------*- 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 dynamicMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ntopoChanger\n{\n type refiner;\n\n libs (\"libfvMeshTopoChangers.so\");\n\n mover none;\n\n // How often to refine\n refineInterval 1;\n\n // Field to be refinement on\n field alpha.water;\n\n // Refine field in between lower..upper\n lowerRefineLevel 0.001;\n upperRefineLevel 0.999;\n\n // Have slower than 2:1 refinement\n nBufferLayers 1;\n\n // Refine cells only up to maxRefinement levels\n maxRefinement 2;\n\n // Stop refinement if maxCells reached\n maxCells 200000;\n\n // Flux field and corresponding velocity field. Fluxes on changed\n // faces get recalculated by interpolating the velocity. Use 'none'\n // on surfaceScalarFields that do not need to be reinterpolated.\n correctFluxes\n (\n (phi none)\n (nHatf none)\n (rhoPhi none)\n (alphaPhi.water none)\n (ghf none)\n );\n\n // Write the refinement level as a volScalarField\n dumpLevel true;\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 atmosphere\n {\n type prghTotalPressure;\n rho rho;\n psi none;\n gamma 1;\n p0 uniform 0;\n value uniform 0;\n }\n walls\n {\n type fixedFluxPressure;\n gradient uniform 0;\n value uniform 0;\n }\n}\n\n\n// ************************************************************************* //\n", "0/U.orig": "/*--------------------------------*- 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 atmosphere\n {\n type pressureInletOutletVelocity;\n value uniform (0 0 0);\n }\n walls\n {\n type uniformFixedValue;\n uniformValue constant (0 0 0);\n value uniform (0 0 0);\n }\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.00015;\n\nboundaryField\n{\n atmosphere\n {\n type inletOutlet;\n inletValue uniform 0.00015;\n value uniform 0.00015;\n }\n walls\n {\n type kqRWallFunction;\n value uniform 0.00015;\n }\n}\n\n\n// ************************************************************************* //\n", "0/alpha.water.orig": "/*--------------------------------*- 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.water;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 0 0 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n atmosphere\n {\n type inletOutlet;\n inletValue uniform 0;\n value uniform 0;\n }\n walls\n {\n type zeroGradient;\n }\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 binary;\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 atmosphere\n {\n type pressureInletOutletVelocity;\n value uniform (0 0 0);\n }\n walls\n {\n type uniformFixedValue;\n uniformValue \n {\n type constant;\n value (0 0 0);\n }\n value uniform (0 0 0);\n }\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 5e-07;\n\nboundaryField\n{\n atmosphere\n {\n type zeroGradient;\n }\n walls\n {\n type nutkRoughWallFunction;\n Ks uniform 0.0001;\n Cs uniform 0.5;\n value uniform 5e-07;\n }\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 2;\n\nboundaryField\n{\n atmosphere\n {\n type inletOutlet;\n inletValue uniform 2;\n value uniform 2;\n }\n walls\n {\n type omegaWallFunction;\n value uniform 2;\n }\n}\n\n\n// ************************************************************************* //\n", "0/alpha.water": "/*--------------------------------*- 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.water;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 0 0 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n atmosphere\n {\n type inletOutlet;\n inletValue uniform 0;\n value uniform 0;\n }\n walls\n {\n type zeroGradient;\n }\n}\n\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.water.*\"\n {\n nAlphaCorr 1;\n nAlphaSubCycles 3;\n nLimiterIter 5;\n }\n\n p_rgh\n {\n solver GAMG;\n tolerance 1e-08;\n relTol 0.01;\n smoother DIC;\n cacheAgglomeration no;\n }\n\n p_rghFinal\n {\n $p_rgh;\n relTol 0;\n }\n\n \"pcorr.*\"\n {\n $p_rghFinal;\n tolerance 1e-4;\n }\n\n U\n {\n solver smoothSolver;\n smoother GaussSeidel;\n tolerance 1e-06;\n relTol 0;\n nSweeps 1;\n }\n\n \"(k|omega|B|nuTilda).*\"\n {\n solver smoothSolver;\n smoother symGaussSeidel;\n tolerance 1e-08;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n momentumPredictor no;\n nCorrectors 3;\n nNonOrthogonalCorrectors 0;\n\n pRefPoint (0.51 0.51 0.51);\n pRefValue 0;\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 interFoam;\nsolver incompressibleVoF;\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 0.1;\n\ndeltaT 0.001;\n\nwriteControl adjustableRunTime;\n\nwriteInterval 0.02;\n\npurgeWrite 0;\n\nwriteFormat binary;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable yes;\n\nadjustTimeStep yes;\n\nmaxCo 0.5;\nmaxAlphaCo 0.5;\nmaxDeltaT 1;\n\n// ************************************************************************* //\n", "system/topoSetDict": "/*--------------------------------*- 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 object topoSetDict;\n}\n\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nactions\n(\n {\n name c0;\n type cellSet;\n action clear;\n }\n {\n name c0;\n type cellSet;\n action invert;\n }\n {\n name c0;\n type cellSet;\n action delete;\n source boxToCell;\n box (0.375 0.375 0) (0.625 0.625 0.25);\n }\n);\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 scotch;\n\nsimpleCoeffs\n{\n n (2 2 1);\n}\n\nhierarchicalCoeffs\n{\n n (2 2 1);\n order xyz;\n}\n\nmanualCoeffs\n{\n dataFile \"\";\n}\n\ndistributed no;\n\nroots ( );\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 div(rhoPhi,U) Gauss upwind;\n div(phi,alpha) Gauss MPLIC;\n div(phi,k) Gauss upwind;\n div(phi,omega) Gauss upwind;\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// ************************************************************************* //\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 object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nconvertToMeters 1;\n\nvertices\n(\n (0 0 0)\n (1 0 0)\n (1 1 0)\n (0 1 0)\n (0 0 1)\n (1 0 1)\n (1 1 1)\n (0 1 1)\n);\n\nblocks\n(\n hex (0 1 2 3 4 5 6 7) (32 32 32) simpleGrading (1 1 1)\n);\n\nboundary\n(\n atmosphere\n {\n type patch;\n faces\n (\n (3 7 6 2)\n );\n }\n walls\n {\n type wall;\n faces\n (\n (0 4 7 3)\n (2 6 5 1)\n (1 5 4 0)\n (0 3 2 1)\n (4 5 6 7)\n );\n }\n);\n\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\ndefaultValues\n{\n alpha.water 0;\n U (0 0 0);\n}\n\nzones\n{\n waterColumn\n {\n type box;\n zoneType cell;\n\n box (0 0 0) (0.6 0.1875 0.75);\n\n values\n {\n alpha.water 1;\n }\n }\n}\n\n// ************************************************************************* //\n" }, "damBreakWithObstacle/1": { "usr_requirement": "do a laminar dam break with obstacle simulation. user interfoam solver. The domain extent is 1x1x1. Use 32 grid points in all directions. Use density of air to be 1 kg/m3 and density of water to be 1000 kg/m3. Take the viscosity of air to be 1.48e-5 and viscosity of water to be 1e-6. The simulation runs from t=0s to t=0.1s with a timestep of 0.001s and a write interval of 0.02. Use OpenFOAM-13 with the incompressibleVoF solver module, 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\nrunApplication setFields\nrunApplication foamRun -solver $solver\n\n#------------------------------------------------------------------------------\n", "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 uniformDimensionedVectorField;\n location \"constant\";\n object g;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -2 0 0 0 0];\nvalue (0 0 -9.81);\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 (water air);\n\nsigma 0.07;\n\n\n// ************************************************************************* //\n", "constant/physicalProperties.water": "/*--------------------------------*- 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.water;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nviscosityModel constant;\n\nnu 1e-06;\n\nrho 1000;\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 laminar;\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 1.48e-05;\n\nrho 1;\n\n\n// ************************************************************************* //\n", "constant/dynamicMeshDict": "/*--------------------------------*- 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 dynamicMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ntopoChanger\n{\n type refiner;\n\n libs (\"libfvMeshTopoChangers.so\");\n\n mover none;\n\n // How often to refine\n refineInterval 1;\n\n // Field to be refinement on\n field alpha.water;\n\n // Refine field in between lower..upper\n lowerRefineLevel 0.001;\n upperRefineLevel 0.999;\n\n // Have slower than 2:1 refinement\n nBufferLayers 1;\n\n // Refine cells only up to maxRefinement levels\n maxRefinement 2;\n\n // Stop refinement if maxCells reached\n maxCells 200000;\n\n // Flux field and corresponding velocity field. Fluxes on changed\n // faces get recalculated by interpolating the velocity. Use 'none'\n // on surfaceScalarFields that do not need to be reinterpolated.\n correctFluxes\n (\n (phi none)\n (nHatf none)\n (rhoPhi none)\n (alphaPhi.water none)\n (ghf none)\n );\n\n // Write the refinement level as a volScalarField\n dumpLevel true;\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 atmosphere\n {\n type prghTotalPressure;\n rho rho;\n psi none;\n gamma 1;\n p0 uniform 0;\n value uniform 0;\n }\n walls\n {\n type fixedFluxPressure;\n gradient uniform 0;\n value uniform 0;\n }\n}\n\n\n// ************************************************************************* //\n", "0/U.orig": "/*--------------------------------*- 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 atmosphere\n {\n type pressureInletOutletVelocity;\n value uniform (0 0 0);\n }\n walls\n {\n type uniformFixedValue;\n uniformValue constant (0 0 0);\n value uniform (0 0 0);\n }\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.00015;\n\nboundaryField\n{\n atmosphere\n {\n type inletOutlet;\n inletValue uniform 0.00015;\n value uniform 0.00015;\n }\n walls\n {\n type kqRWallFunction;\n value uniform 0.00015;\n }\n}\n\n\n// ************************************************************************* //\n", "0/alpha.water.orig": "/*--------------------------------*- 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.water;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 0 0 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n atmosphere\n {\n type inletOutlet;\n inletValue uniform 0;\n value uniform 0;\n }\n walls\n {\n type zeroGradient;\n }\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 binary;\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 atmosphere\n {\n type pressureInletOutletVelocity;\n value uniform (0 0 0);\n }\n walls\n {\n type uniformFixedValue;\n uniformValue \n {\n type constant;\n value (0 0 0);\n }\n value uniform (0 0 0);\n }\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 5e-07;\n\nboundaryField\n{\n atmosphere\n {\n type zeroGradient;\n }\n walls\n {\n type nutkRoughWallFunction;\n Ks uniform 0.0001;\n Cs uniform 0.5;\n value uniform 5e-07;\n }\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 2;\n\nboundaryField\n{\n atmosphere\n {\n type inletOutlet;\n inletValue uniform 2;\n value uniform 2;\n }\n walls\n {\n type omegaWallFunction;\n value uniform 2;\n }\n}\n\n\n// ************************************************************************* //\n", "0/alpha.water": "/*--------------------------------*- 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.water;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 0 0 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n atmosphere\n {\n type inletOutlet;\n inletValue uniform 0;\n value uniform 0;\n }\n walls\n {\n type zeroGradient;\n }\n}\n\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.water.*\"\n {\n nAlphaCorr 1;\n nAlphaSubCycles 3;\n nLimiterIter 5;\n }\n\n p_rgh\n {\n solver GAMG;\n tolerance 1e-08;\n relTol 0.01;\n smoother DIC;\n cacheAgglomeration no;\n }\n\n p_rghFinal\n {\n $p_rgh;\n relTol 0;\n }\n\n \"pcorr.*\"\n {\n $p_rghFinal;\n tolerance 1e-4;\n }\n\n U\n {\n solver smoothSolver;\n smoother GaussSeidel;\n tolerance 1e-06;\n relTol 0;\n nSweeps 1;\n }\n\n \"(k|omega|B|nuTilda).*\"\n {\n solver smoothSolver;\n smoother symGaussSeidel;\n tolerance 1e-08;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n momentumPredictor no;\n nCorrectors 3;\n nNonOrthogonalCorrectors 0;\n\n pRefPoint (0.51 0.51 0.51);\n pRefValue 0;\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 interFoam;\nsolver incompressibleVoF;\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 0.1;\n\ndeltaT 0.001;\n\nwriteControl adjustableRunTime;\n\nwriteInterval 0.02;\n\npurgeWrite 0;\n\nwriteFormat binary;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable yes;\n\nadjustTimeStep yes;\n\nmaxCo 0.5;\nmaxAlphaCo 0.5;\nmaxDeltaT 1;\n\n// ************************************************************************* //\n", "system/topoSetDict": "/*--------------------------------*- 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 object topoSetDict;\n}\n\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nactions\n(\n {\n name c0;\n type cellSet;\n action clear;\n }\n {\n name c0;\n type cellSet;\n action invert;\n }\n {\n name c0;\n type cellSet;\n action delete;\n source boxToCell;\n box (0.375 0.375 0) (0.625 0.625 0.25);\n }\n);\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 scotch;\n\nsimpleCoeffs\n{\n n (2 2 1);\n}\n\nhierarchicalCoeffs\n{\n n (2 2 1);\n order xyz;\n}\n\nmanualCoeffs\n{\n dataFile \"\";\n}\n\ndistributed no;\n\nroots ( );\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 div(rhoPhi,U) Gauss upwind;\n div(phi,alpha) Gauss MPLIC;\n div(phi,k) Gauss upwind;\n div(phi,omega) Gauss upwind;\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// ************************************************************************* //\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 object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nconvertToMeters 1;\n\nvertices\n(\n (0 0 0)\n (1 0 0)\n (1 1 0)\n (0 1 0)\n (0 0 1)\n (1 0 1)\n (1 1 1)\n (0 1 1)\n);\n\nblocks\n(\n hex (0 1 2 3 4 5 6 7) (32 32 32) simpleGrading (1 1 1)\n);\n\nboundary\n(\n atmosphere\n {\n type patch;\n faces\n (\n (3 7 6 2)\n );\n }\n walls\n {\n type wall;\n faces\n (\n (0 4 7 3)\n (2 6 5 1)\n (1 5 4 0)\n (0 3 2 1)\n (4 5 6 7)\n );\n }\n);\n\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\ndefaultValues\n{\n alpha.water 0;\n U (0 0 0);\n}\n\nzones\n{\n waterColumn\n {\n type box;\n zoneType cell;\n\n box (0 0 0) (0.6 0.1875 0.75);\n\n values\n {\n alpha.water 1;\n }\n }\n}\n\n// ************************************************************************* //\n" }, "damBreakWithObstacle/9": { "usr_requirement": "do a laminar dam break with obstacle simulation. user interfoam solver. The domain extent is 1x1x1. Use 32 grid points in all directions. Use density of air to be 1 kg/m3 and density of water to be 1000 kg/m3. Take the viscosity of air to be 1.48e-05 and viscosity of water to be 0.0001. The simulation runs from t=0s to t=0.1s with a timestep of 0.001s and a write interval of 0.02. Use OpenFOAM-13 with the incompressibleVoF solver module, 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\nrunApplication setFields\nrunApplication foamRun -solver $solver\n\n#------------------------------------------------------------------------------\n", "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 uniformDimensionedVectorField;\n location \"constant\";\n object g;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -2 0 0 0 0];\nvalue (0 0 -9.81);\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 (water air);\n\nsigma 0.07;\n\n\n// ************************************************************************* //\n", "constant/physicalProperties.water": "/*--------------------------------*- 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.water;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nviscosityModel constant;\n\nnu 0.0001;\n\nrho 1000;\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 laminar;\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 1.48e-05;\n\nrho 1;\n\n\n// ************************************************************************* //\n", "constant/dynamicMeshDict": "/*--------------------------------*- 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 dynamicMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ntopoChanger\n{\n type refiner;\n\n libs (\"libfvMeshTopoChangers.so\");\n\n mover none;\n\n // How often to refine\n refineInterval 1;\n\n // Field to be refinement on\n field alpha.water;\n\n // Refine field in between lower..upper\n lowerRefineLevel 0.001;\n upperRefineLevel 0.999;\n\n // Have slower than 2:1 refinement\n nBufferLayers 1;\n\n // Refine cells only up to maxRefinement levels\n maxRefinement 2;\n\n // Stop refinement if maxCells reached\n maxCells 200000;\n\n // Flux field and corresponding velocity field. Fluxes on changed\n // faces get recalculated by interpolating the velocity. Use 'none'\n // on surfaceScalarFields that do not need to be reinterpolated.\n correctFluxes\n (\n (phi none)\n (nHatf none)\n (rhoPhi none)\n (alphaPhi.water none)\n (ghf none)\n );\n\n // Write the refinement level as a volScalarField\n dumpLevel true;\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 atmosphere\n {\n type prghTotalPressure;\n rho rho;\n psi none;\n gamma 1;\n p0 uniform 0;\n value uniform 0;\n }\n walls\n {\n type fixedFluxPressure;\n gradient uniform 0;\n value uniform 0;\n }\n}\n\n\n// ************************************************************************* //\n", "0/U.orig": "/*--------------------------------*- 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 atmosphere\n {\n type pressureInletOutletVelocity;\n value uniform (0 0 0);\n }\n walls\n {\n type uniformFixedValue;\n uniformValue constant (0 0 0);\n value uniform (0 0 0);\n }\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.00015;\n\nboundaryField\n{\n atmosphere\n {\n type inletOutlet;\n inletValue uniform 0.00015;\n value uniform 0.00015;\n }\n walls\n {\n type kqRWallFunction;\n value uniform 0.00015;\n }\n}\n\n\n// ************************************************************************* //\n", "0/alpha.water.orig": "/*--------------------------------*- 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.water;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 0 0 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n atmosphere\n {\n type inletOutlet;\n inletValue uniform 0;\n value uniform 0;\n }\n walls\n {\n type zeroGradient;\n }\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 binary;\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 atmosphere\n {\n type pressureInletOutletVelocity;\n value uniform (0 0 0);\n }\n walls\n {\n type uniformFixedValue;\n uniformValue \n {\n type constant;\n value (0 0 0);\n }\n value uniform (0 0 0);\n }\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 5e-07;\n\nboundaryField\n{\n atmosphere\n {\n type zeroGradient;\n }\n walls\n {\n type nutkRoughWallFunction;\n Ks uniform 0.0001;\n Cs uniform 0.5;\n value uniform 5e-07;\n }\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 2;\n\nboundaryField\n{\n atmosphere\n {\n type inletOutlet;\n inletValue uniform 2;\n value uniform 2;\n }\n walls\n {\n type omegaWallFunction;\n value uniform 2;\n }\n}\n\n\n// ************************************************************************* //\n", "0/alpha.water": "/*--------------------------------*- 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.water;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 0 0 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n atmosphere\n {\n type inletOutlet;\n inletValue uniform 0;\n value uniform 0;\n }\n walls\n {\n type zeroGradient;\n }\n}\n\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.water.*\"\n {\n nAlphaCorr 1;\n nAlphaSubCycles 3;\n nLimiterIter 5;\n }\n\n p_rgh\n {\n solver GAMG;\n tolerance 1e-08;\n relTol 0.01;\n smoother DIC;\n cacheAgglomeration no;\n }\n\n p_rghFinal\n {\n $p_rgh;\n relTol 0;\n }\n\n \"pcorr.*\"\n {\n $p_rghFinal;\n tolerance 1e-4;\n }\n\n U\n {\n solver smoothSolver;\n smoother GaussSeidel;\n tolerance 1e-06;\n relTol 0;\n nSweeps 1;\n }\n\n \"(k|omega|B|nuTilda).*\"\n {\n solver smoothSolver;\n smoother symGaussSeidel;\n tolerance 1e-08;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n momentumPredictor no;\n nCorrectors 3;\n nNonOrthogonalCorrectors 0;\n\n pRefPoint (0.51 0.51 0.51);\n pRefValue 0;\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 interFoam;\nsolver incompressibleVoF;\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 0.1;\n\ndeltaT 0.001;\n\nwriteControl adjustableRunTime;\n\nwriteInterval 0.02;\n\npurgeWrite 0;\n\nwriteFormat binary;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable yes;\n\nadjustTimeStep yes;\n\nmaxCo 0.5;\nmaxAlphaCo 0.5;\nmaxDeltaT 1;\n\n// ************************************************************************* //\n", "system/topoSetDict": "/*--------------------------------*- 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 object topoSetDict;\n}\n\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nactions\n(\n {\n name c0;\n type cellSet;\n action clear;\n }\n {\n name c0;\n type cellSet;\n action invert;\n }\n {\n name c0;\n type cellSet;\n action delete;\n source boxToCell;\n box (0.375 0.375 0) (0.625 0.625 0.25);\n }\n);\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 scotch;\n\nsimpleCoeffs\n{\n n (2 2 1);\n}\n\nhierarchicalCoeffs\n{\n n (2 2 1);\n order xyz;\n}\n\nmanualCoeffs\n{\n dataFile \"\";\n}\n\ndistributed no;\n\nroots ( );\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 div(rhoPhi,U) Gauss upwind;\n div(phi,alpha) Gauss MPLIC;\n div(phi,k) Gauss upwind;\n div(phi,omega) Gauss upwind;\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// ************************************************************************* //\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 object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nconvertToMeters 1;\n\nvertices\n(\n (0 0 0)\n (1 0 0)\n (1 1 0)\n (0 1 0)\n (0 0 1)\n (1 0 1)\n (1 1 1)\n (0 1 1)\n);\n\nblocks\n(\n hex (0 1 2 3 4 5 6 7) (32 32 32) simpleGrading (1 1 1)\n);\n\nboundary\n(\n atmosphere\n {\n type patch;\n faces\n (\n (3 7 6 2)\n );\n }\n walls\n {\n type wall;\n faces\n (\n (0 4 7 3)\n (2 6 5 1)\n (1 5 4 0)\n (0 3 2 1)\n (4 5 6 7)\n );\n }\n);\n\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\ndefaultValues\n{\n alpha.water 0;\n U (0 0 0);\n}\n\nzones\n{\n waterColumn\n {\n type box;\n zoneType cell;\n\n box (0 0 0) (0.6 0.1875 0.75);\n\n values\n {\n alpha.water 1;\n }\n }\n}\n\n// ************************************************************************* //\n" }, "damBreakWithObstacle/10": { "usr_requirement": "do a laminar dam break with obstacle simulation. user interfoam solver. The domain extent is 1x1x1. Use 32 grid points in all directions. Use density of air to be 1 kg/m3 and density of water to be 1000 kg/m3. Take the viscosity of air to be 1.48e-05 and viscosity of water to be 1e-05. The simulation runs from t=0s to t=0.1s with a timestep of 0.001s and a write interval of 0.02. Use OpenFOAM-13 with the incompressibleVoF solver module, 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\nrunApplication setFields\nrunApplication foamRun -solver $solver\n\n#------------------------------------------------------------------------------\n", "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 uniformDimensionedVectorField;\n location \"constant\";\n object g;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -2 0 0 0 0];\nvalue (0 0 -9.81);\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 (water air);\n\nsigma 0.07;\n\n\n// ************************************************************************* //\n", "constant/physicalProperties.water": "/*--------------------------------*- 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.water;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nviscosityModel constant;\n\nnu 1e-05;\n\nrho 1000;\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 laminar;\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 1.48e-05;\n\nrho 1;\n\n\n// ************************************************************************* //\n", "constant/dynamicMeshDict": "/*--------------------------------*- 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 dynamicMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ntopoChanger\n{\n type refiner;\n\n libs (\"libfvMeshTopoChangers.so\");\n\n mover none;\n\n // How often to refine\n refineInterval 1;\n\n // Field to be refinement on\n field alpha.water;\n\n // Refine field in between lower..upper\n lowerRefineLevel 0.001;\n upperRefineLevel 0.999;\n\n // Have slower than 2:1 refinement\n nBufferLayers 1;\n\n // Refine cells only up to maxRefinement levels\n maxRefinement 2;\n\n // Stop refinement if maxCells reached\n maxCells 200000;\n\n // Flux field and corresponding velocity field. Fluxes on changed\n // faces get recalculated by interpolating the velocity. Use 'none'\n // on surfaceScalarFields that do not need to be reinterpolated.\n correctFluxes\n (\n (phi none)\n (nHatf none)\n (rhoPhi none)\n (alphaPhi.water none)\n (ghf none)\n );\n\n // Write the refinement level as a volScalarField\n dumpLevel true;\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 atmosphere\n {\n type prghTotalPressure;\n rho rho;\n psi none;\n gamma 1;\n p0 uniform 0;\n value uniform 0;\n }\n walls\n {\n type fixedFluxPressure;\n gradient uniform 0;\n value uniform 0;\n }\n}\n\n\n// ************************************************************************* //\n", "0/U.orig": "/*--------------------------------*- 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 atmosphere\n {\n type pressureInletOutletVelocity;\n value uniform (0 0 0);\n }\n walls\n {\n type uniformFixedValue;\n uniformValue constant (0 0 0);\n value uniform (0 0 0);\n }\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.00015;\n\nboundaryField\n{\n atmosphere\n {\n type inletOutlet;\n inletValue uniform 0.00015;\n value uniform 0.00015;\n }\n walls\n {\n type kqRWallFunction;\n value uniform 0.00015;\n }\n}\n\n\n// ************************************************************************* //\n", "0/alpha.water.orig": "/*--------------------------------*- 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.water;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 0 0 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n atmosphere\n {\n type inletOutlet;\n inletValue uniform 0;\n value uniform 0;\n }\n walls\n {\n type zeroGradient;\n }\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 binary;\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 atmosphere\n {\n type pressureInletOutletVelocity;\n value uniform (0 0 0);\n }\n walls\n {\n type uniformFixedValue;\n uniformValue \n {\n type constant;\n value (0 0 0);\n }\n value uniform (0 0 0);\n }\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 5e-07;\n\nboundaryField\n{\n atmosphere\n {\n type zeroGradient;\n }\n walls\n {\n type nutkRoughWallFunction;\n Ks uniform 0.0001;\n Cs uniform 0.5;\n value uniform 5e-07;\n }\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 2;\n\nboundaryField\n{\n atmosphere\n {\n type inletOutlet;\n inletValue uniform 2;\n value uniform 2;\n }\n walls\n {\n type omegaWallFunction;\n value uniform 2;\n }\n}\n\n\n// ************************************************************************* //\n", "0/alpha.water": "/*--------------------------------*- 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.water;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 0 0 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n atmosphere\n {\n type inletOutlet;\n inletValue uniform 0;\n value uniform 0;\n }\n walls\n {\n type zeroGradient;\n }\n}\n\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.water.*\"\n {\n nAlphaCorr 1;\n nAlphaSubCycles 3;\n nLimiterIter 5;\n }\n\n p_rgh\n {\n solver GAMG;\n tolerance 1e-08;\n relTol 0.01;\n smoother DIC;\n cacheAgglomeration no;\n }\n\n p_rghFinal\n {\n $p_rgh;\n relTol 0;\n }\n\n \"pcorr.*\"\n {\n $p_rghFinal;\n tolerance 1e-4;\n }\n\n U\n {\n solver smoothSolver;\n smoother GaussSeidel;\n tolerance 1e-06;\n relTol 0;\n nSweeps 1;\n }\n\n \"(k|omega|B|nuTilda).*\"\n {\n solver smoothSolver;\n smoother symGaussSeidel;\n tolerance 1e-08;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n momentumPredictor no;\n nCorrectors 3;\n nNonOrthogonalCorrectors 0;\n\n pRefPoint (0.51 0.51 0.51);\n pRefValue 0;\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 interFoam;\nsolver incompressibleVoF;\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 0.1;\n\ndeltaT 0.001;\n\nwriteControl adjustableRunTime;\n\nwriteInterval 0.02;\n\npurgeWrite 0;\n\nwriteFormat binary;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable yes;\n\nadjustTimeStep yes;\n\nmaxCo 0.5;\nmaxAlphaCo 0.5;\nmaxDeltaT 1;\n\n// ************************************************************************* //\n", "system/topoSetDict": "/*--------------------------------*- 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 object topoSetDict;\n}\n\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nactions\n(\n {\n name c0;\n type cellSet;\n action clear;\n }\n {\n name c0;\n type cellSet;\n action invert;\n }\n {\n name c0;\n type cellSet;\n action delete;\n source boxToCell;\n box (0.375 0.375 0) (0.625 0.625 0.25);\n }\n);\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 scotch;\n\nsimpleCoeffs\n{\n n (2 2 1);\n}\n\nhierarchicalCoeffs\n{\n n (2 2 1);\n order xyz;\n}\n\nmanualCoeffs\n{\n dataFile \"\";\n}\n\ndistributed no;\n\nroots ( );\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 div(rhoPhi,U) Gauss upwind;\n div(phi,alpha) Gauss MPLIC;\n div(phi,k) Gauss upwind;\n div(phi,omega) Gauss upwind;\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// ************************************************************************* //\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 object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nconvertToMeters 1;\n\nvertices\n(\n (0 0 0)\n (1 0 0)\n (1 1 0)\n (0 1 0)\n (0 0 1)\n (1 0 1)\n (1 1 1)\n (0 1 1)\n);\n\nblocks\n(\n hex (0 1 2 3 4 5 6 7) (32 32 32) simpleGrading (1 1 1)\n);\n\nboundary\n(\n atmosphere\n {\n type patch;\n faces\n (\n (3 7 6 2)\n );\n }\n walls\n {\n type wall;\n faces\n (\n (0 4 7 3)\n (2 6 5 1)\n (1 5 4 0)\n (0 3 2 1)\n (4 5 6 7)\n );\n }\n);\n\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\ndefaultValues\n{\n alpha.water 0;\n U (0 0 0);\n}\n\nzones\n{\n waterColumn\n {\n type box;\n zoneType cell;\n\n box (0 0 0) (0.6 0.1875 0.75);\n\n values\n {\n alpha.water 1;\n }\n }\n}\n\n// ************************************************************************* //\n" }, "damBreakWithObstacle/8": { "usr_requirement": "do a laminar dam break with obstacle simulation. user interfoam solver. The domain extent is 1x1x1. Use 32 grid points in all directions. Use density of air to be 1 kg/m3 and density of water to be 1000 kg/m3. Take the viscosity of air to be 1.48e-05 and viscosity of water to be 0.001. The simulation runs from t=0s to t=0.1s with a timestep of 0.001s and a write interval of 0.02. Use OpenFOAM-13 with the incompressibleVoF solver module, 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\nrunApplication setFields\nrunApplication foamRun -solver $solver\n\n#------------------------------------------------------------------------------\n", "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 uniformDimensionedVectorField;\n location \"constant\";\n object g;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -2 0 0 0 0];\nvalue (0 0 -9.81);\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 (water air);\n\nsigma 0.07;\n\n\n// ************************************************************************* //\n", "constant/physicalProperties.water": "/*--------------------------------*- 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.water;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nviscosityModel constant;\n\nnu 0.001;\n\nrho 1000;\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 laminar;\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 1.48e-05;\n\nrho 1;\n\n\n// ************************************************************************* //\n", "constant/dynamicMeshDict": "/*--------------------------------*- 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 dynamicMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ntopoChanger\n{\n type refiner;\n\n libs (\"libfvMeshTopoChangers.so\");\n\n mover none;\n\n // How often to refine\n refineInterval 1;\n\n // Field to be refinement on\n field alpha.water;\n\n // Refine field in between lower..upper\n lowerRefineLevel 0.001;\n upperRefineLevel 0.999;\n\n // Have slower than 2:1 refinement\n nBufferLayers 1;\n\n // Refine cells only up to maxRefinement levels\n maxRefinement 2;\n\n // Stop refinement if maxCells reached\n maxCells 200000;\n\n // Flux field and corresponding velocity field. Fluxes on changed\n // faces get recalculated by interpolating the velocity. Use 'none'\n // on surfaceScalarFields that do not need to be reinterpolated.\n correctFluxes\n (\n (phi none)\n (nHatf none)\n (rhoPhi none)\n (alphaPhi.water none)\n (ghf none)\n );\n\n // Write the refinement level as a volScalarField\n dumpLevel true;\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 atmosphere\n {\n type prghTotalPressure;\n rho rho;\n psi none;\n gamma 1;\n p0 uniform 0;\n value uniform 0;\n }\n walls\n {\n type fixedFluxPressure;\n gradient uniform 0;\n value uniform 0;\n }\n}\n\n\n// ************************************************************************* //\n", "0/U.orig": "/*--------------------------------*- 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 atmosphere\n {\n type pressureInletOutletVelocity;\n value uniform (0 0 0);\n }\n walls\n {\n type uniformFixedValue;\n uniformValue constant (0 0 0);\n value uniform (0 0 0);\n }\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.00015;\n\nboundaryField\n{\n atmosphere\n {\n type inletOutlet;\n inletValue uniform 0.00015;\n value uniform 0.00015;\n }\n walls\n {\n type kqRWallFunction;\n value uniform 0.00015;\n }\n}\n\n\n// ************************************************************************* //\n", "0/alpha.water.orig": "/*--------------------------------*- 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.water;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 0 0 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n atmosphere\n {\n type inletOutlet;\n inletValue uniform 0;\n value uniform 0;\n }\n walls\n {\n type zeroGradient;\n }\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 binary;\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 atmosphere\n {\n type pressureInletOutletVelocity;\n value uniform (0 0 0);\n }\n walls\n {\n type uniformFixedValue;\n uniformValue \n {\n type constant;\n value (0 0 0);\n }\n value uniform (0 0 0);\n }\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 5e-07;\n\nboundaryField\n{\n atmosphere\n {\n type zeroGradient;\n }\n walls\n {\n type nutkRoughWallFunction;\n Ks uniform 0.0001;\n Cs uniform 0.5;\n value uniform 5e-07;\n }\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 2;\n\nboundaryField\n{\n atmosphere\n {\n type inletOutlet;\n inletValue uniform 2;\n value uniform 2;\n }\n walls\n {\n type omegaWallFunction;\n value uniform 2;\n }\n}\n\n\n// ************************************************************************* //\n", "0/alpha.water": "/*--------------------------------*- 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.water;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 0 0 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n atmosphere\n {\n type inletOutlet;\n inletValue uniform 0;\n value uniform 0;\n }\n walls\n {\n type zeroGradient;\n }\n}\n\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.water.*\"\n {\n nAlphaCorr 1;\n nAlphaSubCycles 3;\n nLimiterIter 5;\n }\n\n p_rgh\n {\n solver GAMG;\n tolerance 1e-08;\n relTol 0.01;\n smoother DIC;\n cacheAgglomeration no;\n }\n\n p_rghFinal\n {\n $p_rgh;\n relTol 0;\n }\n\n \"pcorr.*\"\n {\n $p_rghFinal;\n tolerance 1e-4;\n }\n\n U\n {\n solver smoothSolver;\n smoother GaussSeidel;\n tolerance 1e-06;\n relTol 0;\n nSweeps 1;\n }\n\n \"(k|omega|B|nuTilda).*\"\n {\n solver smoothSolver;\n smoother symGaussSeidel;\n tolerance 1e-08;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n momentumPredictor no;\n nCorrectors 3;\n nNonOrthogonalCorrectors 0;\n\n pRefPoint (0.51 0.51 0.51);\n pRefValue 0;\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 interFoam;\nsolver incompressibleVoF;\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 0.1;\n\ndeltaT 0.001;\n\nwriteControl adjustableRunTime;\n\nwriteInterval 0.02;\n\npurgeWrite 0;\n\nwriteFormat binary;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable yes;\n\nadjustTimeStep yes;\n\nmaxCo 0.5;\nmaxAlphaCo 0.5;\nmaxDeltaT 1;\n\n// ************************************************************************* //\n", "system/topoSetDict": "/*--------------------------------*- 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 object topoSetDict;\n}\n\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nactions\n(\n {\n name c0;\n type cellSet;\n action clear;\n }\n {\n name c0;\n type cellSet;\n action invert;\n }\n {\n name c0;\n type cellSet;\n action delete;\n source boxToCell;\n box (0.375 0.375 0) (0.625 0.625 0.25);\n }\n);\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 scotch;\n\nsimpleCoeffs\n{\n n (2 2 1);\n}\n\nhierarchicalCoeffs\n{\n n (2 2 1);\n order xyz;\n}\n\nmanualCoeffs\n{\n dataFile \"\";\n}\n\ndistributed no;\n\nroots ( );\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 div(rhoPhi,U) Gauss upwind;\n div(phi,alpha) Gauss MPLIC;\n div(phi,k) Gauss upwind;\n div(phi,omega) Gauss upwind;\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// ************************************************************************* //\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 object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nconvertToMeters 1;\n\nvertices\n(\n (0 0 0)\n (1 0 0)\n (1 1 0)\n (0 1 0)\n (0 0 1)\n (1 0 1)\n (1 1 1)\n (0 1 1)\n);\n\nblocks\n(\n hex (0 1 2 3 4 5 6 7) (32 32 32) simpleGrading (1 1 1)\n);\n\nboundary\n(\n atmosphere\n {\n type patch;\n faces\n (\n (3 7 6 2)\n );\n }\n walls\n {\n type wall;\n faces\n (\n (0 4 7 3)\n (2 6 5 1)\n (1 5 4 0)\n (0 3 2 1)\n (4 5 6 7)\n );\n }\n);\n\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\ndefaultValues\n{\n alpha.water 0;\n U (0 0 0);\n}\n\nzones\n{\n waterColumn\n {\n type box;\n zoneType cell;\n\n box (0 0 0) (0.6 0.1875 0.75);\n\n values\n {\n alpha.water 1;\n }\n }\n}\n\n// ************************************************************************* //\n" }, "pitzDaily/7": { "usr_requirement": "do a Reynolds-Averaged Simulation (RAS) pitzdaily simulation. Use PIMPLE algorithm. The domain is a 2D millimeter-scale channel geometry. Boundary conditions specify a fixed velocity of 20m/s at the inlet (left),zero gradient pressure at the outlet (right), and no-slip conditions for walls. Use timestep of 0.0001 and output every 0.01. Finaltime is 0.3. use nu value of 1e-03. Use OpenFOAM-13 with the incompressibleFluid solver module, 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", "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\n turbulence on;\n\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;\n\nnu 1e-03;\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 object nuTilda;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -1 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n inlet\n {\n type fixedValue;\n value uniform 0;\n }\n\n outlet\n {\n type zeroGradient;\n }\n\n upperWall\n {\n type zeroGradient;\n }\n\n lowerWall\n {\n type zeroGradient;\n }\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 object p;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -2 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n inlet\n {\n type zeroGradient;\n }\n\n outlet\n {\n type fixedValue;\n value uniform 0;\n }\n\n upperWall\n {\n type zeroGradient;\n }\n\n lowerWall\n {\n type zeroGradient;\n }\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 14.855;\n\nboundaryField\n{\n inlet\n {\n type fixedValue;\n value uniform 14.855;\n }\n outlet\n {\n type zeroGradient;\n }\n upperWall\n {\n type epsilonWallFunction;\n value uniform 14.855;\n }\n lowerWall\n {\n type epsilonWallFunction;\n value uniform 14.855;\n }\n frontAndBack\n {\n type empty;\n }\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.375;\n\nboundaryField\n{\n inlet\n {\n type fixedValue;\n value uniform 0.375;\n }\n outlet\n {\n type zeroGradient;\n }\n upperWall\n {\n type kqRWallFunction;\n value uniform 0.375;\n }\n lowerWall\n {\n type kqRWallFunction;\n value uniform 0.375;\n }\n frontAndBack\n {\n type empty;\n }\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 object U;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -1 0 0 0 0];\n\ninternalField uniform (0 0 0);\n\nboundaryField\n{\n inlet\n {\n type fixedValue;\n value uniform (20 0 0);\n }\n\n outlet\n {\n type zeroGradient;\n }\n\n upperWall\n {\n type noSlip;\n }\n\n lowerWall\n {\n type noSlip;\n }\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 inlet\n {\n type calculated;\n value uniform 0;\n }\n outlet\n {\n type calculated;\n value uniform 0;\n }\n upperWall\n {\n type nutkWallFunction;\n value uniform 0;\n }\n lowerWall\n {\n type nutkWallFunction;\n value uniform 0;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\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 tolerance 1e-7;\n relTol 0.01;\n\n smoother DICGaussSeidel;\n\n }\n\n pFinal\n {\n $p;\n relTol 0;\n }\n\n \"(U|k|epsilon)\"\n {\n solver smoothSolver;\n smoother symGaussSeidel;\n tolerance 1e-05;\n relTol 0.1;\n }\n\n \"(U|k|epsilon)Final\"\n {\n $U;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n nNonOrthogonalCorrectors 0;\n nCorrectors 2;\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 pimpleFoam;\nsolver incompressibleFluid;\nstartFrom latestTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 0.3;\n\ndeltaT 0.0001;\n\nwriteControl adjustableRunTime;\n\nwriteInterval 0.01;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable yes;\n\nadjustTimeStep yes;\n\nmaxCo 5;\n\nfunctions\n{\n #includeFunc patchAverage(patch=inlet, fields=(p U))\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\n div(phi,U) Gauss linearUpwind grad(U);\n div(phi,k) Gauss upwind;\n div(phi,epsilon) Gauss upwind;\n div(phi,R) Gauss upwind;\n div(R) Gauss linear;\n div(phi,nuTilda) Gauss upwind;\n\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\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 object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\n// Note: this file is a Copy of $FOAM_TUTORIALS/resources/blockMesh/pitzDaily\n\nconvertToMeters 0.001;\n\nvertices\n(\n (-20.6 0 -0.5)\n (-20.6 25.4 -0.5)\n (0 -25.4 -0.5)\n (0 0 -0.5)\n (0 25.4 -0.5)\n (206 -25.4 -0.5)\n (206 0 -0.5)\n (206 25.4 -0.5)\n (290 -16.6 -0.5)\n (290 0 -0.5)\n (290 16.6 -0.5)\n\n (-20.6 0 0.5)\n (-20.6 25.4 0.5)\n (0 -25.4 0.5)\n (0 0 0.5)\n (0 25.4 0.5)\n (206 -25.4 0.5)\n (206 0 0.5)\n (206 25.4 0.5)\n (290 -16.6 0.5)\n (290 0 0.5)\n (290 16.6 0.5)\n);\n\nnegY\n(\n (2 4 1)\n (1 3 0.3)\n);\n\nposY\n(\n (1 4 2)\n (2 3 4)\n (2 4 0.25)\n);\n\nposYR\n(\n (2 1 1)\n (1 1 0.25)\n);\n\n\nblocks\n(\n hex (0 3 4 1 11 14 15 12)\n (18 30 1)\n simpleGrading (0.5 $posY 1)\n\n hex (2 5 6 3 13 16 17 14)\n (180 27 1)\n edgeGrading (4 4 4 4 $negY 1 1 $negY 1 1 1 1)\n\n hex (3 6 7 4 14 17 18 15)\n (180 30 1)\n edgeGrading (4 4 4 4 $posY $posYR $posYR $posY 1 1 1 1)\n\n hex (5 8 9 6 16 19 20 17)\n (25 27 1)\n simpleGrading (2.5 1 1)\n\n hex (6 9 10 7 17 20 21 18)\n (25 30 1)\n simpleGrading (2.5 $posYR 1)\n);\n\nboundary\n(\n inlet\n {\n type patch;\n faces\n (\n (0 1 12 11)\n );\n }\n outlet\n {\n type patch;\n faces\n (\n (8 9 20 19)\n (9 10 21 20)\n );\n }\n upperWall\n {\n type wall;\n faces\n (\n (1 4 15 12)\n (4 7 18 15)\n (7 10 21 18)\n );\n }\n lowerWall\n {\n type wall;\n faces\n (\n (0 3 14 11)\n (3 2 13 14)\n (2 5 16 13)\n (5 8 19 16)\n );\n }\n frontAndBack\n {\n type empty;\n faces\n (\n (0 3 4 1)\n (2 5 6 3)\n (3 6 7 4)\n (5 8 9 6)\n (6 9 10 7)\n (11 14 15 12)\n (13 16 17 14)\n (14 17 18 15)\n (16 19 20 17)\n (17 20 21 18)\n );\n }\n);\n\n// ************************************************************************* //\n" }, "pitzDaily/6": { "usr_requirement": "do a Reynolds-Averaged Simulation (RAS) pitzdaily simulation. Use PIMPLE algorithm. The domain is a 2D millimeter-scale channel geometry. Boundary conditions specify a fixed velocity of 20m/s at the inlet (left),zero gradient pressure at the outlet (right), and no-slip conditions for walls. Use timestep of 0.0001 and output every 0.01. Finaltime is 0.3. use nu value of 1e-04. Use OpenFOAM-13 with the incompressibleFluid solver module, 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", "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\n turbulence on;\n\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;\n\nnu 1e-04;\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 object nuTilda;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -1 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n inlet\n {\n type fixedValue;\n value uniform 0;\n }\n\n outlet\n {\n type zeroGradient;\n }\n\n upperWall\n {\n type zeroGradient;\n }\n\n lowerWall\n {\n type zeroGradient;\n }\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 object p;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -2 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n inlet\n {\n type zeroGradient;\n }\n\n outlet\n {\n type fixedValue;\n value uniform 0;\n }\n\n upperWall\n {\n type zeroGradient;\n }\n\n lowerWall\n {\n type zeroGradient;\n }\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 14.855;\n\nboundaryField\n{\n inlet\n {\n type fixedValue;\n value uniform 14.855;\n }\n outlet\n {\n type zeroGradient;\n }\n upperWall\n {\n type epsilonWallFunction;\n value uniform 14.855;\n }\n lowerWall\n {\n type epsilonWallFunction;\n value uniform 14.855;\n }\n frontAndBack\n {\n type empty;\n }\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.375;\n\nboundaryField\n{\n inlet\n {\n type fixedValue;\n value uniform 0.375;\n }\n outlet\n {\n type zeroGradient;\n }\n upperWall\n {\n type kqRWallFunction;\n value uniform 0.375;\n }\n lowerWall\n {\n type kqRWallFunction;\n value uniform 0.375;\n }\n frontAndBack\n {\n type empty;\n }\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 object U;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -1 0 0 0 0];\n\ninternalField uniform (0 0 0);\n\nboundaryField\n{\n inlet\n {\n type fixedValue;\n value uniform (20 0 0);\n }\n\n outlet\n {\n type zeroGradient;\n }\n\n upperWall\n {\n type noSlip;\n }\n\n lowerWall\n {\n type noSlip;\n }\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 inlet\n {\n type calculated;\n value uniform 0;\n }\n outlet\n {\n type calculated;\n value uniform 0;\n }\n upperWall\n {\n type nutkWallFunction;\n value uniform 0;\n }\n lowerWall\n {\n type nutkWallFunction;\n value uniform 0;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\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 tolerance 1e-7;\n relTol 0.01;\n\n smoother DICGaussSeidel;\n\n }\n\n pFinal\n {\n $p;\n relTol 0;\n }\n\n \"(U|k|epsilon)\"\n {\n solver smoothSolver;\n smoother symGaussSeidel;\n tolerance 1e-05;\n relTol 0.1;\n }\n\n \"(U|k|epsilon)Final\"\n {\n $U;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n nNonOrthogonalCorrectors 0;\n nCorrectors 2;\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 pimpleFoam;\nsolver incompressibleFluid;\nstartFrom latestTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 0.3;\n\ndeltaT 0.0001;\n\nwriteControl adjustableRunTime;\n\nwriteInterval 0.01;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable yes;\n\nadjustTimeStep yes;\n\nmaxCo 5;\n\nfunctions\n{\n #includeFunc patchAverage(patch=inlet, fields=(p U))\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\n div(phi,U) Gauss linearUpwind grad(U);\n div(phi,k) Gauss upwind;\n div(phi,epsilon) Gauss upwind;\n div(phi,R) Gauss upwind;\n div(R) Gauss linear;\n div(phi,nuTilda) Gauss upwind;\n\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\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 object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\n// Note: this file is a Copy of $FOAM_TUTORIALS/resources/blockMesh/pitzDaily\n\nconvertToMeters 0.001;\n\nvertices\n(\n (-20.6 0 -0.5)\n (-20.6 25.4 -0.5)\n (0 -25.4 -0.5)\n (0 0 -0.5)\n (0 25.4 -0.5)\n (206 -25.4 -0.5)\n (206 0 -0.5)\n (206 25.4 -0.5)\n (290 -16.6 -0.5)\n (290 0 -0.5)\n (290 16.6 -0.5)\n\n (-20.6 0 0.5)\n (-20.6 25.4 0.5)\n (0 -25.4 0.5)\n (0 0 0.5)\n (0 25.4 0.5)\n (206 -25.4 0.5)\n (206 0 0.5)\n (206 25.4 0.5)\n (290 -16.6 0.5)\n (290 0 0.5)\n (290 16.6 0.5)\n);\n\nnegY\n(\n (2 4 1)\n (1 3 0.3)\n);\n\nposY\n(\n (1 4 2)\n (2 3 4)\n (2 4 0.25)\n);\n\nposYR\n(\n (2 1 1)\n (1 1 0.25)\n);\n\n\nblocks\n(\n hex (0 3 4 1 11 14 15 12)\n (18 30 1)\n simpleGrading (0.5 $posY 1)\n\n hex (2 5 6 3 13 16 17 14)\n (180 27 1)\n edgeGrading (4 4 4 4 $negY 1 1 $negY 1 1 1 1)\n\n hex (3 6 7 4 14 17 18 15)\n (180 30 1)\n edgeGrading (4 4 4 4 $posY $posYR $posYR $posY 1 1 1 1)\n\n hex (5 8 9 6 16 19 20 17)\n (25 27 1)\n simpleGrading (2.5 1 1)\n\n hex (6 9 10 7 17 20 21 18)\n (25 30 1)\n simpleGrading (2.5 $posYR 1)\n);\n\nboundary\n(\n inlet\n {\n type patch;\n faces\n (\n (0 1 12 11)\n );\n }\n outlet\n {\n type patch;\n faces\n (\n (8 9 20 19)\n (9 10 21 20)\n );\n }\n upperWall\n {\n type wall;\n faces\n (\n (1 4 15 12)\n (4 7 18 15)\n (7 10 21 18)\n );\n }\n lowerWall\n {\n type wall;\n faces\n (\n (0 3 14 11)\n (3 2 13 14)\n (2 5 16 13)\n (5 8 19 16)\n );\n }\n frontAndBack\n {\n type empty;\n faces\n (\n (0 3 4 1)\n (2 5 6 3)\n (3 6 7 4)\n (5 8 9 6)\n (6 9 10 7)\n (11 14 15 12)\n (13 16 17 14)\n (14 17 18 15)\n (16 19 20 17)\n (17 20 21 18)\n );\n }\n);\n\n// ************************************************************************* //\n" }, "pitzDaily/3": { "usr_requirement": "do a Reynolds-Averaged Simulation (RAS) pitzdaily simulation. Use PIMPLE algorithm. The domain is a 2D millimeter-scale channel geometry. Boundary conditions specify a fixed velocity of 15m/s at the inlet (left),zero gradient pressure at the outlet (right), and no-slip conditions for walls. Use timestep of 0.0001 and output every 0.01. Finaltime is 0.3. use nu value of 1e-04. Use OpenFOAM-13 with the incompressibleFluid solver module, 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", "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\n turbulence on;\n\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;\n\nnu 1e-04;\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 object nuTilda;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -1 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n inlet\n {\n type fixedValue;\n value uniform 0;\n }\n\n outlet\n {\n type zeroGradient;\n }\n\n upperWall\n {\n type zeroGradient;\n }\n\n lowerWall\n {\n type zeroGradient;\n }\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 object p;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -2 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n inlet\n {\n type zeroGradient;\n }\n\n outlet\n {\n type fixedValue;\n value uniform 0;\n }\n\n upperWall\n {\n type zeroGradient;\n }\n\n lowerWall\n {\n type zeroGradient;\n }\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 14.855;\n\nboundaryField\n{\n inlet\n {\n type fixedValue;\n value uniform 14.855;\n }\n outlet\n {\n type zeroGradient;\n }\n upperWall\n {\n type epsilonWallFunction;\n value uniform 14.855;\n }\n lowerWall\n {\n type epsilonWallFunction;\n value uniform 14.855;\n }\n frontAndBack\n {\n type empty;\n }\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.375;\n\nboundaryField\n{\n inlet\n {\n type fixedValue;\n value uniform 0.375;\n }\n outlet\n {\n type zeroGradient;\n }\n upperWall\n {\n type kqRWallFunction;\n value uniform 0.375;\n }\n lowerWall\n {\n type kqRWallFunction;\n value uniform 0.375;\n }\n frontAndBack\n {\n type empty;\n }\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 object U;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -1 0 0 0 0];\n\ninternalField uniform (0 0 0);\n\nboundaryField\n{\n inlet\n {\n type fixedValue;\n value uniform (15 0 0);\n }\n\n outlet\n {\n type zeroGradient;\n }\n\n upperWall\n {\n type noSlip;\n }\n\n lowerWall\n {\n type noSlip;\n }\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 inlet\n {\n type calculated;\n value uniform 0;\n }\n outlet\n {\n type calculated;\n value uniform 0;\n }\n upperWall\n {\n type nutkWallFunction;\n value uniform 0;\n }\n lowerWall\n {\n type nutkWallFunction;\n value uniform 0;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\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 tolerance 1e-7;\n relTol 0.01;\n\n smoother DICGaussSeidel;\n\n }\n\n pFinal\n {\n $p;\n relTol 0;\n }\n\n \"(U|k|epsilon)\"\n {\n solver smoothSolver;\n smoother symGaussSeidel;\n tolerance 1e-05;\n relTol 0.1;\n }\n\n \"(U|k|epsilon)Final\"\n {\n $U;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n nNonOrthogonalCorrectors 0;\n nCorrectors 2;\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 pimpleFoam;\nsolver incompressibleFluid;\nstartFrom latestTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 0.3;\n\ndeltaT 0.0001;\n\nwriteControl adjustableRunTime;\n\nwriteInterval 0.01;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable yes;\n\nadjustTimeStep yes;\n\nmaxCo 5;\n\nfunctions\n{\n #includeFunc patchAverage(patch=inlet, fields=(p U))\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\n div(phi,U) Gauss linearUpwind grad(U);\n div(phi,k) Gauss upwind;\n div(phi,epsilon) Gauss upwind;\n div(phi,R) Gauss upwind;\n div(R) Gauss linear;\n div(phi,nuTilda) Gauss upwind;\n\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\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 object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\n// Note: this file is a Copy of $FOAM_TUTORIALS/resources/blockMesh/pitzDaily\n\nconvertToMeters 0.001;\n\nvertices\n(\n (-20.6 0 -0.5)\n (-20.6 25.4 -0.5)\n (0 -25.4 -0.5)\n (0 0 -0.5)\n (0 25.4 -0.5)\n (206 -25.4 -0.5)\n (206 0 -0.5)\n (206 25.4 -0.5)\n (290 -16.6 -0.5)\n (290 0 -0.5)\n (290 16.6 -0.5)\n\n (-20.6 0 0.5)\n (-20.6 25.4 0.5)\n (0 -25.4 0.5)\n (0 0 0.5)\n (0 25.4 0.5)\n (206 -25.4 0.5)\n (206 0 0.5)\n (206 25.4 0.5)\n (290 -16.6 0.5)\n (290 0 0.5)\n (290 16.6 0.5)\n);\n\nnegY\n(\n (2 4 1)\n (1 3 0.3)\n);\n\nposY\n(\n (1 4 2)\n (2 3 4)\n (2 4 0.25)\n);\n\nposYR\n(\n (2 1 1)\n (1 1 0.25)\n);\n\n\nblocks\n(\n hex (0 3 4 1 11 14 15 12)\n (18 30 1)\n simpleGrading (0.5 $posY 1)\n\n hex (2 5 6 3 13 16 17 14)\n (180 27 1)\n edgeGrading (4 4 4 4 $negY 1 1 $negY 1 1 1 1)\n\n hex (3 6 7 4 14 17 18 15)\n (180 30 1)\n edgeGrading (4 4 4 4 $posY $posYR $posYR $posY 1 1 1 1)\n\n hex (5 8 9 6 16 19 20 17)\n (25 27 1)\n simpleGrading (2.5 1 1)\n\n hex (6 9 10 7 17 20 21 18)\n (25 30 1)\n simpleGrading (2.5 $posYR 1)\n);\n\nboundary\n(\n inlet\n {\n type patch;\n faces\n (\n (0 1 12 11)\n );\n }\n outlet\n {\n type patch;\n faces\n (\n (8 9 20 19)\n (9 10 21 20)\n );\n }\n upperWall\n {\n type wall;\n faces\n (\n (1 4 15 12)\n (4 7 18 15)\n (7 10 21 18)\n );\n }\n lowerWall\n {\n type wall;\n faces\n (\n (0 3 14 11)\n (3 2 13 14)\n (2 5 16 13)\n (5 8 19 16)\n );\n }\n frontAndBack\n {\n type empty;\n faces\n (\n (0 3 4 1)\n (2 5 6 3)\n (3 6 7 4)\n (5 8 9 6)\n (6 9 10 7)\n (11 14 15 12)\n (13 16 17 14)\n (14 17 18 15)\n (16 19 20 17)\n (17 20 21 18)\n );\n }\n);\n\n// ************************************************************************* //\n" }, "pitzDaily/5": { "usr_requirement": "do a Reynolds-Averaged Simulation (RAS) pitzdaily simulation. Use PIMPLE algorithm. The domain is a 2D millimeter-scale channel geometry. Boundary conditions specify a fixed velocity of 20m/s at the inlet (left),zero gradient pressure at the outlet (right), and no-slip conditions for walls. Use timestep of 0.0001 and output every 0.01. Finaltime is 0.3. use nu value of 1e-05. Use OpenFOAM-13 with the incompressibleFluid solver module, 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", "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\n turbulence on;\n\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;\n\nnu 1e-05;\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 object nuTilda;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -1 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n inlet\n {\n type fixedValue;\n value uniform 0;\n }\n\n outlet\n {\n type zeroGradient;\n }\n\n upperWall\n {\n type zeroGradient;\n }\n\n lowerWall\n {\n type zeroGradient;\n }\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 object p;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -2 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n inlet\n {\n type zeroGradient;\n }\n\n outlet\n {\n type fixedValue;\n value uniform 0;\n }\n\n upperWall\n {\n type zeroGradient;\n }\n\n lowerWall\n {\n type zeroGradient;\n }\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 14.855;\n\nboundaryField\n{\n inlet\n {\n type fixedValue;\n value uniform 14.855;\n }\n outlet\n {\n type zeroGradient;\n }\n upperWall\n {\n type epsilonWallFunction;\n value uniform 14.855;\n }\n lowerWall\n {\n type epsilonWallFunction;\n value uniform 14.855;\n }\n frontAndBack\n {\n type empty;\n }\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.375;\n\nboundaryField\n{\n inlet\n {\n type fixedValue;\n value uniform 0.375;\n }\n outlet\n {\n type zeroGradient;\n }\n upperWall\n {\n type kqRWallFunction;\n value uniform 0.375;\n }\n lowerWall\n {\n type kqRWallFunction;\n value uniform 0.375;\n }\n frontAndBack\n {\n type empty;\n }\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 object U;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -1 0 0 0 0];\n\ninternalField uniform (0 0 0);\n\nboundaryField\n{\n inlet\n {\n type fixedValue;\n value uniform (20 0 0);\n }\n\n outlet\n {\n type zeroGradient;\n }\n\n upperWall\n {\n type noSlip;\n }\n\n lowerWall\n {\n type noSlip;\n }\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 inlet\n {\n type calculated;\n value uniform 0;\n }\n outlet\n {\n type calculated;\n value uniform 0;\n }\n upperWall\n {\n type nutkWallFunction;\n value uniform 0;\n }\n lowerWall\n {\n type nutkWallFunction;\n value uniform 0;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\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 tolerance 1e-7;\n relTol 0.01;\n\n smoother DICGaussSeidel;\n\n }\n\n pFinal\n {\n $p;\n relTol 0;\n }\n\n \"(U|k|epsilon)\"\n {\n solver smoothSolver;\n smoother symGaussSeidel;\n tolerance 1e-05;\n relTol 0.1;\n }\n\n \"(U|k|epsilon)Final\"\n {\n $U;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n nNonOrthogonalCorrectors 0;\n nCorrectors 2;\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 pimpleFoam;\nsolver incompressibleFluid;\nstartFrom latestTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 0.3;\n\ndeltaT 0.0001;\n\nwriteControl adjustableRunTime;\n\nwriteInterval 0.01;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable yes;\n\nadjustTimeStep yes;\n\nmaxCo 5;\n\nfunctions\n{\n #includeFunc patchAverage(patch=inlet, fields=(p U))\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\n div(phi,U) Gauss linearUpwind grad(U);\n div(phi,k) Gauss upwind;\n div(phi,epsilon) Gauss upwind;\n div(phi,R) Gauss upwind;\n div(R) Gauss linear;\n div(phi,nuTilda) Gauss upwind;\n\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\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 object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\n// Note: this file is a Copy of $FOAM_TUTORIALS/resources/blockMesh/pitzDaily\n\nconvertToMeters 0.001;\n\nvertices\n(\n (-20.6 0 -0.5)\n (-20.6 25.4 -0.5)\n (0 -25.4 -0.5)\n (0 0 -0.5)\n (0 25.4 -0.5)\n (206 -25.4 -0.5)\n (206 0 -0.5)\n (206 25.4 -0.5)\n (290 -16.6 -0.5)\n (290 0 -0.5)\n (290 16.6 -0.5)\n\n (-20.6 0 0.5)\n (-20.6 25.4 0.5)\n (0 -25.4 0.5)\n (0 0 0.5)\n (0 25.4 0.5)\n (206 -25.4 0.5)\n (206 0 0.5)\n (206 25.4 0.5)\n (290 -16.6 0.5)\n (290 0 0.5)\n (290 16.6 0.5)\n);\n\nnegY\n(\n (2 4 1)\n (1 3 0.3)\n);\n\nposY\n(\n (1 4 2)\n (2 3 4)\n (2 4 0.25)\n);\n\nposYR\n(\n (2 1 1)\n (1 1 0.25)\n);\n\n\nblocks\n(\n hex (0 3 4 1 11 14 15 12)\n (18 30 1)\n simpleGrading (0.5 $posY 1)\n\n hex (2 5 6 3 13 16 17 14)\n (180 27 1)\n edgeGrading (4 4 4 4 $negY 1 1 $negY 1 1 1 1)\n\n hex (3 6 7 4 14 17 18 15)\n (180 30 1)\n edgeGrading (4 4 4 4 $posY $posYR $posYR $posY 1 1 1 1)\n\n hex (5 8 9 6 16 19 20 17)\n (25 27 1)\n simpleGrading (2.5 1 1)\n\n hex (6 9 10 7 17 20 21 18)\n (25 30 1)\n simpleGrading (2.5 $posYR 1)\n);\n\nboundary\n(\n inlet\n {\n type patch;\n faces\n (\n (0 1 12 11)\n );\n }\n outlet\n {\n type patch;\n faces\n (\n (8 9 20 19)\n (9 10 21 20)\n );\n }\n upperWall\n {\n type wall;\n faces\n (\n (1 4 15 12)\n (4 7 18 15)\n (7 10 21 18)\n );\n }\n lowerWall\n {\n type wall;\n faces\n (\n (0 3 14 11)\n (3 2 13 14)\n (2 5 16 13)\n (5 8 19 16)\n );\n }\n frontAndBack\n {\n type empty;\n faces\n (\n (0 3 4 1)\n (2 5 6 3)\n (3 6 7 4)\n (5 8 9 6)\n (6 9 10 7)\n (11 14 15 12)\n (13 16 17 14)\n (14 17 18 15)\n (16 19 20 17)\n (17 20 21 18)\n );\n }\n);\n\n// ************************************************************************* //\n" }, "pitzDaily/2": { "usr_requirement": "do a Reynolds-Averaged Simulation (RAS) pitzdaily simulation. Use PIMPLE algorithm. The domain is a 2D millimeter-scale channel geometry. Boundary conditions specify a fixed velocity of 15m/s at the inlet (left),zero gradient pressure at the outlet (right), and no-slip conditions for walls. Use timestep of 0.0001 and output every 0.01. Finaltime is 0.3. use nu value of 1e-05. Use OpenFOAM-13 with the incompressibleFluid solver module, 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", "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\n turbulence on;\n\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;\n\nnu 1e-05;\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 object nuTilda;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -1 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n inlet\n {\n type fixedValue;\n value uniform 0;\n }\n\n outlet\n {\n type zeroGradient;\n }\n\n upperWall\n {\n type zeroGradient;\n }\n\n lowerWall\n {\n type zeroGradient;\n }\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 object p;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -2 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n inlet\n {\n type zeroGradient;\n }\n\n outlet\n {\n type fixedValue;\n value uniform 0;\n }\n\n upperWall\n {\n type zeroGradient;\n }\n\n lowerWall\n {\n type zeroGradient;\n }\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 14.855;\n\nboundaryField\n{\n inlet\n {\n type fixedValue;\n value uniform 14.855;\n }\n outlet\n {\n type zeroGradient;\n }\n upperWall\n {\n type epsilonWallFunction;\n value uniform 14.855;\n }\n lowerWall\n {\n type epsilonWallFunction;\n value uniform 14.855;\n }\n frontAndBack\n {\n type empty;\n }\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.375;\n\nboundaryField\n{\n inlet\n {\n type fixedValue;\n value uniform 0.375;\n }\n outlet\n {\n type zeroGradient;\n }\n upperWall\n {\n type kqRWallFunction;\n value uniform 0.375;\n }\n lowerWall\n {\n type kqRWallFunction;\n value uniform 0.375;\n }\n frontAndBack\n {\n type empty;\n }\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 object U;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -1 0 0 0 0];\n\ninternalField uniform (0 0 0);\n\nboundaryField\n{\n inlet\n {\n type fixedValue;\n value uniform (15 0 0);\n }\n\n outlet\n {\n type zeroGradient;\n }\n\n upperWall\n {\n type noSlip;\n }\n\n lowerWall\n {\n type noSlip;\n }\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 inlet\n {\n type calculated;\n value uniform 0;\n }\n outlet\n {\n type calculated;\n value uniform 0;\n }\n upperWall\n {\n type nutkWallFunction;\n value uniform 0;\n }\n lowerWall\n {\n type nutkWallFunction;\n value uniform 0;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\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 tolerance 1e-7;\n relTol 0.01;\n\n smoother DICGaussSeidel;\n\n }\n\n pFinal\n {\n $p;\n relTol 0;\n }\n\n \"(U|k|epsilon)\"\n {\n solver smoothSolver;\n smoother symGaussSeidel;\n tolerance 1e-05;\n relTol 0.1;\n }\n\n \"(U|k|epsilon)Final\"\n {\n $U;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n nNonOrthogonalCorrectors 0;\n nCorrectors 2;\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 pimpleFoam;\nsolver incompressibleFluid;\nstartFrom latestTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 0.3;\n\ndeltaT 0.0001;\n\nwriteControl adjustableRunTime;\n\nwriteInterval 0.01;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable yes;\n\nadjustTimeStep yes;\n\nmaxCo 5;\n\nfunctions\n{\n #includeFunc patchAverage(patch=inlet, fields=(p U))\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\n div(phi,U) Gauss linearUpwind grad(U);\n div(phi,k) Gauss upwind;\n div(phi,epsilon) Gauss upwind;\n div(phi,R) Gauss upwind;\n div(R) Gauss linear;\n div(phi,nuTilda) Gauss upwind;\n\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\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 object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\n// Note: this file is a Copy of $FOAM_TUTORIALS/resources/blockMesh/pitzDaily\n\nconvertToMeters 0.001;\n\nvertices\n(\n (-20.6 0 -0.5)\n (-20.6 25.4 -0.5)\n (0 -25.4 -0.5)\n (0 0 -0.5)\n (0 25.4 -0.5)\n (206 -25.4 -0.5)\n (206 0 -0.5)\n (206 25.4 -0.5)\n (290 -16.6 -0.5)\n (290 0 -0.5)\n (290 16.6 -0.5)\n\n (-20.6 0 0.5)\n (-20.6 25.4 0.5)\n (0 -25.4 0.5)\n (0 0 0.5)\n (0 25.4 0.5)\n (206 -25.4 0.5)\n (206 0 0.5)\n (206 25.4 0.5)\n (290 -16.6 0.5)\n (290 0 0.5)\n (290 16.6 0.5)\n);\n\nnegY\n(\n (2 4 1)\n (1 3 0.3)\n);\n\nposY\n(\n (1 4 2)\n (2 3 4)\n (2 4 0.25)\n);\n\nposYR\n(\n (2 1 1)\n (1 1 0.25)\n);\n\n\nblocks\n(\n hex (0 3 4 1 11 14 15 12)\n (18 30 1)\n simpleGrading (0.5 $posY 1)\n\n hex (2 5 6 3 13 16 17 14)\n (180 27 1)\n edgeGrading (4 4 4 4 $negY 1 1 $negY 1 1 1 1)\n\n hex (3 6 7 4 14 17 18 15)\n (180 30 1)\n edgeGrading (4 4 4 4 $posY $posYR $posYR $posY 1 1 1 1)\n\n hex (5 8 9 6 16 19 20 17)\n (25 27 1)\n simpleGrading (2.5 1 1)\n\n hex (6 9 10 7 17 20 21 18)\n (25 30 1)\n simpleGrading (2.5 $posYR 1)\n);\n\nboundary\n(\n inlet\n {\n type patch;\n faces\n (\n (0 1 12 11)\n );\n }\n outlet\n {\n type patch;\n faces\n (\n (8 9 20 19)\n (9 10 21 20)\n );\n }\n upperWall\n {\n type wall;\n faces\n (\n (1 4 15 12)\n (4 7 18 15)\n (7 10 21 18)\n );\n }\n lowerWall\n {\n type wall;\n faces\n (\n (0 3 14 11)\n (3 2 13 14)\n (2 5 16 13)\n (5 8 19 16)\n );\n }\n frontAndBack\n {\n type empty;\n faces\n (\n (0 3 4 1)\n (2 5 6 3)\n (3 6 7 4)\n (5 8 9 6)\n (6 9 10 7)\n (11 14 15 12)\n (13 16 17 14)\n (14 17 18 15)\n (16 19 20 17)\n (17 20 21 18)\n );\n }\n);\n\n// ************************************************************************* //\n" }, "pitzDaily/4": { "usr_requirement": "do a Reynolds-Averaged Simulation (RAS) pitzdaily simulation. Use PIMPLE algorithm. The domain is a 2D millimeter-scale channel geometry. Boundary conditions specify a fixed velocity of 15m/s at the inlet (left),zero gradient pressure at the outlet (right), and no-slip conditions for walls. Use timestep of 0.0001 and output every 0.01. Finaltime is 0.3. use nu value of 1e-03. Use OpenFOAM-13 with the incompressibleFluid solver module, 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", "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\n turbulence on;\n\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;\n\nnu 1e-03;\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 object nuTilda;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -1 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n inlet\n {\n type fixedValue;\n value uniform 0;\n }\n\n outlet\n {\n type zeroGradient;\n }\n\n upperWall\n {\n type zeroGradient;\n }\n\n lowerWall\n {\n type zeroGradient;\n }\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 object p;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -2 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n inlet\n {\n type zeroGradient;\n }\n\n outlet\n {\n type fixedValue;\n value uniform 0;\n }\n\n upperWall\n {\n type zeroGradient;\n }\n\n lowerWall\n {\n type zeroGradient;\n }\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 14.855;\n\nboundaryField\n{\n inlet\n {\n type fixedValue;\n value uniform 14.855;\n }\n outlet\n {\n type zeroGradient;\n }\n upperWall\n {\n type epsilonWallFunction;\n value uniform 14.855;\n }\n lowerWall\n {\n type epsilonWallFunction;\n value uniform 14.855;\n }\n frontAndBack\n {\n type empty;\n }\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.375;\n\nboundaryField\n{\n inlet\n {\n type fixedValue;\n value uniform 0.375;\n }\n outlet\n {\n type zeroGradient;\n }\n upperWall\n {\n type kqRWallFunction;\n value uniform 0.375;\n }\n lowerWall\n {\n type kqRWallFunction;\n value uniform 0.375;\n }\n frontAndBack\n {\n type empty;\n }\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 object U;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -1 0 0 0 0];\n\ninternalField uniform (0 0 0);\n\nboundaryField\n{\n inlet\n {\n type fixedValue;\n value uniform (15 0 0);\n }\n\n outlet\n {\n type zeroGradient;\n }\n\n upperWall\n {\n type noSlip;\n }\n\n lowerWall\n {\n type noSlip;\n }\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 inlet\n {\n type calculated;\n value uniform 0;\n }\n outlet\n {\n type calculated;\n value uniform 0;\n }\n upperWall\n {\n type nutkWallFunction;\n value uniform 0;\n }\n lowerWall\n {\n type nutkWallFunction;\n value uniform 0;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\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 tolerance 1e-7;\n relTol 0.01;\n\n smoother DICGaussSeidel;\n\n }\n\n pFinal\n {\n $p;\n relTol 0;\n }\n\n \"(U|k|epsilon)\"\n {\n solver smoothSolver;\n smoother symGaussSeidel;\n tolerance 1e-05;\n relTol 0.1;\n }\n\n \"(U|k|epsilon)Final\"\n {\n $U;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n nNonOrthogonalCorrectors 0;\n nCorrectors 2;\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 pimpleFoam;\nsolver incompressibleFluid;\nstartFrom latestTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 0.3;\n\ndeltaT 0.0001;\n\nwriteControl adjustableRunTime;\n\nwriteInterval 0.01;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable yes;\n\nadjustTimeStep yes;\n\nmaxCo 5;\n\nfunctions\n{\n #includeFunc patchAverage(patch=inlet, fields=(p U))\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\n div(phi,U) Gauss linearUpwind grad(U);\n div(phi,k) Gauss upwind;\n div(phi,epsilon) Gauss upwind;\n div(phi,R) Gauss upwind;\n div(R) Gauss linear;\n div(phi,nuTilda) Gauss upwind;\n\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\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 object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\n// Note: this file is a Copy of $FOAM_TUTORIALS/resources/blockMesh/pitzDaily\n\nconvertToMeters 0.001;\n\nvertices\n(\n (-20.6 0 -0.5)\n (-20.6 25.4 -0.5)\n (0 -25.4 -0.5)\n (0 0 -0.5)\n (0 25.4 -0.5)\n (206 -25.4 -0.5)\n (206 0 -0.5)\n (206 25.4 -0.5)\n (290 -16.6 -0.5)\n (290 0 -0.5)\n (290 16.6 -0.5)\n\n (-20.6 0 0.5)\n (-20.6 25.4 0.5)\n (0 -25.4 0.5)\n (0 0 0.5)\n (0 25.4 0.5)\n (206 -25.4 0.5)\n (206 0 0.5)\n (206 25.4 0.5)\n (290 -16.6 0.5)\n (290 0 0.5)\n (290 16.6 0.5)\n);\n\nnegY\n(\n (2 4 1)\n (1 3 0.3)\n);\n\nposY\n(\n (1 4 2)\n (2 3 4)\n (2 4 0.25)\n);\n\nposYR\n(\n (2 1 1)\n (1 1 0.25)\n);\n\n\nblocks\n(\n hex (0 3 4 1 11 14 15 12)\n (18 30 1)\n simpleGrading (0.5 $posY 1)\n\n hex (2 5 6 3 13 16 17 14)\n (180 27 1)\n edgeGrading (4 4 4 4 $negY 1 1 $negY 1 1 1 1)\n\n hex (3 6 7 4 14 17 18 15)\n (180 30 1)\n edgeGrading (4 4 4 4 $posY $posYR $posYR $posY 1 1 1 1)\n\n hex (5 8 9 6 16 19 20 17)\n (25 27 1)\n simpleGrading (2.5 1 1)\n\n hex (6 9 10 7 17 20 21 18)\n (25 30 1)\n simpleGrading (2.5 $posYR 1)\n);\n\nboundary\n(\n inlet\n {\n type patch;\n faces\n (\n (0 1 12 11)\n );\n }\n outlet\n {\n type patch;\n faces\n (\n (8 9 20 19)\n (9 10 21 20)\n );\n }\n upperWall\n {\n type wall;\n faces\n (\n (1 4 15 12)\n (4 7 18 15)\n (7 10 21 18)\n );\n }\n lowerWall\n {\n type wall;\n faces\n (\n (0 3 14 11)\n (3 2 13 14)\n (2 5 16 13)\n (5 8 19 16)\n );\n }\n frontAndBack\n {\n type empty;\n faces\n (\n (0 3 4 1)\n (2 5 6 3)\n (3 6 7 4)\n (5 8 9 6)\n (6 9 10 7)\n (11 14 15 12)\n (13 16 17 14)\n (14 17 18 15)\n (16 19 20 17)\n (17 20 21 18)\n );\n }\n);\n\n// ************************************************************************* //\n" }, "pitzDaily/1": { "usr_requirement": "do a Reynolds-Averaged Simulation (RAS) pitzdaily simulation. Use PIMPLE algorithm. The domain is a 2D millimeter-scale channel geometry. Boundary conditions specify a fixed velocity of 10m/s at the inlet (left),zero gradient pressure at the outlet (right), and no-slip conditions for walls. Use timestep of 0.0001 and output every 0.01. Finaltime is 0.3. use nu value of 1e-5. Use OpenFOAM-13 with the incompressibleFluid solver module, 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", "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\n turbulence on;\n\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;\n\nnu [0 2 -1 0 0 0 0] 1e-05;\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 object nuTilda;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -1 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n inlet\n {\n type fixedValue;\n value uniform 0;\n }\n\n outlet\n {\n type zeroGradient;\n }\n\n upperWall\n {\n type zeroGradient;\n }\n\n lowerWall\n {\n type zeroGradient;\n }\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 object p;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -2 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n inlet\n {\n type zeroGradient;\n }\n\n outlet\n {\n type fixedValue;\n value uniform 0;\n }\n\n upperWall\n {\n type zeroGradient;\n }\n\n lowerWall\n {\n type zeroGradient;\n }\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 14.855;\n\nboundaryField\n{\n inlet\n {\n type fixedValue;\n value uniform 14.855;\n }\n outlet\n {\n type zeroGradient;\n }\n upperWall\n {\n type epsilonWallFunction;\n value uniform 14.855;\n }\n lowerWall\n {\n type epsilonWallFunction;\n value uniform 14.855;\n }\n frontAndBack\n {\n type empty;\n }\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.375;\n\nboundaryField\n{\n inlet\n {\n type fixedValue;\n value uniform 0.375;\n }\n outlet\n {\n type zeroGradient;\n }\n upperWall\n {\n type kqRWallFunction;\n value uniform 0.375;\n }\n lowerWall\n {\n type kqRWallFunction;\n value uniform 0.375;\n }\n frontAndBack\n {\n type empty;\n }\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 object U;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -1 0 0 0 0];\n\ninternalField uniform (0 0 0);\n\nboundaryField\n{\n inlet\n {\n type fixedValue;\n value uniform (10 0 0);\n }\n\n outlet\n {\n type zeroGradient;\n }\n\n upperWall\n {\n type noSlip;\n }\n\n lowerWall\n {\n type noSlip;\n }\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 inlet\n {\n type calculated;\n value uniform 0;\n }\n outlet\n {\n type calculated;\n value uniform 0;\n }\n upperWall\n {\n type nutkWallFunction;\n value uniform 0;\n }\n lowerWall\n {\n type nutkWallFunction;\n value uniform 0;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\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 tolerance 1e-7;\n relTol 0.01;\n\n smoother DICGaussSeidel;\n\n }\n\n pFinal\n {\n $p;\n relTol 0;\n }\n\n \"(U|k|epsilon)\"\n {\n solver smoothSolver;\n smoother symGaussSeidel;\n tolerance 1e-05;\n relTol 0.1;\n }\n\n \"(U|k|epsilon)Final\"\n {\n $U;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n nNonOrthogonalCorrectors 0;\n nCorrectors 2;\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 pimpleFoam;\nsolver incompressibleFluid;\nstartFrom latestTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 0.3;\n\ndeltaT 0.0001;\n\nwriteControl adjustableRunTime;\n\nwriteInterval 0.01;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable yes;\n\nadjustTimeStep yes;\n\nmaxCo 5;\n\nfunctions\n{\n #includeFunc patchAverage(patch=inlet, fields=(p U))\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\n div(phi,U) Gauss linearUpwind grad(U);\n div(phi,k) Gauss upwind;\n div(phi,epsilon) Gauss upwind;\n div(phi,R) Gauss upwind;\n div(R) Gauss linear;\n div(phi,nuTilda) Gauss upwind;\n\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\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 object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\n// Note: this file is a Copy of $FOAM_TUTORIALS/resources/blockMesh/pitzDaily\n\nconvertToMeters 0.001;\n\nvertices\n(\n (-20.6 0 -0.5)\n (-20.6 25.4 -0.5)\n (0 -25.4 -0.5)\n (0 0 -0.5)\n (0 25.4 -0.5)\n (206 -25.4 -0.5)\n (206 0 -0.5)\n (206 25.4 -0.5)\n (290 -16.6 -0.5)\n (290 0 -0.5)\n (290 16.6 -0.5)\n\n (-20.6 0 0.5)\n (-20.6 25.4 0.5)\n (0 -25.4 0.5)\n (0 0 0.5)\n (0 25.4 0.5)\n (206 -25.4 0.5)\n (206 0 0.5)\n (206 25.4 0.5)\n (290 -16.6 0.5)\n (290 0 0.5)\n (290 16.6 0.5)\n);\n\nnegY\n(\n (2 4 1)\n (1 3 0.3)\n);\n\nposY\n(\n (1 4 2)\n (2 3 4)\n (2 4 0.25)\n);\n\nposYR\n(\n (2 1 1)\n (1 1 0.25)\n);\n\n\nblocks\n(\n hex (0 3 4 1 11 14 15 12)\n (18 30 1)\n simpleGrading (0.5 $posY 1)\n\n hex (2 5 6 3 13 16 17 14)\n (180 27 1)\n edgeGrading (4 4 4 4 $negY 1 1 $negY 1 1 1 1)\n\n hex (3 6 7 4 14 17 18 15)\n (180 30 1)\n edgeGrading (4 4 4 4 $posY $posYR $posYR $posY 1 1 1 1)\n\n hex (5 8 9 6 16 19 20 17)\n (25 27 1)\n simpleGrading (2.5 1 1)\n\n hex (6 9 10 7 17 20 21 18)\n (25 30 1)\n simpleGrading (2.5 $posYR 1)\n);\n\nboundary\n(\n inlet\n {\n type patch;\n faces\n (\n (0 1 12 11)\n );\n }\n outlet\n {\n type patch;\n faces\n (\n (8 9 20 19)\n (9 10 21 20)\n );\n }\n upperWall\n {\n type wall;\n faces\n (\n (1 4 15 12)\n (4 7 18 15)\n (7 10 21 18)\n );\n }\n lowerWall\n {\n type wall;\n faces\n (\n (0 3 14 11)\n (3 2 13 14)\n (2 5 16 13)\n (5 8 19 16)\n );\n }\n frontAndBack\n {\n type empty;\n faces\n (\n (0 3 4 1)\n (2 5 6 3)\n (3 6 7 4)\n (5 8 9 6)\n (6 9 10 7)\n (11 14 15 12)\n (13 16 17 14)\n (14 17 18 15)\n (16 19 20 17)\n (17 20 21 18)\n );\n }\n);\n\n// ************************************************************************* //\n" }, "pitzDaily/9": { "usr_requirement": "do a Reynolds-Averaged Simulation (RAS) pitzdaily simulation. Use PIMPLE algorithm. The domain is a 2D millimeter-scale channel geometry. Boundary conditions specify a fixed velocity of 25m/s at the inlet (left),zero gradient pressure at the outlet (right), and no-slip conditions for walls. Use timestep of 0.0001 and output every 0.01. Finaltime is 0.3. use nu value of 1e-04. Use OpenFOAM-13 with the incompressibleFluid solver module, 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", "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\n turbulence on;\n\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;\n\nnu 1e-04;\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 object nuTilda;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -1 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n inlet\n {\n type fixedValue;\n value uniform 0;\n }\n\n outlet\n {\n type zeroGradient;\n }\n\n upperWall\n {\n type zeroGradient;\n }\n\n lowerWall\n {\n type zeroGradient;\n }\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 object p;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -2 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n inlet\n {\n type zeroGradient;\n }\n\n outlet\n {\n type fixedValue;\n value uniform 0;\n }\n\n upperWall\n {\n type zeroGradient;\n }\n\n lowerWall\n {\n type zeroGradient;\n }\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 14.855;\n\nboundaryField\n{\n inlet\n {\n type fixedValue;\n value uniform 14.855;\n }\n outlet\n {\n type zeroGradient;\n }\n upperWall\n {\n type epsilonWallFunction;\n value uniform 14.855;\n }\n lowerWall\n {\n type epsilonWallFunction;\n value uniform 14.855;\n }\n frontAndBack\n {\n type empty;\n }\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.375;\n\nboundaryField\n{\n inlet\n {\n type fixedValue;\n value uniform 0.375;\n }\n outlet\n {\n type zeroGradient;\n }\n upperWall\n {\n type kqRWallFunction;\n value uniform 0.375;\n }\n lowerWall\n {\n type kqRWallFunction;\n value uniform 0.375;\n }\n frontAndBack\n {\n type empty;\n }\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 object U;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -1 0 0 0 0];\n\ninternalField uniform (0 0 0);\n\nboundaryField\n{\n inlet\n {\n type fixedValue;\n value uniform (25 0 0);\n }\n\n outlet\n {\n type zeroGradient;\n }\n\n upperWall\n {\n type noSlip;\n }\n\n lowerWall\n {\n type noSlip;\n }\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 inlet\n {\n type calculated;\n value uniform 0;\n }\n outlet\n {\n type calculated;\n value uniform 0;\n }\n upperWall\n {\n type nutkWallFunction;\n value uniform 0;\n }\n lowerWall\n {\n type nutkWallFunction;\n value uniform 0;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\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 tolerance 1e-7;\n relTol 0.01;\n\n smoother DICGaussSeidel;\n\n }\n\n pFinal\n {\n $p;\n relTol 0;\n }\n\n \"(U|k|epsilon)\"\n {\n solver smoothSolver;\n smoother symGaussSeidel;\n tolerance 1e-05;\n relTol 0.1;\n }\n\n \"(U|k|epsilon)Final\"\n {\n $U;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n nNonOrthogonalCorrectors 0;\n nCorrectors 2;\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 pimpleFoam;\nsolver incompressibleFluid;\nstartFrom latestTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 0.3;\n\ndeltaT 0.0001;\n\nwriteControl adjustableRunTime;\n\nwriteInterval 0.01;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable yes;\n\nadjustTimeStep yes;\n\nmaxCo 5;\n\nfunctions\n{\n #includeFunc patchAverage(patch=inlet, fields=(p U))\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\n div(phi,U) Gauss linearUpwind grad(U);\n div(phi,k) Gauss upwind;\n div(phi,epsilon) Gauss upwind;\n div(phi,R) Gauss upwind;\n div(R) Gauss linear;\n div(phi,nuTilda) Gauss upwind;\n\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\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 object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\n// Note: this file is a Copy of $FOAM_TUTORIALS/resources/blockMesh/pitzDaily\n\nconvertToMeters 0.001;\n\nvertices\n(\n (-20.6 0 -0.5)\n (-20.6 25.4 -0.5)\n (0 -25.4 -0.5)\n (0 0 -0.5)\n (0 25.4 -0.5)\n (206 -25.4 -0.5)\n (206 0 -0.5)\n (206 25.4 -0.5)\n (290 -16.6 -0.5)\n (290 0 -0.5)\n (290 16.6 -0.5)\n\n (-20.6 0 0.5)\n (-20.6 25.4 0.5)\n (0 -25.4 0.5)\n (0 0 0.5)\n (0 25.4 0.5)\n (206 -25.4 0.5)\n (206 0 0.5)\n (206 25.4 0.5)\n (290 -16.6 0.5)\n (290 0 0.5)\n (290 16.6 0.5)\n);\n\nnegY\n(\n (2 4 1)\n (1 3 0.3)\n);\n\nposY\n(\n (1 4 2)\n (2 3 4)\n (2 4 0.25)\n);\n\nposYR\n(\n (2 1 1)\n (1 1 0.25)\n);\n\n\nblocks\n(\n hex (0 3 4 1 11 14 15 12)\n (18 30 1)\n simpleGrading (0.5 $posY 1)\n\n hex (2 5 6 3 13 16 17 14)\n (180 27 1)\n edgeGrading (4 4 4 4 $negY 1 1 $negY 1 1 1 1)\n\n hex (3 6 7 4 14 17 18 15)\n (180 30 1)\n edgeGrading (4 4 4 4 $posY $posYR $posYR $posY 1 1 1 1)\n\n hex (5 8 9 6 16 19 20 17)\n (25 27 1)\n simpleGrading (2.5 1 1)\n\n hex (6 9 10 7 17 20 21 18)\n (25 30 1)\n simpleGrading (2.5 $posYR 1)\n);\n\nboundary\n(\n inlet\n {\n type patch;\n faces\n (\n (0 1 12 11)\n );\n }\n outlet\n {\n type patch;\n faces\n (\n (8 9 20 19)\n (9 10 21 20)\n );\n }\n upperWall\n {\n type wall;\n faces\n (\n (1 4 15 12)\n (4 7 18 15)\n (7 10 21 18)\n );\n }\n lowerWall\n {\n type wall;\n faces\n (\n (0 3 14 11)\n (3 2 13 14)\n (2 5 16 13)\n (5 8 19 16)\n );\n }\n frontAndBack\n {\n type empty;\n faces\n (\n (0 3 4 1)\n (2 5 6 3)\n (3 6 7 4)\n (5 8 9 6)\n (6 9 10 7)\n (11 14 15 12)\n (13 16 17 14)\n (14 17 18 15)\n (16 19 20 17)\n (17 20 21 18)\n );\n }\n);\n\n// ************************************************************************* //\n" }, "pitzDaily/10": { "usr_requirement": "do a Reynolds-Averaged Simulation (RAS) pitzdaily simulation. Use PIMPLE algorithm. The domain is a 2D millimeter-scale channel geometry. Boundary conditions specify a fixed velocity of 25m/s at the inlet (left),zero gradient pressure at the outlet (right), and no-slip conditions for walls. Use timestep of 0.0001 and output every 0.01. Finaltime is 0.3. use nu value of 1e-03. Use OpenFOAM-13 with the incompressibleFluid solver module, 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", "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\n turbulence on;\n\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;\n\nnu 1e-03;\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 object nuTilda;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -1 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n inlet\n {\n type fixedValue;\n value uniform 0;\n }\n\n outlet\n {\n type zeroGradient;\n }\n\n upperWall\n {\n type zeroGradient;\n }\n\n lowerWall\n {\n type zeroGradient;\n }\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 object p;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -2 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n inlet\n {\n type zeroGradient;\n }\n\n outlet\n {\n type fixedValue;\n value uniform 0;\n }\n\n upperWall\n {\n type zeroGradient;\n }\n\n lowerWall\n {\n type zeroGradient;\n }\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 14.855;\n\nboundaryField\n{\n inlet\n {\n type fixedValue;\n value uniform 14.855;\n }\n outlet\n {\n type zeroGradient;\n }\n upperWall\n {\n type epsilonWallFunction;\n value uniform 14.855;\n }\n lowerWall\n {\n type epsilonWallFunction;\n value uniform 14.855;\n }\n frontAndBack\n {\n type empty;\n }\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.375;\n\nboundaryField\n{\n inlet\n {\n type fixedValue;\n value uniform 0.375;\n }\n outlet\n {\n type zeroGradient;\n }\n upperWall\n {\n type kqRWallFunction;\n value uniform 0.375;\n }\n lowerWall\n {\n type kqRWallFunction;\n value uniform 0.375;\n }\n frontAndBack\n {\n type empty;\n }\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 object U;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -1 0 0 0 0];\n\ninternalField uniform (0 0 0);\n\nboundaryField\n{\n inlet\n {\n type fixedValue;\n value uniform (25 0 0);\n }\n\n outlet\n {\n type zeroGradient;\n }\n\n upperWall\n {\n type noSlip;\n }\n\n lowerWall\n {\n type noSlip;\n }\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 inlet\n {\n type calculated;\n value uniform 0;\n }\n outlet\n {\n type calculated;\n value uniform 0;\n }\n upperWall\n {\n type nutkWallFunction;\n value uniform 0;\n }\n lowerWall\n {\n type nutkWallFunction;\n value uniform 0;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\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 tolerance 1e-7;\n relTol 0.01;\n\n smoother DICGaussSeidel;\n\n }\n\n pFinal\n {\n $p;\n relTol 0;\n }\n\n \"(U|k|epsilon)\"\n {\n solver smoothSolver;\n smoother symGaussSeidel;\n tolerance 1e-05;\n relTol 0.1;\n }\n\n \"(U|k|epsilon)Final\"\n {\n $U;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n nNonOrthogonalCorrectors 0;\n nCorrectors 2;\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 pimpleFoam;\nsolver incompressibleFluid;\nstartFrom latestTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 0.3;\n\ndeltaT 0.0001;\n\nwriteControl adjustableRunTime;\n\nwriteInterval 0.01;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable yes;\n\nadjustTimeStep yes;\n\nmaxCo 5;\n\nfunctions\n{\n #includeFunc patchAverage(patch=inlet, fields=(p U))\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\n div(phi,U) Gauss linearUpwind grad(U);\n div(phi,k) Gauss upwind;\n div(phi,epsilon) Gauss upwind;\n div(phi,R) Gauss upwind;\n div(R) Gauss linear;\n div(phi,nuTilda) Gauss upwind;\n\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\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 object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\n// Note: this file is a Copy of $FOAM_TUTORIALS/resources/blockMesh/pitzDaily\n\nconvertToMeters 0.001;\n\nvertices\n(\n (-20.6 0 -0.5)\n (-20.6 25.4 -0.5)\n (0 -25.4 -0.5)\n (0 0 -0.5)\n (0 25.4 -0.5)\n (206 -25.4 -0.5)\n (206 0 -0.5)\n (206 25.4 -0.5)\n (290 -16.6 -0.5)\n (290 0 -0.5)\n (290 16.6 -0.5)\n\n (-20.6 0 0.5)\n (-20.6 25.4 0.5)\n (0 -25.4 0.5)\n (0 0 0.5)\n (0 25.4 0.5)\n (206 -25.4 0.5)\n (206 0 0.5)\n (206 25.4 0.5)\n (290 -16.6 0.5)\n (290 0 0.5)\n (290 16.6 0.5)\n);\n\nnegY\n(\n (2 4 1)\n (1 3 0.3)\n);\n\nposY\n(\n (1 4 2)\n (2 3 4)\n (2 4 0.25)\n);\n\nposYR\n(\n (2 1 1)\n (1 1 0.25)\n);\n\n\nblocks\n(\n hex (0 3 4 1 11 14 15 12)\n (18 30 1)\n simpleGrading (0.5 $posY 1)\n\n hex (2 5 6 3 13 16 17 14)\n (180 27 1)\n edgeGrading (4 4 4 4 $negY 1 1 $negY 1 1 1 1)\n\n hex (3 6 7 4 14 17 18 15)\n (180 30 1)\n edgeGrading (4 4 4 4 $posY $posYR $posYR $posY 1 1 1 1)\n\n hex (5 8 9 6 16 19 20 17)\n (25 27 1)\n simpleGrading (2.5 1 1)\n\n hex (6 9 10 7 17 20 21 18)\n (25 30 1)\n simpleGrading (2.5 $posYR 1)\n);\n\nboundary\n(\n inlet\n {\n type patch;\n faces\n (\n (0 1 12 11)\n );\n }\n outlet\n {\n type patch;\n faces\n (\n (8 9 20 19)\n (9 10 21 20)\n );\n }\n upperWall\n {\n type wall;\n faces\n (\n (1 4 15 12)\n (4 7 18 15)\n (7 10 21 18)\n );\n }\n lowerWall\n {\n type wall;\n faces\n (\n (0 3 14 11)\n (3 2 13 14)\n (2 5 16 13)\n (5 8 19 16)\n );\n }\n frontAndBack\n {\n type empty;\n faces\n (\n (0 3 4 1)\n (2 5 6 3)\n (3 6 7 4)\n (5 8 9 6)\n (6 9 10 7)\n (11 14 15 12)\n (13 16 17 14)\n (14 17 18 15)\n (16 19 20 17)\n (17 20 21 18)\n );\n }\n);\n\n// ************************************************************************* //\n" }, "pitzDaily/8": { "usr_requirement": "do a Reynolds-Averaged Simulation (RAS) pitzdaily simulation. Use PIMPLE algorithm. The domain is a 2D millimeter-scale channel geometry. Boundary conditions specify a fixed velocity of 25m/s at the inlet (left),zero gradient pressure at the outlet (right), and no-slip conditions for walls. Use timestep of 0.0001 and output every 0.01. Finaltime is 0.3. use nu value of 1e-05. Use OpenFOAM-13 with the incompressibleFluid solver module, 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", "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\n turbulence on;\n\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;\n\nnu 1e-05;\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 object nuTilda;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -1 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n inlet\n {\n type fixedValue;\n value uniform 0;\n }\n\n outlet\n {\n type zeroGradient;\n }\n\n upperWall\n {\n type zeroGradient;\n }\n\n lowerWall\n {\n type zeroGradient;\n }\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 object p;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -2 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n inlet\n {\n type zeroGradient;\n }\n\n outlet\n {\n type fixedValue;\n value uniform 0;\n }\n\n upperWall\n {\n type zeroGradient;\n }\n\n lowerWall\n {\n type zeroGradient;\n }\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 14.855;\n\nboundaryField\n{\n inlet\n {\n type fixedValue;\n value uniform 14.855;\n }\n outlet\n {\n type zeroGradient;\n }\n upperWall\n {\n type epsilonWallFunction;\n value uniform 14.855;\n }\n lowerWall\n {\n type epsilonWallFunction;\n value uniform 14.855;\n }\n frontAndBack\n {\n type empty;\n }\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.375;\n\nboundaryField\n{\n inlet\n {\n type fixedValue;\n value uniform 0.375;\n }\n outlet\n {\n type zeroGradient;\n }\n upperWall\n {\n type kqRWallFunction;\n value uniform 0.375;\n }\n lowerWall\n {\n type kqRWallFunction;\n value uniform 0.375;\n }\n frontAndBack\n {\n type empty;\n }\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 object U;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -1 0 0 0 0];\n\ninternalField uniform (0 0 0);\n\nboundaryField\n{\n inlet\n {\n type fixedValue;\n value uniform (25 0 0);\n }\n\n outlet\n {\n type zeroGradient;\n }\n\n upperWall\n {\n type noSlip;\n }\n\n lowerWall\n {\n type noSlip;\n }\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 inlet\n {\n type calculated;\n value uniform 0;\n }\n outlet\n {\n type calculated;\n value uniform 0;\n }\n upperWall\n {\n type nutkWallFunction;\n value uniform 0;\n }\n lowerWall\n {\n type nutkWallFunction;\n value uniform 0;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\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 tolerance 1e-7;\n relTol 0.01;\n\n smoother DICGaussSeidel;\n\n }\n\n pFinal\n {\n $p;\n relTol 0;\n }\n\n \"(U|k|epsilon)\"\n {\n solver smoothSolver;\n smoother symGaussSeidel;\n tolerance 1e-05;\n relTol 0.1;\n }\n\n \"(U|k|epsilon)Final\"\n {\n $U;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n nNonOrthogonalCorrectors 0;\n nCorrectors 2;\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 pimpleFoam;\nsolver incompressibleFluid;\nstartFrom latestTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 0.3;\n\ndeltaT 0.0001;\n\nwriteControl adjustableRunTime;\n\nwriteInterval 0.01;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable yes;\n\nadjustTimeStep yes;\n\nmaxCo 5;\n\nfunctions\n{\n #includeFunc patchAverage(patch=inlet, fields=(p U))\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\n div(phi,U) Gauss linearUpwind grad(U);\n div(phi,k) Gauss upwind;\n div(phi,epsilon) Gauss upwind;\n div(phi,R) Gauss upwind;\n div(R) Gauss linear;\n div(phi,nuTilda) Gauss upwind;\n\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\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 object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\n// Note: this file is a Copy of $FOAM_TUTORIALS/resources/blockMesh/pitzDaily\n\nconvertToMeters 0.001;\n\nvertices\n(\n (-20.6 0 -0.5)\n (-20.6 25.4 -0.5)\n (0 -25.4 -0.5)\n (0 0 -0.5)\n (0 25.4 -0.5)\n (206 -25.4 -0.5)\n (206 0 -0.5)\n (206 25.4 -0.5)\n (290 -16.6 -0.5)\n (290 0 -0.5)\n (290 16.6 -0.5)\n\n (-20.6 0 0.5)\n (-20.6 25.4 0.5)\n (0 -25.4 0.5)\n (0 0 0.5)\n (0 25.4 0.5)\n (206 -25.4 0.5)\n (206 0 0.5)\n (206 25.4 0.5)\n (290 -16.6 0.5)\n (290 0 0.5)\n (290 16.6 0.5)\n);\n\nnegY\n(\n (2 4 1)\n (1 3 0.3)\n);\n\nposY\n(\n (1 4 2)\n (2 3 4)\n (2 4 0.25)\n);\n\nposYR\n(\n (2 1 1)\n (1 1 0.25)\n);\n\n\nblocks\n(\n hex (0 3 4 1 11 14 15 12)\n (18 30 1)\n simpleGrading (0.5 $posY 1)\n\n hex (2 5 6 3 13 16 17 14)\n (180 27 1)\n edgeGrading (4 4 4 4 $negY 1 1 $negY 1 1 1 1)\n\n hex (3 6 7 4 14 17 18 15)\n (180 30 1)\n edgeGrading (4 4 4 4 $posY $posYR $posYR $posY 1 1 1 1)\n\n hex (5 8 9 6 16 19 20 17)\n (25 27 1)\n simpleGrading (2.5 1 1)\n\n hex (6 9 10 7 17 20 21 18)\n (25 30 1)\n simpleGrading (2.5 $posYR 1)\n);\n\nboundary\n(\n inlet\n {\n type patch;\n faces\n (\n (0 1 12 11)\n );\n }\n outlet\n {\n type patch;\n faces\n (\n (8 9 20 19)\n (9 10 21 20)\n );\n }\n upperWall\n {\n type wall;\n faces\n (\n (1 4 15 12)\n (4 7 18 15)\n (7 10 21 18)\n );\n }\n lowerWall\n {\n type wall;\n faces\n (\n (0 3 14 11)\n (3 2 13 14)\n (2 5 16 13)\n (5 8 19 16)\n );\n }\n frontAndBack\n {\n type empty;\n faces\n (\n (0 3 4 1)\n (2 5 6 3)\n (3 6 7 4)\n (5 8 9 6)\n (6 9 10 7)\n (11 14 15 12)\n (13 16 17 14)\n (14 17 18 15)\n (16 19 20 17)\n (17 20 21 18)\n );\n }\n);\n\n// ************************************************************************* //\n" }, "counterFlowFlame2D/7": { "usr_requirement": "do a counterflow flame simulation using OpenFOAM reactingFoam solver, employing a compressible flow solver for detailed combustion modeling. 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.4 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 the multicomponentFluid solver module, 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", "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 laminar;\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\\*---------------------------------------------------------------------------*/\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-------------------------------------------------------------------------------\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", "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 }\n frontAndBack\n {\n type empty;\n }\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 }\n frontAndBack\n {\n type empty;\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 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// ************************************************************************* //\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 }\n frontAndBack\n {\n type empty;\n }\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// ************************************************************************* //\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 }\n frontAndBack\n {\n type empty;\n }\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.4 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// ************************************************************************* //\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// ************************************************************************* //\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// ************************************************************************* //\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// ************************************************************************* //\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 }\n frontAndBack\n {\n type empty;\n }\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", "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 p\n {\n solver PCG;\n preconditioner DIC;\n tolerance 1e-6;\n relTol 0.1;\n }\n\n pFinal\n {\n $p;\n tolerance 1e-6;\n relTol 0.0;\n }\n\n \"(U|h|k|epsilon)\"\n {\n solver PBiCGStab;\n preconditioner DILU;\n tolerance 1e-6;\n relTol 0.1;\n }\n\n \"(U|h|k|epsilon)Final\"\n {\n $U;\n relTol 0;\n }\n\n Yi\n {\n solver PBiCGStab;\n preconditioner DILU;\n tolerance 1e-6;\n relTol 0.1;\n }\n\n YiFinal\n {\n $Yi;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n momentumPredictor no;\n nOuterCorrectors 1;\n nCorrectors 2;\n nNonOrthogonalCorrectors 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 reactingFoam;\nsolver multicomponentFluid;\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 0.5;\n\ndeltaT 1e-6;\n\nwriteControl adjustableRunTime;\n\nwriteInterval 0.05;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable true;\n\nadjustTimeStep yes;\n\nmaxCo 0.4;\n\nfunctions\n{\n #includeFunc Qdot\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\n div(phi,U) Gauss limitedLinearV 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,epsilon) Gauss limitedLinear 1;\n div(phi,k) Gauss limitedLinear 1;\n div(((rho*nuEff)*dev2(T(grad(U))))) Gauss linear;\n}\n\nlaplacianSchemes\n{\n default Gauss linear orthogonal;\n}\n\ninterpolationSchemes\n{\n default linear;\n}\n\nsnGradSchemes\n{\n default orthogonal;\n}\n\n\n// ************************************************************************* //\n", "system/functions": "/*--------------------------------*- 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 functions;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\n#includeFunc Qdot\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 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" }, "counterFlowFlame2D/6": { "usr_requirement": "do a counterflow flame simulation using OpenFOAM reactingFoam solver, employing a compressible flow solver for detailed combustion modeling. 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.3 m/s and velocity of air is -0.3 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 the multicomponentFluid solver module, 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", "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 laminar;\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\\*---------------------------------------------------------------------------*/\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-------------------------------------------------------------------------------\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", "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 }\n frontAndBack\n {\n type empty;\n }\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 }\n frontAndBack\n {\n type empty;\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 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// ************************************************************************* //\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 }\n frontAndBack\n {\n type empty;\n }\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// ************************************************************************* //\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 }\n frontAndBack\n {\n type empty;\n }\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.3 0 0);\n }\n air\n {\n type fixedValue;\n value uniform (-0.3 0 0);\n }\n outlet\n {\n type pressureInletOutletVelocity;\n value $internalField;\n }\n frontAndBack\n {\n type empty;\n }\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// ************************************************************************* //\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// ************************************************************************* //\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// ************************************************************************* //\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 }\n frontAndBack\n {\n type empty;\n }\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", "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 p\n {\n solver PCG;\n preconditioner DIC;\n tolerance 1e-6;\n relTol 0.1;\n }\n\n pFinal\n {\n $p;\n tolerance 1e-6;\n relTol 0.0;\n }\n\n \"(U|h|k|epsilon)\"\n {\n solver PBiCGStab;\n preconditioner DILU;\n tolerance 1e-6;\n relTol 0.1;\n }\n\n \"(U|h|k|epsilon)Final\"\n {\n $U;\n relTol 0;\n }\n\n Yi\n {\n solver PBiCGStab;\n preconditioner DILU;\n tolerance 1e-6;\n relTol 0.1;\n }\n\n YiFinal\n {\n $Yi;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n momentumPredictor no;\n nOuterCorrectors 1;\n nCorrectors 2;\n nNonOrthogonalCorrectors 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 reactingFoam;\nsolver multicomponentFluid;\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 0.5;\n\ndeltaT 1e-6;\n\nwriteControl adjustableRunTime;\n\nwriteInterval 0.05;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable true;\n\nadjustTimeStep yes;\n\nmaxCo 0.4;\n\nfunctions\n{\n #includeFunc Qdot\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\n div(phi,U) Gauss limitedLinearV 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,epsilon) Gauss limitedLinear 1;\n div(phi,k) Gauss limitedLinear 1;\n div(((rho*nuEff)*dev2(T(grad(U))))) Gauss linear;\n}\n\nlaplacianSchemes\n{\n default Gauss linear orthogonal;\n}\n\ninterpolationSchemes\n{\n default linear;\n}\n\nsnGradSchemes\n{\n default orthogonal;\n}\n\n\n// ************************************************************************* //\n", "system/functions": "/*--------------------------------*- 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 functions;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\n#includeFunc Qdot\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 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" }, "counterFlowFlame2D/3": { "usr_requirement": "do a counterflow flame simulation using OpenFOAM reactingFoam solver, employing a compressible flow solver for detailed combustion modeling. 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.2 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 the multicomponentFluid solver module, 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", "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 laminar;\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\\*---------------------------------------------------------------------------*/\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-------------------------------------------------------------------------------\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", "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 }\n frontAndBack\n {\n type empty;\n }\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 }\n frontAndBack\n {\n type empty;\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 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// ************************************************************************* //\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 }\n frontAndBack\n {\n type empty;\n }\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// ************************************************************************* //\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 }\n frontAndBack\n {\n type empty;\n }\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.2 0 0);\n }\n outlet\n {\n type pressureInletOutletVelocity;\n value $internalField;\n }\n frontAndBack\n {\n type empty;\n }\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// ************************************************************************* //\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// ************************************************************************* //\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// ************************************************************************* //\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 }\n frontAndBack\n {\n type empty;\n }\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", "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 p\n {\n solver PCG;\n preconditioner DIC;\n tolerance 1e-6;\n relTol 0.1;\n }\n\n pFinal\n {\n $p;\n tolerance 1e-6;\n relTol 0.0;\n }\n\n \"(U|h|k|epsilon)\"\n {\n solver PBiCGStab;\n preconditioner DILU;\n tolerance 1e-6;\n relTol 0.1;\n }\n\n \"(U|h|k|epsilon)Final\"\n {\n $U;\n relTol 0;\n }\n\n Yi\n {\n solver PBiCGStab;\n preconditioner DILU;\n tolerance 1e-6;\n relTol 0.1;\n }\n\n YiFinal\n {\n $Yi;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n momentumPredictor no;\n nOuterCorrectors 1;\n nCorrectors 2;\n nNonOrthogonalCorrectors 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 reactingFoam;\nsolver multicomponentFluid;\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 0.5;\n\ndeltaT 1e-6;\n\nwriteControl adjustableRunTime;\n\nwriteInterval 0.05;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable true;\n\nadjustTimeStep yes;\n\nmaxCo 0.4;\n\nfunctions\n{\n #includeFunc Qdot\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\n div(phi,U) Gauss limitedLinearV 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,epsilon) Gauss limitedLinear 1;\n div(phi,k) Gauss limitedLinear 1;\n div(((rho*nuEff)*dev2(T(grad(U))))) Gauss linear;\n}\n\nlaplacianSchemes\n{\n default Gauss linear orthogonal;\n}\n\ninterpolationSchemes\n{\n default linear;\n}\n\nsnGradSchemes\n{\n default orthogonal;\n}\n\n\n// ************************************************************************* //\n", "system/functions": "/*--------------------------------*- 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 functions;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\n#includeFunc Qdot\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 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" }, "counterFlowFlame2D/5": { "usr_requirement": "do a counterflow flame simulation using OpenFOAM reactingFoam solver, employing a compressible flow solver for detailed combustion modeling. 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.3 m/s and velocity of air is -0.2 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 the multicomponentFluid solver module, 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", "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 laminar;\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\\*---------------------------------------------------------------------------*/\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-------------------------------------------------------------------------------\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", "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 }\n frontAndBack\n {\n type empty;\n }\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 }\n frontAndBack\n {\n type empty;\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 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// ************************************************************************* //\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 }\n frontAndBack\n {\n type empty;\n }\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// ************************************************************************* //\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 }\n frontAndBack\n {\n type empty;\n }\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.3 0 0);\n }\n air\n {\n type fixedValue;\n value uniform (-0.2 0 0);\n }\n outlet\n {\n type pressureInletOutletVelocity;\n value $internalField;\n }\n frontAndBack\n {\n type empty;\n }\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// ************************************************************************* //\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// ************************************************************************* //\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// ************************************************************************* //\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 }\n frontAndBack\n {\n type empty;\n }\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", "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 p\n {\n solver PCG;\n preconditioner DIC;\n tolerance 1e-6;\n relTol 0.1;\n }\n\n pFinal\n {\n $p;\n tolerance 1e-6;\n relTol 0.0;\n }\n\n \"(U|h|k|epsilon)\"\n {\n solver PBiCGStab;\n preconditioner DILU;\n tolerance 1e-6;\n relTol 0.1;\n }\n\n \"(U|h|k|epsilon)Final\"\n {\n $U;\n relTol 0;\n }\n\n Yi\n {\n solver PBiCGStab;\n preconditioner DILU;\n tolerance 1e-6;\n relTol 0.1;\n }\n\n YiFinal\n {\n $Yi;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n momentumPredictor no;\n nOuterCorrectors 1;\n nCorrectors 2;\n nNonOrthogonalCorrectors 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 reactingFoam;\nsolver multicomponentFluid;\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 0.5;\n\ndeltaT 1e-6;\n\nwriteControl adjustableRunTime;\n\nwriteInterval 0.05;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable true;\n\nadjustTimeStep yes;\n\nmaxCo 0.4;\n\nfunctions\n{\n #includeFunc Qdot\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\n div(phi,U) Gauss limitedLinearV 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,epsilon) Gauss limitedLinear 1;\n div(phi,k) Gauss limitedLinear 1;\n div(((rho*nuEff)*dev2(T(grad(U))))) Gauss linear;\n}\n\nlaplacianSchemes\n{\n default Gauss linear orthogonal;\n}\n\ninterpolationSchemes\n{\n default linear;\n}\n\nsnGradSchemes\n{\n default orthogonal;\n}\n\n\n// ************************************************************************* //\n", "system/functions": "/*--------------------------------*- 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 functions;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\n#includeFunc Qdot\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 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" }, "counterFlowFlame2D/2": { "usr_requirement": "do a counterflow flame simulation using OpenFOAM reactingFoam solver, employing a compressible flow solver for detailed combustion modeling. 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.2 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 the multicomponentFluid solver module, 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", "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 laminar;\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\\*---------------------------------------------------------------------------*/\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-------------------------------------------------------------------------------\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", "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 }\n frontAndBack\n {\n type empty;\n }\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 }\n frontAndBack\n {\n type empty;\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 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// ************************************************************************* //\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 }\n frontAndBack\n {\n type empty;\n }\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// ************************************************************************* //\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 }\n frontAndBack\n {\n type empty;\n }\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.2 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// ************************************************************************* //\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// ************************************************************************* //\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// ************************************************************************* //\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// ************************************************************************* //\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 }\n frontAndBack\n {\n type empty;\n }\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", "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 p\n {\n solver PCG;\n preconditioner DIC;\n tolerance 1e-6;\n relTol 0.1;\n }\n\n pFinal\n {\n $p;\n tolerance 1e-6;\n relTol 0.0;\n }\n\n \"(U|h|k|epsilon)\"\n {\n solver PBiCGStab;\n preconditioner DILU;\n tolerance 1e-6;\n relTol 0.1;\n }\n\n \"(U|h|k|epsilon)Final\"\n {\n $U;\n relTol 0;\n }\n\n Yi\n {\n solver PBiCGStab;\n preconditioner DILU;\n tolerance 1e-6;\n relTol 0.1;\n }\n\n YiFinal\n {\n $Yi;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n momentumPredictor no;\n nOuterCorrectors 1;\n nCorrectors 2;\n nNonOrthogonalCorrectors 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 reactingFoam;\nsolver multicomponentFluid;\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 0.5;\n\ndeltaT 1e-6;\n\nwriteControl adjustableRunTime;\n\nwriteInterval 0.05;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable true;\n\nadjustTimeStep yes;\n\nmaxCo 0.4;\n\nfunctions\n{\n #includeFunc Qdot\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\n div(phi,U) Gauss limitedLinearV 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,epsilon) Gauss limitedLinear 1;\n div(phi,k) Gauss limitedLinear 1;\n div(((rho*nuEff)*dev2(T(grad(U))))) Gauss linear;\n}\n\nlaplacianSchemes\n{\n default Gauss linear orthogonal;\n}\n\ninterpolationSchemes\n{\n default linear;\n}\n\nsnGradSchemes\n{\n default orthogonal;\n}\n\n\n// ************************************************************************* //\n", "system/functions": "/*--------------------------------*- 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 functions;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\n#includeFunc Qdot\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 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" }, "counterFlowFlame2D/4": { "usr_requirement": "do a counterflow flame simulation using OpenFOAM reactingFoam solver, employing a compressible flow solver for detailed combustion modeling. 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.3 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 the multicomponentFluid solver module, 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", "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 laminar;\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\\*---------------------------------------------------------------------------*/\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-------------------------------------------------------------------------------\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", "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 }\n frontAndBack\n {\n type empty;\n }\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 }\n frontAndBack\n {\n type empty;\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 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// ************************************************************************* //\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 }\n frontAndBack\n {\n type empty;\n }\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// ************************************************************************* //\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 }\n frontAndBack\n {\n type empty;\n }\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.3 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// ************************************************************************* //\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// ************************************************************************* //\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// ************************************************************************* //\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// ************************************************************************* //\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 }\n frontAndBack\n {\n type empty;\n }\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", "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 p\n {\n solver PCG;\n preconditioner DIC;\n tolerance 1e-6;\n relTol 0.1;\n }\n\n pFinal\n {\n $p;\n tolerance 1e-6;\n relTol 0.0;\n }\n\n \"(U|h|k|epsilon)\"\n {\n solver PBiCGStab;\n preconditioner DILU;\n tolerance 1e-6;\n relTol 0.1;\n }\n\n \"(U|h|k|epsilon)Final\"\n {\n $U;\n relTol 0;\n }\n\n Yi\n {\n solver PBiCGStab;\n preconditioner DILU;\n tolerance 1e-6;\n relTol 0.1;\n }\n\n YiFinal\n {\n $Yi;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n momentumPredictor no;\n nOuterCorrectors 1;\n nCorrectors 2;\n nNonOrthogonalCorrectors 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 reactingFoam;\nsolver multicomponentFluid;\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 0.5;\n\ndeltaT 1e-6;\n\nwriteControl adjustableRunTime;\n\nwriteInterval 0.05;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable true;\n\nadjustTimeStep yes;\n\nmaxCo 0.4;\n\nfunctions\n{\n #includeFunc Qdot\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\n div(phi,U) Gauss limitedLinearV 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,epsilon) Gauss limitedLinear 1;\n div(phi,k) Gauss limitedLinear 1;\n div(((rho*nuEff)*dev2(T(grad(U))))) Gauss linear;\n}\n\nlaplacianSchemes\n{\n default Gauss linear orthogonal;\n}\n\ninterpolationSchemes\n{\n default linear;\n}\n\nsnGradSchemes\n{\n default orthogonal;\n}\n\n\n// ************************************************************************* //\n", "system/functions": "/*--------------------------------*- 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 functions;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\n#includeFunc Qdot\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 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" }, "counterFlowFlame2D/1": { "usr_requirement": "do a counterflow flame simulation using OpenFOAM reactingFoam solver, employing a compressible flow solver for detailed combustion modeling. 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 the multicomponentFluid solver module, 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", "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 laminar;\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\\*---------------------------------------------------------------------------*/\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-------------------------------------------------------------------------------\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", "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 }\n frontAndBack\n {\n type empty;\n }\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 }\n frontAndBack\n {\n type empty;\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 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// ************************************************************************* //\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 }\n frontAndBack\n {\n type empty;\n }\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// ************************************************************************* //\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 }\n frontAndBack\n {\n type empty;\n }\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// ************************************************************************* //\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// ************************************************************************* //\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// ************************************************************************* //\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// ************************************************************************* //\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 }\n frontAndBack\n {\n type empty;\n }\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", "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 p\n {\n solver PCG;\n preconditioner DIC;\n tolerance 1e-6;\n relTol 0.1;\n }\n\n pFinal\n {\n $p;\n tolerance 1e-6;\n relTol 0.0;\n }\n\n \"(U|h|k|epsilon)\"\n {\n solver PBiCGStab;\n preconditioner DILU;\n tolerance 1e-6;\n relTol 0.1;\n }\n\n \"(U|h|k|epsilon)Final\"\n {\n $U;\n relTol 0;\n }\n\n Yi\n {\n solver PBiCGStab;\n preconditioner DILU;\n tolerance 1e-6;\n relTol 0.1;\n }\n\n YiFinal\n {\n $Yi;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n momentumPredictor no;\n nOuterCorrectors 1;\n nCorrectors 2;\n nNonOrthogonalCorrectors 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 reactingFoam;\nsolver multicomponentFluid;\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 0.5;\n\ndeltaT 1e-6;\n\nwriteControl adjustableRunTime;\n\nwriteInterval 0.05;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable true;\n\nadjustTimeStep yes;\n\nmaxCo 0.4;\n\nfunctions\n{\n #includeFunc Qdot\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\n div(phi,U) Gauss limitedLinearV 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,epsilon) Gauss limitedLinear 1;\n div(phi,k) Gauss limitedLinear 1;\n div(((rho*nuEff)*dev2(T(grad(U))))) Gauss linear;\n}\n\nlaplacianSchemes\n{\n default Gauss linear orthogonal;\n}\n\ninterpolationSchemes\n{\n default linear;\n}\n\nsnGradSchemes\n{\n default orthogonal;\n}\n\n\n// ************************************************************************* //\n", "system/functions": "/*--------------------------------*- 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 functions;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\n#includeFunc Qdot\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 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" }, "counterFlowFlame2D/9": { "usr_requirement": "do a counterflow flame simulation using OpenFOAM reactingFoam solver, employing a compressible flow solver for detailed combustion modeling. 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.4 m/s and velocity of air is -0.3 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 the multicomponentFluid solver module, 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", "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 laminar;\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\\*---------------------------------------------------------------------------*/\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-------------------------------------------------------------------------------\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", "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 }\n frontAndBack\n {\n type empty;\n }\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 }\n frontAndBack\n {\n type empty;\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 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// ************************************************************************* //\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 }\n frontAndBack\n {\n type empty;\n }\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// ************************************************************************* //\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 }\n frontAndBack\n {\n type empty;\n }\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// ************************************************************************* //\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// ************************************************************************* //\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// ************************************************************************* //\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// ************************************************************************* //\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 }\n frontAndBack\n {\n type empty;\n }\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", "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 p\n {\n solver PCG;\n preconditioner DIC;\n tolerance 1e-6;\n relTol 0.1;\n }\n\n pFinal\n {\n $p;\n tolerance 1e-6;\n relTol 0.0;\n }\n\n \"(U|h|k|epsilon)\"\n {\n solver PBiCGStab;\n preconditioner DILU;\n tolerance 1e-6;\n relTol 0.1;\n }\n\n \"(U|h|k|epsilon)Final\"\n {\n $U;\n relTol 0;\n }\n\n Yi\n {\n solver PBiCGStab;\n preconditioner DILU;\n tolerance 1e-6;\n relTol 0.1;\n }\n\n YiFinal\n {\n $Yi;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n momentumPredictor no;\n nOuterCorrectors 1;\n nCorrectors 2;\n nNonOrthogonalCorrectors 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 reactingFoam;\nsolver multicomponentFluid;\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 0.5;\n\ndeltaT 1e-6;\n\nwriteControl adjustableRunTime;\n\nwriteInterval 0.05;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable true;\n\nadjustTimeStep yes;\n\nmaxCo 0.4;\n\nfunctions\n{\n #includeFunc Qdot\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\n div(phi,U) Gauss limitedLinearV 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,epsilon) Gauss limitedLinear 1;\n div(phi,k) Gauss limitedLinear 1;\n div(((rho*nuEff)*dev2(T(grad(U))))) Gauss linear;\n}\n\nlaplacianSchemes\n{\n default Gauss linear orthogonal;\n}\n\ninterpolationSchemes\n{\n default linear;\n}\n\nsnGradSchemes\n{\n default orthogonal;\n}\n\n\n// ************************************************************************* //\n", "system/functions": "/*--------------------------------*- 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 functions;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\n#includeFunc Qdot\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 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" }, "counterFlowFlame2D/10": { "usr_requirement": "do a counterflow flame simulation using OpenFOAM reactingFoam solver, employing a compressible flow solver for detailed combustion modeling. 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.4 m/s and velocity of air is -0.4 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 the multicomponentFluid solver module, 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", "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 laminar;\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\\*---------------------------------------------------------------------------*/\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-------------------------------------------------------------------------------\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", "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 }\n frontAndBack\n {\n type empty;\n }\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 }\n frontAndBack\n {\n type empty;\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 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// ************************************************************************* //\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 }\n frontAndBack\n {\n type empty;\n }\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// ************************************************************************* //\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 }\n frontAndBack\n {\n type empty;\n }\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.4 0 0);\n }\n air\n {\n type fixedValue;\n value uniform (-0.4 0 0);\n }\n outlet\n {\n type pressureInletOutletVelocity;\n value $internalField;\n }\n frontAndBack\n {\n type empty;\n }\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// ************************************************************************* //\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// ************************************************************************* //\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// ************************************************************************* //\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 }\n frontAndBack\n {\n type empty;\n }\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", "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 p\n {\n solver PCG;\n preconditioner DIC;\n tolerance 1e-6;\n relTol 0.1;\n }\n\n pFinal\n {\n $p;\n tolerance 1e-6;\n relTol 0.0;\n }\n\n \"(U|h|k|epsilon)\"\n {\n solver PBiCGStab;\n preconditioner DILU;\n tolerance 1e-6;\n relTol 0.1;\n }\n\n \"(U|h|k|epsilon)Final\"\n {\n $U;\n relTol 0;\n }\n\n Yi\n {\n solver PBiCGStab;\n preconditioner DILU;\n tolerance 1e-6;\n relTol 0.1;\n }\n\n YiFinal\n {\n $Yi;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n momentumPredictor no;\n nOuterCorrectors 1;\n nCorrectors 2;\n nNonOrthogonalCorrectors 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 reactingFoam;\nsolver multicomponentFluid;\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 0.5;\n\ndeltaT 1e-6;\n\nwriteControl adjustableRunTime;\n\nwriteInterval 0.05;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable true;\n\nadjustTimeStep yes;\n\nmaxCo 0.4;\n\nfunctions\n{\n #includeFunc Qdot\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\n div(phi,U) Gauss limitedLinearV 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,epsilon) Gauss limitedLinear 1;\n div(phi,k) Gauss limitedLinear 1;\n div(((rho*nuEff)*dev2(T(grad(U))))) Gauss linear;\n}\n\nlaplacianSchemes\n{\n default Gauss linear orthogonal;\n}\n\ninterpolationSchemes\n{\n default linear;\n}\n\nsnGradSchemes\n{\n default orthogonal;\n}\n\n\n// ************************************************************************* //\n", "system/functions": "/*--------------------------------*- 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 functions;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\n#includeFunc Qdot\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 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" }, "counterFlowFlame2D/8": { "usr_requirement": "do a counterflow flame simulation using OpenFOAM reactingFoam solver, employing a compressible flow solver for detailed combustion modeling. 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.4 m/s and velocity of air is -0.2 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 the multicomponentFluid solver module, 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", "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 laminar;\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\\*---------------------------------------------------------------------------*/\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-------------------------------------------------------------------------------\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", "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 }\n frontAndBack\n {\n type empty;\n }\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 }\n frontAndBack\n {\n type empty;\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 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// ************************************************************************* //\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 }\n frontAndBack\n {\n type empty;\n }\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// ************************************************************************* //\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 }\n frontAndBack\n {\n type empty;\n }\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.4 0 0);\n }\n air\n {\n type fixedValue;\n value uniform (-0.2 0 0);\n }\n outlet\n {\n type pressureInletOutletVelocity;\n value $internalField;\n }\n frontAndBack\n {\n type empty;\n }\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// ************************************************************************* //\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// ************************************************************************* //\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// ************************************************************************* //\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 }\n frontAndBack\n {\n type empty;\n }\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", "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 p\n {\n solver PCG;\n preconditioner DIC;\n tolerance 1e-6;\n relTol 0.1;\n }\n\n pFinal\n {\n $p;\n tolerance 1e-6;\n relTol 0.0;\n }\n\n \"(U|h|k|epsilon)\"\n {\n solver PBiCGStab;\n preconditioner DILU;\n tolerance 1e-6;\n relTol 0.1;\n }\n\n \"(U|h|k|epsilon)Final\"\n {\n $U;\n relTol 0;\n }\n\n Yi\n {\n solver PBiCGStab;\n preconditioner DILU;\n tolerance 1e-6;\n relTol 0.1;\n }\n\n YiFinal\n {\n $Yi;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n momentumPredictor no;\n nOuterCorrectors 1;\n nCorrectors 2;\n nNonOrthogonalCorrectors 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 reactingFoam;\nsolver multicomponentFluid;\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 0.5;\n\ndeltaT 1e-6;\n\nwriteControl adjustableRunTime;\n\nwriteInterval 0.05;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable true;\n\nadjustTimeStep yes;\n\nmaxCo 0.4;\n\nfunctions\n{\n #includeFunc Qdot\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\n div(phi,U) Gauss limitedLinearV 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,epsilon) Gauss limitedLinear 1;\n div(phi,k) Gauss limitedLinear 1;\n div(((rho*nuEff)*dev2(T(grad(U))))) Gauss linear;\n}\n\nlaplacianSchemes\n{\n default Gauss linear orthogonal;\n}\n\ninterpolationSchemes\n{\n default linear;\n}\n\nsnGradSchemes\n{\n default orthogonal;\n}\n\n\n// ************************************************************************* //\n", "system/functions": "/*--------------------------------*- 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 functions;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\n#includeFunc Qdot\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 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" }, "forwardStep/7": { "usr_requirement": "do a laminar, compressible flow over a forward-facing step using the rhoCentralFoam solver. Boundary conditions include a fixed velocity of 2.1m/s and temperature of 1 K at the inlet and slip conditions on the obstacle. Use timestep of 0.002 and output every 0.1. Finaltime is 4. Use OpenFOAM-13 with the shockFluid solver module, 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", "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 laminar;\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\n// Note: these are the properties for a \"normalised\" inviscid gas\n// for which the speed of sound is 1 m/s at a temperature of 1K\n// and gamma = 7/5\nmixture\n{\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", "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 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\n outlet\n {\n type zeroGradient;\n }\n\n bottom\n {\n type symmetryPlane;\n }\n\n top\n {\n type symmetryPlane;\n }\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 object U;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -1 0 0 0 0];\n\ninternalField uniform (2.1 0 0);\n\nboundaryField\n{\n inlet\n {\n type fixedValue;\n value uniform (2.1 0 0);\n }\n\n outlet\n {\n type inletOutlet;\n inletValue uniform (2.1 0 0);\n value uniform (2.1 0 0);\n }\n\n bottom\n {\n type symmetryPlane;\n }\n\n top\n {\n type symmetryPlane;\n }\n\n obstacle\n {\n type slip;\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 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\n outlet\n {\n type inletOutlet;\n inletValue uniform 1;\n value uniform 1;\n }\n\n bottom\n {\n type symmetryPlane;\n }\n\n top\n {\n type symmetryPlane;\n }\n\n obstacle\n {\n type zeroGradient;\n }\n\n defaultFaces\n {\n type empty;\n }\n}\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.*\"\n {\n solver smoothSolver;\n smoother GaussSeidel;\n nSweeps 2;\n tolerance 1e-09;\n relTol 0.01;\n }\n\n \"e.*\"\n {\n $U;\n tolerance 1e-10;\n relTol 0;\n }\n \n rhoFinal\n {\n solver PCG; // Preconditioned Conjugate Gradient\n preconditioner DIC; // Diagonal incomplete-Cholesky\n tolerance 1e-05;\n relTol 0;\n }\n \n UFinal\n {\n solver smoothSolver;\n smoother symGaussSeidel;\n tolerance 1e-05;\n relTol 0;\n }\n eFinal\n {\n solver smoothSolver;\n smoother symGaussSeidel;\n tolerance 1e-05;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n nNonOrthogonalCorrectors 0;\n nCorrectors 2;\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 rhoCentralFoam;\nsolver shockFluid;\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 4;\n\ndeltaT 0.002;\n\nwriteControl adjustableRunTime;\n\nwriteInterval 0.1;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable true;\n\nadjustTimeStep yes;\n\nmaxCo 0.2;\n\nmaxDeltaT 1;\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\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\nlaplacianSchemes\n{\n default 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\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 object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nconvertToMeters 1;\n\nvertices\n(\n (0 0 -0.05)\n (0.6 0 -0.05)\n (0 0.2 -0.05)\n (0.6 0.2 -0.05)\n (3 0.2 -0.05)\n (0 1 -0.05)\n (0.6 1 -0.05)\n (3 1 -0.05)\n (0 0 0.05)\n (0.6 0 0.05)\n (0 0.2 0.05)\n (0.6 0.2 0.05)\n (3 0.2 0.05)\n (0 1 0.05)\n (0.6 1 0.05)\n (3 1 0.05)\n);\n\nblocks\n(\n hex (0 1 3 2 8 9 11 10) (48 16 1) simpleGrading (1 1 1)\n hex (2 3 6 5 10 11 14 13) (48 64 1) simpleGrading (1 1 1)\n hex (3 4 7 6 11 12 15 14) (192 64 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 8 10 2)\n (2 10 13 5)\n );\n }\n outlet\n {\n type patch;\n faces\n (\n (4 7 15 12)\n );\n }\n bottom\n {\n type symmetryPlane;\n faces\n (\n (0 1 9 8)\n );\n }\n top\n {\n type symmetryPlane;\n faces\n (\n (5 13 14 6)\n (6 14 15 7)\n );\n }\n obstacle\n {\n type patch;\n faces\n (\n (1 3 11 9)\n (3 4 12 11)\n );\n }\n);\n\n\n// ************************************************************************* //\n" }, "forwardStep/6": { "usr_requirement": "do a laminar, compressible flow over a forward-facing step using the rhoCentralFoam solver. Boundary conditions include a fixed velocity of 1.9m/s and temperature of 1 K at the inlet and slip conditions on the obstacle. Use timestep of 0.002 and output every 0.1. Finaltime is 4. Use OpenFOAM-13 with the shockFluid solver module, 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", "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 laminar;\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\n// Note: these are the properties for a \"normalised\" inviscid gas\n// for which the speed of sound is 1 m/s at a temperature of 1K\n// and gamma = 7/5\nmixture\n{\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", "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 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\n outlet\n {\n type zeroGradient;\n }\n\n bottom\n {\n type symmetryPlane;\n }\n\n top\n {\n type symmetryPlane;\n }\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 object U;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -1 0 0 0 0];\n\ninternalField uniform (1.9 0 0);\n\nboundaryField\n{\n inlet\n {\n type fixedValue;\n value uniform (1.9 0 0);\n }\n\n outlet\n {\n type inletOutlet;\n inletValue uniform (1.9 0 0);\n value uniform (1.9 0 0);\n }\n\n bottom\n {\n type symmetryPlane;\n }\n\n top\n {\n type symmetryPlane;\n }\n\n obstacle\n {\n type slip;\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 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\n outlet\n {\n type inletOutlet;\n inletValue uniform 1;\n value uniform 1;\n }\n\n bottom\n {\n type symmetryPlane;\n }\n\n top\n {\n type symmetryPlane;\n }\n\n obstacle\n {\n type zeroGradient;\n }\n\n defaultFaces\n {\n type empty;\n }\n}\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.*\"\n {\n solver smoothSolver;\n smoother GaussSeidel;\n nSweeps 2;\n tolerance 1e-09;\n relTol 0.01;\n }\n\n \"e.*\"\n {\n $U;\n tolerance 1e-10;\n relTol 0;\n }\n \n rhoFinal\n {\n solver PCG; // Preconditioned Conjugate Gradient\n preconditioner DIC; // Diagonal incomplete-Cholesky\n tolerance 1e-05;\n relTol 0;\n }\n \n UFinal\n {\n solver smoothSolver;\n smoother symGaussSeidel;\n tolerance 1e-05;\n relTol 0;\n }\n eFinal\n {\n solver smoothSolver;\n smoother symGaussSeidel;\n tolerance 1e-05;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n nNonOrthogonalCorrectors 0;\n nCorrectors 2;\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 rhoCentralFoam;\nsolver shockFluid;\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 4;\n\ndeltaT 0.002;\n\nwriteControl adjustableRunTime;\n\nwriteInterval 0.1;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable true;\n\nadjustTimeStep yes;\n\nmaxCo 0.2;\n\nmaxDeltaT 1;\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\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\nlaplacianSchemes\n{\n default 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\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 object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nconvertToMeters 1;\n\nvertices\n(\n (0 0 -0.05)\n (0.6 0 -0.05)\n (0 0.2 -0.05)\n (0.6 0.2 -0.05)\n (3 0.2 -0.05)\n (0 1 -0.05)\n (0.6 1 -0.05)\n (3 1 -0.05)\n (0 0 0.05)\n (0.6 0 0.05)\n (0 0.2 0.05)\n (0.6 0.2 0.05)\n (3 0.2 0.05)\n (0 1 0.05)\n (0.6 1 0.05)\n (3 1 0.05)\n);\n\nblocks\n(\n hex (0 1 3 2 8 9 11 10) (48 16 1) simpleGrading (1 1 1)\n hex (2 3 6 5 10 11 14 13) (48 64 1) simpleGrading (1 1 1)\n hex (3 4 7 6 11 12 15 14) (192 64 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 8 10 2)\n (2 10 13 5)\n );\n }\n outlet\n {\n type patch;\n faces\n (\n (4 7 15 12)\n );\n }\n bottom\n {\n type symmetryPlane;\n faces\n (\n (0 1 9 8)\n );\n }\n top\n {\n type symmetryPlane;\n faces\n (\n (5 13 14 6)\n (6 14 15 7)\n );\n }\n obstacle\n {\n type patch;\n faces\n (\n (1 3 11 9)\n (3 4 12 11)\n );\n }\n);\n\n\n// ************************************************************************* //\n" }, "forwardStep/3": { "usr_requirement": "do a laminar, compressible flow over a forward-facing step using the rhoCentralFoam solver. Boundary conditions include a fixed velocity of 1.3m/s and temperature of 1 K at the inlet and slip conditions on the obstacle. Use timestep of 0.002 and output every 0.1. Finaltime is 4. Use OpenFOAM-13 with the shockFluid solver module, 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", "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 laminar;\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\n// Note: these are the properties for a \"normalised\" inviscid gas\n// for which the speed of sound is 1 m/s at a temperature of 1K\n// and gamma = 7/5\nmixture\n{\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", "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 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\n outlet\n {\n type zeroGradient;\n }\n\n bottom\n {\n type symmetryPlane;\n }\n\n top\n {\n type symmetryPlane;\n }\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 object U;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -1 0 0 0 0];\n\ninternalField uniform (1.3 0 0);\n\nboundaryField\n{\n inlet\n {\n type fixedValue;\n value uniform (1.3 0 0);\n }\n\n outlet\n {\n type inletOutlet;\n inletValue uniform (1.3 0 0);\n value uniform (1.3 0 0);\n }\n\n bottom\n {\n type symmetryPlane;\n }\n\n top\n {\n type symmetryPlane;\n }\n\n obstacle\n {\n type slip;\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 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\n outlet\n {\n type inletOutlet;\n inletValue uniform 1;\n value uniform 1;\n }\n\n bottom\n {\n type symmetryPlane;\n }\n\n top\n {\n type symmetryPlane;\n }\n\n obstacle\n {\n type zeroGradient;\n }\n\n defaultFaces\n {\n type empty;\n }\n}\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.*\"\n {\n solver smoothSolver;\n smoother GaussSeidel;\n nSweeps 2;\n tolerance 1e-09;\n relTol 0.01;\n }\n\n \"e.*\"\n {\n $U;\n tolerance 1e-10;\n relTol 0;\n }\n \n rhoFinal\n {\n solver PCG; // Preconditioned Conjugate Gradient\n preconditioner DIC; // Diagonal incomplete-Cholesky\n tolerance 1e-05;\n relTol 0;\n }\n \n UFinal\n {\n solver smoothSolver;\n smoother symGaussSeidel;\n tolerance 1e-05;\n relTol 0;\n }\n eFinal\n {\n solver smoothSolver;\n smoother symGaussSeidel;\n tolerance 1e-05;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n nNonOrthogonalCorrectors 0;\n nCorrectors 2;\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 rhoCentralFoam;\nsolver shockFluid;\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 4;\n\ndeltaT 0.002;\n\nwriteControl adjustableRunTime;\n\nwriteInterval 0.1;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable true;\n\nadjustTimeStep yes;\n\nmaxCo 0.2;\n\nmaxDeltaT 1;\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\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\nlaplacianSchemes\n{\n default 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\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 object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nconvertToMeters 1;\n\nvertices\n(\n (0 0 -0.05)\n (0.6 0 -0.05)\n (0 0.2 -0.05)\n (0.6 0.2 -0.05)\n (3 0.2 -0.05)\n (0 1 -0.05)\n (0.6 1 -0.05)\n (3 1 -0.05)\n (0 0 0.05)\n (0.6 0 0.05)\n (0 0.2 0.05)\n (0.6 0.2 0.05)\n (3 0.2 0.05)\n (0 1 0.05)\n (0.6 1 0.05)\n (3 1 0.05)\n);\n\nblocks\n(\n hex (0 1 3 2 8 9 11 10) (48 16 1) simpleGrading (1 1 1)\n hex (2 3 6 5 10 11 14 13) (48 64 1) simpleGrading (1 1 1)\n hex (3 4 7 6 11 12 15 14) (192 64 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 8 10 2)\n (2 10 13 5)\n );\n }\n outlet\n {\n type patch;\n faces\n (\n (4 7 15 12)\n );\n }\n bottom\n {\n type symmetryPlane;\n faces\n (\n (0 1 9 8)\n );\n }\n top\n {\n type symmetryPlane;\n faces\n (\n (5 13 14 6)\n (6 14 15 7)\n );\n }\n obstacle\n {\n type patch;\n faces\n (\n (1 3 11 9)\n (3 4 12 11)\n );\n }\n);\n\n\n// ************************************************************************* //\n" }, "forwardStep/5": { "usr_requirement": "do a laminar, compressible flow over a forward-facing step using the rhoCentralFoam solver. Boundary conditions include a fixed velocity of 1.7m/s and temperature of 1 K at the inlet and slip conditions on the obstacle. Use timestep of 0.002 and output every 0.1. Finaltime is 4. Use OpenFOAM-13 with the shockFluid solver module, 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", "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 laminar;\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\n// Note: these are the properties for a \"normalised\" inviscid gas\n// for which the speed of sound is 1 m/s at a temperature of 1K\n// and gamma = 7/5\nmixture\n{\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", "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 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\n outlet\n {\n type zeroGradient;\n }\n\n bottom\n {\n type symmetryPlane;\n }\n\n top\n {\n type symmetryPlane;\n }\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 object U;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -1 0 0 0 0];\n\ninternalField uniform (1.7 0 0);\n\nboundaryField\n{\n inlet\n {\n type fixedValue;\n value uniform (1.7 0 0);\n }\n\n outlet\n {\n type inletOutlet;\n inletValue uniform (1.7 0 0);\n value uniform (1.7 0 0);\n }\n\n bottom\n {\n type symmetryPlane;\n }\n\n top\n {\n type symmetryPlane;\n }\n\n obstacle\n {\n type slip;\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 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\n outlet\n {\n type inletOutlet;\n inletValue uniform 1;\n value uniform 1;\n }\n\n bottom\n {\n type symmetryPlane;\n }\n\n top\n {\n type symmetryPlane;\n }\n\n obstacle\n {\n type zeroGradient;\n }\n\n defaultFaces\n {\n type empty;\n }\n}\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.*\"\n {\n solver smoothSolver;\n smoother GaussSeidel;\n nSweeps 2;\n tolerance 1e-09;\n relTol 0.01;\n }\n\n \"e.*\"\n {\n $U;\n tolerance 1e-10;\n relTol 0;\n }\n \n rhoFinal\n {\n solver PCG; // Preconditioned Conjugate Gradient\n preconditioner DIC; // Diagonal incomplete-Cholesky\n tolerance 1e-05;\n relTol 0;\n }\n \n UFinal\n {\n solver smoothSolver;\n smoother symGaussSeidel;\n tolerance 1e-05;\n relTol 0;\n }\n eFinal\n {\n solver smoothSolver;\n smoother symGaussSeidel;\n tolerance 1e-05;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n nNonOrthogonalCorrectors 0;\n nCorrectors 2;\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 rhoCentralFoam;\nsolver shockFluid;\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 4;\n\ndeltaT 0.002;\n\nwriteControl adjustableRunTime;\n\nwriteInterval 0.1;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable true;\n\nadjustTimeStep yes;\n\nmaxCo 0.2;\n\nmaxDeltaT 1;\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\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\nlaplacianSchemes\n{\n default 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\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 object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nconvertToMeters 1;\n\nvertices\n(\n (0 0 -0.05)\n (0.6 0 -0.05)\n (0 0.2 -0.05)\n (0.6 0.2 -0.05)\n (3 0.2 -0.05)\n (0 1 -0.05)\n (0.6 1 -0.05)\n (3 1 -0.05)\n (0 0 0.05)\n (0.6 0 0.05)\n (0 0.2 0.05)\n (0.6 0.2 0.05)\n (3 0.2 0.05)\n (0 1 0.05)\n (0.6 1 0.05)\n (3 1 0.05)\n);\n\nblocks\n(\n hex (0 1 3 2 8 9 11 10) (48 16 1) simpleGrading (1 1 1)\n hex (2 3 6 5 10 11 14 13) (48 64 1) simpleGrading (1 1 1)\n hex (3 4 7 6 11 12 15 14) (192 64 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 8 10 2)\n (2 10 13 5)\n );\n }\n outlet\n {\n type patch;\n faces\n (\n (4 7 15 12)\n );\n }\n bottom\n {\n type symmetryPlane;\n faces\n (\n (0 1 9 8)\n );\n }\n top\n {\n type symmetryPlane;\n faces\n (\n (5 13 14 6)\n (6 14 15 7)\n );\n }\n obstacle\n {\n type patch;\n faces\n (\n (1 3 11 9)\n (3 4 12 11)\n );\n }\n);\n\n\n// ************************************************************************* //\n" }, "forwardStep/2": { "usr_requirement": "do a laminar, compressible flow over a forward-facing step using the rhoCentralFoam solver. Boundary conditions include a fixed velocity of 1.1m/s and temperature of 1 K at the inlet and slip conditions on the obstacle. Use timestep of 0.002 and output every 0.1. Finaltime is 4. Use OpenFOAM-13 with the shockFluid solver module, 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", "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 laminar;\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\n// Note: these are the properties for a \"normalised\" inviscid gas\n// for which the speed of sound is 1 m/s at a temperature of 1K\n// and gamma = 7/5\nmixture\n{\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", "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 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\n outlet\n {\n type zeroGradient;\n }\n\n bottom\n {\n type symmetryPlane;\n }\n\n top\n {\n type symmetryPlane;\n }\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 object U;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -1 0 0 0 0];\n\ninternalField uniform (1.1 0 0);\n\nboundaryField\n{\n inlet\n {\n type fixedValue;\n value uniform (1.1 0 0);\n }\n\n outlet\n {\n type inletOutlet;\n inletValue uniform (1.1 0 0);\n value uniform (1.1 0 0);\n }\n\n bottom\n {\n type symmetryPlane;\n }\n\n top\n {\n type symmetryPlane;\n }\n\n obstacle\n {\n type slip;\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 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\n outlet\n {\n type inletOutlet;\n inletValue uniform 1;\n value uniform 1;\n }\n\n bottom\n {\n type symmetryPlane;\n }\n\n top\n {\n type symmetryPlane;\n }\n\n obstacle\n {\n type zeroGradient;\n }\n\n defaultFaces\n {\n type empty;\n }\n}\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.*\"\n {\n solver smoothSolver;\n smoother GaussSeidel;\n nSweeps 2;\n tolerance 1e-09;\n relTol 0.01;\n }\n\n \"e.*\"\n {\n $U;\n tolerance 1e-10;\n relTol 0;\n }\n \n rhoFinal\n {\n solver PCG; // Preconditioned Conjugate Gradient\n preconditioner DIC; // Diagonal incomplete-Cholesky\n tolerance 1e-05;\n relTol 0;\n }\n \n UFinal\n {\n solver smoothSolver;\n smoother symGaussSeidel;\n tolerance 1e-05;\n relTol 0;\n }\n eFinal\n {\n solver smoothSolver;\n smoother symGaussSeidel;\n tolerance 1e-05;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n nNonOrthogonalCorrectors 0;\n nCorrectors 2;\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 rhoCentralFoam;\nsolver shockFluid;\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 4;\n\ndeltaT 0.002;\n\nwriteControl adjustableRunTime;\n\nwriteInterval 0.1;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable true;\n\nadjustTimeStep yes;\n\nmaxCo 0.2;\n\nmaxDeltaT 1;\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\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\nlaplacianSchemes\n{\n default 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\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 object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nconvertToMeters 1;\n\nvertices\n(\n (0 0 -0.05)\n (0.6 0 -0.05)\n (0 0.2 -0.05)\n (0.6 0.2 -0.05)\n (3 0.2 -0.05)\n (0 1 -0.05)\n (0.6 1 -0.05)\n (3 1 -0.05)\n (0 0 0.05)\n (0.6 0 0.05)\n (0 0.2 0.05)\n (0.6 0.2 0.05)\n (3 0.2 0.05)\n (0 1 0.05)\n (0.6 1 0.05)\n (3 1 0.05)\n);\n\nblocks\n(\n hex (0 1 3 2 8 9 11 10) (48 16 1) simpleGrading (1 1 1)\n hex (2 3 6 5 10 11 14 13) (48 64 1) simpleGrading (1 1 1)\n hex (3 4 7 6 11 12 15 14) (192 64 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 8 10 2)\n (2 10 13 5)\n );\n }\n outlet\n {\n type patch;\n faces\n (\n (4 7 15 12)\n );\n }\n bottom\n {\n type symmetryPlane;\n faces\n (\n (0 1 9 8)\n );\n }\n top\n {\n type symmetryPlane;\n faces\n (\n (5 13 14 6)\n (6 14 15 7)\n );\n }\n obstacle\n {\n type patch;\n faces\n (\n (1 3 11 9)\n (3 4 12 11)\n );\n }\n);\n\n\n// ************************************************************************* //\n" }, "forwardStep/4": { "usr_requirement": "do a laminar, compressible flow over a forward-facing step using the rhoCentralFoam solver. Boundary conditions include a fixed velocity of 1.5m/s and temperature of 1 K at the inlet and slip conditions on the obstacle. Use timestep of 0.002 and output every 0.1. Finaltime is 4. Use OpenFOAM-13 with the shockFluid solver module, 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", "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 laminar;\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\n// Note: these are the properties for a \"normalised\" inviscid gas\n// for which the speed of sound is 1 m/s at a temperature of 1K\n// and gamma = 7/5\nmixture\n{\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", "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 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\n outlet\n {\n type zeroGradient;\n }\n\n bottom\n {\n type symmetryPlane;\n }\n\n top\n {\n type symmetryPlane;\n }\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 object U;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -1 0 0 0 0];\n\ninternalField uniform (1.5 0 0);\n\nboundaryField\n{\n inlet\n {\n type fixedValue;\n value uniform (1.5 0 0);\n }\n\n outlet\n {\n type inletOutlet;\n inletValue uniform (1.5 0 0);\n value uniform (1.5 0 0);\n }\n\n bottom\n {\n type symmetryPlane;\n }\n\n top\n {\n type symmetryPlane;\n }\n\n obstacle\n {\n type slip;\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 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\n outlet\n {\n type inletOutlet;\n inletValue uniform 1;\n value uniform 1;\n }\n\n bottom\n {\n type symmetryPlane;\n }\n\n top\n {\n type symmetryPlane;\n }\n\n obstacle\n {\n type zeroGradient;\n }\n\n defaultFaces\n {\n type empty;\n }\n}\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.*\"\n {\n solver smoothSolver;\n smoother GaussSeidel;\n nSweeps 2;\n tolerance 1e-09;\n relTol 0.01;\n }\n\n \"e.*\"\n {\n $U;\n tolerance 1e-10;\n relTol 0;\n }\n \n rhoFinal\n {\n solver PCG; // Preconditioned Conjugate Gradient\n preconditioner DIC; // Diagonal incomplete-Cholesky\n tolerance 1e-05;\n relTol 0;\n }\n \n UFinal\n {\n solver smoothSolver;\n smoother symGaussSeidel;\n tolerance 1e-05;\n relTol 0;\n }\n eFinal\n {\n solver smoothSolver;\n smoother symGaussSeidel;\n tolerance 1e-05;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n nNonOrthogonalCorrectors 0;\n nCorrectors 2;\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 rhoCentralFoam;\nsolver shockFluid;\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 4;\n\ndeltaT 0.002;\n\nwriteControl adjustableRunTime;\n\nwriteInterval 0.1;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable true;\n\nadjustTimeStep yes;\n\nmaxCo 0.2;\n\nmaxDeltaT 1;\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\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\nlaplacianSchemes\n{\n default 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\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 object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nconvertToMeters 1;\n\nvertices\n(\n (0 0 -0.05)\n (0.6 0 -0.05)\n (0 0.2 -0.05)\n (0.6 0.2 -0.05)\n (3 0.2 -0.05)\n (0 1 -0.05)\n (0.6 1 -0.05)\n (3 1 -0.05)\n (0 0 0.05)\n (0.6 0 0.05)\n (0 0.2 0.05)\n (0.6 0.2 0.05)\n (3 0.2 0.05)\n (0 1 0.05)\n (0.6 1 0.05)\n (3 1 0.05)\n);\n\nblocks\n(\n hex (0 1 3 2 8 9 11 10) (48 16 1) simpleGrading (1 1 1)\n hex (2 3 6 5 10 11 14 13) (48 64 1) simpleGrading (1 1 1)\n hex (3 4 7 6 11 12 15 14) (192 64 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 8 10 2)\n (2 10 13 5)\n );\n }\n outlet\n {\n type patch;\n faces\n (\n (4 7 15 12)\n );\n }\n bottom\n {\n type symmetryPlane;\n faces\n (\n (0 1 9 8)\n );\n }\n top\n {\n type symmetryPlane;\n faces\n (\n (5 13 14 6)\n (6 14 15 7)\n );\n }\n obstacle\n {\n type patch;\n faces\n (\n (1 3 11 9)\n (3 4 12 11)\n );\n }\n);\n\n\n// ************************************************************************* //\n" }, "forwardStep/1": { "usr_requirement": "do a laminar, compressible flow over a forward-facing step using the rhoCentralFoam solver. Boundary conditions include a fixed velocity of 3m/s and temperature of 1 K at the inlet and slip conditions on the obstacle. Use timestep of 0.002 and output every 0.1. Finaltime is 4. Use OpenFOAM-13 with the shockFluid solver module, 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", "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 laminar;\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\n// Note: these are the properties for a \"normalised\" inviscid gas\n// for which the speed of sound is 1 m/s at a temperature of 1K\n// and gamma = 7/5\nmixture\n{\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", "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 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\n outlet\n {\n type zeroGradient;\n }\n\n bottom\n {\n type symmetryPlane;\n }\n\n top\n {\n type symmetryPlane;\n }\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 object U;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -1 0 0 0 0];\n\ninternalField uniform (4 0 0);\n\nboundaryField\n{\n inlet\n {\n type fixedValue;\n value uniform (4 0 0);\n }\n\n outlet\n {\n type inletOutlet;\n inletValue uniform (4 0 0);\n value uniform (4 0 0);\n }\n\n bottom\n {\n type symmetryPlane;\n }\n\n top\n {\n type symmetryPlane;\n }\n\n obstacle\n {\n type slip;\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 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\n outlet\n {\n type inletOutlet;\n inletValue uniform 1;\n value uniform 1;\n }\n\n bottom\n {\n type symmetryPlane;\n }\n\n top\n {\n type symmetryPlane;\n }\n\n obstacle\n {\n type zeroGradient;\n }\n\n defaultFaces\n {\n type empty;\n }\n}\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.*\"\n {\n solver smoothSolver;\n smoother GaussSeidel;\n nSweeps 2;\n tolerance 1e-09;\n relTol 0.01;\n }\n\n \"e.*\"\n {\n $U;\n tolerance 1e-10;\n relTol 0;\n }\n \n rhoFinal\n {\n solver PCG; // Preconditioned Conjugate Gradient\n preconditioner DIC; // Diagonal incomplete-Cholesky\n tolerance 1e-05;\n relTol 0;\n }\n \n UFinal\n {\n solver smoothSolver;\n smoother symGaussSeidel;\n tolerance 1e-05;\n relTol 0;\n }\n eFinal\n {\n solver smoothSolver;\n smoother symGaussSeidel;\n tolerance 1e-05;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n nNonOrthogonalCorrectors 0;\n nCorrectors 2;\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 rhoCentralFoam;\nsolver shockFluid;\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 4;\n\ndeltaT 0.002;\n\nwriteControl adjustableRunTime;\n\nwriteInterval 0.1;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable true;\n\nadjustTimeStep yes;\n\nmaxCo 0.2;\n\nmaxDeltaT 1;\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\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\nlaplacianSchemes\n{\n default 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\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 object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nconvertToMeters 1;\n\nvertices\n(\n (0 0 -0.05)\n (0.6 0 -0.05)\n (0 0.2 -0.05)\n (0.6 0.2 -0.05)\n (3 0.2 -0.05)\n (0 1 -0.05)\n (0.6 1 -0.05)\n (3 1 -0.05)\n (0 0 0.05)\n (0.6 0 0.05)\n (0 0.2 0.05)\n (0.6 0.2 0.05)\n (3 0.2 0.05)\n (0 1 0.05)\n (0.6 1 0.05)\n (3 1 0.05)\n);\n\nblocks\n(\n hex (0 1 3 2 8 9 11 10) (48 16 1) simpleGrading (1 1 1)\n hex (2 3 6 5 10 11 14 13) (48 64 1) simpleGrading (1 1 1)\n hex (3 4 7 6 11 12 15 14) (192 64 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 8 10 2)\n (2 10 13 5)\n );\n }\n outlet\n {\n type patch;\n faces\n (\n (4 7 15 12)\n );\n }\n bottom\n {\n type symmetryPlane;\n faces\n (\n (0 1 9 8)\n );\n }\n top\n {\n type symmetryPlane;\n faces\n (\n (5 13 14 6)\n (6 14 15 7)\n );\n }\n obstacle\n {\n type patch;\n faces\n (\n (1 3 11 9)\n (3 4 12 11)\n );\n }\n);\n\n\n// ************************************************************************* //\n" }, "forwardStep/9": { "usr_requirement": "do a laminar, compressible flow over a forward-facing step using the rhoCentralFoam solver. Boundary conditions include a fixed velocity of 2.5m/s and temperature of 1 K at the inlet and slip conditions on the obstacle. Use timestep of 0.002 and output every 0.1. Finaltime is 4. Use OpenFOAM-13 with the shockFluid solver module, 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", "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 laminar;\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\n// Note: these are the properties for a \"normalised\" inviscid gas\n// for which the speed of sound is 1 m/s at a temperature of 1K\n// and gamma = 7/5\nmixture\n{\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", "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 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\n outlet\n {\n type zeroGradient;\n }\n\n bottom\n {\n type symmetryPlane;\n }\n\n top\n {\n type symmetryPlane;\n }\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 object U;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -1 0 0 0 0];\n\ninternalField uniform (2.5 0 0);\n\nboundaryField\n{\n inlet\n {\n type fixedValue;\n value uniform (2.5 0 0);\n }\n\n outlet\n {\n type inletOutlet;\n inletValue uniform (2.5 0 0);\n value uniform (2.5 0 0);\n }\n\n bottom\n {\n type symmetryPlane;\n }\n\n top\n {\n type symmetryPlane;\n }\n\n obstacle\n {\n type slip;\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 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\n outlet\n {\n type inletOutlet;\n inletValue uniform 1;\n value uniform 1;\n }\n\n bottom\n {\n type symmetryPlane;\n }\n\n top\n {\n type symmetryPlane;\n }\n\n obstacle\n {\n type zeroGradient;\n }\n\n defaultFaces\n {\n type empty;\n }\n}\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.*\"\n {\n solver smoothSolver;\n smoother GaussSeidel;\n nSweeps 2;\n tolerance 1e-09;\n relTol 0.01;\n }\n\n \"e.*\"\n {\n $U;\n tolerance 1e-10;\n relTol 0;\n }\n \n rhoFinal\n {\n solver PCG; // Preconditioned Conjugate Gradient\n preconditioner DIC; // Diagonal incomplete-Cholesky\n tolerance 1e-05;\n relTol 0;\n }\n \n UFinal\n {\n solver smoothSolver;\n smoother symGaussSeidel;\n tolerance 1e-05;\n relTol 0;\n }\n eFinal\n {\n solver smoothSolver;\n smoother symGaussSeidel;\n tolerance 1e-05;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n nNonOrthogonalCorrectors 0;\n nCorrectors 2;\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 rhoCentralFoam;\nsolver shockFluid;\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 4;\n\ndeltaT 0.002;\n\nwriteControl adjustableRunTime;\n\nwriteInterval 0.1;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable true;\n\nadjustTimeStep yes;\n\nmaxCo 0.2;\n\nmaxDeltaT 1;\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\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\nlaplacianSchemes\n{\n default 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\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 object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nconvertToMeters 1;\n\nvertices\n(\n (0 0 -0.05)\n (0.6 0 -0.05)\n (0 0.2 -0.05)\n (0.6 0.2 -0.05)\n (3 0.2 -0.05)\n (0 1 -0.05)\n (0.6 1 -0.05)\n (3 1 -0.05)\n (0 0 0.05)\n (0.6 0 0.05)\n (0 0.2 0.05)\n (0.6 0.2 0.05)\n (3 0.2 0.05)\n (0 1 0.05)\n (0.6 1 0.05)\n (3 1 0.05)\n);\n\nblocks\n(\n hex (0 1 3 2 8 9 11 10) (48 16 1) simpleGrading (1 1 1)\n hex (2 3 6 5 10 11 14 13) (48 64 1) simpleGrading (1 1 1)\n hex (3 4 7 6 11 12 15 14) (192 64 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 8 10 2)\n (2 10 13 5)\n );\n }\n outlet\n {\n type patch;\n faces\n (\n (4 7 15 12)\n );\n }\n bottom\n {\n type symmetryPlane;\n faces\n (\n (0 1 9 8)\n );\n }\n top\n {\n type symmetryPlane;\n faces\n (\n (5 13 14 6)\n (6 14 15 7)\n );\n }\n obstacle\n {\n type patch;\n faces\n (\n (1 3 11 9)\n (3 4 12 11)\n );\n }\n);\n\n\n// ************************************************************************* //\n" }, "forwardStep/10": { "usr_requirement": "do a laminar, compressible flow over a forward-facing step using the rhoCentralFoam solver. Boundary conditions include a fixed velocity of 2.7m/s and temperature of 1 K at the inlet and slip conditions on the obstacle. Use timestep of 0.002 and output every 0.1. Finaltime is 4. Use OpenFOAM-13 with the shockFluid solver module, 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", "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 laminar;\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\n// Note: these are the properties for a \"normalised\" inviscid gas\n// for which the speed of sound is 1 m/s at a temperature of 1K\n// and gamma = 7/5\nmixture\n{\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", "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 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\n outlet\n {\n type zeroGradient;\n }\n\n bottom\n {\n type symmetryPlane;\n }\n\n top\n {\n type symmetryPlane;\n }\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 object U;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -1 0 0 0 0];\n\ninternalField uniform (2.7 0 0);\n\nboundaryField\n{\n inlet\n {\n type fixedValue;\n value uniform (2.7 0 0);\n }\n\n outlet\n {\n type inletOutlet;\n inletValue uniform (2.7 0 0);\n value uniform (2.7 0 0);\n }\n\n bottom\n {\n type symmetryPlane;\n }\n\n top\n {\n type symmetryPlane;\n }\n\n obstacle\n {\n type slip;\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 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\n outlet\n {\n type inletOutlet;\n inletValue uniform 1;\n value uniform 1;\n }\n\n bottom\n {\n type symmetryPlane;\n }\n\n top\n {\n type symmetryPlane;\n }\n\n obstacle\n {\n type zeroGradient;\n }\n\n defaultFaces\n {\n type empty;\n }\n}\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.*\"\n {\n solver smoothSolver;\n smoother GaussSeidel;\n nSweeps 2;\n tolerance 1e-09;\n relTol 0.01;\n }\n\n \"e.*\"\n {\n $U;\n tolerance 1e-10;\n relTol 0;\n }\n \n rhoFinal\n {\n solver PCG; // Preconditioned Conjugate Gradient\n preconditioner DIC; // Diagonal incomplete-Cholesky\n tolerance 1e-05;\n relTol 0;\n }\n \n UFinal\n {\n solver smoothSolver;\n smoother symGaussSeidel;\n tolerance 1e-05;\n relTol 0;\n }\n eFinal\n {\n solver smoothSolver;\n smoother symGaussSeidel;\n tolerance 1e-05;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n nNonOrthogonalCorrectors 0;\n nCorrectors 2;\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 rhoCentralFoam;\nsolver shockFluid;\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 4;\n\ndeltaT 0.002;\n\nwriteControl adjustableRunTime;\n\nwriteInterval 0.1;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable true;\n\nadjustTimeStep yes;\n\nmaxCo 0.2;\n\nmaxDeltaT 1;\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\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\nlaplacianSchemes\n{\n default 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\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 object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nconvertToMeters 1;\n\nvertices\n(\n (0 0 -0.05)\n (0.6 0 -0.05)\n (0 0.2 -0.05)\n (0.6 0.2 -0.05)\n (3 0.2 -0.05)\n (0 1 -0.05)\n (0.6 1 -0.05)\n (3 1 -0.05)\n (0 0 0.05)\n (0.6 0 0.05)\n (0 0.2 0.05)\n (0.6 0.2 0.05)\n (3 0.2 0.05)\n (0 1 0.05)\n (0.6 1 0.05)\n (3 1 0.05)\n);\n\nblocks\n(\n hex (0 1 3 2 8 9 11 10) (48 16 1) simpleGrading (1 1 1)\n hex (2 3 6 5 10 11 14 13) (48 64 1) simpleGrading (1 1 1)\n hex (3 4 7 6 11 12 15 14) (192 64 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 8 10 2)\n (2 10 13 5)\n );\n }\n outlet\n {\n type patch;\n faces\n (\n (4 7 15 12)\n );\n }\n bottom\n {\n type symmetryPlane;\n faces\n (\n (0 1 9 8)\n );\n }\n top\n {\n type symmetryPlane;\n faces\n (\n (5 13 14 6)\n (6 14 15 7)\n );\n }\n obstacle\n {\n type patch;\n faces\n (\n (1 3 11 9)\n (3 4 12 11)\n );\n }\n);\n\n\n// ************************************************************************* //\n" }, "forwardStep/8": { "usr_requirement": "do a laminar, compressible flow over a forward-facing step using the rhoCentralFoam solver. Boundary conditions include a fixed velocity of 2.3m/s and temperature of 1 K at the inlet and slip conditions on the obstacle. Use timestep of 0.002 and output every 0.1. Finaltime is 4. Use OpenFOAM-13 with the shockFluid solver module, 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", "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 laminar;\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\n// Note: these are the properties for a \"normalised\" inviscid gas\n// for which the speed of sound is 1 m/s at a temperature of 1K\n// and gamma = 7/5\nmixture\n{\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", "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 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\n outlet\n {\n type zeroGradient;\n }\n\n bottom\n {\n type symmetryPlane;\n }\n\n top\n {\n type symmetryPlane;\n }\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 object U;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -1 0 0 0 0];\n\ninternalField uniform (2.3 0 0);\n\nboundaryField\n{\n inlet\n {\n type fixedValue;\n value uniform (2.3 0 0);\n }\n\n outlet\n {\n type inletOutlet;\n inletValue uniform (2.3 0 0);\n value uniform (2.3 0 0);\n }\n\n bottom\n {\n type symmetryPlane;\n }\n\n top\n {\n type symmetryPlane;\n }\n\n obstacle\n {\n type slip;\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 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\n outlet\n {\n type inletOutlet;\n inletValue uniform 1;\n value uniform 1;\n }\n\n bottom\n {\n type symmetryPlane;\n }\n\n top\n {\n type symmetryPlane;\n }\n\n obstacle\n {\n type zeroGradient;\n }\n\n defaultFaces\n {\n type empty;\n }\n}\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.*\"\n {\n solver smoothSolver;\n smoother GaussSeidel;\n nSweeps 2;\n tolerance 1e-09;\n relTol 0.01;\n }\n\n \"e.*\"\n {\n $U;\n tolerance 1e-10;\n relTol 0;\n }\n \n rhoFinal\n {\n solver PCG; // Preconditioned Conjugate Gradient\n preconditioner DIC; // Diagonal incomplete-Cholesky\n tolerance 1e-05;\n relTol 0;\n }\n \n UFinal\n {\n solver smoothSolver;\n smoother symGaussSeidel;\n tolerance 1e-05;\n relTol 0;\n }\n eFinal\n {\n solver smoothSolver;\n smoother symGaussSeidel;\n tolerance 1e-05;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n nNonOrthogonalCorrectors 0;\n nCorrectors 2;\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 rhoCentralFoam;\nsolver shockFluid;\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 4;\n\ndeltaT 0.002;\n\nwriteControl adjustableRunTime;\n\nwriteInterval 0.1;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable true;\n\nadjustTimeStep yes;\n\nmaxCo 0.2;\n\nmaxDeltaT 1;\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\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\nlaplacianSchemes\n{\n default 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\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 object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nconvertToMeters 1;\n\nvertices\n(\n (0 0 -0.05)\n (0.6 0 -0.05)\n (0 0.2 -0.05)\n (0.6 0.2 -0.05)\n (3 0.2 -0.05)\n (0 1 -0.05)\n (0.6 1 -0.05)\n (3 1 -0.05)\n (0 0 0.05)\n (0.6 0 0.05)\n (0 0.2 0.05)\n (0.6 0.2 0.05)\n (3 0.2 0.05)\n (0 1 0.05)\n (0.6 1 0.05)\n (3 1 0.05)\n);\n\nblocks\n(\n hex (0 1 3 2 8 9 11 10) (48 16 1) simpleGrading (1 1 1)\n hex (2 3 6 5 10 11 14 13) (48 64 1) simpleGrading (1 1 1)\n hex (3 4 7 6 11 12 15 14) (192 64 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 8 10 2)\n (2 10 13 5)\n );\n }\n outlet\n {\n type patch;\n faces\n (\n (4 7 15 12)\n );\n }\n bottom\n {\n type symmetryPlane;\n faces\n (\n (0 1 9 8)\n );\n }\n top\n {\n type symmetryPlane;\n faces\n (\n (5 13 14 6)\n (6 14 15 7)\n );\n }\n obstacle\n {\n type patch;\n faces\n (\n (1 3 11 9)\n (3 4 12 11)\n );\n }\n);\n\n\n// ************************************************************************* //\n" }, "BernardCells/7": { "usr_requirement": "Perform a 3D Bernard Cell simulation using OpenFOAM buoyantFoam solver. The computational domain spans 9 m x 1 m x 2 m. The simulation begins at t=0 seconds and runs until t = 1000 seconds with a time step of 1 second, and results are written at intervals of every 50 seconds. One wall has a temperature of 310 K, while the other has a temperature of 295 K. Use OpenFOAM-13 with the fluid solver module, corresponding to the legacy buoyantFoam 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=\"fluid\"\n\nrunApplication blockMesh\nrunApplication foamRun -solver $solver\n\n#------------------------------------------------------------------------------\n", "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 uniformDimensionedVectorField;\n location \"constant\";\n object g;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -2 0 0 0 0];\nvalue (0 -9.81 0);\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 laminar;\n\nRAS\n{\n model kEpsilon;\n\n turbulence on;\n\n printCoeffs on;\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 heRhoThermo;\n mixture pureMixture;\n transport const;\n thermo eConst;\n equationOfState Boussinesq;\n specie specie;\n energy sensibleInternalEnergy;\n}\n\nmixture\n{\n specie\n {\n molWeight 18;\n }\n equationOfState\n {\n rho0 1;\n T0 300;\n beta 1e-03;\n }\n thermodynamics\n {\n Cv 712;\n Hf 0;\n }\n transport\n {\n mu 1e-03;\n Pr 1;\n }\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 object p_rgh;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [1 -1 -2 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n floor\n {\ntype fixedFluxPressure;\n value $internalField;\n }\n ceiling\n {\ntype fixedFluxPressure;\n value $internalField;\n }\n sideWalls\n {\ntype fixedFluxPressure;\n value $internalField;\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 object p;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [1 -1 -2 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n floor\n {\ntype calculated;\n value $internalField;\n }\n ceiling\n {\ntype calculated;\n value $internalField;\n }\n sideWalls\n {\ntype calculated;\n value $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 object epsilon;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -3 0 0 0 0];\n\ninternalField uniform 1e-5;\n\nboundaryField\n{\n floor\n {\ntype epsilonWallFunction;\n value $internalField;\n }\n ceiling\n {\ntype epsilonWallFunction;\n value $internalField;\n }\n sideWalls\n {\ntype epsilonWallFunction;\n value $internalField;\n }\n frontAndBack\n {\n type empty;\n }\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 object k;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -2 0 0 0 0];\n\ninternalField uniform 1e-5;\n\nboundaryField\n{\n floor\n {\ntype kqRWallFunction;\n value $internalField;\n }\n ceiling\n {\ntype kqRWallFunction;\n value $internalField;\n }\n sideWalls\n {\ntype kqRWallFunction;\n value $internalField;\n }\n frontAndBack\n {\n type empty;\n }\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 object U;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -1 0 0 0 0];\n\ninternalField uniform (1e-4 0 0);\n\nboundaryField\n{\n floor\n {\ntype noSlip;\n }\n ceiling\n {\ntype noSlip;\n }\n sideWalls\n {\ntype 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 object nut;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -1 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n floor\n {\ntype nutkWallFunction;\n value $internalField;\n }\n ceiling\n {\ntype nutkWallFunction;\n value $internalField;\n }\n sideWalls\n {\ntype nutkWallFunction;\n value $internalField;\n }\n frontAndBack\n {\n type empty;\n }\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 object T;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 0 0 1 0 0 0];\n\ninternalField uniform 300;\n\nboundaryField\n{\n floor\n {\n type fixedValue;\n value uniform 310;\n }\n ceiling\n {\n type fixedValue;\n value uniform 295;\n }\n sideWalls\n {\n type zeroGradient;\n }\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 object alphat;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [1 -1 -1 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n floor\n {\ntype compressible::alphatJayatillekeWallFunction;\n Prt 0.85;\n value $internalField;\n }\n ceiling\n {\ntype compressible::alphatJayatillekeWallFunction;\n Prt 0.85;\n value $internalField;\n }\n sideWalls\n {\ntype compressible::alphatJayatillekeWallFunction;\n Prt 0.85;\n value $internalField;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\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 p_rgh\n {\n solver GAMG;\n smoother DIC;\n tolerance 1e-8;\n relTol 0.01;\n }\n\n p_rghFinal\n {\n $p_rgh;\n relTol 0;\n }\n\n \"(U|e|k|epsilon)\"\n {\n solver PBiCGStab;\n preconditioner DILU;\n tolerance 1e-8;\n relTol 0.01;\n }\n\n \"(U|e|k|epsilon)Final\"\n {\n $U;\n relTol 0;\n }\n\n}\n\nPIMPLE\n{\n momentumPredictor no;\n nNonOrthogonalCorrectors 0;\n nCorrectors 2;\n\n pRefCell 0;\n pRefValue 0;\n}\n\nrelaxationFactors\n{\n equations\n {\n \".*\" 1.0;\n }\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 buoyantFoam;\nsolver fluid;\nstartFrom latestTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 1000;\n\ndeltaT 1;\n\nwriteControl runTime;\n\nwriteInterval 50;\n\npurgeWrite 0;\n\nwriteFormat binary;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable true;\n\nfunctions\n{\n #includeFunc residuals(p_rgh)\n #includeFunc streamlinesLine(funcName=streamlines, start=(0 0.5 0), end=(9 0.5 0), nPoints=24, U)\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\n div(phi,U) Gauss linearUpwind grad(U);\n div(phi,e) Gauss limitedLinear 1;\n\n turbulence Gauss limitedLinear 1;\n div(phi,k) $turbulence;\n div(phi,epsilon) $turbulence;\n\n div(phi,(p|rho)) Gauss limitedLinear 1;\n div(phi,K) Gauss linear;\n\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\n\n// ************************************************************************* //\n", "system/functions": "/*--------------------------------*- 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 functions;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\n#includeFunc residuals(p_rgh)\n#includeFunc streamlinesLine(name=streamlines, start=(0 0.5 0), end=(9 0.5 0), nPoints=24, U)\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 object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nconvertToMeters 1;\n\nvertices\n(\n (0 0 -1)\n (9 0 -1)\n (9 1 -1)\n (0 1 -1)\n (0 0 1)\n (9 0 1)\n (9 1 1)\n (0 1 1)\n);\n\nblocks\n(\n hex (0 1 2 3 4 5 6 7) (90 10 1) simpleGrading (1 1 1)\n);\n\nboundary\n(\n floor\n {\n type wall;\n faces\n (\n (1 5 4 0)\n );\n }\n\n ceiling\n {\n type wall;\n faces\n (\n (3 7 6 2)\n );\n }\n\n sideWalls\n {\n type wall;\n faces\n (\n (0 4 7 3)\n (2 6 5 1)\n );\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" }, "BernardCells/6": { "usr_requirement": "Perform a 3D Bernard Cell simulation using OpenFOAM buoyantFoam solver. The computational domain spans 9 m x 1 m x 2 m. The simulation begins at t=0 seconds and runs until t = 1000 seconds with a time step of 1 second, and results are written at intervals of every 50 seconds. One wall has a temperature of 305 K, while the other has a temperature of 290 K. Use OpenFOAM-13 with the fluid solver module, corresponding to the legacy buoyantFoam 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=\"fluid\"\n\nrunApplication blockMesh\nrunApplication foamRun -solver $solver\n\n#------------------------------------------------------------------------------\n", "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 uniformDimensionedVectorField;\n location \"constant\";\n object g;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -2 0 0 0 0];\nvalue (0 -9.81 0);\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 laminar;\n\nRAS\n{\n model kEpsilon;\n\n turbulence on;\n\n printCoeffs on;\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 heRhoThermo;\n mixture pureMixture;\n transport const;\n thermo eConst;\n equationOfState Boussinesq;\n specie specie;\n energy sensibleInternalEnergy;\n}\n\nmixture\n{\n specie\n {\n molWeight 18;\n }\n equationOfState\n {\n rho0 1;\n T0 300;\n beta 1e-03;\n }\n thermodynamics\n {\n Cv 712;\n Hf 0;\n }\n transport\n {\n mu 1e-03;\n Pr 1;\n }\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 object p_rgh;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [1 -1 -2 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n floor\n {\ntype fixedFluxPressure;\n value $internalField;\n }\n ceiling\n {\ntype fixedFluxPressure;\n value $internalField;\n }\n sideWalls\n {\ntype fixedFluxPressure;\n value $internalField;\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 object p;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [1 -1 -2 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n floor\n {\ntype calculated;\n value $internalField;\n }\n ceiling\n {\ntype calculated;\n value $internalField;\n }\n sideWalls\n {\ntype calculated;\n value $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 object epsilon;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -3 0 0 0 0];\n\ninternalField uniform 1e-5;\n\nboundaryField\n{\n floor\n {\ntype epsilonWallFunction;\n value $internalField;\n }\n ceiling\n {\ntype epsilonWallFunction;\n value $internalField;\n }\n sideWalls\n {\ntype epsilonWallFunction;\n value $internalField;\n }\n frontAndBack\n {\n type empty;\n }\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 object k;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -2 0 0 0 0];\n\ninternalField uniform 1e-5;\n\nboundaryField\n{\n floor\n {\ntype kqRWallFunction;\n value $internalField;\n }\n ceiling\n {\ntype kqRWallFunction;\n value $internalField;\n }\n sideWalls\n {\ntype kqRWallFunction;\n value $internalField;\n }\n frontAndBack\n {\n type empty;\n }\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 object U;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -1 0 0 0 0];\n\ninternalField uniform (1e-4 0 0);\n\nboundaryField\n{\n floor\n {\ntype noSlip;\n }\n ceiling\n {\ntype noSlip;\n }\n sideWalls\n {\ntype 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 object nut;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -1 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n floor\n {\ntype nutkWallFunction;\n value $internalField;\n }\n ceiling\n {\ntype nutkWallFunction;\n value $internalField;\n }\n sideWalls\n {\ntype nutkWallFunction;\n value $internalField;\n }\n frontAndBack\n {\n type empty;\n }\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 object T;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 0 0 1 0 0 0];\n\ninternalField uniform 300;\n\nboundaryField\n{\n floor\n {\n type fixedValue;\n value uniform 305;\n }\n ceiling\n {\n type fixedValue;\n value uniform 290;\n }\n sideWalls\n {\n type zeroGradient;\n }\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 object alphat;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [1 -1 -1 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n floor\n {\ntype compressible::alphatJayatillekeWallFunction;\n Prt 0.85;\n value $internalField;\n }\n ceiling\n {\ntype compressible::alphatJayatillekeWallFunction;\n Prt 0.85;\n value $internalField;\n }\n sideWalls\n {\ntype compressible::alphatJayatillekeWallFunction;\n Prt 0.85;\n value $internalField;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\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 p_rgh\n {\n solver GAMG;\n smoother DIC;\n tolerance 1e-8;\n relTol 0.01;\n }\n\n p_rghFinal\n {\n $p_rgh;\n relTol 0;\n }\n\n \"(U|e|k|epsilon)\"\n {\n solver PBiCGStab;\n preconditioner DILU;\n tolerance 1e-8;\n relTol 0.01;\n }\n\n \"(U|e|k|epsilon)Final\"\n {\n $U;\n relTol 0;\n }\n\n}\n\nPIMPLE\n{\n momentumPredictor no;\n nNonOrthogonalCorrectors 0;\n nCorrectors 2;\n\n pRefCell 0;\n pRefValue 0;\n}\n\nrelaxationFactors\n{\n equations\n {\n \".*\" 1.0;\n }\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 buoyantFoam;\nsolver fluid;\nstartFrom latestTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 1000;\n\ndeltaT 1;\n\nwriteControl runTime;\n\nwriteInterval 50;\n\npurgeWrite 0;\n\nwriteFormat binary;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable true;\n\nfunctions\n{\n #includeFunc residuals(p_rgh)\n #includeFunc streamlinesLine(funcName=streamlines, start=(0 0.5 0), end=(9 0.5 0), nPoints=24, U)\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\n div(phi,U) Gauss linearUpwind grad(U);\n div(phi,e) Gauss limitedLinear 1;\n\n turbulence Gauss limitedLinear 1;\n div(phi,k) $turbulence;\n div(phi,epsilon) $turbulence;\n\n div(phi,(p|rho)) Gauss limitedLinear 1;\n div(phi,K) Gauss linear;\n\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\n\n// ************************************************************************* //\n", "system/functions": "/*--------------------------------*- 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 functions;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\n#includeFunc residuals(p_rgh)\n#includeFunc streamlinesLine(name=streamlines, start=(0 0.5 0), end=(9 0.5 0), nPoints=24, U)\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 object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nconvertToMeters 1;\n\nvertices\n(\n (0 0 -1)\n (9 0 -1)\n (9 1 -1)\n (0 1 -1)\n (0 0 1)\n (9 0 1)\n (9 1 1)\n (0 1 1)\n);\n\nblocks\n(\n hex (0 1 2 3 4 5 6 7) (90 10 1) simpleGrading (1 1 1)\n);\n\nboundary\n(\n floor\n {\n type wall;\n faces\n (\n (1 5 4 0)\n );\n }\n\n ceiling\n {\n type wall;\n faces\n (\n (3 7 6 2)\n );\n }\n\n sideWalls\n {\n type wall;\n faces\n (\n (0 4 7 3)\n (2 6 5 1)\n );\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" }, "BernardCells/3": { "usr_requirement": "Perform a 3D Bernard Cell simulation using OpenFOAM buoyantFoam solver. The computational domain spans 9 m x 1 m x 2 m. The simulation begins at t=0 seconds and runs until t = 1000 seconds with a time step of 1 second, and results are written at intervals of every 50 seconds. One wall has a temperature of 310 K, while the other has a temperature of 300 K. Use OpenFOAM-13 with the fluid solver module, corresponding to the legacy buoyantFoam 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=\"fluid\"\n\nrunApplication blockMesh\nrunApplication foamRun -solver $solver\n\n#------------------------------------------------------------------------------\n", "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 uniformDimensionedVectorField;\n location \"constant\";\n object g;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -2 0 0 0 0];\nvalue (0 -9.81 0);\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 laminar;\n\nRAS\n{\n model kEpsilon;\n\n turbulence on;\n\n printCoeffs on;\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 heRhoThermo;\n mixture pureMixture;\n transport const;\n thermo eConst;\n equationOfState Boussinesq;\n specie specie;\n energy sensibleInternalEnergy;\n}\n\nmixture\n{\n specie\n {\n molWeight 18;\n }\n equationOfState\n {\n rho0 1;\n T0 300;\n beta 1e-03;\n }\n thermodynamics\n {\n Cv 712;\n Hf 0;\n }\n transport\n {\n mu 1e-03;\n Pr 1;\n }\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 object p_rgh;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [1 -1 -2 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n floor\n {\ntype fixedFluxPressure;\n value $internalField;\n }\n ceiling\n {\ntype fixedFluxPressure;\n value $internalField;\n }\n sideWalls\n {\ntype fixedFluxPressure;\n value $internalField;\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 object p;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [1 -1 -2 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n floor\n {\ntype calculated;\n value $internalField;\n }\n ceiling\n {\ntype calculated;\n value $internalField;\n }\n sideWalls\n {\ntype calculated;\n value $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 object epsilon;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -3 0 0 0 0];\n\ninternalField uniform 1e-5;\n\nboundaryField\n{\n floor\n {\ntype epsilonWallFunction;\n value $internalField;\n }\n ceiling\n {\ntype epsilonWallFunction;\n value $internalField;\n }\n sideWalls\n {\ntype epsilonWallFunction;\n value $internalField;\n }\n frontAndBack\n {\n type empty;\n }\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 object k;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -2 0 0 0 0];\n\ninternalField uniform 1e-5;\n\nboundaryField\n{\n floor\n {\ntype kqRWallFunction;\n value $internalField;\n }\n ceiling\n {\ntype kqRWallFunction;\n value $internalField;\n }\n sideWalls\n {\ntype kqRWallFunction;\n value $internalField;\n }\n frontAndBack\n {\n type empty;\n }\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 object U;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -1 0 0 0 0];\n\ninternalField uniform (1e-4 0 0);\n\nboundaryField\n{\n floor\n {\ntype noSlip;\n }\n ceiling\n {\ntype noSlip;\n }\n sideWalls\n {\ntype 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 object nut;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -1 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n floor\n {\ntype nutkWallFunction;\n value $internalField;\n }\n ceiling\n {\ntype nutkWallFunction;\n value $internalField;\n }\n sideWalls\n {\ntype nutkWallFunction;\n value $internalField;\n }\n frontAndBack\n {\n type empty;\n }\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 object T;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 0 0 1 0 0 0];\n\ninternalField uniform 300;\n\nboundaryField\n{\n floor\n {\n type fixedValue;\n value uniform 310;\n }\n ceiling\n {\n type fixedValue;\n value uniform 300;\n }\n sideWalls\n {\n type zeroGradient;\n }\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 object alphat;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [1 -1 -1 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n floor\n {\ntype compressible::alphatJayatillekeWallFunction;\n Prt 0.85;\n value $internalField;\n }\n ceiling\n {\ntype compressible::alphatJayatillekeWallFunction;\n Prt 0.85;\n value $internalField;\n }\n sideWalls\n {\ntype compressible::alphatJayatillekeWallFunction;\n Prt 0.85;\n value $internalField;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\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 p_rgh\n {\n solver GAMG;\n smoother DIC;\n tolerance 1e-8;\n relTol 0.01;\n }\n\n p_rghFinal\n {\n $p_rgh;\n relTol 0;\n }\n\n \"(U|e|k|epsilon)\"\n {\n solver PBiCGStab;\n preconditioner DILU;\n tolerance 1e-8;\n relTol 0.01;\n }\n\n \"(U|e|k|epsilon)Final\"\n {\n $U;\n relTol 0;\n }\n\n}\n\nPIMPLE\n{\n momentumPredictor no;\n nNonOrthogonalCorrectors 0;\n nCorrectors 2;\n\n pRefCell 0;\n pRefValue 0;\n}\n\nrelaxationFactors\n{\n equations\n {\n \".*\" 1.0;\n }\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 buoyantFoam;\nsolver fluid;\nstartFrom latestTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 1000;\n\ndeltaT 1;\n\nwriteControl runTime;\n\nwriteInterval 50;\n\npurgeWrite 0;\n\nwriteFormat binary;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable true;\n\nfunctions\n{\n #includeFunc residuals(p_rgh)\n #includeFunc streamlinesLine(funcName=streamlines, start=(0 0.5 0), end=(9 0.5 0), nPoints=24, U)\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\n div(phi,U) Gauss linearUpwind grad(U);\n div(phi,e) Gauss limitedLinear 1;\n\n turbulence Gauss limitedLinear 1;\n div(phi,k) $turbulence;\n div(phi,epsilon) $turbulence;\n\n div(phi,(p|rho)) Gauss limitedLinear 1;\n div(phi,K) Gauss linear;\n\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\n\n// ************************************************************************* //\n", "system/functions": "/*--------------------------------*- 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 functions;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\n#includeFunc residuals(p_rgh)\n#includeFunc streamlinesLine(name=streamlines, start=(0 0.5 0), end=(9 0.5 0), nPoints=24, U)\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 object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nconvertToMeters 1;\n\nvertices\n(\n (0 0 -1)\n (9 0 -1)\n (9 1 -1)\n (0 1 -1)\n (0 0 1)\n (9 0 1)\n (9 1 1)\n (0 1 1)\n);\n\nblocks\n(\n hex (0 1 2 3 4 5 6 7) (90 10 1) simpleGrading (1 1 1)\n);\n\nboundary\n(\n floor\n {\n type wall;\n faces\n (\n (1 5 4 0)\n );\n }\n\n ceiling\n {\n type wall;\n faces\n (\n (3 7 6 2)\n );\n }\n\n sideWalls\n {\n type wall;\n faces\n (\n (0 4 7 3)\n (2 6 5 1)\n );\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" }, "BernardCells/5": { "usr_requirement": "Perform a 3D Bernard Cell simulation using OpenFOAM buoyantFoam solver. The computational domain spans 9 m x 1 m x 2 m. The simulation begins at t=0 seconds and runs until t = 1000 seconds with a time step of 1 second, and results are written at intervals of every 50 seconds. One wall has a temperature of 305 K, while the other has a temperature of 295 K. Use OpenFOAM-13 with the fluid solver module, corresponding to the legacy buoyantFoam 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=\"fluid\"\n\nrunApplication blockMesh\nrunApplication foamRun -solver $solver\n\n#------------------------------------------------------------------------------\n", "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 uniformDimensionedVectorField;\n location \"constant\";\n object g;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -2 0 0 0 0];\nvalue (0 -9.81 0);\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 laminar;\n\nRAS\n{\n model kEpsilon;\n\n turbulence on;\n\n printCoeffs on;\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 heRhoThermo;\n mixture pureMixture;\n transport const;\n thermo eConst;\n equationOfState Boussinesq;\n specie specie;\n energy sensibleInternalEnergy;\n}\n\nmixture\n{\n specie\n {\n molWeight 18;\n }\n equationOfState\n {\n rho0 1;\n T0 300;\n beta 1e-03;\n }\n thermodynamics\n {\n Cv 712;\n Hf 0;\n }\n transport\n {\n mu 1e-03;\n Pr 1;\n }\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 object p_rgh;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [1 -1 -2 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n floor\n {\ntype fixedFluxPressure;\n value $internalField;\n }\n ceiling\n {\ntype fixedFluxPressure;\n value $internalField;\n }\n sideWalls\n {\ntype fixedFluxPressure;\n value $internalField;\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 object p;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [1 -1 -2 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n floor\n {\ntype calculated;\n value $internalField;\n }\n ceiling\n {\ntype calculated;\n value $internalField;\n }\n sideWalls\n {\ntype calculated;\n value $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 object epsilon;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -3 0 0 0 0];\n\ninternalField uniform 1e-5;\n\nboundaryField\n{\n floor\n {\ntype epsilonWallFunction;\n value $internalField;\n }\n ceiling\n {\ntype epsilonWallFunction;\n value $internalField;\n }\n sideWalls\n {\ntype epsilonWallFunction;\n value $internalField;\n }\n frontAndBack\n {\n type empty;\n }\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 object k;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -2 0 0 0 0];\n\ninternalField uniform 1e-5;\n\nboundaryField\n{\n floor\n {\ntype kqRWallFunction;\n value $internalField;\n }\n ceiling\n {\ntype kqRWallFunction;\n value $internalField;\n }\n sideWalls\n {\ntype kqRWallFunction;\n value $internalField;\n }\n frontAndBack\n {\n type empty;\n }\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 object U;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -1 0 0 0 0];\n\ninternalField uniform (1e-4 0 0);\n\nboundaryField\n{\n floor\n {\ntype noSlip;\n }\n ceiling\n {\ntype noSlip;\n }\n sideWalls\n {\ntype 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 object nut;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -1 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n floor\n {\ntype nutkWallFunction;\n value $internalField;\n }\n ceiling\n {\ntype nutkWallFunction;\n value $internalField;\n }\n sideWalls\n {\ntype nutkWallFunction;\n value $internalField;\n }\n frontAndBack\n {\n type empty;\n }\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 object T;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 0 0 1 0 0 0];\n\ninternalField uniform 300;\n\nboundaryField\n{\n floor\n {\n type fixedValue;\n value uniform 305;\n }\n ceiling\n {\n type fixedValue;\n value uniform 295;\n }\n sideWalls\n {\n type zeroGradient;\n }\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 object alphat;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [1 -1 -1 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n floor\n {\ntype compressible::alphatJayatillekeWallFunction;\n Prt 0.85;\n value $internalField;\n }\n ceiling\n {\ntype compressible::alphatJayatillekeWallFunction;\n Prt 0.85;\n value $internalField;\n }\n sideWalls\n {\ntype compressible::alphatJayatillekeWallFunction;\n Prt 0.85;\n value $internalField;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\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 p_rgh\n {\n solver GAMG;\n smoother DIC;\n tolerance 1e-8;\n relTol 0.01;\n }\n\n p_rghFinal\n {\n $p_rgh;\n relTol 0;\n }\n\n \"(U|e|k|epsilon)\"\n {\n solver PBiCGStab;\n preconditioner DILU;\n tolerance 1e-8;\n relTol 0.01;\n }\n\n \"(U|e|k|epsilon)Final\"\n {\n $U;\n relTol 0;\n }\n\n}\n\nPIMPLE\n{\n momentumPredictor no;\n nNonOrthogonalCorrectors 0;\n nCorrectors 2;\n\n pRefCell 0;\n pRefValue 0;\n}\n\nrelaxationFactors\n{\n equations\n {\n \".*\" 1.0;\n }\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 buoyantFoam;\nsolver fluid;\nstartFrom latestTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 1000;\n\ndeltaT 1;\n\nwriteControl runTime;\n\nwriteInterval 50;\n\npurgeWrite 0;\n\nwriteFormat binary;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable true;\n\nfunctions\n{\n #includeFunc residuals(p_rgh)\n #includeFunc streamlinesLine(funcName=streamlines, start=(0 0.5 0), end=(9 0.5 0), nPoints=24, U)\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\n div(phi,U) Gauss linearUpwind grad(U);\n div(phi,e) Gauss limitedLinear 1;\n\n turbulence Gauss limitedLinear 1;\n div(phi,k) $turbulence;\n div(phi,epsilon) $turbulence;\n\n div(phi,(p|rho)) Gauss limitedLinear 1;\n div(phi,K) Gauss linear;\n\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\n\n// ************************************************************************* //\n", "system/functions": "/*--------------------------------*- 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 functions;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\n#includeFunc residuals(p_rgh)\n#includeFunc streamlinesLine(name=streamlines, start=(0 0.5 0), end=(9 0.5 0), nPoints=24, U)\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 object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nconvertToMeters 1;\n\nvertices\n(\n (0 0 -1)\n (9 0 -1)\n (9 1 -1)\n (0 1 -1)\n (0 0 1)\n (9 0 1)\n (9 1 1)\n (0 1 1)\n);\n\nblocks\n(\n hex (0 1 2 3 4 5 6 7) (90 10 1) simpleGrading (1 1 1)\n);\n\nboundary\n(\n floor\n {\n type wall;\n faces\n (\n (1 5 4 0)\n );\n }\n\n ceiling\n {\n type wall;\n faces\n (\n (3 7 6 2)\n );\n }\n\n sideWalls\n {\n type wall;\n faces\n (\n (0 4 7 3)\n (2 6 5 1)\n );\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" }, "BernardCells/2": { "usr_requirement": "Perform a 3D Bernard Cell simulation using OpenFOAM buoyantFoam solver. The computational domain spans 9 m x 1 m x 2 m. The simulation begins at t=0 seconds and runs until t = 1000 seconds with a time step of 1 second, and results are written at intervals of every 50 seconds. One wall has a temperature of 305 K, while the other has a temperature of 300 K. Use OpenFOAM-13 with the fluid solver module, corresponding to the legacy buoyantFoam 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=\"fluid\"\n\nrunApplication blockMesh\nrunApplication foamRun -solver $solver\n\n#------------------------------------------------------------------------------\n", "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 uniformDimensionedVectorField;\n location \"constant\";\n object g;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -2 0 0 0 0];\nvalue (0 -9.81 0);\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 laminar;\n\nRAS\n{\n model kEpsilon;\n\n turbulence on;\n\n printCoeffs on;\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 heRhoThermo;\n mixture pureMixture;\n transport const;\n thermo eConst;\n equationOfState Boussinesq;\n specie specie;\n energy sensibleInternalEnergy;\n}\n\nmixture\n{\n specie\n {\n molWeight 18;\n }\n equationOfState\n {\n rho0 1;\n T0 300;\n beta 1e-03;\n }\n thermodynamics\n {\n Cv 712;\n Hf 0;\n }\n transport\n {\n mu 1e-03;\n Pr 1;\n }\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 object p_rgh;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [1 -1 -2 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n floor\n {\ntype fixedFluxPressure;\n value $internalField;\n }\n ceiling\n {\ntype fixedFluxPressure;\n value $internalField;\n }\n sideWalls\n {\ntype fixedFluxPressure;\n value $internalField;\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 object p;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [1 -1 -2 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n floor\n {\ntype calculated;\n value $internalField;\n }\n ceiling\n {\ntype calculated;\n value $internalField;\n }\n sideWalls\n {\ntype calculated;\n value $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 object epsilon;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -3 0 0 0 0];\n\ninternalField uniform 1e-5;\n\nboundaryField\n{\n floor\n {\ntype epsilonWallFunction;\n value $internalField;\n }\n ceiling\n {\ntype epsilonWallFunction;\n value $internalField;\n }\n sideWalls\n {\ntype epsilonWallFunction;\n value $internalField;\n }\n frontAndBack\n {\n type empty;\n }\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 object k;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -2 0 0 0 0];\n\ninternalField uniform 1e-5;\n\nboundaryField\n{\n floor\n {\ntype kqRWallFunction;\n value $internalField;\n }\n ceiling\n {\ntype kqRWallFunction;\n value $internalField;\n }\n sideWalls\n {\ntype kqRWallFunction;\n value $internalField;\n }\n frontAndBack\n {\n type empty;\n }\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 object U;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -1 0 0 0 0];\n\ninternalField uniform (1e-4 0 0);\n\nboundaryField\n{\n floor\n {\ntype noSlip;\n }\n ceiling\n {\ntype noSlip;\n }\n sideWalls\n {\ntype 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 object nut;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -1 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n floor\n {\ntype nutkWallFunction;\n value $internalField;\n }\n ceiling\n {\ntype nutkWallFunction;\n value $internalField;\n }\n sideWalls\n {\ntype nutkWallFunction;\n value $internalField;\n }\n frontAndBack\n {\n type empty;\n }\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 object T;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 0 0 1 0 0 0];\n\ninternalField uniform 300;\n\nboundaryField\n{\n floor\n {\n type fixedValue;\n value uniform 305;\n }\n ceiling\n {\n type fixedValue;\n value uniform 300;\n }\n sideWalls\n {\n type zeroGradient;\n }\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 object alphat;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [1 -1 -1 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n floor\n {\ntype compressible::alphatJayatillekeWallFunction;\n Prt 0.85;\n value $internalField;\n }\n ceiling\n {\ntype compressible::alphatJayatillekeWallFunction;\n Prt 0.85;\n value $internalField;\n }\n sideWalls\n {\ntype compressible::alphatJayatillekeWallFunction;\n Prt 0.85;\n value $internalField;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\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 p_rgh\n {\n solver GAMG;\n smoother DIC;\n tolerance 1e-8;\n relTol 0.01;\n }\n\n p_rghFinal\n {\n $p_rgh;\n relTol 0;\n }\n\n \"(U|e|k|epsilon)\"\n {\n solver PBiCGStab;\n preconditioner DILU;\n tolerance 1e-8;\n relTol 0.01;\n }\n\n \"(U|e|k|epsilon)Final\"\n {\n $U;\n relTol 0;\n }\n\n}\n\nPIMPLE\n{\n momentumPredictor no;\n nNonOrthogonalCorrectors 0;\n nCorrectors 2;\n\n pRefCell 0;\n pRefValue 0;\n}\n\nrelaxationFactors\n{\n equations\n {\n \".*\" 1.0;\n }\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 buoyantFoam;\nsolver fluid;\nstartFrom latestTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 1000;\n\ndeltaT 1;\n\nwriteControl runTime;\n\nwriteInterval 50;\n\npurgeWrite 0;\n\nwriteFormat binary;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable true;\n\nfunctions\n{\n #includeFunc residuals(p_rgh)\n #includeFunc streamlinesLine(funcName=streamlines, start=(0 0.5 0), end=(9 0.5 0), nPoints=24, U)\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\n div(phi,U) Gauss linearUpwind grad(U);\n div(phi,e) Gauss limitedLinear 1;\n\n turbulence Gauss limitedLinear 1;\n div(phi,k) $turbulence;\n div(phi,epsilon) $turbulence;\n\n div(phi,(p|rho)) Gauss limitedLinear 1;\n div(phi,K) Gauss linear;\n\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\n\n// ************************************************************************* //\n", "system/functions": "/*--------------------------------*- 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 functions;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\n#includeFunc residuals(p_rgh)\n#includeFunc streamlinesLine(name=streamlines, start=(0 0.5 0), end=(9 0.5 0), nPoints=24, U)\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 object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nconvertToMeters 1;\n\nvertices\n(\n (0 0 -1)\n (9 0 -1)\n (9 1 -1)\n (0 1 -1)\n (0 0 1)\n (9 0 1)\n (9 1 1)\n (0 1 1)\n);\n\nblocks\n(\n hex (0 1 2 3 4 5 6 7) (90 10 1) simpleGrading (1 1 1)\n);\n\nboundary\n(\n floor\n {\n type wall;\n faces\n (\n (1 5 4 0)\n );\n }\n\n ceiling\n {\n type wall;\n faces\n (\n (3 7 6 2)\n );\n }\n\n sideWalls\n {\n type wall;\n faces\n (\n (0 4 7 3)\n (2 6 5 1)\n );\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" }, "BernardCells/4": { "usr_requirement": "Perform a 3D Bernard Cell simulation using OpenFOAM buoyantFoam solver. The computational domain spans 9 m x 1 m x 2 m. The simulation begins at t=0 seconds and runs until t = 1000 seconds with a time step of 1 second, and results are written at intervals of every 50 seconds. One wall has a temperature of 315 K, while the other has a temperature of 300 K. Use OpenFOAM-13 with the fluid solver module, corresponding to the legacy buoyantFoam 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=\"fluid\"\n\nrunApplication blockMesh\nrunApplication foamRun -solver $solver\n\n#------------------------------------------------------------------------------\n", "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 uniformDimensionedVectorField;\n location \"constant\";\n object g;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -2 0 0 0 0];\nvalue (0 -9.81 0);\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 laminar;\n\nRAS\n{\n model kEpsilon;\n\n turbulence on;\n\n printCoeffs on;\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 heRhoThermo;\n mixture pureMixture;\n transport const;\n thermo eConst;\n equationOfState Boussinesq;\n specie specie;\n energy sensibleInternalEnergy;\n}\n\nmixture\n{\n specie\n {\n molWeight 18;\n }\n equationOfState\n {\n rho0 1;\n T0 300;\n beta 1e-03;\n }\n thermodynamics\n {\n Cv 712;\n Hf 0;\n }\n transport\n {\n mu 1e-03;\n Pr 1;\n }\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 object p_rgh;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [1 -1 -2 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n floor\n {\ntype fixedFluxPressure;\n value $internalField;\n }\n ceiling\n {\ntype fixedFluxPressure;\n value $internalField;\n }\n sideWalls\n {\ntype fixedFluxPressure;\n value $internalField;\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 object p;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [1 -1 -2 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n floor\n {\ntype calculated;\n value $internalField;\n }\n ceiling\n {\ntype calculated;\n value $internalField;\n }\n sideWalls\n {\ntype calculated;\n value $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 object epsilon;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -3 0 0 0 0];\n\ninternalField uniform 1e-5;\n\nboundaryField\n{\n floor\n {\ntype epsilonWallFunction;\n value $internalField;\n }\n ceiling\n {\ntype epsilonWallFunction;\n value $internalField;\n }\n sideWalls\n {\ntype epsilonWallFunction;\n value $internalField;\n }\n frontAndBack\n {\n type empty;\n }\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 object k;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -2 0 0 0 0];\n\ninternalField uniform 1e-5;\n\nboundaryField\n{\n floor\n {\ntype kqRWallFunction;\n value $internalField;\n }\n ceiling\n {\ntype kqRWallFunction;\n value $internalField;\n }\n sideWalls\n {\ntype kqRWallFunction;\n value $internalField;\n }\n frontAndBack\n {\n type empty;\n }\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 object U;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -1 0 0 0 0];\n\ninternalField uniform (1e-4 0 0);\n\nboundaryField\n{\n floor\n {\ntype noSlip;\n }\n ceiling\n {\ntype noSlip;\n }\n sideWalls\n {\ntype 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 object nut;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -1 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n floor\n {\ntype nutkWallFunction;\n value $internalField;\n }\n ceiling\n {\ntype nutkWallFunction;\n value $internalField;\n }\n sideWalls\n {\ntype nutkWallFunction;\n value $internalField;\n }\n frontAndBack\n {\n type empty;\n }\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 object T;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 0 0 1 0 0 0];\n\ninternalField uniform 300;\n\nboundaryField\n{\n floor\n {\n type fixedValue;\n value uniform 315;\n }\n ceiling\n {\n type fixedValue;\n value uniform 300;\n }\n sideWalls\n {\n type zeroGradient;\n }\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 object alphat;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [1 -1 -1 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n floor\n {\ntype compressible::alphatJayatillekeWallFunction;\n Prt 0.85;\n value $internalField;\n }\n ceiling\n {\ntype compressible::alphatJayatillekeWallFunction;\n Prt 0.85;\n value $internalField;\n }\n sideWalls\n {\ntype compressible::alphatJayatillekeWallFunction;\n Prt 0.85;\n value $internalField;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\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 p_rgh\n {\n solver GAMG;\n smoother DIC;\n tolerance 1e-8;\n relTol 0.01;\n }\n\n p_rghFinal\n {\n $p_rgh;\n relTol 0;\n }\n\n \"(U|e|k|epsilon)\"\n {\n solver PBiCGStab;\n preconditioner DILU;\n tolerance 1e-8;\n relTol 0.01;\n }\n\n \"(U|e|k|epsilon)Final\"\n {\n $U;\n relTol 0;\n }\n\n}\n\nPIMPLE\n{\n momentumPredictor no;\n nNonOrthogonalCorrectors 0;\n nCorrectors 2;\n\n pRefCell 0;\n pRefValue 0;\n}\n\nrelaxationFactors\n{\n equations\n {\n \".*\" 1.0;\n }\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 buoyantFoam;\nsolver fluid;\nstartFrom latestTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 1000;\n\ndeltaT 1;\n\nwriteControl runTime;\n\nwriteInterval 50;\n\npurgeWrite 0;\n\nwriteFormat binary;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable true;\n\nfunctions\n{\n #includeFunc residuals(p_rgh)\n #includeFunc streamlinesLine(funcName=streamlines, start=(0 0.5 0), end=(9 0.5 0), nPoints=24, U)\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\n div(phi,U) Gauss linearUpwind grad(U);\n div(phi,e) Gauss limitedLinear 1;\n\n turbulence Gauss limitedLinear 1;\n div(phi,k) $turbulence;\n div(phi,epsilon) $turbulence;\n\n div(phi,(p|rho)) Gauss limitedLinear 1;\n div(phi,K) Gauss linear;\n\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\n\n// ************************************************************************* //\n", "system/functions": "/*--------------------------------*- 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 functions;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\n#includeFunc residuals(p_rgh)\n#includeFunc streamlinesLine(name=streamlines, start=(0 0.5 0), end=(9 0.5 0), nPoints=24, U)\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 object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nconvertToMeters 1;\n\nvertices\n(\n (0 0 -1)\n (9 0 -1)\n (9 1 -1)\n (0 1 -1)\n (0 0 1)\n (9 0 1)\n (9 1 1)\n (0 1 1)\n);\n\nblocks\n(\n hex (0 1 2 3 4 5 6 7) (90 10 1) simpleGrading (1 1 1)\n);\n\nboundary\n(\n floor\n {\n type wall;\n faces\n (\n (1 5 4 0)\n );\n }\n\n ceiling\n {\n type wall;\n faces\n (\n (3 7 6 2)\n );\n }\n\n sideWalls\n {\n type wall;\n faces\n (\n (0 4 7 3)\n (2 6 5 1)\n );\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" }, "BernardCells/1": { "usr_requirement": "Perform a 3D Bernard Cell simulation using OpenFOAM buoyantFoam solver. The computational domain spans 9 m x 1 m x 2 m. The simulation begins at t=0 seconds and runs until t=1000 seconds with a time step of 1 second, and results are written at intervals of every 50 seconds. One wall has a temperature of 301 K, while the other has a temperature of 300 K. Use OpenFOAM-13 with the fluid solver module, corresponding to the legacy buoyantFoam 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=\"fluid\"\n\nrunApplication blockMesh\nrunApplication foamRun -solver $solver\n\n#------------------------------------------------------------------------------\n", "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 uniformDimensionedVectorField;\n location \"constant\";\n object g;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -2 0 0 0 0];\nvalue (0 -9.81 0);\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 laminar;\n\nRAS\n{\n model kEpsilon;\n\n turbulence on;\n\n printCoeffs on;\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 heRhoThermo;\n mixture pureMixture;\n transport const;\n thermo eConst;\n equationOfState Boussinesq;\n specie specie;\n energy sensibleInternalEnergy;\n}\n\nmixture\n{\n specie\n {\n molWeight 18;\n }\n equationOfState\n {\n rho0 1;\n T0 300;\n beta 1e-03;\n }\n thermodynamics\n {\n Cv 712;\n Hf 0;\n }\n transport\n {\n mu 1e-03;\n Pr 1;\n }\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 object p_rgh;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [1 -1 -2 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n floor\n {\n type fixedFluxPressure;\n value $internalField;\n }\n ceiling\n {\n type fixedFluxPressure;\n value $internalField;\n }\n sideWalls\n {\n type fixedFluxPressure;\n value $internalField;\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 object p;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [1 -1 -2 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n floor\n {\n type calculated;\n value $internalField;\n }\n ceiling\n {\n type calculated;\n value $internalField;\n }\n sideWalls\n {\n type calculated;\n value $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 object epsilon;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -3 0 0 0 0];\n\ninternalField uniform 1e-5;\n\nboundaryField\n{\n floor\n {\n type epsilonWallFunction;\n value $internalField;\n }\n ceiling\n {\n type epsilonWallFunction;\n value $internalField;\n }\n sideWalls\n {\n type epsilonWallFunction;\n value $internalField;\n }\n frontAndBack\n {\n type empty;\n }\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 object k;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -2 0 0 0 0];\n\ninternalField uniform 1e-5;\n\nboundaryField\n{\n floor\n {\n type kqRWallFunction;\n value $internalField;\n }\n ceiling\n {\n type kqRWallFunction;\n value $internalField;\n }\n sideWalls\n {\n type kqRWallFunction;\n value $internalField;\n }\n frontAndBack\n {\n type empty;\n }\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 object U;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -1 0 0 0 0];\n\ninternalField uniform (1e-4 0 0);\n\nboundaryField\n{\n floor\n {\n type noSlip;\n }\n ceiling\n {\n type noSlip;\n }\n sideWalls\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 object nut;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -1 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n floor\n {\n type nutkWallFunction;\n value $internalField;\n }\n ceiling\n {\n type nutkWallFunction;\n value $internalField;\n }\n sideWalls\n {\n type nutkWallFunction;\n value $internalField;\n }\n frontAndBack\n {\n type empty;\n }\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 object T;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 0 0 1 0 0 0];\n\ninternalField uniform 300;\n\nboundaryField\n{\n floor\n {\n type fixedValue;\n value uniform 301;\n }\n ceiling\n {\n type fixedValue;\n value uniform 300;\n }\n sideWalls\n {\n type zeroGradient;\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 object alphat;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [1 -1 -1 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n floor\n {\n type compressible::alphatJayatillekeWallFunction;\n Prt 0.85;\n value $internalField;\n }\n ceiling\n {\n type compressible::alphatJayatillekeWallFunction;\n Prt 0.85;\n value $internalField;\n }\n sideWalls\n {\n type compressible::alphatJayatillekeWallFunction;\n Prt 0.85;\n value $internalField;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\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 p_rgh\n {\n solver GAMG;\n smoother DIC;\n tolerance 1e-8;\n relTol 0.01;\n }\n\n p_rghFinal\n {\n $p_rgh;\n relTol 0;\n }\n\n \"(U|e|k|epsilon)\"\n {\n solver PBiCGStab;\n preconditioner DILU;\n tolerance 1e-8;\n relTol 0.01;\n }\n\n \"(U|e|k|epsilon)Final\"\n {\n $U;\n relTol 0;\n }\n\n}\n\nPIMPLE\n{\n momentumPredictor no;\n nNonOrthogonalCorrectors 0;\n nCorrectors 2;\n\n pRefCell 0;\n pRefValue 0;\n}\n\nrelaxationFactors\n{\n equations\n {\n \".*\" 1.0;\n }\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 buoyantFoam;\nsolver fluid;\nstartFrom latestTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 1000;\n\ndeltaT 1;\n\nwriteControl runTime;\n\nwriteInterval 50;\n\npurgeWrite 0;\n\nwriteFormat binary;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable true;\n\nfunctions\n{\n #includeFunc residuals(p_rgh)\n #includeFunc streamlinesLine(funcName=streamlines, start=(0 0.5 0), end=(9 0.5 0), nPoints=24, U)\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\n div(phi,U) Gauss linearUpwind grad(U);\n div(phi,e) Gauss limitedLinear 1;\n\n turbulence Gauss limitedLinear 1;\n div(phi,k) $turbulence;\n div(phi,epsilon) $turbulence;\n\n div(phi,(p|rho)) Gauss limitedLinear 1;\n div(phi,K) Gauss linear;\n\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\n\n// ************************************************************************* //\n", "system/functions": "/*--------------------------------*- 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 functions;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\n#includeFunc residuals(p_rgh)\n#includeFunc streamlinesLine(name=streamlines, start=(0 0.5 0), end=(9 0.5 0), nPoints=24, U)\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 object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nconvertToMeters 1;\n\nvertices\n(\n (0 0 -1)\n (9 0 -1)\n (9 1 -1)\n (0 1 -1)\n (0 0 1)\n (9 0 1)\n (9 1 1)\n (0 1 1)\n);\n\nblocks\n(\n hex (0 1 2 3 4 5 6 7) (90 10 1) simpleGrading (1 1 1)\n);\n\nboundary\n(\n floor\n {\n type wall;\n faces\n (\n (1 5 4 0)\n );\n }\n\n ceiling\n {\n type wall;\n faces\n (\n (3 7 6 2)\n );\n }\n\n sideWalls\n {\n type wall;\n faces\n (\n (0 4 7 3)\n (2 6 5 1)\n );\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" }, "BernardCells/9": { "usr_requirement": "Perform a 3D Bernard Cell simulation using OpenFOAM buoyantFoam solver. The computational domain spans 9 m x 1 m x 2 m. The simulation begins at t=0 seconds and runs until t = 1000 seconds with a time step of 1 second, and results are written at intervals of every 50 seconds. One wall has a temperature of 315 K, while the other has a temperature of 295 K. Use OpenFOAM-13 with the fluid solver module, corresponding to the legacy buoyantFoam 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=\"fluid\"\n\nrunApplication blockMesh\nrunApplication foamRun -solver $solver\n\n#------------------------------------------------------------------------------\n", "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 uniformDimensionedVectorField;\n location \"constant\";\n object g;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -2 0 0 0 0];\nvalue (0 -9.81 0);\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 laminar;\n\nRAS\n{\n model kEpsilon;\n\n turbulence on;\n\n printCoeffs on;\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 heRhoThermo;\n mixture pureMixture;\n transport const;\n thermo eConst;\n equationOfState Boussinesq;\n specie specie;\n energy sensibleInternalEnergy;\n}\n\nmixture\n{\n specie\n {\n molWeight 18;\n }\n equationOfState\n {\n rho0 1;\n T0 300;\n beta 1e-03;\n }\n thermodynamics\n {\n Cv 712;\n Hf 0;\n }\n transport\n {\n mu 1e-03;\n Pr 1;\n }\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 object p_rgh;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [1 -1 -2 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n floor\n {\ntype fixedFluxPressure;\n value $internalField;\n }\n ceiling\n {\ntype fixedFluxPressure;\n value $internalField;\n }\n sideWalls\n {\ntype fixedFluxPressure;\n value $internalField;\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 object p;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [1 -1 -2 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n floor\n {\ntype calculated;\n value $internalField;\n }\n ceiling\n {\ntype calculated;\n value $internalField;\n }\n sideWalls\n {\ntype calculated;\n value $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 object epsilon;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -3 0 0 0 0];\n\ninternalField uniform 1e-5;\n\nboundaryField\n{\n floor\n {\ntype epsilonWallFunction;\n value $internalField;\n }\n ceiling\n {\ntype epsilonWallFunction;\n value $internalField;\n }\n sideWalls\n {\ntype epsilonWallFunction;\n value $internalField;\n }\n frontAndBack\n {\n type empty;\n }\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 object k;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -2 0 0 0 0];\n\ninternalField uniform 1e-5;\n\nboundaryField\n{\n floor\n {\ntype kqRWallFunction;\n value $internalField;\n }\n ceiling\n {\ntype kqRWallFunction;\n value $internalField;\n }\n sideWalls\n {\ntype kqRWallFunction;\n value $internalField;\n }\n frontAndBack\n {\n type empty;\n }\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 object U;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -1 0 0 0 0];\n\ninternalField uniform (1e-4 0 0);\n\nboundaryField\n{\n floor\n {\ntype noSlip;\n }\n ceiling\n {\ntype noSlip;\n }\n sideWalls\n {\ntype 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 object nut;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -1 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n floor\n {\ntype nutkWallFunction;\n value $internalField;\n }\n ceiling\n {\ntype nutkWallFunction;\n value $internalField;\n }\n sideWalls\n {\ntype nutkWallFunction;\n value $internalField;\n }\n frontAndBack\n {\n type empty;\n }\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 object T;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 0 0 1 0 0 0];\n\ninternalField uniform 300;\n\nboundaryField\n{\n floor\n {\n type fixedValue;\n value uniform 315;\n }\n ceiling\n {\n type fixedValue;\n value uniform 295;\n }\n sideWalls\n {\n type zeroGradient;\n }\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 object alphat;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [1 -1 -1 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n floor\n {\ntype compressible::alphatJayatillekeWallFunction;\n Prt 0.85;\n value $internalField;\n }\n ceiling\n {\ntype compressible::alphatJayatillekeWallFunction;\n Prt 0.85;\n value $internalField;\n }\n sideWalls\n {\ntype compressible::alphatJayatillekeWallFunction;\n Prt 0.85;\n value $internalField;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\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 p_rgh\n {\n solver GAMG;\n smoother DIC;\n tolerance 1e-8;\n relTol 0.01;\n }\n\n p_rghFinal\n {\n $p_rgh;\n relTol 0;\n }\n\n \"(U|e|k|epsilon)\"\n {\n solver PBiCGStab;\n preconditioner DILU;\n tolerance 1e-8;\n relTol 0.01;\n }\n\n \"(U|e|k|epsilon)Final\"\n {\n $U;\n relTol 0;\n }\n\n}\n\nPIMPLE\n{\n momentumPredictor no;\n nNonOrthogonalCorrectors 0;\n nCorrectors 2;\n\n pRefCell 0;\n pRefValue 0;\n}\n\nrelaxationFactors\n{\n equations\n {\n \".*\" 1.0;\n }\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 buoyantFoam;\nsolver fluid;\nstartFrom latestTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 1000;\n\ndeltaT 1;\n\nwriteControl runTime;\n\nwriteInterval 50;\n\npurgeWrite 0;\n\nwriteFormat binary;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable true;\n\nfunctions\n{\n #includeFunc residuals(p_rgh)\n #includeFunc streamlinesLine(funcName=streamlines, start=(0 0.5 0), end=(9 0.5 0), nPoints=24, U)\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\n div(phi,U) Gauss linearUpwind grad(U);\n div(phi,e) Gauss limitedLinear 1;\n\n turbulence Gauss limitedLinear 1;\n div(phi,k) $turbulence;\n div(phi,epsilon) $turbulence;\n\n div(phi,(p|rho)) Gauss limitedLinear 1;\n div(phi,K) Gauss linear;\n\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\n\n// ************************************************************************* //\n", "system/functions": "/*--------------------------------*- 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 functions;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\n#includeFunc residuals(p_rgh)\n#includeFunc streamlinesLine(name=streamlines, start=(0 0.5 0), end=(9 0.5 0), nPoints=24, U)\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 object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nconvertToMeters 1;\n\nvertices\n(\n (0 0 -1)\n (9 0 -1)\n (9 1 -1)\n (0 1 -1)\n (0 0 1)\n (9 0 1)\n (9 1 1)\n (0 1 1)\n);\n\nblocks\n(\n hex (0 1 2 3 4 5 6 7) (90 10 1) simpleGrading (1 1 1)\n);\n\nboundary\n(\n floor\n {\n type wall;\n faces\n (\n (1 5 4 0)\n );\n }\n\n ceiling\n {\n type wall;\n faces\n (\n (3 7 6 2)\n );\n }\n\n sideWalls\n {\n type wall;\n faces\n (\n (0 4 7 3)\n (2 6 5 1)\n );\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" }, "BernardCells/10": { "usr_requirement": "Perform a 3D Bernard Cell simulation using OpenFOAM buoyantFoam solver. The computational domain spans 9 m x 1 m x 2 m. The simulation begins at t=0 seconds and runs until t = 1000 seconds with a time step of 1 second, and results are written at intervals of every 50 seconds. One wall has a temperature of 315 K, while the other has a temperature of 290 K. Use OpenFOAM-13 with the fluid solver module, corresponding to the legacy buoyantFoam 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=\"fluid\"\n\nrunApplication blockMesh\nrunApplication foamRun -solver $solver\n\n#------------------------------------------------------------------------------\n", "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 uniformDimensionedVectorField;\n location \"constant\";\n object g;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -2 0 0 0 0];\nvalue (0 -9.81 0);\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 laminar;\n\nRAS\n{\n model kEpsilon;\n\n turbulence on;\n\n printCoeffs on;\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 heRhoThermo;\n mixture pureMixture;\n transport const;\n thermo eConst;\n equationOfState Boussinesq;\n specie specie;\n energy sensibleInternalEnergy;\n}\n\nmixture\n{\n specie\n {\n molWeight 18;\n }\n equationOfState\n {\n rho0 1;\n T0 300;\n beta 1e-03;\n }\n thermodynamics\n {\n Cv 712;\n Hf 0;\n }\n transport\n {\n mu 1e-03;\n Pr 1;\n }\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 object p_rgh;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [1 -1 -2 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n floor\n {\ntype fixedFluxPressure;\n value $internalField;\n }\n ceiling\n {\ntype fixedFluxPressure;\n value $internalField;\n }\n sideWalls\n {\ntype fixedFluxPressure;\n value $internalField;\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 object p;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [1 -1 -2 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n floor\n {\ntype calculated;\n value $internalField;\n }\n ceiling\n {\ntype calculated;\n value $internalField;\n }\n sideWalls\n {\ntype calculated;\n value $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 object epsilon;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -3 0 0 0 0];\n\ninternalField uniform 1e-5;\n\nboundaryField\n{\n floor\n {\ntype epsilonWallFunction;\n value $internalField;\n }\n ceiling\n {\ntype epsilonWallFunction;\n value $internalField;\n }\n sideWalls\n {\ntype epsilonWallFunction;\n value $internalField;\n }\n frontAndBack\n {\n type empty;\n }\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 object k;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -2 0 0 0 0];\n\ninternalField uniform 1e-5;\n\nboundaryField\n{\n floor\n {\ntype kqRWallFunction;\n value $internalField;\n }\n ceiling\n {\ntype kqRWallFunction;\n value $internalField;\n }\n sideWalls\n {\ntype kqRWallFunction;\n value $internalField;\n }\n frontAndBack\n {\n type empty;\n }\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 object U;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -1 0 0 0 0];\n\ninternalField uniform (1e-4 0 0);\n\nboundaryField\n{\n floor\n {\ntype noSlip;\n }\n ceiling\n {\ntype noSlip;\n }\n sideWalls\n {\ntype 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 object nut;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -1 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n floor\n {\ntype nutkWallFunction;\n value $internalField;\n }\n ceiling\n {\ntype nutkWallFunction;\n value $internalField;\n }\n sideWalls\n {\ntype nutkWallFunction;\n value $internalField;\n }\n frontAndBack\n {\n type empty;\n }\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 object T;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 0 0 1 0 0 0];\n\ninternalField uniform 300;\n\nboundaryField\n{\n floor\n {\n type fixedValue;\n value uniform 315;\n }\n ceiling\n {\n type fixedValue;\n value uniform 290;\n }\n sideWalls\n {\n type zeroGradient;\n }\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 object alphat;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [1 -1 -1 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n floor\n {\ntype compressible::alphatJayatillekeWallFunction;\n Prt 0.85;\n value $internalField;\n }\n ceiling\n {\ntype compressible::alphatJayatillekeWallFunction;\n Prt 0.85;\n value $internalField;\n }\n sideWalls\n {\ntype compressible::alphatJayatillekeWallFunction;\n Prt 0.85;\n value $internalField;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\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 p_rgh\n {\n solver GAMG;\n smoother DIC;\n tolerance 1e-8;\n relTol 0.01;\n }\n\n p_rghFinal\n {\n $p_rgh;\n relTol 0;\n }\n\n \"(U|e|k|epsilon)\"\n {\n solver PBiCGStab;\n preconditioner DILU;\n tolerance 1e-8;\n relTol 0.01;\n }\n\n \"(U|e|k|epsilon)Final\"\n {\n $U;\n relTol 0;\n }\n\n}\n\nPIMPLE\n{\n momentumPredictor no;\n nNonOrthogonalCorrectors 0;\n nCorrectors 2;\n\n pRefCell 0;\n pRefValue 0;\n}\n\nrelaxationFactors\n{\n equations\n {\n \".*\" 1.0;\n }\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 buoyantFoam;\nsolver fluid;\nstartFrom latestTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 1000;\n\ndeltaT 1;\n\nwriteControl runTime;\n\nwriteInterval 50;\n\npurgeWrite 0;\n\nwriteFormat binary;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable true;\n\nfunctions\n{\n #includeFunc residuals(p_rgh)\n #includeFunc streamlinesLine(funcName=streamlines, start=(0 0.5 0), end=(9 0.5 0), nPoints=24, U)\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\n div(phi,U) Gauss linearUpwind grad(U);\n div(phi,e) Gauss limitedLinear 1;\n\n turbulence Gauss limitedLinear 1;\n div(phi,k) $turbulence;\n div(phi,epsilon) $turbulence;\n\n div(phi,(p|rho)) Gauss limitedLinear 1;\n div(phi,K) Gauss linear;\n\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\n\n// ************************************************************************* //\n", "system/functions": "/*--------------------------------*- 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 functions;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\n#includeFunc residuals(p_rgh)\n#includeFunc streamlinesLine(name=streamlines, start=(0 0.5 0), end=(9 0.5 0), nPoints=24, U)\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 object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nconvertToMeters 1;\n\nvertices\n(\n (0 0 -1)\n (9 0 -1)\n (9 1 -1)\n (0 1 -1)\n (0 0 1)\n (9 0 1)\n (9 1 1)\n (0 1 1)\n);\n\nblocks\n(\n hex (0 1 2 3 4 5 6 7) (90 10 1) simpleGrading (1 1 1)\n);\n\nboundary\n(\n floor\n {\n type wall;\n faces\n (\n (1 5 4 0)\n );\n }\n\n ceiling\n {\n type wall;\n faces\n (\n (3 7 6 2)\n );\n }\n\n sideWalls\n {\n type wall;\n faces\n (\n (0 4 7 3)\n (2 6 5 1)\n );\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" }, "BernardCells/8": { "usr_requirement": "Perform a 3D Bernard Cell simulation using OpenFOAM buoyantFoam solver. The computational domain spans 9 m x 1 m x 2 m. The simulation begins at t=0 seconds and runs until t = 1000 seconds with a time step of 1 second, and results are written at intervals of every 50 seconds. One wall has a temperature of 310 K, while the other has a temperature of 290 K. Use OpenFOAM-13 with the fluid solver module, corresponding to the legacy buoyantFoam 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=\"fluid\"\n\nrunApplication blockMesh\nrunApplication foamRun -solver $solver\n\n#------------------------------------------------------------------------------\n", "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 uniformDimensionedVectorField;\n location \"constant\";\n object g;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -2 0 0 0 0];\nvalue (0 -9.81 0);\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 laminar;\n\nRAS\n{\n model kEpsilon;\n\n turbulence on;\n\n printCoeffs on;\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 heRhoThermo;\n mixture pureMixture;\n transport const;\n thermo eConst;\n equationOfState Boussinesq;\n specie specie;\n energy sensibleInternalEnergy;\n}\n\nmixture\n{\n specie\n {\n molWeight 18;\n }\n equationOfState\n {\n rho0 1;\n T0 300;\n beta 1e-03;\n }\n thermodynamics\n {\n Cv 712;\n Hf 0;\n }\n transport\n {\n mu 1e-03;\n Pr 1;\n }\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 object p_rgh;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [1 -1 -2 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n floor\n {\ntype fixedFluxPressure;\n value $internalField;\n }\n ceiling\n {\ntype fixedFluxPressure;\n value $internalField;\n }\n sideWalls\n {\ntype fixedFluxPressure;\n value $internalField;\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 object p;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [1 -1 -2 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n floor\n {\ntype calculated;\n value $internalField;\n }\n ceiling\n {\ntype calculated;\n value $internalField;\n }\n sideWalls\n {\ntype calculated;\n value $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 object epsilon;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -3 0 0 0 0];\n\ninternalField uniform 1e-5;\n\nboundaryField\n{\n floor\n {\ntype epsilonWallFunction;\n value $internalField;\n }\n ceiling\n {\ntype epsilonWallFunction;\n value $internalField;\n }\n sideWalls\n {\ntype epsilonWallFunction;\n value $internalField;\n }\n frontAndBack\n {\n type empty;\n }\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 object k;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -2 0 0 0 0];\n\ninternalField uniform 1e-5;\n\nboundaryField\n{\n floor\n {\ntype kqRWallFunction;\n value $internalField;\n }\n ceiling\n {\ntype kqRWallFunction;\n value $internalField;\n }\n sideWalls\n {\ntype kqRWallFunction;\n value $internalField;\n }\n frontAndBack\n {\n type empty;\n }\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 object U;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 -1 0 0 0 0];\n\ninternalField uniform (1e-4 0 0);\n\nboundaryField\n{\n floor\n {\ntype noSlip;\n }\n ceiling\n {\ntype noSlip;\n }\n sideWalls\n {\ntype 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 object nut;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -1 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n floor\n {\ntype nutkWallFunction;\n value $internalField;\n }\n ceiling\n {\ntype nutkWallFunction;\n value $internalField;\n }\n sideWalls\n {\ntype nutkWallFunction;\n value $internalField;\n }\n frontAndBack\n {\n type empty;\n }\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 object T;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 0 0 1 0 0 0];\n\ninternalField uniform 300;\n\nboundaryField\n{\n floor\n {\n type fixedValue;\n value uniform 310;\n }\n ceiling\n {\n type fixedValue;\n value uniform 290;\n }\n sideWalls\n {\n type zeroGradient;\n }\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 object alphat;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [1 -1 -1 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n floor\n {\ntype compressible::alphatJayatillekeWallFunction;\n Prt 0.85;\n value $internalField;\n }\n ceiling\n {\ntype compressible::alphatJayatillekeWallFunction;\n Prt 0.85;\n value $internalField;\n }\n sideWalls\n {\ntype compressible::alphatJayatillekeWallFunction;\n Prt 0.85;\n value $internalField;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\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 p_rgh\n {\n solver GAMG;\n smoother DIC;\n tolerance 1e-8;\n relTol 0.01;\n }\n\n p_rghFinal\n {\n $p_rgh;\n relTol 0;\n }\n\n \"(U|e|k|epsilon)\"\n {\n solver PBiCGStab;\n preconditioner DILU;\n tolerance 1e-8;\n relTol 0.01;\n }\n\n \"(U|e|k|epsilon)Final\"\n {\n $U;\n relTol 0;\n }\n\n}\n\nPIMPLE\n{\n momentumPredictor no;\n nNonOrthogonalCorrectors 0;\n nCorrectors 2;\n\n pRefCell 0;\n pRefValue 0;\n}\n\nrelaxationFactors\n{\n equations\n {\n \".*\" 1.0;\n }\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 buoyantFoam;\nsolver fluid;\nstartFrom latestTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 1000;\n\ndeltaT 1;\n\nwriteControl runTime;\n\nwriteInterval 50;\n\npurgeWrite 0;\n\nwriteFormat binary;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable true;\n\nfunctions\n{\n #includeFunc residuals(p_rgh)\n #includeFunc streamlinesLine(funcName=streamlines, start=(0 0.5 0), end=(9 0.5 0), nPoints=24, U)\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\n div(phi,U) Gauss linearUpwind grad(U);\n div(phi,e) Gauss limitedLinear 1;\n\n turbulence Gauss limitedLinear 1;\n div(phi,k) $turbulence;\n div(phi,epsilon) $turbulence;\n\n div(phi,(p|rho)) Gauss limitedLinear 1;\n div(phi,K) Gauss linear;\n\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\n\n// ************************************************************************* //\n", "system/functions": "/*--------------------------------*- 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 functions;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\n#includeFunc residuals(p_rgh)\n#includeFunc streamlinesLine(name=streamlines, start=(0 0.5 0), end=(9 0.5 0), nPoints=24, U)\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 object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nconvertToMeters 1;\n\nvertices\n(\n (0 0 -1)\n (9 0 -1)\n (9 1 -1)\n (0 1 -1)\n (0 0 1)\n (9 0 1)\n (9 1 1)\n (0 1 1)\n);\n\nblocks\n(\n hex (0 1 2 3 4 5 6 7) (90 10 1) simpleGrading (1 1 1)\n);\n\nboundary\n(\n floor\n {\n type wall;\n faces\n (\n (1 5 4 0)\n );\n }\n\n ceiling\n {\n type wall;\n faces\n (\n (3 7 6 2)\n );\n }\n\n sideWalls\n {\n type wall;\n faces\n (\n (0 4 7 3)\n (2 6 5 1)\n );\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" }, "wedge/7": { "usr_requirement": "Perform a 2D supersonic flow simulation over a wedge. 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.00005 seconds. The results are written every 0.02 seconds. The inlet velocity is 15 m/s, inlet temperature is 2 K and inlet pressure is 1 Pa. The wedge boundary uses slip boundary condition for velocity. Use normalized thermodynamic properties where molWeight is set to 11640.3, Cp is 2.5, Pr is 1.0, and dynamic viscosity mu is 0. This corresponds to a gas constant R of 0.7143 and a specific heat ratio of 1.4. Use rhoCentralFoam solver. Use OpenFOAM-13 with the shockFluid solver module, 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", "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 laminar;\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 0.71;\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 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\n outlet\n {\n type zeroGradient;\n }\n\n bottom\n {\n type symmetryPlane;\n }\n\n top\n {\n type symmetryPlane;\n }\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 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 (15 0 0);\n }\n\n outlet\n {\n type zeroGradient;\n }\n\n bottom\n {\n type symmetryPlane;\n }\n\n top\n {\n type symmetryPlane;\n }\n\n obstacle\n {\n type slip;\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 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 2;\n }\n\n outlet\n {\n type zeroGradient;\n }\n\n bottom\n {\n type symmetryPlane;\n }\n\n top\n {\n type symmetryPlane;\n }\n\n obstacle\n {\n type zeroGradient;\n }\n\n defaultFaces\n {\n type empty;\n }\n}\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.*\"\n {\n solver smoothSolver;\n smoother GaussSeidel;\n nSweeps 2;\n tolerance 1e-09;\n relTol 0.01;\n }\n\n \"e.*\"\n {\n $U;\n tolerance 1e-10;\n relTol 0;\n }\n}\n\n\n\nPIMPLE\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 rhoCentralFoam;\nsolver shockFluid;\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 0.2;\n\ndeltaT 0.00005;\n\nwriteControl runTime;\n\nwriteInterval 0.02;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable true;\n\nadjustTimeStep no;\n\nmaxCo 1;\n\nmaxDeltaT 1e-06;\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\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\nlaplacianSchemes\n{\n default 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\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 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" }, "wedge/6": { "usr_requirement": "Perform a 2D supersonic flow simulation over a wedge. 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.00005 seconds. The results are written every 0.02 seconds. The inlet velocity is 15 m/s, inlet temperature is 2 K and inlet pressure is 1 Pa. The wedge boundary uses slip boundary condition for velocity. Use normalized thermodynamic properties where molWeight is set to 11640.3, Cp is 2.5, Pr is 1.0, and dynamic viscosity mu is 0. This corresponds to a gas constant R of 0.7143 and a specific heat ratio of 1.4. Use rhoCentralFoam solver. Use OpenFOAM-13 with the shockFluid solver module, 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", "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 laminar;\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", "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 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\n outlet\n {\n type zeroGradient;\n }\n\n bottom\n {\n type symmetryPlane;\n }\n\n top\n {\n type symmetryPlane;\n }\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 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 (15 0 0);\n }\n\n outlet\n {\n type zeroGradient;\n }\n\n bottom\n {\n type symmetryPlane;\n }\n\n top\n {\n type symmetryPlane;\n }\n\n obstacle\n {\n type slip;\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 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 2;\n }\n\n outlet\n {\n type zeroGradient;\n }\n\n bottom\n {\n type symmetryPlane;\n }\n\n top\n {\n type symmetryPlane;\n }\n\n obstacle\n {\n type zeroGradient;\n }\n\n defaultFaces\n {\n type empty;\n }\n}\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.*\"\n {\n solver smoothSolver;\n smoother GaussSeidel;\n nSweeps 2;\n tolerance 1e-09;\n relTol 0.01;\n }\n\n \"e.*\"\n {\n $U;\n tolerance 1e-10;\n relTol 0;\n }\n}\n\n\n\nPIMPLE\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 rhoCentralFoam;\nsolver shockFluid;\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 0.2;\n\ndeltaT 0.00005;\n\nwriteControl runTime;\n\nwriteInterval 0.02;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable true;\n\nadjustTimeStep no;\n\nmaxCo 1;\n\nmaxDeltaT 1e-06;\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\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\nlaplacianSchemes\n{\n default 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\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 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" }, "wedge/3": { "usr_requirement": "Perform a 2D supersonic flow simulation over a wedge. 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 10 m/s, inlet temperature is 2 K and inlet pressure is 1 Pa. The wedge boundary uses slip boundary condition for velocity. Use normalized thermodynamic properties where molWeight is set to 11640.3, Cp is 2.5, Pr is 1.0, and dynamic viscosity mu is 0. This corresponds to a gas constant R of 0.7143 and a specific heat ratio of 1.4. Use rhoCentralFoam solver. Use OpenFOAM-13 with the shockFluid solver module, 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", "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 laminar;\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", "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 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\n outlet\n {\n type zeroGradient;\n }\n\n bottom\n {\n type symmetryPlane;\n }\n\n top\n {\n type symmetryPlane;\n }\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 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 (10 0 0);\n }\n\n outlet\n {\n type zeroGradient;\n }\n\n bottom\n {\n type symmetryPlane;\n }\n\n top\n {\n type symmetryPlane;\n }\n\n obstacle\n {\n type slip;\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 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 2;\n }\n\n outlet\n {\n type zeroGradient;\n }\n\n bottom\n {\n type symmetryPlane;\n }\n\n top\n {\n type symmetryPlane;\n }\n\n obstacle\n {\n type zeroGradient;\n }\n\n defaultFaces\n {\n type empty;\n }\n}\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.*\"\n {\n solver smoothSolver;\n smoother GaussSeidel;\n nSweeps 2;\n tolerance 1e-09;\n relTol 0.01;\n }\n\n \"e.*\"\n {\n $U;\n tolerance 1e-10;\n relTol 0;\n }\n}\n\n\n\nPIMPLE\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 rhoCentralFoam;\nsolver shockFluid;\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 0.2;\n\ndeltaT 0.0001;\n\nwriteControl runTime;\n\nwriteInterval 0.02;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable true;\n\nadjustTimeStep no;\n\nmaxCo 1;\n\nmaxDeltaT 1e-06;\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\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\nlaplacianSchemes\n{\n default 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\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 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" }, "wedge/5": { "usr_requirement": "Perform a 2D supersonic flow simulation over a wedge. 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.00005 seconds. The results are written every 0.02 seconds. The inlet velocity is 15 m/s, inlet temperature is 3 K and inlet pressure is 1 Pa. The wedge boundary uses slip boundary condition for velocity. Use normalized thermodynamic properties where molWeight is set to 11640.3, Cp is 2.5, Pr is 1.0, and dynamic viscosity mu is 0. This corresponds to a gas constant R of 0.7143 and a specific heat ratio of 1.4. Use rhoCentralFoam solver. Use OpenFOAM-13 with the shockFluid solver module, 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", "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 laminar;\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", "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 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\n outlet\n {\n type zeroGradient;\n }\n\n bottom\n {\n type symmetryPlane;\n }\n\n top\n {\n type symmetryPlane;\n }\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 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 (15 0 0);\n }\n\n outlet\n {\n type zeroGradient;\n }\n\n bottom\n {\n type symmetryPlane;\n }\n\n top\n {\n type symmetryPlane;\n }\n\n obstacle\n {\n type slip;\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 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 3;\n }\n\n outlet\n {\n type zeroGradient;\n }\n\n bottom\n {\n type symmetryPlane;\n }\n\n top\n {\n type symmetryPlane;\n }\n\n obstacle\n {\n type zeroGradient;\n }\n\n defaultFaces\n {\n type empty;\n }\n}\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.*\"\n {\n solver smoothSolver;\n smoother GaussSeidel;\n nSweeps 2;\n tolerance 1e-09;\n relTol 0.01;\n }\n\n \"e.*\"\n {\n $U;\n tolerance 1e-10;\n relTol 0;\n }\n}\n\n\n\nPIMPLE\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 rhoCentralFoam;\nsolver shockFluid;\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 0.2;\n\ndeltaT 0.00005;\n\nwriteControl runTime;\n\nwriteInterval 0.02;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable true;\n\nadjustTimeStep no;\n\nmaxCo 1;\n\nmaxDeltaT 1e-06;\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\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\nlaplacianSchemes\n{\n default 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\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 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" }, "wedge/2": { "usr_requirement": "Perform a 2D supersonic flow simulation over a wedge. 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 10 m/s, inlet temperature is 1 K and inlet pressure is 1 Pa. The wedge boundary uses slip boundary condition for velocity. Use normalized thermodynamic properties where molWeight is set to 11640.3, Cp is 2.5, Pr is 1.0, and dynamic viscosity mu is 0. This corresponds to a gas constant R of 0.7143 and a specific heat ratio of 1.4. Use rhoCentralFoam solver. Use OpenFOAM-13 with the shockFluid solver module, 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", "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 laminar;\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", "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 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\n outlet\n {\n type zeroGradient;\n }\n\n bottom\n {\n type symmetryPlane;\n }\n\n top\n {\n type symmetryPlane;\n }\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 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 (10 0 0);\n }\n\n outlet\n {\n type zeroGradient;\n }\n\n bottom\n {\n type symmetryPlane;\n }\n\n top\n {\n type symmetryPlane;\n }\n\n obstacle\n {\n type slip;\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 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\n outlet\n {\n type zeroGradient;\n }\n\n bottom\n {\n type symmetryPlane;\n }\n\n top\n {\n type symmetryPlane;\n }\n\n obstacle\n {\n type zeroGradient;\n }\n\n defaultFaces\n {\n type empty;\n }\n}\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.*\"\n {\n solver smoothSolver;\n smoother GaussSeidel;\n nSweeps 2;\n tolerance 1e-09;\n relTol 0.01;\n }\n\n \"e.*\"\n {\n $U;\n tolerance 1e-10;\n relTol 0;\n }\n}\n\n\n\nPIMPLE\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 rhoCentralFoam;\nsolver shockFluid;\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 0.2;\n\ndeltaT 0.0001;\n\nwriteControl runTime;\n\nwriteInterval 0.02;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable true;\n\nadjustTimeStep no;\n\nmaxCo 1;\n\nmaxDeltaT 1e-06;\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\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\nlaplacianSchemes\n{\n default 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\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 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" }, "wedge/4": { "usr_requirement": "Perform a 2D supersonic flow simulation over a wedge. 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 10 m/s, inlet temperature is 3 K and inlet pressure is 1 Pa. The wedge boundary uses slip boundary condition for velocity. Use normalized thermodynamic properties where molWeight is set to 11640.3, Cp is 2.5, Pr is 1.0, and dynamic viscosity mu is 0. This corresponds to a gas constant R of 0.7143 and a specific heat ratio of 1.4. Use rhoCentralFoam solver. Use OpenFOAM-13 with the shockFluid solver module, 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", "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 laminar;\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", "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 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\n outlet\n {\n type zeroGradient;\n }\n\n bottom\n {\n type symmetryPlane;\n }\n\n top\n {\n type symmetryPlane;\n }\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 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 (10 0 0);\n }\n\n outlet\n {\n type zeroGradient;\n }\n\n bottom\n {\n type symmetryPlane;\n }\n\n top\n {\n type symmetryPlane;\n }\n\n obstacle\n {\n type slip;\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 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 3;\n }\n\n outlet\n {\n type zeroGradient;\n }\n\n bottom\n {\n type symmetryPlane;\n }\n\n top\n {\n type symmetryPlane;\n }\n\n obstacle\n {\n type zeroGradient;\n }\n\n defaultFaces\n {\n type empty;\n }\n}\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.*\"\n {\n solver smoothSolver;\n smoother GaussSeidel;\n nSweeps 2;\n tolerance 1e-09;\n relTol 0.01;\n }\n\n \"e.*\"\n {\n $U;\n tolerance 1e-10;\n relTol 0;\n }\n}\n\n\n\nPIMPLE\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 rhoCentralFoam;\nsolver shockFluid;\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 0.2;\n\ndeltaT 0.0001;\n\nwriteControl runTime;\n\nwriteInterval 0.02;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable true;\n\nadjustTimeStep no;\n\nmaxCo 1;\n\nmaxDeltaT 1e-06;\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\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\nlaplacianSchemes\n{\n default 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\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 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" }, "wedge/1": { "usr_requirement": "Perform a 2D supersonic flow simulation over a wedge. 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 wedge boundary uses slip boundary condition for velocity. Use normalized thermodynamic properties where molWeight is set to 11640.3, Cp is 2.5, Pr is 1.0, and dynamic viscosity mu is 0. This corresponds to a gas constant R of 0.7143 and a specific heat ratio of 1.4. Use rhoCentralFoam solver. Use OpenFOAM-13 with the shockFluid solver module, 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", "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 laminar;\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", "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 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\n outlet\n {\n type zeroGradient;\n }\n\n bottom\n {\n type symmetryPlane;\n }\n\n top\n {\n type symmetryPlane;\n }\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 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\n outlet\n {\n type zeroGradient;\n }\n\n bottom\n {\n type symmetryPlane;\n }\n\n top\n {\n type symmetryPlane;\n }\n\n obstacle\n {\n type slip;\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 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\n outlet\n {\n type zeroGradient;\n }\n\n bottom\n {\n type symmetryPlane;\n }\n\n top\n {\n type symmetryPlane;\n }\n\n obstacle\n {\n type zeroGradient;\n }\n\n defaultFaces\n {\n type empty;\n }\n}\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.*\"\n {\n solver smoothSolver;\n smoother GaussSeidel;\n nSweeps 2;\n tolerance 1e-09;\n relTol 0.01;\n }\n\n \"e.*\"\n {\n $U;\n tolerance 1e-10;\n relTol 0;\n }\n}\n\n\n\nPIMPLE\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 rhoCentralFoam;\nsolver shockFluid;\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 0.2;\n\ndeltaT 0.0001;\n\nwriteControl runTime;\n\nwriteInterval 0.02;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable true;\n\nadjustTimeStep no;\n\nmaxCo 1;\n\nmaxDeltaT 1e-06;\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\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\nlaplacianSchemes\n{\n default 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\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 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" }, "wedge/9": { "usr_requirement": "Perform a 2D supersonic flow simulation over a wedge. 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.00005 seconds. The results are written every 0.02 seconds. The inlet velocity is 20 m/s, inlet temperature is 3 K and inlet pressure is 1 Pa. The wedge boundary uses slip boundary condition for velocity. Use normalized thermodynamic properties where molWeight is set to 11640.3, Cp is 2.5, Pr is 1.0, and dynamic viscosity mu is 0. This corresponds to a gas constant R of 0.7143 and a specific heat ratio of 1.4. Use rhoCentralFoam solver. Use OpenFOAM-13 with the shockFluid solver module, 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", "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 laminar;\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.0;\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 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\n outlet\n {\n type zeroGradient;\n }\n\n bottom\n {\n type symmetryPlane;\n }\n\n top\n {\n type symmetryPlane;\n }\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 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 (20 0 0);\n }\n\n outlet\n {\n type zeroGradient;\n }\n\n bottom\n {\n type symmetryPlane;\n }\n\n top\n {\n type symmetryPlane;\n }\n\n obstacle\n {\n type slip;\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 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 3;\n }\n\n outlet\n {\n type zeroGradient;\n }\n\n bottom\n {\n type symmetryPlane;\n }\n\n top\n {\n type symmetryPlane;\n }\n\n obstacle\n {\n type zeroGradient;\n }\n\n defaultFaces\n {\n type empty;\n }\n}\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.*\"\n {\n solver smoothSolver;\n smoother GaussSeidel;\n nSweeps 2;\n tolerance 1e-09;\n relTol 0.01;\n }\n\n \"e.*\"\n {\n $U;\n tolerance 1e-10;\n relTol 0;\n }\n}\n\n\n\nPIMPLE\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 rhoCentralFoam;\nsolver shockFluid;\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 0.2;\n\ndeltaT 0.00005;\n\nwriteControl runTime;\n\nwriteInterval 0.02;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable true;\n\nadjustTimeStep no;\n\nmaxCo 1;\n\nmaxDeltaT 1e-06;\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\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\nlaplacianSchemes\n{\n default 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\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 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" }, "wedge/10": { "usr_requirement": "Perform a 2D supersonic flow simulation over a wedge. 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.00005 seconds. The results are written every 0.02 seconds. The inlet velocity is 20 m/s, inlet temperature is 3 K and inlet pressure is 1 Pa. The wedge boundary uses slip boundary condition for velocity. Use normalized thermodynamic properties where molWeight is set to 11640.3, Cp is 2.5, Pr is 1.0, and dynamic viscosity mu is 0. This corresponds to a gas constant R of 0.7143 and a specific heat ratio of 1.4. Use rhoCentralFoam solver. Use OpenFOAM-13 with the shockFluid solver module, 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", "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 laminar;\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.5;\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 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\n outlet\n {\n type zeroGradient;\n }\n\n bottom\n {\n type symmetryPlane;\n }\n\n top\n {\n type symmetryPlane;\n }\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 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 (20 0 0);\n }\n\n outlet\n {\n type zeroGradient;\n }\n\n bottom\n {\n type symmetryPlane;\n }\n\n top\n {\n type symmetryPlane;\n }\n\n obstacle\n {\n type slip;\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 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 3;\n }\n\n outlet\n {\n type zeroGradient;\n }\n\n bottom\n {\n type symmetryPlane;\n }\n\n top\n {\n type symmetryPlane;\n }\n\n obstacle\n {\n type zeroGradient;\n }\n\n defaultFaces\n {\n type empty;\n }\n}\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.*\"\n {\n solver smoothSolver;\n smoother GaussSeidel;\n nSweeps 2;\n tolerance 1e-09;\n relTol 0.01;\n }\n\n \"e.*\"\n {\n $U;\n tolerance 1e-10;\n relTol 0;\n }\n}\n\n\n\nPIMPLE\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 rhoCentralFoam;\nsolver shockFluid;\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 0.2;\n\ndeltaT 0.00005;\n\nwriteControl runTime;\n\nwriteInterval 0.02;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable true;\n\nadjustTimeStep no;\n\nmaxCo 1;\n\nmaxDeltaT 1e-06;\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\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\nlaplacianSchemes\n{\n default 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\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 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" }, "wedge/8": { "usr_requirement": "Perform a 2D supersonic flow simulation over a wedge. 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.00005 seconds. The results are written every 0.02 seconds. The inlet velocity is 20 m/s, inlet temperature is 3 K and inlet pressure is 1 Pa. The wedge boundary uses slip boundary condition for velocity. Use normalized thermodynamic properties where molWeight is set to 11640.3, Cp is 2.5, Pr is 1.0, and dynamic viscosity mu is 0. This corresponds to a gas constant R of 0.7143 and a specific heat ratio of 1.4. Use rhoCentralFoam solver. Use OpenFOAM-13 with the shockFluid solver module, 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", "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 laminar;\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 0.71;\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 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\n outlet\n {\n type zeroGradient;\n }\n\n bottom\n {\n type symmetryPlane;\n }\n\n top\n {\n type symmetryPlane;\n }\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 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 (20 0 0);\n }\n\n outlet\n {\n type zeroGradient;\n }\n\n bottom\n {\n type symmetryPlane;\n }\n\n top\n {\n type symmetryPlane;\n }\n\n obstacle\n {\n type slip;\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 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 3;\n }\n\n outlet\n {\n type zeroGradient;\n }\n\n bottom\n {\n type symmetryPlane;\n }\n\n top\n {\n type symmetryPlane;\n }\n\n obstacle\n {\n type zeroGradient;\n }\n\n defaultFaces\n {\n type empty;\n }\n}\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.*\"\n {\n solver smoothSolver;\n smoother GaussSeidel;\n nSweeps 2;\n tolerance 1e-09;\n relTol 0.01;\n }\n\n \"e.*\"\n {\n $U;\n tolerance 1e-10;\n relTol 0;\n }\n}\n\n\n\nPIMPLE\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 rhoCentralFoam;\nsolver shockFluid;\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 0.2;\n\ndeltaT 0.00005;\n\nwriteControl runTime;\n\nwriteInterval 0.02;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable true;\n\nadjustTimeStep no;\n\nmaxCo 1;\n\nmaxDeltaT 1e-06;\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\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\nlaplacianSchemes\n{\n default 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\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 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" }, "shallowWaterWithSquareBump/7": { "usr_requirement": "do a shallow water simulation over a square bump using the shallowWaterFoam solver. The domain spans 1 x 1 x 0.1, discretized into 20 x 20 x 1 grid points. The simulation initializes with a uniform water depth of 0.07 m and a uniform momentum field of (0.001,0,0). The simulation runs from 0 s to 100 s with a timestep of 0.1 s and writes results every 1 s. Use OpenFOAM-13 legacy executable shallowWaterFoam; this case is not a foamRun solver module case.", "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\napplication=\"shallowWaterFoam\"\n\nrunApplication blockMesh\nrunApplication $application\n\n#------------------------------------------------------------------------------\n", "constant/h0": "/*--------------------------------*- 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 \"constant\";\n object h0;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 0 0 0 0 0];\n\ninternalField nonuniform List \n400\n(\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0.001\n0.001\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0.001\n0.001\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n)\n;\n\nboundaryField\n{\n sides\n {\n type zeroGradient;\n }\n inlet\n {\n type zeroGradient;\n }\n outlet\n {\n type zeroGradient;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n\n// ************************************************************************* //\n", "constant/h0.orig": "/*--------------------------------*- 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 h0;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 0 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n sides\n {\n type zeroGradient;\n }\n inlet\n {\n type zeroGradient;\n }\n outlet\n {\n type zeroGradient;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n\n// ************************************************************************* //\n", "constant/gravitationalProperties": "/*--------------------------------*- 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 object gravitationalProperties;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ng g [0 1 -2 0 0 0 0] (0 0 -9.81);\nrotating true;\nOmega Omega [0 0 -1 0 0 0 0] (0 0 7.292e-5);\n\n// ************************************************************************* //\n", "0/hTotal": "/*--------------------------------*- 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 hTotal;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 0 0 0 0 0];\n\ninternalField uniform 0.01;\n\nboundaryField\n{\n sides\n {\n type calculated;\n value uniform 0.07;\n }\n inlet\n {\n type calculated;\n value uniform 0.07;\n }\n outlet\n {\n type calculated;\n value uniform 0.07;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n\n// ************************************************************************* //\n", "0/hU": "/*--------------------------------*- 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 hU;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -1 0 0 0 0];\n\ninternalField nonuniform List \n400\n(\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.0009 0 0)\n(0.0009 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.0009 0 0)\n(0.0009 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n)\n;\n\nboundaryField\n{\n sides\n {\n type slip;\n }\n inlet\n {\n type fixedValue;\n value uniform (0.001 0 0);\n }\n outlet\n {\n type zeroGradient;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n\n// ************************************************************************* //\n", "0/h.orig": "/*--------------------------------*- 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 h.orig;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 0 0 0 0 0];\n\ninternalField uniform 0.01;\n\nboundaryField\n{\n sides\n {\n type zeroGradient;\n }\n inlet\n {\n type zeroGradient;\n }\n outlet\n {\n type fixedValue;\n value uniform 0.01;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n\n// ************************************************************************* //\n", "0/h": "/*--------------------------------*- 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 h;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 0 0 0 0 0];\n\ninternalField nonuniform List \n400\n(\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.009\n0.009\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.009\n0.009\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n0.07\n)\n;\n\nboundaryField\n{\n sides\n {\n type zeroGradient;\n }\n inlet\n {\n type zeroGradient;\n }\n outlet\n {\n type fixedValue;\n value uniform 0.01;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n\n// ************************************************************************* //\n", "0/hU.orig": "/*--------------------------------*- 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 hU;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -1 0 0 0 0];\n\ninternalField uniform (0.001 0 0);\n\nboundaryField\n{\n sides\n {\n type slip;\n }\n inlet\n {\n type fixedValue;\n value uniform (0.001 0 0);\n }\n outlet\n {\n type zeroGradient;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\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 object fvSolution;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nsolvers\n{\n h\n {\n solver PCG;\n preconditioner DIC;\n tolerance 1e-10;\n relTol 0.01;\n }\n\n hFinal\n {\n $h;\n tolerance 1e-10;\n relTol 0;\n }\n\n hU\n {\n solver smoothSolver;\n smoother GaussSeidel;\n tolerance 1e-10;\n relTol 0.1;\n }\n\n hUFinal\n {\n $hU;\n tolerance 1e-10;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n nOuterCorrectors 3;\n nCorrectors 1;\n nNonOrthogonalCorrectors 0;\n\n momentumPredictor yes;\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 object controlDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\napplication shallowWaterFoam;\n\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 100;\n\ndeltaT 0.1;\n\nwriteControl runTime;\n\nwriteInterval 1;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable false;\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 object fvSchemes;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nddtSchemes\n{\n default CrankNicolson 0.9;\n}\n\ngradSchemes\n{\n default Gauss linear;\n}\n\ndivSchemes\n{\n default none;\n div(phiv,hU) Gauss LUST un;\n}\n\nlaplacianSchemes\n{\n default Gauss linear uncorrected;\n}\n\ninterpolationSchemes\n{\n default linear;\n}\n\nsnGradSchemes\n{\n default uncorrected;\n}\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 object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nconvertToMeters 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 sides\n {\n type patch;\n faces\n (\n (3 7 6 2)\n (1 5 4 0)\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 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", "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 object setFieldsDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndefaultFieldValues\n(\n volScalarFieldValue h0 0\n volScalarFieldValue h 0.07\n volVectorFieldValue hU (0.001 0 0)\n);\n\nregions\n(\n boxToCell\n {\n box (0.45 0.45 0) (0.55 0.55 0.1);\n\n fieldValues\n (\n volScalarFieldValue h0 0.001\n volScalarFieldValue h 0.009\n volVectorFieldValue hU (0.0009 0 0)\n );\n }\n);\n\n// ************************************************************************* //\n" }, "shallowWaterWithSquareBump/6": { "usr_requirement": "do a shallow water simulation over a square bump using the shallowWaterFoam solver. The domain spans 1 x 1 x 0.1, discretized into 20 x 20 x 1 grid points. The simulation initializes with a uniform water depth of 0.06 m and a uniform momentum field of (0.001,0,0). The simulation runs from 0 s to 100 s with a timestep of 0.1 s and writes results every 1 s. Use OpenFOAM-13 legacy executable shallowWaterFoam; this case is not a foamRun solver module case.", "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\napplication=\"shallowWaterFoam\"\n\nrunApplication blockMesh\nrunApplication $application\n\n#------------------------------------------------------------------------------\n", "constant/h0": "/*--------------------------------*- 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 \"constant\";\n object h0;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 0 0 0 0 0];\n\ninternalField nonuniform List \n400\n(\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0.001\n0.001\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0.001\n0.001\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n)\n;\n\nboundaryField\n{\n sides\n {\n type zeroGradient;\n }\n inlet\n {\n type zeroGradient;\n }\n outlet\n {\n type zeroGradient;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n\n// ************************************************************************* //\n", "constant/h0.orig": "/*--------------------------------*- 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 h0;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 0 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n sides\n {\n type zeroGradient;\n }\n inlet\n {\n type zeroGradient;\n }\n outlet\n {\n type zeroGradient;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n\n// ************************************************************************* //\n", "constant/gravitationalProperties": "/*--------------------------------*- 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 object gravitationalProperties;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ng g [0 1 -2 0 0 0 0] (0 0 -9.81);\nrotating true;\nOmega Omega [0 0 -1 0 0 0 0] (0 0 7.292e-5);\n\n// ************************************************************************* //\n", "0/hTotal": "/*--------------------------------*- 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 hTotal;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 0 0 0 0 0];\n\ninternalField uniform 0.01;\n\nboundaryField\n{\n sides\n {\n type calculated;\n value uniform 0.06;\n }\n inlet\n {\n type calculated;\n value uniform 0.06;\n }\n outlet\n {\n type calculated;\n value uniform 0.06;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n\n// ************************************************************************* //\n", "0/hU": "/*--------------------------------*- 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 hU;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -1 0 0 0 0];\n\ninternalField nonuniform List \n400\n(\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.0009 0 0)\n(0.0009 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.0009 0 0)\n(0.0009 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n)\n;\n\nboundaryField\n{\n sides\n {\n type slip;\n }\n inlet\n {\n type fixedValue;\n value uniform (0.001 0 0);\n }\n outlet\n {\n type zeroGradient;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n\n// ************************************************************************* //\n", "0/h.orig": "/*--------------------------------*- 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 h.orig;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 0 0 0 0 0];\n\ninternalField uniform 0.01;\n\nboundaryField\n{\n sides\n {\n type zeroGradient;\n }\n inlet\n {\n type zeroGradient;\n }\n outlet\n {\n type fixedValue;\n value uniform 0.01;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n\n// ************************************************************************* //\n", "0/h": "/*--------------------------------*- 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 h;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 0 0 0 0 0];\n\ninternalField nonuniform List \n400\n(\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.009\n0.009\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.009\n0.009\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n0.06\n)\n;\n\nboundaryField\n{\n sides\n {\n type zeroGradient;\n }\n inlet\n {\n type zeroGradient;\n }\n outlet\n {\n type fixedValue;\n value uniform 0.01;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n\n// ************************************************************************* //\n", "0/hU.orig": "/*--------------------------------*- 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 hU;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -1 0 0 0 0];\n\ninternalField uniform (0.001 0 0);\n\nboundaryField\n{\n sides\n {\n type slip;\n }\n inlet\n {\n type fixedValue;\n value uniform (0.001 0 0);\n }\n outlet\n {\n type zeroGradient;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\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 object fvSolution;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nsolvers\n{\n h\n {\n solver PCG;\n preconditioner DIC;\n tolerance 1e-10;\n relTol 0.01;\n }\n\n hFinal\n {\n $h;\n tolerance 1e-10;\n relTol 0;\n }\n\n hU\n {\n solver smoothSolver;\n smoother GaussSeidel;\n tolerance 1e-10;\n relTol 0.1;\n }\n\n hUFinal\n {\n $hU;\n tolerance 1e-10;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n nOuterCorrectors 3;\n nCorrectors 1;\n nNonOrthogonalCorrectors 0;\n\n momentumPredictor yes;\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 object controlDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\napplication shallowWaterFoam;\n\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 100;\n\ndeltaT 0.1;\n\nwriteControl runTime;\n\nwriteInterval 1;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable false;\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 object fvSchemes;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nddtSchemes\n{\n default CrankNicolson 0.9;\n}\n\ngradSchemes\n{\n default Gauss linear;\n}\n\ndivSchemes\n{\n default none;\n div(phiv,hU) Gauss LUST un;\n}\n\nlaplacianSchemes\n{\n default Gauss linear uncorrected;\n}\n\ninterpolationSchemes\n{\n default linear;\n}\n\nsnGradSchemes\n{\n default uncorrected;\n}\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 object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nconvertToMeters 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 sides\n {\n type patch;\n faces\n (\n (3 7 6 2)\n (1 5 4 0)\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 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", "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 object setFieldsDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndefaultFieldValues\n(\n volScalarFieldValue h0 0\n volScalarFieldValue h 0.06\n volVectorFieldValue hU (0.001 0 0)\n);\n\nregions\n(\n boxToCell\n {\n box (0.45 0.45 0) (0.55 0.55 0.1);\n\n fieldValues\n (\n volScalarFieldValue h0 0.001\n volScalarFieldValue h 0.009\n volVectorFieldValue hU (0.0009 0 0)\n );\n }\n);\n\n// ************************************************************************* //\n" }, "shallowWaterWithSquareBump/3": { "usr_requirement": "do a shallow water simulation over a square bump using the shallowWaterFoam solver. The domain spans 1 x 1 x 0.1, discretized into 20 x 20 x 1 grid points. The simulation initializes with a uniform water depth of 0.03 m and a uniform momentum field of (0.001,0,0). The simulation runs from 0 s to 100 s with a timestep of 0.1 s and writes results every 1 s. Use OpenFOAM-13 legacy executable shallowWaterFoam; this case is not a foamRun solver module case.", "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\napplication=\"shallowWaterFoam\"\n\nrunApplication blockMesh\nrunApplication $application\n\n#------------------------------------------------------------------------------\n", "constant/h0": "/*--------------------------------*- 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 \"constant\";\n object h0;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 0 0 0 0 0];\n\ninternalField nonuniform List \n400\n(\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0.001\n0.001\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0.001\n0.001\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n)\n;\n\nboundaryField\n{\n sides\n {\n type zeroGradient;\n }\n inlet\n {\n type zeroGradient;\n }\n outlet\n {\n type zeroGradient;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n\n// ************************************************************************* //\n", "constant/h0.orig": "/*--------------------------------*- 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 h0;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 0 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n sides\n {\n type zeroGradient;\n }\n inlet\n {\n type zeroGradient;\n }\n outlet\n {\n type zeroGradient;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n\n// ************************************************************************* //\n", "constant/gravitationalProperties": "/*--------------------------------*- 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 object gravitationalProperties;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ng g [0 1 -2 0 0 0 0] (0 0 -9.81);\nrotating true;\nOmega Omega [0 0 -1 0 0 0 0] (0 0 7.292e-5);\n\n// ************************************************************************* //\n", "0/hTotal": "/*--------------------------------*- 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 hTotal;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 0 0 0 0 0];\n\ninternalField uniform 0.01;\n\nboundaryField\n{\n sides\n {\n type calculated;\n value uniform 0.03;\n }\n inlet\n {\n type calculated;\n value uniform 0.03;\n }\n outlet\n {\n type calculated;\n value uniform 0.03;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n\n// ************************************************************************* //\n", "0/hU": "/*--------------------------------*- 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 hU;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -1 0 0 0 0];\n\ninternalField nonuniform List \n400\n(\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.0009 0 0)\n(0.0009 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.0009 0 0)\n(0.0009 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n)\n;\n\nboundaryField\n{\n sides\n {\n type slip;\n }\n inlet\n {\n type fixedValue;\n value uniform (0.001 0 0);\n }\n outlet\n {\n type zeroGradient;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n\n// ************************************************************************* //\n", "0/h.orig": "/*--------------------------------*- 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 h.orig;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 0 0 0 0 0];\n\ninternalField uniform 0.01;\n\nboundaryField\n{\n sides\n {\n type zeroGradient;\n }\n inlet\n {\n type zeroGradient;\n }\n outlet\n {\n type fixedValue;\n value uniform 0.01;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n\n// ************************************************************************* //\n", "0/h": "/*--------------------------------*- 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 h;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 0 0 0 0 0];\n\ninternalField nonuniform List \n400\n(\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.009\n0.009\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.009\n0.009\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n0.03\n)\n;\n\nboundaryField\n{\n sides\n {\n type zeroGradient;\n }\n inlet\n {\n type zeroGradient;\n }\n outlet\n {\n type fixedValue;\n value uniform 0.01;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n\n// ************************************************************************* //\n", "0/hU.orig": "/*--------------------------------*- 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 hU;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -1 0 0 0 0];\n\ninternalField uniform (0.001 0 0);\n\nboundaryField\n{\n sides\n {\n type slip;\n }\n inlet\n {\n type fixedValue;\n value uniform (0.001 0 0);\n }\n outlet\n {\n type zeroGradient;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\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 object fvSolution;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nsolvers\n{\n h\n {\n solver PCG;\n preconditioner DIC;\n tolerance 1e-10;\n relTol 0.01;\n }\n\n hFinal\n {\n $h;\n tolerance 1e-10;\n relTol 0;\n }\n\n hU\n {\n solver smoothSolver;\n smoother GaussSeidel;\n tolerance 1e-10;\n relTol 0.1;\n }\n\n hUFinal\n {\n $hU;\n tolerance 1e-10;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n nOuterCorrectors 3;\n nCorrectors 1;\n nNonOrthogonalCorrectors 0;\n\n momentumPredictor yes;\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 object controlDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\napplication shallowWaterFoam;\n\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 100;\n\ndeltaT 0.1;\n\nwriteControl runTime;\n\nwriteInterval 1;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable false;\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 object fvSchemes;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nddtSchemes\n{\n default CrankNicolson 0.9;\n}\n\ngradSchemes\n{\n default Gauss linear;\n}\n\ndivSchemes\n{\n default none;\n div(phiv,hU) Gauss LUST un;\n}\n\nlaplacianSchemes\n{\n default Gauss linear uncorrected;\n}\n\ninterpolationSchemes\n{\n default linear;\n}\n\nsnGradSchemes\n{\n default uncorrected;\n}\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 object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nconvertToMeters 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 sides\n {\n type patch;\n faces\n (\n (3 7 6 2)\n (1 5 4 0)\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 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", "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 object setFieldsDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndefaultFieldValues\n(\n volScalarFieldValue h0 0\n volScalarFieldValue h 0.03\n volVectorFieldValue hU (0.001 0 0)\n);\n\nregions\n(\n boxToCell\n {\n box (0.45 0.45 0) (0.55 0.55 0.1);\n\n fieldValues\n (\n volScalarFieldValue h0 0.001\n volScalarFieldValue h 0.009\n volVectorFieldValue hU (0.0009 0 0)\n );\n }\n);\n\n// ************************************************************************* //\n" }, "shallowWaterWithSquareBump/5": { "usr_requirement": "do a shallow water simulation over a square bump using the shallowWaterFoam solver. The domain spans 1 x 1 x 0.1, discretized into 20 x 20 x 1 grid points. The simulation initializes with a uniform water depth of 0.05 m and a uniform momentum field of (0.001,0,0). The simulation runs from 0 s to 100 s with a timestep of 0.1 s and writes results every 1 s. Use OpenFOAM-13 legacy executable shallowWaterFoam; this case is not a foamRun solver module case.", "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\napplication=\"shallowWaterFoam\"\n\nrunApplication blockMesh\nrunApplication $application\n\n#------------------------------------------------------------------------------\n", "constant/h0": "/*--------------------------------*- 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 \"constant\";\n object h0;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 0 0 0 0 0];\n\ninternalField nonuniform List \n400\n(\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0.001\n0.001\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0.001\n0.001\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n)\n;\n\nboundaryField\n{\n sides\n {\n type zeroGradient;\n }\n inlet\n {\n type zeroGradient;\n }\n outlet\n {\n type zeroGradient;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n\n// ************************************************************************* //\n", "constant/h0.orig": "/*--------------------------------*- 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 h0;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 0 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n sides\n {\n type zeroGradient;\n }\n inlet\n {\n type zeroGradient;\n }\n outlet\n {\n type zeroGradient;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n\n// ************************************************************************* //\n", "constant/gravitationalProperties": "/*--------------------------------*- 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 object gravitationalProperties;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ng g [0 1 -2 0 0 0 0] (0 0 -9.81);\nrotating true;\nOmega Omega [0 0 -1 0 0 0 0] (0 0 7.292e-5);\n\n// ************************************************************************* //\n", "0/hTotal": "/*--------------------------------*- 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 hTotal;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 0 0 0 0 0];\n\ninternalField uniform 0.01;\n\nboundaryField\n{\n sides\n {\n type calculated;\n value uniform 0.05;\n }\n inlet\n {\n type calculated;\n value uniform 0.05;\n }\n outlet\n {\n type calculated;\n value uniform 0.05;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n\n// ************************************************************************* //\n", "0/hU": "/*--------------------------------*- 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 hU;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -1 0 0 0 0];\n\ninternalField nonuniform List \n400\n(\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.0009 0 0)\n(0.0009 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.0009 0 0)\n(0.0009 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n)\n;\n\nboundaryField\n{\n sides\n {\n type slip;\n }\n inlet\n {\n type fixedValue;\n value uniform (0.001 0 0);\n }\n outlet\n {\n type zeroGradient;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n\n// ************************************************************************* //\n", "0/h.orig": "/*--------------------------------*- 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 h.orig;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 0 0 0 0 0];\n\ninternalField uniform 0.01;\n\nboundaryField\n{\n sides\n {\n type zeroGradient;\n }\n inlet\n {\n type zeroGradient;\n }\n outlet\n {\n type fixedValue;\n value uniform 0.01;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n\n// ************************************************************************* //\n", "0/h": "/*--------------------------------*- 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 h;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 0 0 0 0 0];\n\ninternalField nonuniform List \n400\n(\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.009\n0.009\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.009\n0.009\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n0.05\n)\n;\n\nboundaryField\n{\n sides\n {\n type zeroGradient;\n }\n inlet\n {\n type zeroGradient;\n }\n outlet\n {\n type fixedValue;\n value uniform 0.01;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n\n// ************************************************************************* //\n", "0/hU.orig": "/*--------------------------------*- 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 hU;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -1 0 0 0 0];\n\ninternalField uniform (0.001 0 0);\n\nboundaryField\n{\n sides\n {\n type slip;\n }\n inlet\n {\n type fixedValue;\n value uniform (0.001 0 0);\n }\n outlet\n {\n type zeroGradient;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\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 object fvSolution;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nsolvers\n{\n h\n {\n solver PCG;\n preconditioner DIC;\n tolerance 1e-10;\n relTol 0.01;\n }\n\n hFinal\n {\n $h;\n tolerance 1e-10;\n relTol 0;\n }\n\n hU\n {\n solver smoothSolver;\n smoother GaussSeidel;\n tolerance 1e-10;\n relTol 0.1;\n }\n\n hUFinal\n {\n $hU;\n tolerance 1e-10;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n nOuterCorrectors 3;\n nCorrectors 1;\n nNonOrthogonalCorrectors 0;\n\n momentumPredictor yes;\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 object controlDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\napplication shallowWaterFoam;\n\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 100;\n\ndeltaT 0.1;\n\nwriteControl runTime;\n\nwriteInterval 1;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable false;\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 object fvSchemes;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nddtSchemes\n{\n default CrankNicolson 0.9;\n}\n\ngradSchemes\n{\n default Gauss linear;\n}\n\ndivSchemes\n{\n default none;\n div(phiv,hU) Gauss LUST un;\n}\n\nlaplacianSchemes\n{\n default Gauss linear uncorrected;\n}\n\ninterpolationSchemes\n{\n default linear;\n}\n\nsnGradSchemes\n{\n default uncorrected;\n}\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 object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nconvertToMeters 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 sides\n {\n type patch;\n faces\n (\n (3 7 6 2)\n (1 5 4 0)\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 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", "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 object setFieldsDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndefaultFieldValues\n(\n volScalarFieldValue h0 0\n volScalarFieldValue h 0.05\n volVectorFieldValue hU (0.001 0 0)\n);\n\nregions\n(\n boxToCell\n {\n box (0.45 0.45 0) (0.55 0.55 0.1);\n\n fieldValues\n (\n volScalarFieldValue h0 0.001\n volScalarFieldValue h 0.009\n volVectorFieldValue hU (0.0009 0 0)\n );\n }\n);\n\n// ************************************************************************* //\n" }, "shallowWaterWithSquareBump/2": { "usr_requirement": "do a shallow water simulation over a square bump using the shallowWaterFoam solver. The domain spans 1 x 1 x 0.1, discretized into 20 x 20 x 1 grid points. The simulation initializes with a uniform water depth of 0.02 m and a uniform momentum field of (0.001,0,0). The simulation runs from 0 s to 100 s with a timestep of 0.1 s and writes results every 1 s. Use OpenFOAM-13 legacy executable shallowWaterFoam; this case is not a foamRun solver module case.", "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\napplication=\"shallowWaterFoam\"\n\nrunApplication blockMesh\nrunApplication $application\n\n#------------------------------------------------------------------------------\n", "constant/h0": "/*--------------------------------*- 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 \"constant\";\n object h0;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 0 0 0 0 0];\n\ninternalField nonuniform List \n400\n(\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0.001\n0.001\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0.001\n0.001\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n)\n;\n\nboundaryField\n{\n sides\n {\n type zeroGradient;\n }\n inlet\n {\n type zeroGradient;\n }\n outlet\n {\n type zeroGradient;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n\n// ************************************************************************* //\n", "constant/h0.orig": "/*--------------------------------*- 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 h0;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 0 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n sides\n {\n type zeroGradient;\n }\n inlet\n {\n type zeroGradient;\n }\n outlet\n {\n type zeroGradient;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n\n// ************************************************************************* //\n", "constant/gravitationalProperties": "/*--------------------------------*- 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 object gravitationalProperties;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ng g [0 1 -2 0 0 0 0] (0 0 -9.81);\nrotating true;\nOmega Omega [0 0 -1 0 0 0 0] (0 0 7.292e-5);\n\n// ************************************************************************* //\n", "0/hTotal": "/*--------------------------------*- 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 hTotal;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 0 0 0 0 0];\n\ninternalField uniform 0.01;\n\nboundaryField\n{\n sides\n {\n type calculated;\n value uniform 0.02;\n }\n inlet\n {\n type calculated;\n value uniform 0.02;\n }\n outlet\n {\n type calculated;\n value uniform 0.02;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n\n// ************************************************************************* //\n", "0/hU": "/*--------------------------------*- 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 hU;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -1 0 0 0 0];\n\ninternalField nonuniform List \n400\n(\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.0009 0 0)\n(0.0009 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.0009 0 0)\n(0.0009 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n)\n;\n\nboundaryField\n{\n sides\n {\n type slip;\n }\n inlet\n {\n type fixedValue;\n value uniform (0.001 0 0);\n }\n outlet\n {\n type zeroGradient;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n\n// ************************************************************************* //\n", "0/h.orig": "/*--------------------------------*- 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 h.orig;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 0 0 0 0 0];\n\ninternalField uniform 0.01;\n\nboundaryField\n{\n sides\n {\n type zeroGradient;\n }\n inlet\n {\n type zeroGradient;\n }\n outlet\n {\n type fixedValue;\n value uniform 0.01;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n\n// ************************************************************************* //\n", "0/h": "/*--------------------------------*- 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 h;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 0 0 0 0 0];\n\ninternalField nonuniform List \n400\n(\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.009\n0.009\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.009\n0.009\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n0.02\n)\n;\n\nboundaryField\n{\n sides\n {\n type zeroGradient;\n }\n inlet\n {\n type zeroGradient;\n }\n outlet\n {\n type fixedValue;\n value uniform 0.01;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n\n// ************************************************************************* //\n", "0/hU.orig": "/*--------------------------------*- 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 hU;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -1 0 0 0 0];\n\ninternalField uniform (0.001 0 0);\n\nboundaryField\n{\n sides\n {\n type slip;\n }\n inlet\n {\n type fixedValue;\n value uniform (0.001 0 0);\n }\n outlet\n {\n type zeroGradient;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\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 object fvSolution;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nsolvers\n{\n h\n {\n solver PCG;\n preconditioner DIC;\n tolerance 1e-10;\n relTol 0.01;\n }\n\n hFinal\n {\n $h;\n tolerance 1e-10;\n relTol 0;\n }\n\n hU\n {\n solver smoothSolver;\n smoother GaussSeidel;\n tolerance 1e-10;\n relTol 0.1;\n }\n\n hUFinal\n {\n $hU;\n tolerance 1e-10;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n nOuterCorrectors 3;\n nCorrectors 1;\n nNonOrthogonalCorrectors 0;\n\n momentumPredictor yes;\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 object controlDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\napplication shallowWaterFoam;\n\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 100;\n\ndeltaT 0.1;\n\nwriteControl runTime;\n\nwriteInterval 1;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable false;\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 object fvSchemes;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nddtSchemes\n{\n default CrankNicolson 0.9;\n}\n\ngradSchemes\n{\n default Gauss linear;\n}\n\ndivSchemes\n{\n default none;\n div(phiv,hU) Gauss LUST un;\n}\n\nlaplacianSchemes\n{\n default Gauss linear uncorrected;\n}\n\ninterpolationSchemes\n{\n default linear;\n}\n\nsnGradSchemes\n{\n default uncorrected;\n}\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 object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nconvertToMeters 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 sides\n {\n type patch;\n faces\n (\n (3 7 6 2)\n (1 5 4 0)\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 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", "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 object setFieldsDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndefaultFieldValues\n(\n volScalarFieldValue h0 0\n volScalarFieldValue h 0.02\n volVectorFieldValue hU (0.001 0 0)\n);\n\nregions\n(\n boxToCell\n {\n box (0.45 0.45 0) (0.55 0.55 0.1);\n\n fieldValues\n (\n volScalarFieldValue h0 0.001\n volScalarFieldValue h 0.009\n volVectorFieldValue hU (0.0009 0 0)\n );\n }\n);\n\n// ************************************************************************* //\n" }, "shallowWaterWithSquareBump/4": { "usr_requirement": "do a shallow water simulation over a square bump using the shallowWaterFoam solver. The domain spans 1 x 1 x 0.1, discretized into 20 x 20 x 1 grid points. The simulation initializes with a uniform water depth of 0.04 m and a uniform momentum field of (0.001,0,0). The simulation runs from 0 s to 100 s with a timestep of 0.1 s and writes results every 1 s. Use OpenFOAM-13 legacy executable shallowWaterFoam; this case is not a foamRun solver module case.", "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\napplication=\"shallowWaterFoam\"\n\nrunApplication blockMesh\nrunApplication $application\n\n#------------------------------------------------------------------------------\n", "constant/h0": "/*--------------------------------*- 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 \"constant\";\n object h0;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 0 0 0 0 0];\n\ninternalField nonuniform List \n400\n(\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0.001\n0.001\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0.001\n0.001\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n)\n;\n\nboundaryField\n{\n sides\n {\n type zeroGradient;\n }\n inlet\n {\n type zeroGradient;\n }\n outlet\n {\n type zeroGradient;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n\n// ************************************************************************* //\n", "constant/h0.orig": "/*--------------------------------*- 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 h0;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 0 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n sides\n {\n type zeroGradient;\n }\n inlet\n {\n type zeroGradient;\n }\n outlet\n {\n type zeroGradient;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n\n// ************************************************************************* //\n", "constant/gravitationalProperties": "/*--------------------------------*- 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 object gravitationalProperties;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ng g [0 1 -2 0 0 0 0] (0 0 -9.81);\nrotating true;\nOmega Omega [0 0 -1 0 0 0 0] (0 0 7.292e-5);\n\n// ************************************************************************* //\n", "0/hTotal": "/*--------------------------------*- 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 hTotal;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 0 0 0 0 0];\n\ninternalField uniform 0.01;\n\nboundaryField\n{\n sides\n {\n type calculated;\n value uniform 0.04;\n }\n inlet\n {\n type calculated;\n value uniform 0.04;\n }\n outlet\n {\n type calculated;\n value uniform 0.04;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n\n// ************************************************************************* //\n", "0/hU": "/*--------------------------------*- 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 hU;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -1 0 0 0 0];\n\ninternalField nonuniform List \n400\n(\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.0009 0 0)\n(0.0009 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.0009 0 0)\n(0.0009 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n)\n;\n\nboundaryField\n{\n sides\n {\n type slip;\n }\n inlet\n {\n type fixedValue;\n value uniform (0.001 0 0);\n }\n outlet\n {\n type zeroGradient;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n\n// ************************************************************************* //\n", "0/h.orig": "/*--------------------------------*- 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 h.orig;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 0 0 0 0 0];\n\ninternalField uniform 0.01;\n\nboundaryField\n{\n sides\n {\n type zeroGradient;\n }\n inlet\n {\n type zeroGradient;\n }\n outlet\n {\n type fixedValue;\n value uniform 0.01;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n\n// ************************************************************************* //\n", "0/h": "/*--------------------------------*- 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 h;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 0 0 0 0 0];\n\ninternalField nonuniform List \n400\n(\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.009\n0.009\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.009\n0.009\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n0.04\n)\n;\n\nboundaryField\n{\n sides\n {\n type zeroGradient;\n }\n inlet\n {\n type zeroGradient;\n }\n outlet\n {\n type fixedValue;\n value uniform 0.01;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n\n// ************************************************************************* //\n", "0/hU.orig": "/*--------------------------------*- 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 hU;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -1 0 0 0 0];\n\ninternalField uniform (0.001 0 0);\n\nboundaryField\n{\n sides\n {\n type slip;\n }\n inlet\n {\n type fixedValue;\n value uniform (0.001 0 0);\n }\n outlet\n {\n type zeroGradient;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\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 object fvSolution;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nsolvers\n{\n h\n {\n solver PCG;\n preconditioner DIC;\n tolerance 1e-10;\n relTol 0.01;\n }\n\n hFinal\n {\n $h;\n tolerance 1e-10;\n relTol 0;\n }\n\n hU\n {\n solver smoothSolver;\n smoother GaussSeidel;\n tolerance 1e-10;\n relTol 0.1;\n }\n\n hUFinal\n {\n $hU;\n tolerance 1e-10;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n nOuterCorrectors 3;\n nCorrectors 1;\n nNonOrthogonalCorrectors 0;\n\n momentumPredictor yes;\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 object controlDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\napplication shallowWaterFoam;\n\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 100;\n\ndeltaT 0.1;\n\nwriteControl runTime;\n\nwriteInterval 1;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable false;\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 object fvSchemes;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nddtSchemes\n{\n default CrankNicolson 0.9;\n}\n\ngradSchemes\n{\n default Gauss linear;\n}\n\ndivSchemes\n{\n default none;\n div(phiv,hU) Gauss LUST un;\n}\n\nlaplacianSchemes\n{\n default Gauss linear uncorrected;\n}\n\ninterpolationSchemes\n{\n default linear;\n}\n\nsnGradSchemes\n{\n default uncorrected;\n}\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 object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nconvertToMeters 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 sides\n {\n type patch;\n faces\n (\n (3 7 6 2)\n (1 5 4 0)\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 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", "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 object setFieldsDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndefaultFieldValues\n(\n volScalarFieldValue h0 0\n volScalarFieldValue h 0.04\n volVectorFieldValue hU (0.001 0 0)\n);\n\nregions\n(\n boxToCell\n {\n box (0.45 0.45 0) (0.55 0.55 0.1);\n\n fieldValues\n (\n volScalarFieldValue h0 0.001\n volScalarFieldValue h 0.009\n volVectorFieldValue hU (0.0009 0 0)\n );\n }\n);\n\n// ************************************************************************* //\n" }, "shallowWaterWithSquareBump/1": { "usr_requirement": "do a shallow water simulation over a square bump using the shallowWaterFoam solver. The domain spans 1 x 1 x 0.1, discretized into 20 x 20 x 1 grid points. The simulation initializes with a uniform water depth of 0.01 m and a uniform momentum field of (0.001,0,0). The simulation runs from 0 s to 100 s with a timestep of 0.1 s and writes results every 1 s. Use OpenFOAM-13 legacy executable shallowWaterFoam; this case is not a foamRun solver module case.", "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\napplication=\"shallowWaterFoam\"\n\nrunApplication blockMesh\nrunApplication $application\n\n#------------------------------------------------------------------------------\n", "constant/h0": "/*--------------------------------*- 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 \"constant\";\n object h0;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 0 0 0 0 0];\n\ninternalField nonuniform List \n400\n(\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0.001\n0.001\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0.001\n0.001\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n)\n;\n\nboundaryField\n{\n sides\n {\n type zeroGradient;\n }\n inlet\n {\n type zeroGradient;\n }\n outlet\n {\n type zeroGradient;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n\n// ************************************************************************* //\n", "constant/h0.orig": "/*--------------------------------*- 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 h0;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 0 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n sides\n {\n type zeroGradient;\n }\n inlet\n {\n type zeroGradient;\n }\n outlet\n {\n type zeroGradient;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n\n// ************************************************************************* //\n", "constant/gravitationalProperties": "/*--------------------------------*- 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 object gravitationalProperties;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ng g [0 1 -2 0 0 0 0] (0 0 -9.81);\nrotating true;\nOmega Omega [0 0 -1 0 0 0 0] (0 0 7.292e-5);\n\n// ************************************************************************* //\n", "0/hTotal": "/*--------------------------------*- 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 hTotal;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 0 0 0 0 0];\n\ninternalField uniform 0.01;\n\nboundaryField\n{\n sides\n {\n type calculated;\n value uniform 0.01;\n }\n inlet\n {\n type calculated;\n value uniform 0.01;\n }\n outlet\n {\n type calculated;\n value uniform 0.01;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n\n// ************************************************************************* //\n", "0/hU": "/*--------------------------------*- 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 hU;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -1 0 0 0 0];\n\ninternalField nonuniform List \n400\n(\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.0009 0 0)\n(0.0009 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.0009 0 0)\n(0.0009 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n)\n;\n\nboundaryField\n{\n sides\n {\n type slip;\n }\n inlet\n {\n type fixedValue;\n value uniform (0.001 0 0);\n }\n outlet\n {\n type zeroGradient;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n\n// ************************************************************************* //\n", "0/h.orig": "/*--------------------------------*- 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 h;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 0 0 0 0 0];\n\ninternalField uniform 0.01;\n\nboundaryField\n{\n sides\n {\n type zeroGradient;\n }\n inlet\n {\n type zeroGradient;\n }\n outlet\n {\n type fixedValue;\n value uniform 0.01;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n\n// ************************************************************************* //\n", "0/h": "/*--------------------------------*- 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 h;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 0 0 0 0 0];\n\ninternalField nonuniform List \n400\n(\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.009\n0.009\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.009\n0.009\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n)\n;\n\nboundaryField\n{\n sides\n {\n type zeroGradient;\n }\n inlet\n {\n type zeroGradient;\n }\n outlet\n {\n type fixedValue;\n value uniform 0.01;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n\n// ************************************************************************* //\n", "0/hU.orig": "/*--------------------------------*- 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 hU;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -1 0 0 0 0];\n\ninternalField uniform (0.001 0 0);\n\nboundaryField\n{\n sides\n {\n type slip;\n }\n inlet\n {\n type fixedValue;\n value uniform (0.001 0 0);\n }\n outlet\n {\n type zeroGradient;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\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 object fvSolution;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nsolvers\n{\n h\n {\n solver PCG;\n preconditioner DIC;\n tolerance 1e-10;\n relTol 0.01;\n }\n\n hFinal\n {\n $h;\n tolerance 1e-10;\n relTol 0;\n }\n\n hU\n {\n solver smoothSolver;\n smoother GaussSeidel;\n tolerance 1e-10;\n relTol 0.1;\n }\n\n hUFinal\n {\n $hU;\n tolerance 1e-10;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n nOuterCorrectors 3;\n nCorrectors 1;\n nNonOrthogonalCorrectors 0;\n\n momentumPredictor yes;\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 object controlDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\napplication shallowWaterFoam;\n\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 100;\n\ndeltaT 0.1;\n\nwriteControl runTime;\n\nwriteInterval 1;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable false;\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 object fvSchemes;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nddtSchemes\n{\n default CrankNicolson 0.9;\n}\n\ngradSchemes\n{\n default Gauss linear;\n}\n\ndivSchemes\n{\n default none;\n div(phiv,hU) Gauss LUST un;\n}\n\nlaplacianSchemes\n{\n default Gauss linear uncorrected;\n}\n\ninterpolationSchemes\n{\n default linear;\n}\n\nsnGradSchemes\n{\n default uncorrected;\n}\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 object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nconvertToMeters 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 sides\n {\n type patch;\n faces\n (\n (3 7 6 2)\n (1 5 4 0)\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 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", "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 object setFieldsDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndefaultFieldValues\n(\n volScalarFieldValue h0 0\n volScalarFieldValue h 0.01\n volVectorFieldValue hU (0.001 0 0)\n);\n\nregions\n(\n boxToCell\n {\n box (0.45 0.45 0) (0.55 0.55 0.1);\n\n fieldValues\n (\n volScalarFieldValue h0 0.001\n volScalarFieldValue h 0.009\n volVectorFieldValue hU (0.0009 0 0)\n );\n }\n);\n\n// ************************************************************************* //\n" }, "shallowWaterWithSquareBump/9": { "usr_requirement": "do a shallow water simulation over a square bump using the shallowWaterFoam solver. The domain spans 1 x 1 x 0.1, discretized into 20 x 20 x 1 grid points. The simulation initializes with a uniform water depth of 0.09 m and a uniform momentum field of (0.001,0,0). The simulation runs from 0 s to 100 s with a timestep of 0.1 s and writes results every 1 s. Use OpenFOAM-13 legacy executable shallowWaterFoam; this case is not a foamRun solver module case.", "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\napplication=\"shallowWaterFoam\"\n\nrunApplication blockMesh\nrunApplication $application\n\n#------------------------------------------------------------------------------\n", "constant/h0": "/*--------------------------------*- 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 \"constant\";\n object h0;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 0 0 0 0 0];\n\ninternalField nonuniform List \n400\n(\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0.001\n0.001\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0.001\n0.001\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n)\n;\n\nboundaryField\n{\n sides\n {\n type zeroGradient;\n }\n inlet\n {\n type zeroGradient;\n }\n outlet\n {\n type zeroGradient;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n\n// ************************************************************************* //\n", "constant/h0.orig": "/*--------------------------------*- 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 h0;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 0 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n sides\n {\n type zeroGradient;\n }\n inlet\n {\n type zeroGradient;\n }\n outlet\n {\n type zeroGradient;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n\n// ************************************************************************* //\n", "constant/gravitationalProperties": "/*--------------------------------*- 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 object gravitationalProperties;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ng g [0 1 -2 0 0 0 0] (0 0 -9.81);\nrotating true;\nOmega Omega [0 0 -1 0 0 0 0] (0 0 7.292e-5);\n\n// ************************************************************************* //\n", "0/hTotal": "/*--------------------------------*- 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 hTotal;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 0 0 0 0 0];\n\ninternalField uniform 0.01;\n\nboundaryField\n{\n sides\n {\n type calculated;\n value uniform 0.09;\n }\n inlet\n {\n type calculated;\n value uniform 0.09;\n }\n outlet\n {\n type calculated;\n value uniform 0.09;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n\n// ************************************************************************* //\n", "0/hU": "/*--------------------------------*- 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 hU;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -1 0 0 0 0];\n\ninternalField nonuniform List \n400\n(\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.0009 0 0)\n(0.0009 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.0009 0 0)\n(0.0009 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n)\n;\n\nboundaryField\n{\n sides\n {\n type slip;\n }\n inlet\n {\n type fixedValue;\n value uniform (0.001 0 0);\n }\n outlet\n {\n type zeroGradient;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n\n// ************************************************************************* //\n", "0/h.orig": "/*--------------------------------*- 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 h.orig;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 0 0 0 0 0];\n\ninternalField uniform 0.01;\n\nboundaryField\n{\n sides\n {\n type zeroGradient;\n }\n inlet\n {\n type zeroGradient;\n }\n outlet\n {\n type fixedValue;\n value uniform 0.01;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n\n// ************************************************************************* //\n", "0/h": "/*--------------------------------*- 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 h;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 0 0 0 0 0];\n\ninternalField nonuniform List \n400\n(\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.009\n0.009\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.009\n0.009\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n0.09\n)\n;\n\nboundaryField\n{\n sides\n {\n type zeroGradient;\n }\n inlet\n {\n type zeroGradient;\n }\n outlet\n {\n type fixedValue;\n value uniform 0.01;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n\n// ************************************************************************* //\n", "0/hU.orig": "/*--------------------------------*- 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 hU;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -1 0 0 0 0];\n\ninternalField uniform (0.001 0 0);\n\nboundaryField\n{\n sides\n {\n type slip;\n }\n inlet\n {\n type fixedValue;\n value uniform (0.001 0 0);\n }\n outlet\n {\n type zeroGradient;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\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 object fvSolution;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nsolvers\n{\n h\n {\n solver PCG;\n preconditioner DIC;\n tolerance 1e-10;\n relTol 0.01;\n }\n\n hFinal\n {\n $h;\n tolerance 1e-10;\n relTol 0;\n }\n\n hU\n {\n solver smoothSolver;\n smoother GaussSeidel;\n tolerance 1e-10;\n relTol 0.1;\n }\n\n hUFinal\n {\n $hU;\n tolerance 1e-10;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n nOuterCorrectors 3;\n nCorrectors 1;\n nNonOrthogonalCorrectors 0;\n\n momentumPredictor yes;\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 object controlDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\napplication shallowWaterFoam;\n\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 100;\n\ndeltaT 0.1;\n\nwriteControl runTime;\n\nwriteInterval 1;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable false;\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 object fvSchemes;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nddtSchemes\n{\n default CrankNicolson 0.9;\n}\n\ngradSchemes\n{\n default Gauss linear;\n}\n\ndivSchemes\n{\n default none;\n div(phiv,hU) Gauss LUST un;\n}\n\nlaplacianSchemes\n{\n default Gauss linear uncorrected;\n}\n\ninterpolationSchemes\n{\n default linear;\n}\n\nsnGradSchemes\n{\n default uncorrected;\n}\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 object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nconvertToMeters 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 sides\n {\n type patch;\n faces\n (\n (3 7 6 2)\n (1 5 4 0)\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 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", "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 object setFieldsDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndefaultFieldValues\n(\n volScalarFieldValue h0 0\n volScalarFieldValue h 0.09\n volVectorFieldValue hU (0.001 0 0)\n);\n\nregions\n(\n boxToCell\n {\n box (0.45 0.45 0) (0.55 0.55 0.1);\n\n fieldValues\n (\n volScalarFieldValue h0 0.001\n volScalarFieldValue h 0.009\n volVectorFieldValue hU (0.0009 0 0)\n );\n }\n);\n\n// ************************************************************************* //\n" }, "shallowWaterWithSquareBump/10": { "usr_requirement": "do a shallow water simulation over a square bump using the shallowWaterFoam solver. The domain spans 1 x 1 x 0.1, discretized into 20 x 20 x 1 grid points. The simulation initializes with a uniform water depth of 0.1 m and a uniform momentum field of (0.001,0,0). The simulation runs from 0 s to 100 s with a timestep of 0.1 s and writes results every 1 s. Use OpenFOAM-13 legacy executable shallowWaterFoam; this case is not a foamRun solver module case.", "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\napplication=\"shallowWaterFoam\"\n\nrunApplication blockMesh\nrunApplication $application\n\n#------------------------------------------------------------------------------\n", "constant/h0": "/*--------------------------------*- 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 \"constant\";\n object h0;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 0 0 0 0 0];\n\ninternalField nonuniform List \n400\n(\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0.001\n0.001\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0.001\n0.001\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n)\n;\n\nboundaryField\n{\n sides\n {\n type zeroGradient;\n }\n inlet\n {\n type zeroGradient;\n }\n outlet\n {\n type zeroGradient;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n\n// ************************************************************************* //\n", "constant/h0.orig": "/*--------------------------------*- 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 h0;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 0 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n sides\n {\n type zeroGradient;\n }\n inlet\n {\n type zeroGradient;\n }\n outlet\n {\n type zeroGradient;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n\n// ************************************************************************* //\n", "constant/gravitationalProperties": "/*--------------------------------*- 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 object gravitationalProperties;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ng g [0 1 -2 0 0 0 0] (0 0 -9.81);\nrotating true;\nOmega Omega [0 0 -1 0 0 0 0] (0 0 7.292e-5);\n\n// ************************************************************************* //\n", "0/hTotal": "/*--------------------------------*- 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 hTotal;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 0 0 0 0 0];\n\ninternalField uniform 0.01;\n\nboundaryField\n{\n sides\n {\n type calculated;\n value uniform 0.1;\n }\n inlet\n {\n type calculated;\n value uniform 0.1;\n }\n outlet\n {\n type calculated;\n value uniform 0.1;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n\n// ************************************************************************* //\n", "0/hU": "/*--------------------------------*- 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 hU;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -1 0 0 0 0];\n\ninternalField nonuniform List \n400\n(\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.0009 0 0)\n(0.0009 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.0009 0 0)\n(0.0009 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n)\n;\n\nboundaryField\n{\n sides\n {\n type slip;\n }\n inlet\n {\n type fixedValue;\n value uniform (0.001 0 0);\n }\n outlet\n {\n type zeroGradient;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n\n// ************************************************************************* //\n", "0/h.orig": "/*--------------------------------*- 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 h.orig;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 0 0 0 0 0];\n\ninternalField uniform 0.01;\n\nboundaryField\n{\n sides\n {\n type zeroGradient;\n }\n inlet\n {\n type zeroGradient;\n }\n outlet\n {\n type fixedValue;\n value uniform 0.01;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n\n// ************************************************************************* //\n", "0/h": "/*--------------------------------*- 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 h;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 0 0 0 0 0];\n\ninternalField nonuniform List \n400\n(\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.009\n0.009\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.009\n0.009\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n0.1\n)\n;\n\nboundaryField\n{\n sides\n {\n type zeroGradient;\n }\n inlet\n {\n type zeroGradient;\n }\n outlet\n {\n type fixedValue;\n value uniform 0.01;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n\n// ************************************************************************* //\n", "0/hU.orig": "/*--------------------------------*- 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 hU;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -1 0 0 0 0];\n\ninternalField uniform (0.001 0 0);\n\nboundaryField\n{\n sides\n {\n type slip;\n }\n inlet\n {\n type fixedValue;\n value uniform (0.001 0 0);\n }\n outlet\n {\n type zeroGradient;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\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 object fvSolution;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nsolvers\n{\n h\n {\n solver PCG;\n preconditioner DIC;\n tolerance 1e-10;\n relTol 0.01;\n }\n\n hFinal\n {\n $h;\n tolerance 1e-10;\n relTol 0;\n }\n\n hU\n {\n solver smoothSolver;\n smoother GaussSeidel;\n tolerance 1e-10;\n relTol 0.1;\n }\n\n hUFinal\n {\n $hU;\n tolerance 1e-10;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n nOuterCorrectors 3;\n nCorrectors 1;\n nNonOrthogonalCorrectors 0;\n\n momentumPredictor yes;\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 object controlDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\napplication shallowWaterFoam;\n\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 100;\n\ndeltaT 0.1;\n\nwriteControl runTime;\n\nwriteInterval 1;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable false;\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 object fvSchemes;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nddtSchemes\n{\n default CrankNicolson 0.9;\n}\n\ngradSchemes\n{\n default Gauss linear;\n}\n\ndivSchemes\n{\n default none;\n div(phiv,hU) Gauss LUST un;\n}\n\nlaplacianSchemes\n{\n default Gauss linear uncorrected;\n}\n\ninterpolationSchemes\n{\n default linear;\n}\n\nsnGradSchemes\n{\n default uncorrected;\n}\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 object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nconvertToMeters 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 sides\n {\n type patch;\n faces\n (\n (3 7 6 2)\n (1 5 4 0)\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 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", "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 object setFieldsDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndefaultFieldValues\n(\n volScalarFieldValue h0 0\n volScalarFieldValue h 0.1\n volVectorFieldValue hU (0.001 0 0)\n);\n\nregions\n(\n boxToCell\n {\n box (0.45 0.45 0) (0.55 0.55 0.1);\n\n fieldValues\n (\n volScalarFieldValue h0 0.001\n volScalarFieldValue h 0.009\n volVectorFieldValue hU (0.0009 0 0)\n );\n }\n);\n\n// ************************************************************************* //\n" }, "shallowWaterWithSquareBump/8": { "usr_requirement": "do a shallow water simulation over a square bump using the shallowWaterFoam solver. The domain spans 1 x 1 x 0.1, discretized into 20 x 20 x 1 grid points. The simulation initializes with a uniform water depth of 0.08 m and a uniform momentum field of (0.001,0,0). The simulation runs from 0 s to 100 s with a timestep of 0.1 s and writes results every 1 s. Use OpenFOAM-13 legacy executable shallowWaterFoam; this case is not a foamRun solver module case.", "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\napplication=\"shallowWaterFoam\"\n\nrunApplication blockMesh\nrunApplication $application\n\n#------------------------------------------------------------------------------\n", "constant/h0": "/*--------------------------------*- 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 \"constant\";\n object h0;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 0 0 0 0 0];\n\ninternalField nonuniform List \n400\n(\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0.001\n0.001\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0.001\n0.001\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n)\n;\n\nboundaryField\n{\n sides\n {\n type zeroGradient;\n }\n inlet\n {\n type zeroGradient;\n }\n outlet\n {\n type zeroGradient;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n\n// ************************************************************************* //\n", "constant/h0.orig": "/*--------------------------------*- 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 h0;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 0 0 0 0 0];\n\ninternalField uniform 0;\n\nboundaryField\n{\n sides\n {\n type zeroGradient;\n }\n inlet\n {\n type zeroGradient;\n }\n outlet\n {\n type zeroGradient;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n\n// ************************************************************************* //\n", "constant/gravitationalProperties": "/*--------------------------------*- 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 object gravitationalProperties;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ng g [0 1 -2 0 0 0 0] (0 0 -9.81);\nrotating true;\nOmega Omega [0 0 -1 0 0 0 0] (0 0 7.292e-5);\n\n// ************************************************************************* //\n", "0/hTotal": "/*--------------------------------*- 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 hTotal;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 0 0 0 0 0];\n\ninternalField uniform 0.01;\n\nboundaryField\n{\n sides\n {\n type calculated;\n value uniform 0.08;\n }\n inlet\n {\n type calculated;\n value uniform 0.08;\n }\n outlet\n {\n type calculated;\n value uniform 0.08;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n\n// ************************************************************************* //\n", "0/hU": "/*--------------------------------*- 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 hU;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -1 0 0 0 0];\n\ninternalField nonuniform List \n400\n(\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.0009 0 0)\n(0.0009 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.0009 0 0)\n(0.0009 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n(0.001 0 0)\n)\n;\n\nboundaryField\n{\n sides\n {\n type slip;\n }\n inlet\n {\n type fixedValue;\n value uniform (0.001 0 0);\n }\n outlet\n {\n type zeroGradient;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n\n// ************************************************************************* //\n", "0/h.orig": "/*--------------------------------*- 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 h.orig;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 0 0 0 0 0];\n\ninternalField uniform 0.01;\n\nboundaryField\n{\n sides\n {\n type zeroGradient;\n }\n inlet\n {\n type zeroGradient;\n }\n outlet\n {\n type fixedValue;\n value uniform 0.01;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n\n// ************************************************************************* //\n", "0/h": "/*--------------------------------*- 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 h;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 1 0 0 0 0 0];\n\ninternalField nonuniform List \n400\n(\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.009\n0.009\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.009\n0.009\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n0.08\n)\n;\n\nboundaryField\n{\n sides\n {\n type zeroGradient;\n }\n inlet\n {\n type zeroGradient;\n }\n outlet\n {\n type fixedValue;\n value uniform 0.01;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\n\n// ************************************************************************* //\n", "0/hU.orig": "/*--------------------------------*- 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 hU;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndimensions [0 2 -1 0 0 0 0];\n\ninternalField uniform (0.001 0 0);\n\nboundaryField\n{\n sides\n {\n type slip;\n }\n inlet\n {\n type fixedValue;\n value uniform (0.001 0 0);\n }\n outlet\n {\n type zeroGradient;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\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 object fvSolution;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nsolvers\n{\n h\n {\n solver PCG;\n preconditioner DIC;\n tolerance 1e-10;\n relTol 0.01;\n }\n\n hFinal\n {\n $h;\n tolerance 1e-10;\n relTol 0;\n }\n\n hU\n {\n solver smoothSolver;\n smoother GaussSeidel;\n tolerance 1e-10;\n relTol 0.1;\n }\n\n hUFinal\n {\n $hU;\n tolerance 1e-10;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n nOuterCorrectors 3;\n nCorrectors 1;\n nNonOrthogonalCorrectors 0;\n\n momentumPredictor yes;\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 object controlDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\napplication shallowWaterFoam;\n\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 100;\n\ndeltaT 0.1;\n\nwriteControl runTime;\n\nwriteInterval 1;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable false;\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 object fvSchemes;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nddtSchemes\n{\n default CrankNicolson 0.9;\n}\n\ngradSchemes\n{\n default Gauss linear;\n}\n\ndivSchemes\n{\n default none;\n div(phiv,hU) Gauss LUST un;\n}\n\nlaplacianSchemes\n{\n default Gauss linear uncorrected;\n}\n\ninterpolationSchemes\n{\n default linear;\n}\n\nsnGradSchemes\n{\n default uncorrected;\n}\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 object blockMeshDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nconvertToMeters 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 sides\n {\n type patch;\n faces\n (\n (3 7 6 2)\n (1 5 4 0)\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 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", "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 object setFieldsDict;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\ndefaultFieldValues\n(\n volScalarFieldValue h0 0\n volScalarFieldValue h 0.08\n volVectorFieldValue hU (0.001 0 0)\n);\n\nregions\n(\n boxToCell\n {\n box (0.45 0.45 0) (0.55 0.55 0.1);\n\n fieldValues\n (\n volScalarFieldValue h0 0.001\n volScalarFieldValue h 0.009\n volVectorFieldValue hU (0.0009 0 0)\n );\n }\n);\n\n// ************************************************************************* //\n" }, "Cavity/7": { "usr_requirement": "do an incompressible lid driven cavity flow using pisoFoam. 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 units) and entire domain scaled down by a factor of 0.1 making it effectively 2D. 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 2m/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-03 m^2/s. Use OpenFOAM-13 with the incompressibleFluid solver module, 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", "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\n turbulence on;\n\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;\n\nnu 1e-03 [m^2/s];\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 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\n fixedWalls\n {\n type zeroGradient;\n }\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 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\n fixedWalls\n {\n type zeroGradient;\n }\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.00754;\n\nboundaryField\n{\n movingWall\n {\n type epsilonWallFunction;\n value uniform 0.00754;\n }\n fixedWalls\n {\n type epsilonWallFunction;\n value uniform 0.00754;\n }\n frontAndBack\n {\n type empty;\n }\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// ************************************************************************* //\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 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 (2 0 0);\n }\n\n fixedWalls\n {\n type noSlip;\n }\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// ************************************************************************* //\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 22.4;\n\nboundaryField\n{\n movingWall\n {\n type omegaWallFunction;\n value uniform 22.4;\n }\n fixedWalls\n {\n type omegaWallFunction;\n value uniform 22.4;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\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 tolerance 1e-06;\n relTol 0.1;\n smoother GaussSeidel;\n }\n\n pFinal\n {\n $p;\n tolerance 1e-06;\n relTol 0;\n }\n\n \"(U|k|epsilon|omega|R|nuTilda).*\"\n {\n solver smoothSolver;\n smoother GaussSeidel;\n tolerance 1e-05;\n relTol 0;\n }\n}\n\nPISO\n{\n nCorrectors 2;\n nNonOrthogonalCorrectors 0;\n pRefCell 0;\n pRefValue 0;\n}\n\n\n\nPIMPLE\n{\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 pisoFoam;\nsolver incompressibleFluid;\n\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 10.0;\n\ndeltaT 0.005;\n\nwriteControl timeStep;\n\nwriteInterval 100;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable true;\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,k) Gauss limitedLinear 1;\n div(phi,epsilon) Gauss limitedLinear 1;\n div(phi,omega) Gauss limitedLinear 1;\n div(phi,R) Gauss limitedLinear 1;\n div(R) Gauss linear;\n div(phi,nuTilda) 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\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 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" }, "Cavity/6": { "usr_requirement": "do an incompressible lid driven cavity flow using pisoFoam. 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 units) and entire domain scaled down by a factor of 0.1 making it effectively 2D. 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 2m/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-04 m^2/s. Use OpenFOAM-13 with the incompressibleFluid solver module, 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", "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\n turbulence on;\n\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;\n\nnu 1e-04 [m^2/s];\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 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\n fixedWalls\n {\n type zeroGradient;\n }\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 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\n fixedWalls\n {\n type zeroGradient;\n }\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.00754;\n\nboundaryField\n{\n movingWall\n {\n type epsilonWallFunction;\n value uniform 0.00754;\n }\n fixedWalls\n {\n type epsilonWallFunction;\n value uniform 0.00754;\n }\n frontAndBack\n {\n type empty;\n }\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// ************************************************************************* //\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 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 (2 0 0);\n }\n\n fixedWalls\n {\n type noSlip;\n }\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// ************************************************************************* //\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 22.4;\n\nboundaryField\n{\n movingWall\n {\n type omegaWallFunction;\n value uniform 22.4;\n }\n fixedWalls\n {\n type omegaWallFunction;\n value uniform 22.4;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\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 tolerance 1e-06;\n relTol 0.1;\n smoother GaussSeidel;\n }\n\n pFinal\n {\n $p;\n tolerance 1e-06;\n relTol 0;\n }\n\n \"(U|k|epsilon|omega|R|nuTilda).*\"\n {\n solver smoothSolver;\n smoother GaussSeidel;\n tolerance 1e-05;\n relTol 0;\n }\n}\n\nPISO\n{\n nCorrectors 2;\n nNonOrthogonalCorrectors 0;\n pRefCell 0;\n pRefValue 0;\n}\n\n\n\nPIMPLE\n{\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 pisoFoam;\nsolver incompressibleFluid;\n\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 10.0;\n\ndeltaT 0.005;\n\nwriteControl timeStep;\n\nwriteInterval 100;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable true;\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,k) Gauss limitedLinear 1;\n div(phi,epsilon) Gauss limitedLinear 1;\n div(phi,omega) Gauss limitedLinear 1;\n div(phi,R) Gauss limitedLinear 1;\n div(R) Gauss linear;\n div(phi,nuTilda) 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\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 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" }, "Cavity/3": { "usr_requirement": "do an incompressible lid driven cavity flow using pisoFoam. 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 units) and entire domain scaled down by a factor of 0.1 making it effectively 2D. 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.5m/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 simulations 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-04 m^2/s. Use OpenFOAM-13 with the incompressibleFluid solver module, 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", "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\n turbulence on;\n\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;\n\nnu 1e-04 [m^2/s];\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 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\n fixedWalls\n {\n type zeroGradient;\n }\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 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\n fixedWalls\n {\n type zeroGradient;\n }\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.00754;\n\nboundaryField\n{\n movingWall\n {\n type epsilonWallFunction;\n value uniform 0.00754;\n }\n fixedWalls\n {\n type epsilonWallFunction;\n value uniform 0.00754;\n }\n frontAndBack\n {\n type empty;\n }\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// ************************************************************************* //\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 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.5 0 0);\n }\n\n fixedWalls\n {\n type noSlip;\n }\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// ************************************************************************* //\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 22.4;\n\nboundaryField\n{\n movingWall\n {\n type omegaWallFunction;\n value uniform 22.4;\n }\n fixedWalls\n {\n type omegaWallFunction;\n value uniform 22.4;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\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 tolerance 1e-06;\n relTol 0.1;\n smoother GaussSeidel;\n }\n\n pFinal\n {\n $p;\n tolerance 1e-06;\n relTol 0;\n }\n\n \"(U|k|epsilon|omega|R|nuTilda).*\"\n {\n solver smoothSolver;\n smoother GaussSeidel;\n tolerance 1e-05;\n relTol 0;\n }\n}\n\nPISO\n{\n nCorrectors 2;\n nNonOrthogonalCorrectors 0;\n pRefCell 0;\n pRefValue 0;\n}\n\n\n\nPIMPLE\n{\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 pisoFoam;\nsolver incompressibleFluid;\n\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 10.0;\n\ndeltaT 0.005;\n\nwriteControl timeStep;\n\nwriteInterval 100;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable true;\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,k) Gauss limitedLinear 1;\n div(phi,epsilon) Gauss limitedLinear 1;\n div(phi,omega) Gauss limitedLinear 1;\n div(phi,R) Gauss limitedLinear 1;\n div(R) Gauss linear;\n div(phi,nuTilda) 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\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 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" }, "Cavity/5": { "usr_requirement": "do an incompressible lid driven cavity flow using pisoFoam. 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 units) and entire domain scaled down by a factor of 0.1 making it effectively 2D. 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 2m/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 the incompressibleFluid solver module, 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", "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\n turbulence on;\n\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;\n\nnu 1e-05 [m^2/s];\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 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\n fixedWalls\n {\n type zeroGradient;\n }\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 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\n fixedWalls\n {\n type zeroGradient;\n }\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.00754;\n\nboundaryField\n{\n movingWall\n {\n type epsilonWallFunction;\n value uniform 0.00754;\n }\n fixedWalls\n {\n type epsilonWallFunction;\n value uniform 0.00754;\n }\n frontAndBack\n {\n type empty;\n }\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// ************************************************************************* //\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 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 (2 0 0);\n }\n\n fixedWalls\n {\n type noSlip;\n }\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// ************************************************************************* //\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 22.4;\n\nboundaryField\n{\n movingWall\n {\n type omegaWallFunction;\n value uniform 22.4;\n }\n fixedWalls\n {\n type omegaWallFunction;\n value uniform 22.4;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\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 tolerance 1e-06;\n relTol 0.1;\n smoother GaussSeidel;\n }\n\n pFinal\n {\n $p;\n tolerance 1e-06;\n relTol 0;\n }\n\n \"(U|k|epsilon|omega|R|nuTilda).*\"\n {\n solver smoothSolver;\n smoother GaussSeidel;\n tolerance 1e-05;\n relTol 0;\n }\n}\n\nPISO\n{\n nCorrectors 2;\n nNonOrthogonalCorrectors 0;\n pRefCell 0;\n pRefValue 0;\n}\n\n\n\nPIMPLE\n{\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 pisoFoam;\nsolver incompressibleFluid;\n\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 10.0;\n\ndeltaT 0.005;\n\nwriteControl timeStep;\n\nwriteInterval 100;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable true;\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,k) Gauss limitedLinear 1;\n div(phi,epsilon) Gauss limitedLinear 1;\n div(phi,omega) Gauss limitedLinear 1;\n div(phi,R) Gauss limitedLinear 1;\n div(R) Gauss linear;\n div(phi,nuTilda) 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\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 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" }, "Cavity/2": { "usr_requirement": "do an incompressible lid driven cavity flow using pisoFoam. 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 units) and entire domain scaled down by a factor of 0.1 making it effectively 2D. 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.5m/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 the incompressibleFluid solver module, 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", "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\n turbulence on;\n\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;\n\nnu 1e-05 [m^2/s];\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 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\n fixedWalls\n {\n type zeroGradient;\n }\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 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\n fixedWalls\n {\n type zeroGradient;\n }\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.00754;\n\nboundaryField\n{\n movingWall\n {\n type epsilonWallFunction;\n value uniform 0.00754;\n }\n fixedWalls\n {\n type epsilonWallFunction;\n value uniform 0.00754;\n }\n frontAndBack\n {\n type empty;\n }\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// ************************************************************************* //\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 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.5 0 0);\n }\n\n fixedWalls\n {\n type noSlip;\n }\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// ************************************************************************* //\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 22.4;\n\nboundaryField\n{\n movingWall\n {\n type omegaWallFunction;\n value uniform 22.4;\n }\n fixedWalls\n {\n type omegaWallFunction;\n value uniform 22.4;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\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 tolerance 1e-06;\n relTol 0.1;\n smoother GaussSeidel;\n }\n\n pFinal\n {\n $p;\n tolerance 1e-06;\n relTol 0;\n }\n\n \"(U|k|epsilon|omega|R|nuTilda).*\"\n {\n solver smoothSolver;\n smoother GaussSeidel;\n tolerance 1e-05;\n relTol 0;\n }\n}\n\nPISO\n{\n nCorrectors 2;\n nNonOrthogonalCorrectors 0;\n pRefCell 0;\n pRefValue 0;\n}\n\n\n\nPIMPLE\n{\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 pisoFoam;\nsolver incompressibleFluid;\n\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 10.0;\n\ndeltaT 0.005;\n\nwriteControl timeStep;\n\nwriteInterval 100;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable true;\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,k) Gauss limitedLinear 1;\n div(phi,epsilon) Gauss limitedLinear 1;\n div(phi,omega) Gauss limitedLinear 1;\n div(phi,R) Gauss limitedLinear 1;\n div(R) Gauss linear;\n div(phi,nuTilda) 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\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 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" }, "Cavity/4": { "usr_requirement": "do an incompressible lid driven cavity flow using pisoFoam. 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 units) and entire domain scaled down by a factor of 0.1 making it effectively 2D. 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.5m/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-03 m^2/s. Use OpenFOAM-13 with the incompressibleFluid solver module, 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", "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\n turbulence on;\n\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;\n\nnu 1e-03 [m^2/s];\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 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\n fixedWalls\n {\n type zeroGradient;\n }\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 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\n fixedWalls\n {\n type zeroGradient;\n }\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.00754;\n\nboundaryField\n{\n movingWall\n {\n type epsilonWallFunction;\n value uniform 0.00754;\n }\n fixedWalls\n {\n type epsilonWallFunction;\n value uniform 0.00754;\n }\n frontAndBack\n {\n type empty;\n }\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// ************************************************************************* //\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 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.5 0 0);\n }\n\n fixedWalls\n {\n type noSlip;\n }\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// ************************************************************************* //\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 22.4;\n\nboundaryField\n{\n movingWall\n {\n type omegaWallFunction;\n value uniform 22.4;\n }\n fixedWalls\n {\n type omegaWallFunction;\n value uniform 22.4;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\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 tolerance 1e-06;\n relTol 0.1;\n smoother GaussSeidel;\n }\n\n pFinal\n {\n $p;\n tolerance 1e-06;\n relTol 0;\n }\n\n \"(U|k|epsilon|omega|R|nuTilda).*\"\n {\n solver smoothSolver;\n smoother GaussSeidel;\n tolerance 1e-05;\n relTol 0;\n }\n}\n\nPISO\n{\n nCorrectors 2;\n nNonOrthogonalCorrectors 0;\n pRefCell 0;\n pRefValue 0;\n}\n\n\n\nPIMPLE\n{\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 pisoFoam;\nsolver incompressibleFluid;\n\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 10.0;\n\ndeltaT 0.005;\n\nwriteControl timeStep;\n\nwriteInterval 100;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable true;\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,k) Gauss limitedLinear 1;\n div(phi,epsilon) Gauss limitedLinear 1;\n div(phi,omega) Gauss limitedLinear 1;\n div(phi,R) Gauss limitedLinear 1;\n div(R) Gauss linear;\n div(phi,nuTilda) 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\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 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" }, "Cavity/1": { "usr_requirement": "do an incompressible lid driven cavity flow using pisoFoam. 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 units) and entire domain scaled down by a factor of 0.1 making it effectively 2D. 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 the incompressibleFluid solver module, 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", "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\n turbulence on;\n\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;\n\nnu 1e-05 [m^2/s];\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 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\n fixedWalls\n {\n type zeroGradient;\n }\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 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\n fixedWalls\n {\n type zeroGradient;\n }\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.00754;\n\nboundaryField\n{\n movingWall\n {\n type epsilonWallFunction;\n value uniform 0.00754;\n }\n fixedWalls\n {\n type epsilonWallFunction;\n value uniform 0.00754;\n }\n frontAndBack\n {\n type empty;\n }\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// ************************************************************************* //\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 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\n fixedWalls\n {\n type noSlip;\n }\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// ************************************************************************* //\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 22.4;\n\nboundaryField\n{\n movingWall\n {\n type omegaWallFunction;\n value uniform 22.4;\n }\n fixedWalls\n {\n type omegaWallFunction;\n value uniform 22.4;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\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 tolerance 1e-06;\n relTol 0.1;\n smoother GaussSeidel;\n }\n\n pFinal\n {\n $p;\n tolerance 1e-06;\n relTol 0;\n }\n\n \"(U|k|epsilon|omega|R|nuTilda).*\"\n {\n solver smoothSolver;\n smoother GaussSeidel;\n tolerance 1e-05;\n relTol 0;\n }\n}\n\nPISO\n{\n nCorrectors 2;\n nNonOrthogonalCorrectors 0;\n pRefCell 0;\n pRefValue 0;\n}\n\n\n\nPIMPLE\n{\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 pisoFoam;\nsolver incompressibleFluid;\n\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 10.0;\n\ndeltaT 0.005;\n\nwriteControl timeStep;\n\nwriteInterval 100;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable true;\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,k) Gauss limitedLinear 1;\n div(phi,epsilon) Gauss limitedLinear 1;\n div(phi,omega) Gauss limitedLinear 1;\n div(phi,R) Gauss limitedLinear 1;\n div(R) Gauss linear;\n div(phi,nuTilda) 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\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 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" }, "Cavity/9": { "usr_requirement": "do an incompressible lid driven cavity flow using pisoFoam. 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 units) and entire domain scaled down by a factor of 0.1 making it effectively 2D. 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 3m/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-04 m^2/s. Use OpenFOAM-13 with the incompressibleFluid solver module, 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", "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\n turbulence on;\n\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;\n\nnu 1e-04 [m^2/s];\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 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\n fixedWalls\n {\n type zeroGradient;\n }\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 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\n fixedWalls\n {\n type zeroGradient;\n }\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.00754;\n\nboundaryField\n{\n movingWall\n {\n type epsilonWallFunction;\n value uniform 0.00754;\n }\n fixedWalls\n {\n type epsilonWallFunction;\n value uniform 0.00754;\n }\n frontAndBack\n {\n type empty;\n }\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// ************************************************************************* //\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 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 (3 0 0);\n }\n\n fixedWalls\n {\n type noSlip;\n }\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// ************************************************************************* //\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 22.4;\n\nboundaryField\n{\n movingWall\n {\n type omegaWallFunction;\n value uniform 22.4;\n }\n fixedWalls\n {\n type omegaWallFunction;\n value uniform 22.4;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\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 tolerance 1e-06;\n relTol 0.1;\n smoother GaussSeidel;\n }\n\n pFinal\n {\n $p;\n tolerance 1e-06;\n relTol 0;\n }\n\n \"(U|k|epsilon|omega|R|nuTilda).*\"\n {\n solver smoothSolver;\n smoother GaussSeidel;\n tolerance 1e-05;\n relTol 0;\n }\n}\n\nPISO\n{\n nCorrectors 2;\n nNonOrthogonalCorrectors 0;\n pRefCell 0;\n pRefValue 0;\n}\n\n\n\nPIMPLE\n{\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 pisoFoam;\nsolver incompressibleFluid;\n\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 10.0;\n\ndeltaT 0.005;\n\nwriteControl timeStep;\n\nwriteInterval 100;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable true;\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,k) Gauss limitedLinear 1;\n div(phi,epsilon) Gauss limitedLinear 1;\n div(phi,omega) Gauss limitedLinear 1;\n div(phi,R) Gauss limitedLinear 1;\n div(R) Gauss linear;\n div(phi,nuTilda) 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\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 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" }, "Cavity/10": { "usr_requirement": "do an incompressible lid driven cavity flow using pisoFoam. 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 units) and entire domain scaled down by a factor of 0.1 making it effectively 2D. 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 3m/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-03 m^2/s. Use OpenFOAM-13 with the incompressibleFluid solver module, 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", "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\n turbulence on;\n\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;\n\nnu 1e-03 [m^2/s];\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 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\n fixedWalls\n {\n type zeroGradient;\n }\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 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\n fixedWalls\n {\n type zeroGradient;\n }\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.00754;\n\nboundaryField\n{\n movingWall\n {\n type epsilonWallFunction;\n value uniform 0.00754;\n }\n fixedWalls\n {\n type epsilonWallFunction;\n value uniform 0.00754;\n }\n frontAndBack\n {\n type empty;\n }\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// ************************************************************************* //\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 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 (3 0 0);\n }\n\n fixedWalls\n {\n type noSlip;\n }\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// ************************************************************************* //\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 22.4;\n\nboundaryField\n{\n movingWall\n {\n type omegaWallFunction;\n value uniform 22.4;\n }\n fixedWalls\n {\n type omegaWallFunction;\n value uniform 22.4;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\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 tolerance 1e-06;\n relTol 0.1;\n smoother GaussSeidel;\n }\n\n pFinal\n {\n $p;\n tolerance 1e-06;\n relTol 0;\n }\n\n \"(U|k|epsilon|omega|R|nuTilda).*\"\n {\n solver smoothSolver;\n smoother GaussSeidel;\n tolerance 1e-05;\n relTol 0;\n }\n}\n\nPISO\n{\n nCorrectors 2;\n nNonOrthogonalCorrectors 0;\n pRefCell 0;\n pRefValue 0;\n}\n\n\n\nPIMPLE\n{\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 pisoFoam;\nsolver incompressibleFluid;\n\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 10.0;\n\ndeltaT 0.005;\n\nwriteControl timeStep;\n\nwriteInterval 100;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable true;\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,k) Gauss limitedLinear 1;\n div(phi,epsilon) Gauss limitedLinear 1;\n div(phi,omega) Gauss limitedLinear 1;\n div(phi,R) Gauss limitedLinear 1;\n div(R) Gauss linear;\n div(phi,nuTilda) 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\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 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" }, "Cavity/8": { "usr_requirement": "do an incompressible lid driven cavity flow using pisoFoam. 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 units) and entire domain scaled down by a factor of 0.1 making it effectively 2D. 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 3m/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 the incompressibleFluid solver module, 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", "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\n turbulence on;\n\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;\n\nnu 1e-05 [m^2/s];\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 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\n fixedWalls\n {\n type zeroGradient;\n }\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 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\n fixedWalls\n {\n type zeroGradient;\n }\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.00754;\n\nboundaryField\n{\n movingWall\n {\n type epsilonWallFunction;\n value uniform 0.00754;\n }\n fixedWalls\n {\n type epsilonWallFunction;\n value uniform 0.00754;\n }\n frontAndBack\n {\n type empty;\n }\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// ************************************************************************* //\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 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 (3 0 0);\n }\n\n fixedWalls\n {\n type noSlip;\n }\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// ************************************************************************* //\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 22.4;\n\nboundaryField\n{\n movingWall\n {\n type omegaWallFunction;\n value uniform 22.4;\n }\n fixedWalls\n {\n type omegaWallFunction;\n value uniform 22.4;\n }\n frontAndBack\n {\n type empty;\n }\n}\n\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 tolerance 1e-06;\n relTol 0.1;\n smoother GaussSeidel;\n }\n\n pFinal\n {\n $p;\n tolerance 1e-06;\n relTol 0;\n }\n\n \"(U|k|epsilon|omega|R|nuTilda).*\"\n {\n solver smoothSolver;\n smoother GaussSeidel;\n tolerance 1e-05;\n relTol 0;\n }\n}\n\nPISO\n{\n nCorrectors 2;\n nNonOrthogonalCorrectors 0;\n pRefCell 0;\n pRefValue 0;\n}\n\n\n\nPIMPLE\n{\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 pisoFoam;\nsolver incompressibleFluid;\n\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 10.0;\n\ndeltaT 0.005;\n\nwriteControl timeStep;\n\nwriteInterval 100;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable true;\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,k) Gauss limitedLinear 1;\n div(phi,epsilon) Gauss limitedLinear 1;\n div(phi,omega) Gauss limitedLinear 1;\n div(phi,R) Gauss limitedLinear 1;\n div(R) Gauss linear;\n div(phi,nuTilda) 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\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 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" }, "Cylinder/7": { "usr_requirement": "do a laminar offsetcylinder simulation. Use PIMPLE algorithm with a generalized Newtonian model and Cross-Power-Law viscosity for momentum transport, characterized by specific parameters nuInf=10, m=0.4, n=3. Boundary conditions specify a fixed velocity of 2m/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 1e-01 in physical properties. Use OpenFOAM-13 with the incompressibleFluid solver module, 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", "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 object momentumTransport;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nsimulationType laminar;\n\nlaminar\n{\n model generalisedNewtonian;\n\n viscosityModel CrossPowerLaw;\n\n nuInf 10;\n m 0.4;\n n 3;\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;\n\nnu 1e-01;\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 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\n right\n {\n type fixedValue;\n value uniform 0;\n }\n\n down\n {\n type zeroGradient;\n }\n\n up\n {\n type zeroGradient;\n }\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 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 (2 0 0);\n }\n\n right\n {\n type zeroGradient;\n }\n\n down\n {\n type noSlip;\n }\n\n up\n {\n type noSlip;\n }\n\n cylinder\n {\n type noSlip;\n }\n\n defaultFaces\n {\n type empty;\n }\n}\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 DIC;\n\n tolerance 1e-6;\n relTol 0.1;\n }\n\n pFinal\n {\n $p;\n relTol 0;\n }\n\n \"U.*\"\n {\n solver PBiCGStab;\n preconditioner DILU;\n\n tolerance 1e-5;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n momentumPredictor no;\n nOuterCorrectors 5;\n nCorrectors 1;\n nNonOrthogonalCorrectors 0;\n transportPredictionFirst yes;\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 pimpleFoam;\nsolver incompressibleFluid;\n\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 0.5;\n\ndeltaT 0.0025;\n\nwriteControl runTime;\n\nwriteInterval 0.05;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable true;\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 leastSquares;\n}\n\ndivSchemes\n{\n default none;\n\n div(phi,U) Gauss linear;\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\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 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" }, "Cylinder/6": { "usr_requirement": "do a laminar offsetcylinder simulation. Use PIMPLE algorithm with a generalized Newtonian model and Cross-Power-Law viscosity for momentum transport, characterized by specific parameters nuInf=10, m=0.4, n=3. Boundary conditions specify a fixed velocity of 2m/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 1e-02 in physical properties. Use OpenFOAM-13 with the incompressibleFluid solver module, 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", "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 object momentumTransport;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nsimulationType laminar;\n\nlaminar\n{\n model generalisedNewtonian;\n\n viscosityModel CrossPowerLaw;\n\n nuInf 10;\n m 0.4;\n n 3;\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;\n\nnu 1e-02;\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 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\n right\n {\n type fixedValue;\n value uniform 0;\n }\n\n down\n {\n type zeroGradient;\n }\n\n up\n {\n type zeroGradient;\n }\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 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 (2 0 0);\n }\n\n right\n {\n type zeroGradient;\n }\n\n down\n {\n type noSlip;\n }\n\n up\n {\n type noSlip;\n }\n\n cylinder\n {\n type noSlip;\n }\n\n defaultFaces\n {\n type empty;\n }\n}\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 DIC;\n\n tolerance 1e-6;\n relTol 0.1;\n }\n\n pFinal\n {\n $p;\n relTol 0;\n }\n\n \"U.*\"\n {\n solver PBiCGStab;\n preconditioner DILU;\n\n tolerance 1e-5;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n momentumPredictor no;\n nOuterCorrectors 5;\n nCorrectors 1;\n nNonOrthogonalCorrectors 0;\n transportPredictionFirst yes;\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 pimpleFoam;\nsolver incompressibleFluid;\n\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 0.5;\n\ndeltaT 0.0025;\n\nwriteControl runTime;\n\nwriteInterval 0.05;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable true;\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 leastSquares;\n}\n\ndivSchemes\n{\n default none;\n\n div(phi,U) Gauss linear;\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\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 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" }, "Cylinder/3": { "usr_requirement": "do a laminar offsetcylinder simulation. Use PIMPLE algorithm with a generalized Newtonian model and Cross-Power-Law viscosity for momentum transport, characterized by specific parameters nuInf=10, m=0.4, n=3. Boundary conditions specify a fixed velocity of 1.5m/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 1e-02 in physical properties. Use OpenFOAM-13 with the incompressibleFluid solver module, 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", "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 object momentumTransport;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nsimulationType laminar;\n\nlaminar\n{\n model generalisedNewtonian;\n\n viscosityModel CrossPowerLaw;\n\n nuInf 10;\n m 0.4;\n n 3;\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;\n\nnu 1e-02;\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 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\n right\n {\n type fixedValue;\n value uniform 0;\n }\n\n down\n {\n type zeroGradient;\n }\n\n up\n {\n type zeroGradient;\n }\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 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.5 0 0);\n }\n\n right\n {\n type zeroGradient;\n }\n\n down\n {\n type noSlip;\n }\n\n up\n {\n type noSlip;\n }\n\n cylinder\n {\n type noSlip;\n }\n\n defaultFaces\n {\n type empty;\n }\n}\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 DIC;\n\n tolerance 1e-6;\n relTol 0.1;\n }\n\n pFinal\n {\n $p;\n relTol 0;\n }\n\n \"U.*\"\n {\n solver PBiCGStab;\n preconditioner DILU;\n\n tolerance 1e-5;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n momentumPredictor no;\n nOuterCorrectors 5;\n nCorrectors 1;\n nNonOrthogonalCorrectors 0;\n transportPredictionFirst yes;\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 pimpleFoam;\nsolver incompressibleFluid;\n\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 0.5;\n\ndeltaT 0.0025;\n\nwriteControl runTime;\n\nwriteInterval 0.05;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable true;\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 leastSquares;\n}\n\ndivSchemes\n{\n default none;\n\n div(phi,U) Gauss linear;\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\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 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" }, "Cylinder/5": { "usr_requirement": "do a laminar offsetcylinder simulation. Use PIMPLE algorithm with a generalized Newtonian model and Cross-Power-Law viscosity for momentum transport, characterized by specific parameters nuInf=10, m=0.4, n=3. Boundary conditions specify a fixed velocity of 2m/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 1e-03 in physical properties. Use OpenFOAM-13 with the incompressibleFluid solver module, 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", "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 object momentumTransport;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nsimulationType laminar;\n\nlaminar\n{\n model generalisedNewtonian;\n\n viscosityModel CrossPowerLaw;\n\n nuInf 10;\n m 0.4;\n n 3;\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;\n\nnu 1e-03;\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 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\n right\n {\n type fixedValue;\n value uniform 0;\n }\n\n down\n {\n type zeroGradient;\n }\n\n up\n {\n type zeroGradient;\n }\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 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 (2 0 0);\n }\n\n right\n {\n type zeroGradient;\n }\n\n down\n {\n type noSlip;\n }\n\n up\n {\n type noSlip;\n }\n\n cylinder\n {\n type noSlip;\n }\n\n defaultFaces\n {\n type empty;\n }\n}\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 DIC;\n\n tolerance 1e-6;\n relTol 0.1;\n }\n\n pFinal\n {\n $p;\n relTol 0;\n }\n\n \"U.*\"\n {\n solver PBiCGStab;\n preconditioner DILU;\n\n tolerance 1e-5;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n momentumPredictor no;\n nOuterCorrectors 5;\n nCorrectors 1;\n nNonOrthogonalCorrectors 0;\n transportPredictionFirst yes;\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 pimpleFoam;\nsolver incompressibleFluid;\n\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 0.5;\n\ndeltaT 0.0025;\n\nwriteControl runTime;\n\nwriteInterval 0.05;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable true;\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 leastSquares;\n}\n\ndivSchemes\n{\n default none;\n\n div(phi,U) Gauss linear;\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\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 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" }, "Cylinder/2": { "usr_requirement": "do a laminar offsetcylinder simulation. Use PIMPLE algorithm with a generalized Newtonian model and Cross-Power-Law viscosity for momentum transport, characterized by specific parameters nuInf=10, m=0.4, n=3. Boundary conditions specify a fixed velocity of 1.5m/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 1e-03 in physical properties. Use OpenFOAM-13 with the incompressibleFluid solver module, 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", "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 object momentumTransport;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nsimulationType laminar;\n\nlaminar\n{\n model generalisedNewtonian;\n\n viscosityModel CrossPowerLaw;\n\n nuInf 10;\n m 0.4;\n n 3;\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;\n\nnu 1e-03;\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 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\n right\n {\n type fixedValue;\n value uniform 0;\n }\n\n down\n {\n type zeroGradient;\n }\n\n up\n {\n type zeroGradient;\n }\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 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.5 0 0);\n }\n\n right\n {\n type zeroGradient;\n }\n\n down\n {\n type noSlip;\n }\n\n up\n {\n type noSlip;\n }\n\n cylinder\n {\n type noSlip;\n }\n\n defaultFaces\n {\n type empty;\n }\n}\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 DIC;\n\n tolerance 1e-6;\n relTol 0.1;\n }\n\n pFinal\n {\n $p;\n relTol 0;\n }\n\n \"U.*\"\n {\n solver PBiCGStab;\n preconditioner DILU;\n\n tolerance 1e-5;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n momentumPredictor no;\n nOuterCorrectors 5;\n nCorrectors 1;\n nNonOrthogonalCorrectors 0;\n transportPredictionFirst yes;\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 pimpleFoam;\nsolver incompressibleFluid;\n\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 0.5;\n\ndeltaT 0.0025;\n\nwriteControl runTime;\n\nwriteInterval 0.05;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable true;\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 leastSquares;\n}\n\ndivSchemes\n{\n default none;\n\n div(phi,U) Gauss linear;\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\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 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" }, "Cylinder/4": { "usr_requirement": "do a laminar offsetcylinder simulation. Use PIMPLE algorithm with a generalized Newtonian model and Cross-Power-Law viscosity for momentum transport, characterized by specific parameters nuInf=10, m=0.4, n=3. Boundary conditions specify a fixed velocity of 1.5m/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 1e-01 in physical properties. Use OpenFOAM-13 with the incompressibleFluid solver module, 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", "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 object momentumTransport;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nsimulationType laminar;\n\nlaminar\n{\n model generalisedNewtonian;\n\n viscosityModel CrossPowerLaw;\n\n nuInf 10;\n m 0.4;\n n 3;\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;\n\nnu 1e-01;\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 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\n right\n {\n type fixedValue;\n value uniform 0;\n }\n\n down\n {\n type zeroGradient;\n }\n\n up\n {\n type zeroGradient;\n }\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 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.5 0 0);\n }\n\n right\n {\n type zeroGradient;\n }\n\n down\n {\n type noSlip;\n }\n\n up\n {\n type noSlip;\n }\n\n cylinder\n {\n type noSlip;\n }\n\n defaultFaces\n {\n type empty;\n }\n}\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 DIC;\n\n tolerance 1e-6;\n relTol 0.1;\n }\n\n pFinal\n {\n $p;\n relTol 0;\n }\n\n \"U.*\"\n {\n solver PBiCGStab;\n preconditioner DILU;\n\n tolerance 1e-5;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n momentumPredictor no;\n nOuterCorrectors 5;\n nCorrectors 1;\n nNonOrthogonalCorrectors 0;\n transportPredictionFirst yes;\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 pimpleFoam;\nsolver incompressibleFluid;\n\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 0.5;\n\ndeltaT 0.0025;\n\nwriteControl runTime;\n\nwriteInterval 0.05;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable true;\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 leastSquares;\n}\n\ndivSchemes\n{\n default none;\n\n div(phi,U) Gauss linear;\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\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 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" }, "Cylinder/1": { "usr_requirement": "do a laminar offsetcylinder simulation. Use PIMPLE algorithm with a generalized Newtonian model and Cross-Power-Law viscosity for momentum transport, characterized by specific parameters nuInf=10, m=0.4, n=3. 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 the incompressibleFluid solver module, 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", "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 object momentumTransport;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nsimulationType laminar;\n\nlaminar\n{\n model generalisedNewtonian;\n\n viscosityModel CrossPowerLaw;\n\n nuInf 10;\n m 0.4;\n n 3;\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;\n\nnu 0.01;\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 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\n right\n {\n type fixedValue;\n value uniform 0;\n }\n\n down\n {\n type zeroGradient;\n }\n\n up\n {\n type zeroGradient;\n }\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 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\n right\n {\n type zeroGradient;\n }\n\n down\n {\n type noSlip;\n }\n\n up\n {\n type noSlip;\n }\n\n cylinder\n {\n type noSlip;\n }\n\n defaultFaces\n {\n type empty;\n }\n}\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 DIC;\n\n tolerance 1e-6;\n relTol 0.1;\n }\n\n pFinal\n {\n $p;\n relTol 0;\n }\n\n \"U.*\"\n {\n solver PBiCGStab;\n preconditioner DILU;\n\n tolerance 1e-5;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n momentumPredictor no;\n nOuterCorrectors 5;\n nCorrectors 1;\n nNonOrthogonalCorrectors 0;\n transportPredictionFirst yes;\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 pimpleFoam;\nsolver incompressibleFluid;\n\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 0.5;\n\ndeltaT 0.0025;\n\nwriteControl runTime;\n\nwriteInterval 0.05;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable true;\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 leastSquares;\n}\n\ndivSchemes\n{\n default none;\n\n div(phi,U) Gauss linear;\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\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 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" }, "Cylinder/9": { "usr_requirement": "do a laminar offsetcylinder simulation. Use PIMPLE algorithm with a generalized Newtonian model and Cross-Power-Law viscosity for momentum transport, characterized by specific parameters nuInf=10, m=0.4, n=3. Boundary conditions specify a fixed velocity of 3m/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 1e-02 in physical properties. Use OpenFOAM-13 with the incompressibleFluid solver module, 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", "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 object momentumTransport;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nsimulationType laminar;\n\nlaminar\n{\n model generalisedNewtonian;\n\n viscosityModel CrossPowerLaw;\n\n nuInf 10;\n m 0.4;\n n 3;\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;\n\nnu 1e-02;\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 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\n right\n {\n type fixedValue;\n value uniform 0;\n }\n\n down\n {\n type zeroGradient;\n }\n\n up\n {\n type zeroGradient;\n }\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 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 (3 0 0);\n }\n\n right\n {\n type zeroGradient;\n }\n\n down\n {\n type noSlip;\n }\n\n up\n {\n type noSlip;\n }\n\n cylinder\n {\n type noSlip;\n }\n\n defaultFaces\n {\n type empty;\n }\n}\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 DIC;\n\n tolerance 1e-6;\n relTol 0.1;\n }\n\n pFinal\n {\n $p;\n relTol 0;\n }\n\n \"U.*\"\n {\n solver PBiCGStab;\n preconditioner DILU;\n\n tolerance 1e-5;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n momentumPredictor no;\n nOuterCorrectors 5;\n nCorrectors 1;\n nNonOrthogonalCorrectors 0;\n transportPredictionFirst yes;\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 pimpleFoam;\nsolver incompressibleFluid;\n\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 0.5;\n\ndeltaT 0.0025;\n\nwriteControl runTime;\n\nwriteInterval 0.05;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable true;\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 leastSquares;\n}\n\ndivSchemes\n{\n default none;\n\n div(phi,U) Gauss linear;\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\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 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" }, "Cylinder/10": { "usr_requirement": "do a laminar offsetcylinder simulation. Use PIMPLE algorithm with a generalized Newtonian model and Cross-Power-Law viscosity for momentum transport, characterized by specific parameters nuInf=10, m=0.4, n=3. Boundary conditions specify a fixed velocity of 3m/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 1e-01 in physical properties. Use OpenFOAM-13 with the incompressibleFluid solver module, 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", "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 object momentumTransport;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nsimulationType laminar;\n\nlaminar\n{\n model generalisedNewtonian;\n\n viscosityModel CrossPowerLaw;\n\n nuInf 10;\n m 0.4;\n n 3;\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;\n\nnu 1e-01;\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 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\n right\n {\n type fixedValue;\n value uniform 0;\n }\n\n down\n {\n type zeroGradient;\n }\n\n up\n {\n type zeroGradient;\n }\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 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 (3 0 0);\n }\n\n right\n {\n type zeroGradient;\n }\n\n down\n {\n type noSlip;\n }\n\n up\n {\n type noSlip;\n }\n\n cylinder\n {\n type noSlip;\n }\n\n defaultFaces\n {\n type empty;\n }\n}\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 DIC;\n\n tolerance 1e-6;\n relTol 0.1;\n }\n\n pFinal\n {\n $p;\n relTol 0;\n }\n\n \"U.*\"\n {\n solver PBiCGStab;\n preconditioner DILU;\n\n tolerance 1e-5;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n momentumPredictor no;\n nOuterCorrectors 5;\n nCorrectors 1;\n nNonOrthogonalCorrectors 0;\n transportPredictionFirst yes;\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 pimpleFoam;\nsolver incompressibleFluid;\n\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 0.5;\n\ndeltaT 0.0025;\n\nwriteControl runTime;\n\nwriteInterval 0.05;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable true;\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 leastSquares;\n}\n\ndivSchemes\n{\n default none;\n\n div(phi,U) Gauss linear;\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\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 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" }, "Cylinder/8": { "usr_requirement": "do a laminar offsetcylinder simulation. Use PIMPLE algorithm with a generalized Newtonian model and Cross-Power-Law viscosity for momentum transport, characterized by specific parameters nuInf=10, m=0.4, n=3. Boundary conditions specify a fixed velocity of 3m/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 1e-03 in physical properties. Use OpenFOAM-13 with the incompressibleFluid solver module, 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", "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 object momentumTransport;\n}\n// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n\nsimulationType laminar;\n\nlaminar\n{\n model generalisedNewtonian;\n\n viscosityModel CrossPowerLaw;\n\n nuInf 10;\n m 0.4;\n n 3;\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;\n\nnu 1e-03;\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 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\n right\n {\n type fixedValue;\n value uniform 0;\n }\n\n down\n {\n type zeroGradient;\n }\n\n up\n {\n type zeroGradient;\n }\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 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 (3 0 0);\n }\n\n right\n {\n type zeroGradient;\n }\n\n down\n {\n type noSlip;\n }\n\n up\n {\n type noSlip;\n }\n\n cylinder\n {\n type noSlip;\n }\n\n defaultFaces\n {\n type empty;\n }\n}\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 DIC;\n\n tolerance 1e-6;\n relTol 0.1;\n }\n\n pFinal\n {\n $p;\n relTol 0;\n }\n\n \"U.*\"\n {\n solver PBiCGStab;\n preconditioner DILU;\n\n tolerance 1e-5;\n relTol 0;\n }\n}\n\nPIMPLE\n{\n momentumPredictor no;\n nOuterCorrectors 5;\n nCorrectors 1;\n nNonOrthogonalCorrectors 0;\n transportPredictionFirst yes;\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 pimpleFoam;\nsolver incompressibleFluid;\n\nstartFrom startTime;\n\nstartTime 0;\n\nstopAt endTime;\n\nendTime 0.5;\n\ndeltaT 0.0025;\n\nwriteControl runTime;\n\nwriteInterval 0.05;\n\npurgeWrite 0;\n\nwriteFormat ascii;\n\nwritePrecision 6;\n\nwriteCompression off;\n\ntimeFormat general;\n\ntimePrecision 6;\n\nrunTimeModifiable true;\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 leastSquares;\n}\n\ndivSchemes\n{\n default none;\n\n div(phi,U) Gauss linear;\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\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 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" } }