From d29e728814558b809eaf46b9c82da345e953bb4c Mon Sep 17 00:00:00 2001 From: henry <Henry Weller h.weller@opencfd.co.uk> Date: Tue, 20 Jan 2009 16:28:26 +0000 Subject: [PATCH] Upgraded. --- tutorials/dieselFoam/aachenBomb/0/alphat | 32 +++++++++++++++++++ tutorials/dieselFoam/aachenBomb/0/epsilon | 28 ++++++---------- tutorials/dieselFoam/aachenBomb/0/k | 28 ++++++---------- tutorials/dieselFoam/aachenBomb/0/mut | 32 +++++++++++++++++++ .../aachenBomb/constant/polyMesh/boundary | 28 ++++++++++++++++ .../aachenBomb/constant/turbulenceProperties | 19 +++++++++++ 6 files changed, 131 insertions(+), 36 deletions(-) create mode 100644 tutorials/dieselFoam/aachenBomb/0/alphat create mode 100644 tutorials/dieselFoam/aachenBomb/0/mut create mode 100644 tutorials/dieselFoam/aachenBomb/constant/polyMesh/boundary create mode 100644 tutorials/dieselFoam/aachenBomb/constant/turbulenceProperties diff --git a/tutorials/dieselFoam/aachenBomb/0/alphat b/tutorials/dieselFoam/aachenBomb/0/alphat new file mode 100644 index 00000000000..1681c54f00a --- /dev/null +++ b/tutorials/dieselFoam/aachenBomb/0/alphat @@ -0,0 +1,32 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: dev | +| \\ / A nd | Web: www.OpenFOAM.org | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format binary; + class volScalarField; + location "0"; + object alphat; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [1 -1 -1 0 0 0 0]; + +internalField uniform 0; + +boundaryField +{ + walls + { + type alphatWallFunction; + value uniform 0; + } +} + + +// ************************************************************************* // diff --git a/tutorials/dieselFoam/aachenBomb/0/epsilon b/tutorials/dieselFoam/aachenBomb/0/epsilon index de3d91a3ed5..c14d3d7e021 100644 --- a/tutorials/dieselFoam/aachenBomb/0/epsilon +++ b/tutorials/dieselFoam/aachenBomb/0/epsilon @@ -1,40 +1,32 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / O peration | Version: dev | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; - format ascii; + format binary; class volScalarField; + location "0"; object epsilon; } -// ************************************************************************* // +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -dimensions [ 0 2 -3 0 0 0 0 ]; +dimensions [0 2 -3 0 0 0 0]; -internalField uniform 90.0; +internalField uniform 90; boundaryField { walls { - type zeroGradient; + type epsilonWallFunction; + value uniform 90; } - - front - { - type wedge; - } - - back - { - type wedge; - } - } + // ************************************************************************* // diff --git a/tutorials/dieselFoam/aachenBomb/0/k b/tutorials/dieselFoam/aachenBomb/0/k index 1ca9a40d69b..e6e58aecfaf 100644 --- a/tutorials/dieselFoam/aachenBomb/0/k +++ b/tutorials/dieselFoam/aachenBomb/0/k @@ -1,40 +1,32 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / O peration | Version: dev | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; - format ascii; + format binary; class volScalarField; + location "0"; object k; } -// ************************************************************************* // +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -dimensions [ 0 2 -2 0 0 0 0 ]; +dimensions [0 2 -2 0 0 0 0]; -internalField uniform 1.0; +internalField uniform 1; boundaryField { walls { - type zeroGradient; + type kQRWallFunction; + value uniform 1; } - - front - { - type wedge; - } - - back - { - type wedge; - } - } + // ************************************************************************* // diff --git a/tutorials/dieselFoam/aachenBomb/0/mut b/tutorials/dieselFoam/aachenBomb/0/mut new file mode 100644 index 00000000000..2750ce32ecd --- /dev/null +++ b/tutorials/dieselFoam/aachenBomb/0/mut @@ -0,0 +1,32 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: dev | +| \\ / A nd | Web: www.OpenFOAM.org | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format binary; + class volScalarField; + location "0"; + object mut; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [1 -1 -1 0 0 0 0]; + +internalField uniform 0; + +boundaryField +{ + walls + { + type mutWallFunction; + value uniform 0; + } +} + + +// ************************************************************************* // diff --git a/tutorials/dieselFoam/aachenBomb/constant/polyMesh/boundary b/tutorials/dieselFoam/aachenBomb/constant/polyMesh/boundary new file mode 100644 index 00000000000..5e28555623f --- /dev/null +++ b/tutorials/dieselFoam/aachenBomb/constant/polyMesh/boundary @@ -0,0 +1,28 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: dev | +| \\ / A nd | Web: www.OpenFOAM.org | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format binary; + class polyBoundaryMesh; + location "constant/polyMesh"; + object boundary; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +1 +( + walls + { + type wall; + nFaces 19762; + startFace 494419; + } +) + +// ************************************************************************* // diff --git a/tutorials/dieselFoam/aachenBomb/constant/turbulenceProperties b/tutorials/dieselFoam/aachenBomb/constant/turbulenceProperties new file mode 100644 index 00000000000..0474fdb0e7b --- /dev/null +++ b/tutorials/dieselFoam/aachenBomb/constant/turbulenceProperties @@ -0,0 +1,19 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: 1.5 | +| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object turbulenceProperties; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +simulationType RASModel; + +// ************************************************************************* // -- GitLab