mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
TUT: examples for PDRsetFields
This commit is contained in:
@ -0,0 +1,51 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: v1912 |
|
||||
| \\ / A nd | Website: www.openfoam.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
object GRep;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dimensions [0 -1 -1 0 0 0 0];
|
||||
|
||||
internalField uniform 0;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
outer
|
||||
{
|
||||
type inletOutlet;
|
||||
inletValue $internalField;
|
||||
value $internalField;
|
||||
}
|
||||
seaGround
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
blockedFaces
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
mergingFaces
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
wallFaces
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
ySymmetry
|
||||
{
|
||||
type symmetryPlane;
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,51 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: v1912 |
|
||||
| \\ / A nd | Website: www.openfoam.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
object GRxp;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dimensions [0 0 -1 0 0 0 0];
|
||||
|
||||
internalField uniform 0;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
outer
|
||||
{
|
||||
type inletOutlet;
|
||||
inletValue $internalField;
|
||||
value $internalField;
|
||||
}
|
||||
seaGround
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
blockedFaces
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
mergingFaces
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
wallFaces
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
ySymmetry
|
||||
{
|
||||
type symmetryPlane;
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,51 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: v1912 |
|
||||
| \\ / A nd | Website: www.openfoam.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
object RPers;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dimensions [0 0 -1 0 0 0 0];
|
||||
|
||||
internalField uniform 0;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
outer
|
||||
{
|
||||
type inletOutlet;
|
||||
inletValue $internalField;
|
||||
value $internalField;
|
||||
}
|
||||
seaGround
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
blockedFaces
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
mergingFaces
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
wallFaces
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
ySymmetry
|
||||
{
|
||||
type symmetryPlane;
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,51 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: v1912 |
|
||||
| \\ / A nd | Website: www.openfoam.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
object Su;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dimensions [0 1 -1 0 0 0 0];
|
||||
|
||||
internalField uniform 0.5;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
outer
|
||||
{
|
||||
type inletOutlet;
|
||||
inletValue $internalField;
|
||||
value $internalField;
|
||||
}
|
||||
seaGround
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
blockedFaces
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
mergingFaces
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
wallFaces
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
ySymmetry
|
||||
{
|
||||
type symmetryPlane;
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
51
tutorials/preProcessing/PDRsetFields/simplePipeCage/0.orig/T
Normal file
51
tutorials/preProcessing/PDRsetFields/simplePipeCage/0.orig/T
Normal file
@ -0,0 +1,51 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: v1912 |
|
||||
| \\ / A nd | Website: www.openfoam.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
object T;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dimensions [0 0 0 1 0 0 0];
|
||||
|
||||
internalField uniform 300;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
outer
|
||||
{
|
||||
type inletOutlet;
|
||||
inletValue $internalField;
|
||||
value $internalField;
|
||||
}
|
||||
seaGround
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
blockedFaces
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
mergingFaces
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
wallFaces
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
ySymmetry
|
||||
{
|
||||
type symmetryPlane;
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,51 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: v1912 |
|
||||
| \\ / A nd | Website: www.openfoam.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
object Tu;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dimensions [0 0 0 1 0 0 0];
|
||||
|
||||
internalField uniform 300;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
outer
|
||||
{
|
||||
type inletOutlet;
|
||||
inletValue $internalField;
|
||||
value $internalField;
|
||||
}
|
||||
seaGround
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
blockedFaces
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
mergingFaces
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
wallFaces
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
ySymmetry
|
||||
{
|
||||
type symmetryPlane;
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
54
tutorials/preProcessing/PDRsetFields/simplePipeCage/0.orig/U
Normal file
54
tutorials/preProcessing/PDRsetFields/simplePipeCage/0.orig/U
Normal file
@ -0,0 +1,54 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: v1912 |
|
||||
| \\ / A nd | Website: www.openfoam.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volVectorField;
|
||||
object U;
|
||||
}
|
||||
// ************************************************************************* //
|
||||
|
||||
dimensions [0 1 -1 0 0 0 0];
|
||||
|
||||
internalField uniform (0 0 0);
|
||||
|
||||
boundaryField
|
||||
{
|
||||
outer
|
||||
{
|
||||
type inletOutlet;
|
||||
inletValue $internalField;
|
||||
value $internalField;
|
||||
}
|
||||
seaGround
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
blockedFaces
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
}
|
||||
mergingFaces
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
}
|
||||
wallFaces
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
}
|
||||
ySymmetry
|
||||
{
|
||||
type symmetryPlane;
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,51 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: v1912 |
|
||||
| \\ / A nd | Website: www.openfoam.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
object Xi;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dimensions [0 0 0 0 0 0 0];
|
||||
|
||||
internalField uniform 1;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
outer
|
||||
{
|
||||
type inletOutlet;
|
||||
inletValue $internalField;
|
||||
value $internalField;
|
||||
}
|
||||
seaGround
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
blockedFaces
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
mergingFaces
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
wallFaces
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
ySymmetry
|
||||
{
|
||||
type symmetryPlane;
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,51 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: v1912 |
|
||||
| \\ / A nd | Website: www.openfoam.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
object Xp;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dimensions [0 0 0 0 0 0 0];
|
||||
|
||||
internalField uniform 1;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
outer
|
||||
{
|
||||
type inletOutlet;
|
||||
inletValue $internalField;
|
||||
value $internalField;
|
||||
}
|
||||
seaGround
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
blockedFaces
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
mergingFaces
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
wallFaces
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
ySymmetry
|
||||
{
|
||||
type symmetryPlane;
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
51
tutorials/preProcessing/PDRsetFields/simplePipeCage/0.orig/b
Normal file
51
tutorials/preProcessing/PDRsetFields/simplePipeCage/0.orig/b
Normal file
@ -0,0 +1,51 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: v1912 |
|
||||
| \\ / A nd | Website: www.openfoam.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
object b;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dimensions [0 0 0 0 0 0 0];
|
||||
|
||||
internalField uniform 1;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
outer
|
||||
{
|
||||
type inletOutlet;
|
||||
inletValue $internalField;
|
||||
value $internalField;
|
||||
}
|
||||
seaGround
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
blockedFaces
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
mergingFaces
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
wallFaces
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
ySymmetry
|
||||
{
|
||||
type symmetryPlane;
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,51 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: v1912 |
|
||||
| \\ / A nd | Website: www.openfoam.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
object epsilon;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dimensions [0 2 -3 0 0 0 0];
|
||||
|
||||
internalField uniform 1e-05;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
outer
|
||||
{
|
||||
type inletOutlet;
|
||||
inletValue $internalField;
|
||||
value $internalField;
|
||||
}
|
||||
seaGround
|
||||
{
|
||||
type compressible::epsilonWallFunction;
|
||||
}
|
||||
blockedFaces
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
mergingFaces
|
||||
{
|
||||
type compressible::epsilonWallFunction;
|
||||
}
|
||||
wallFaces
|
||||
{
|
||||
type compressible::epsilonWallFunction;
|
||||
}
|
||||
ySymmetry
|
||||
{
|
||||
type symmetryPlane;
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,51 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: v1912 |
|
||||
| \\ / A nd | Website: www.openfoam.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
object ft;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dimensions [0 0 0 0 0 0 0];
|
||||
|
||||
internalField uniform 0;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
outer
|
||||
{
|
||||
type inletOutlet;
|
||||
inletValue $internalField;
|
||||
value $internalField;
|
||||
}
|
||||
seaGround
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
blockedFaces
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
mergingFaces
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
wallFaces
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
ySymmetry
|
||||
{
|
||||
type symmetryPlane;
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
54
tutorials/preProcessing/PDRsetFields/simplePipeCage/0.orig/k
Normal file
54
tutorials/preProcessing/PDRsetFields/simplePipeCage/0.orig/k
Normal file
@ -0,0 +1,54 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: v1912 |
|
||||
| \\ / A nd | Website: www.openfoam.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
object k;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dimensions [0 2 -2 0 0 0 0];
|
||||
|
||||
internalField uniform 0.00015;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
outer
|
||||
{
|
||||
type inletOutlet;
|
||||
inletValue $internalField;
|
||||
value $internalField;
|
||||
}
|
||||
seaGround
|
||||
{
|
||||
type compressible::kqRWallFunction;
|
||||
value $internalField;
|
||||
}
|
||||
blockedFaces
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
mergingFaces
|
||||
{
|
||||
type compressible::kqRWallFunction;
|
||||
value $internalField;
|
||||
}
|
||||
wallFaces
|
||||
{
|
||||
type compressible::kqRWallFunction;
|
||||
value $internalField;
|
||||
}
|
||||
ySymmetry
|
||||
{
|
||||
type symmetryPlane;
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
53
tutorials/preProcessing/PDRsetFields/simplePipeCage/0.orig/p
Normal file
53
tutorials/preProcessing/PDRsetFields/simplePipeCage/0.orig/p
Normal file
@ -0,0 +1,53 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: v1912 |
|
||||
| \\ / A nd | Website: www.openfoam.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
object p;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dimensions [1 -1 -2 0 0 0 0];
|
||||
|
||||
internalField uniform 100000;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
outer
|
||||
{
|
||||
type waveTransmissive;
|
||||
gamma 1.3;
|
||||
fieldInf 100000;
|
||||
lInf 5;
|
||||
value $internalField;
|
||||
}
|
||||
seaGround
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
blockedFaces
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
mergingFaces
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
wallFaces
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
ySymmetry
|
||||
{
|
||||
type symmetryPlane;
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
11
tutorials/preProcessing/PDRsetFields/simplePipeCage/Allclean
Executable file
11
tutorials/preProcessing/PDRsetFields/simplePipeCage/Allclean
Executable file
@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
cd "${0%/*}" || exit # Run from this directory
|
||||
. ${WM_PROJECT_DIR:?}/bin/tools/CleanFunctions # Tutorial clean functions
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
cleanCase0
|
||||
|
||||
rm -f panelList
|
||||
rm -f system/PDRMeshDict
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
15
tutorials/preProcessing/PDRsetFields/simplePipeCage/Allrun
Executable file
15
tutorials/preProcessing/PDRsetFields/simplePipeCage/Allrun
Executable file
@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
cd "${0%/*}" || exit # Run from this directory
|
||||
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
# Special version of blockMesh for i-j-k meshes
|
||||
runApplication PDRblockMesh
|
||||
|
||||
restore0Dir
|
||||
|
||||
runApplication topoSet
|
||||
|
||||
runApplication PDRsetFields
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
@ -0,0 +1,98 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: v1912 |
|
||||
| \\ / A nd | Website: www.openfoam.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object PDRProperties;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
PDRDragModel basic;
|
||||
|
||||
basicCoeffs
|
||||
{
|
||||
drag on;
|
||||
Csu 0.5;
|
||||
Csk 0.05;
|
||||
}
|
||||
|
||||
XiModel transport;
|
||||
|
||||
transportCoeffs
|
||||
{
|
||||
XiShapeCoef 1;
|
||||
}
|
||||
|
||||
XiEqModel instability;
|
||||
|
||||
instabilityCoeffs
|
||||
{
|
||||
XiEqIn 2.5;
|
||||
|
||||
XiEqModel basicSubGrid;
|
||||
|
||||
basicSubGridCoeffs
|
||||
{
|
||||
XiEqModel SCOPEBlend;
|
||||
|
||||
SCOPEBlendCoeffs
|
||||
{
|
||||
XiEqModelL
|
||||
{
|
||||
XiEqModel Gulder;
|
||||
|
||||
GulderCoeffs
|
||||
{
|
||||
XiEqCoef 0.62;
|
||||
uPrimeCoef 1.0;
|
||||
subGridSchelkin true;
|
||||
}
|
||||
}
|
||||
|
||||
XiEqModelH
|
||||
{
|
||||
XiEqModel SCOPEXiEq;
|
||||
|
||||
SCOPEXiEqCoeffs
|
||||
{
|
||||
XiEqCoef 1.6;
|
||||
XiEqExp 0.33333;
|
||||
lCoef 0.336;
|
||||
uPrimeCoef 1.0;
|
||||
subGridSchelkin true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
XiGModel instabilityG;
|
||||
|
||||
instabilityGCoeffs
|
||||
{
|
||||
lambdaIn lambdaIn [0 1 0 0 0 0 0] 0.6;
|
||||
GIn GIn [0 0 -1 0 0 0 0] 1.917;
|
||||
|
||||
XiGModel basicSubGridG;
|
||||
|
||||
basicSubGridGCoeffs
|
||||
{
|
||||
k1 0.5;
|
||||
|
||||
XiGModel KTS;
|
||||
|
||||
KTSCoeffs
|
||||
{
|
||||
GEtaCoef 0.28;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,45 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: v1912 |
|
||||
| \\ / A nd | Website: www.openfoam.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object combustionProperties;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
laminarFlameSpeedCorrelation SCOPE;
|
||||
|
||||
fuel Propane;
|
||||
|
||||
fuelFile "fuels/propane.dat";
|
||||
|
||||
ignite yes;
|
||||
|
||||
ignitionSites
|
||||
(
|
||||
|
||||
{
|
||||
location (1.5 1.5 0.5);
|
||||
diameter 0.1;
|
||||
start 1E-05;
|
||||
duration 0.05;
|
||||
strength 60.0;
|
||||
}
|
||||
);
|
||||
|
||||
ignitionSphereFraction 1;
|
||||
|
||||
ignitionThickness ignitionThickness [0 1 0 0 0 0 0] 0;
|
||||
|
||||
ignitionCircleFraction 0;
|
||||
|
||||
ignitionKernelArea ignitionKernelArea [0 2 0 0 0 0 0] 0;
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,53 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: v1912 |
|
||||
| \\ / A nd | Website: www.openfoam.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object dynamicMeshDict;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dynamicFvMesh dynamicRefineFvMesh;
|
||||
|
||||
// Refine every refineInterval timesteps
|
||||
refineInterval 1;
|
||||
|
||||
// Maximum refinement level (starts from 0)
|
||||
maxRefinement 2;
|
||||
|
||||
// Maximum cell limit (approximate)
|
||||
maxCells 10000;
|
||||
|
||||
// volScalarField to base refinement on
|
||||
field normalisedGradP;
|
||||
|
||||
nBufferLayers 1;
|
||||
|
||||
dumpLevel true;
|
||||
|
||||
lowerRefineLevel 0.5;
|
||||
upperRefineLevel 1.5;
|
||||
|
||||
unrefineLevel 0.5;
|
||||
|
||||
nBufferLayers 1;
|
||||
// Newly introduced patch points optionally get projected onto a surface
|
||||
//projectSurfaces ("fixedWalls4.stl");
|
||||
//projectPatches (fixedWalls);
|
||||
// Maximum project distance
|
||||
//projectDistance 1;
|
||||
|
||||
// Fluxes to adapt. For newly created faces or split faces the flux
|
||||
// gets estimated from an interpolated volVectorField ('velocity')
|
||||
// First is name of the flux to adapt, second is velocity that will
|
||||
// be interpolated and inner-producted with the face area vector.
|
||||
correctFluxes ((phi rhoU) (phi_0 none));
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,20 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: v1912 |
|
||||
| \\ / A nd | Website: www.openfoam.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class uniformDimensionedVectorField;
|
||||
object g;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dimensions [0 1 -2 0 0 0 0];
|
||||
value (0 0 -9.8);
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,93 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: v1912 |
|
||||
| \\ / A nd | Website: www.openfoam.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object thermophysicalProperties;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
thermoType
|
||||
{
|
||||
type heheuPsiThermo;
|
||||
mixture inhomogeneousMixture;
|
||||
transport sutherland;
|
||||
thermo janaf;
|
||||
equationOfState perfectGas;
|
||||
specie specie;
|
||||
energy absoluteEnthalpy;
|
||||
}
|
||||
|
||||
stoichiometricAirFuelMassRatio stoichiometricAirFuelMassRatio [0 0 0 0 0 0 0] 15.5776;
|
||||
|
||||
fuel
|
||||
{
|
||||
specie
|
||||
{
|
||||
molWeight 44.0962;
|
||||
}
|
||||
thermodynamics
|
||||
{
|
||||
Tlow 200;
|
||||
Thigh 5000;
|
||||
Tcommon 1000;
|
||||
highCpCoeffs ( 7.53414 0.0188722 -6.27185e-06 9.14756e-10 -4.78381e-14 -16467.5 -17.8923 );
|
||||
lowCpCoeffs ( 0.933554 0.0264246 6.10597e-06 -2.19775e-08 9.51493e-12 -13958.5 19.2017 );
|
||||
}
|
||||
transport
|
||||
{
|
||||
As 1.67212e-06;
|
||||
Ts 170.672;
|
||||
}
|
||||
}
|
||||
|
||||
oxidant
|
||||
{
|
||||
specie
|
||||
{
|
||||
molWeight 28.8504;
|
||||
}
|
||||
thermodynamics
|
||||
{
|
||||
Tlow 200;
|
||||
Thigh 6000;
|
||||
Tcommon 1000;
|
||||
highCpCoeffs ( 3.10131 0.00124137 -4.18816e-07 6.64158e-11 -3.91274e-15 -985.266 5.35597 );
|
||||
lowCpCoeffs ( 3.58378 -0.000727005 1.67057e-06 -1.09203e-10 -4.31765e-13 -1050.53 3.11239 );
|
||||
}
|
||||
transport
|
||||
{
|
||||
As 1.67212e-06;
|
||||
Ts 170.672;
|
||||
}
|
||||
}
|
||||
|
||||
burntProducts
|
||||
{
|
||||
specie
|
||||
{
|
||||
molWeight 28.3233;
|
||||
}
|
||||
thermodynamics
|
||||
{
|
||||
Tlow 200;
|
||||
Thigh 6000;
|
||||
Tcommon 1000;
|
||||
highCpCoeffs ( 3.10558 0.00179747 -5.94696e-07 9.05605e-11 -5.08443e-15 -11003.6 5.12104 );
|
||||
lowCpCoeffs ( 3.49796 0.000638555 -1.83881e-07 1.20989e-09 -7.68691e-13 -11080.5 3.18188 );
|
||||
}
|
||||
transport
|
||||
{
|
||||
As 1.67212e-06;
|
||||
Ts 170.672;
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,40 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: v1912 |
|
||||
| \\ / A nd | Website: www.openfoam.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object turbulenceProperties;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
simulationType RAS;
|
||||
|
||||
RAS
|
||||
{
|
||||
RASModel PDRkEpsilon;
|
||||
|
||||
PDRkEpsilonCoeffs
|
||||
{
|
||||
Cmu 0.09;
|
||||
C1 1.44;
|
||||
C2 1.92;
|
||||
C3 0;
|
||||
C4 0.1;
|
||||
alphah 1;
|
||||
alphak 1;
|
||||
alphaEps 0.76923;
|
||||
}
|
||||
|
||||
turbulence on;
|
||||
|
||||
printCoeffs on;
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,66 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: v1912 |
|
||||
| \\ / A nd | Website: www.openfoam.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object obstaclesDict;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
_01
|
||||
{
|
||||
groupId 1;
|
||||
|
||||
obstacles
|
||||
(
|
||||
box { point (0 0 0); size (0.05 0.05 2); }
|
||||
box { point (1 0 0); size (0.05 0.05 2); }
|
||||
box { point (2 0 0); size (0.05 0.05 2); }
|
||||
box { point (3 0 0); size (0.05 0.05 2); }
|
||||
box { point (0 1 0); size (0.05 0.05 2); }
|
||||
box { point (1 1 0); size (0.05 0.05 2); }
|
||||
box { point (2 1 0); size (0.05 0.05 2); }
|
||||
box { point (3 1 0); size (0.05 0.05 2); }
|
||||
box { point (0 2 0); size (0.05 0.05 2); }
|
||||
box { point (1 2 0); size (0.05 0.05 2); }
|
||||
box { point (2 2 0); size (0.05 0.05 2); }
|
||||
box { point (3 2 0); size (0.05 0.05 2); }
|
||||
box { point (0 3 0); size (0.05 0.05 2); }
|
||||
box { point (1 3 0); size (0.05 0.05 2); }
|
||||
box { point (2 3 0); size (0.05 0.05 2); }
|
||||
box { point (3 3 0); size (0.05 0.05 2); }
|
||||
box { point (0 0 0); size (0.05 3.05 0.05); }
|
||||
box { point (1 0 0); size (0.05 3.05 0.05); }
|
||||
box { point (2 0 0); size (0.05 3.05 0.05); }
|
||||
box { point (3 0 0); size (0.05 3.05 0.05); }
|
||||
box { point (0 0 1); size (0.05 3.05 0.05); }
|
||||
box { point (1 0 1); size (0.05 3.05 0.05); }
|
||||
box { point (2 0 1); size (0.05 3.05 0.05); }
|
||||
box { point (3 0 1); size (0.05 3.05 0.05); }
|
||||
box { point (0 0 2); size (0.05 3.05 0.05); }
|
||||
box { point (1 0 2); size (0.05 3.05 0.05); }
|
||||
box { point (2 0 2); size (0.05 3.05 0.05); }
|
||||
box { point (3 0 2); size (0.05 3.05 0.05); }
|
||||
box { point (0 0 0); size (3.05 0.05 0.05); }
|
||||
box { point (0 1 0); size (3.05 0.05 0.05); }
|
||||
box { point (0 2 0); size (3.05 0.05 0.05); }
|
||||
box { point (0 3 0); size (3.05 0.05 0.05); }
|
||||
box { point (0 0 1); size (3.05 0.05 0.05); }
|
||||
box { point (0 1 1); size (3.05 0.05 0.05); }
|
||||
box { point (0 2 1); size (3.05 0.05 0.05); }
|
||||
box { point (0 3 1); size (3.05 0.05 0.05); }
|
||||
box { point (0 0 2); size (3.05 0.05 0.05); }
|
||||
box { point (0 1 2); size (3.05 0.05 0.05); }
|
||||
box { point (0 2 2); size (3.05 0.05 0.05); }
|
||||
box { point (0 3 2); size (3.05 0.05 0.05); }
|
||||
);
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,58 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: v1912 |
|
||||
| \\ / A nd | Website: www.openfoam.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object obstaclesDict;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
_11
|
||||
{
|
||||
groupId 11;
|
||||
|
||||
zpipe { direction z; length 0.947; diameter 0.026; }
|
||||
box1 { size (0.006 3.05 0.05); }
|
||||
|
||||
obstacles
|
||||
(
|
||||
box { point (1.012 0.95 0.05 ); size (1.038 0.05 0.006); }
|
||||
box { point (1.012 0.95 0.997 ); size (1.038 0.05 0.006); }
|
||||
box { point (1.012 2.05 0.05 ); size (1.038 0.05 0.006); }
|
||||
box { point (1.012 2.05 0.997 ); size (1.038 0.05 0.006); }
|
||||
box { point (0.95 1.012 0.05 ); size (0.05 1.038 0.006); }
|
||||
box { point (0.95 1.012 0.997 ); size (0.05 1.038 0.006); }
|
||||
box { point (2.05 1.012 0.05 ); size (0.05 1.038 0.006); }
|
||||
box { point (2.05 1.012 0.997 ); size (0.05 1.038 0.006); }
|
||||
|
||||
cyl { point (1.031 0.975 0.056); $zpipe; }
|
||||
cyl { point (1.281 0.975 0.056); $zpipe; }
|
||||
cyl { point (1.531 0.975 0.056); $zpipe; }
|
||||
cyl { point (1.781 0.975 0.056); $zpipe; }
|
||||
cyl { point (2.031 0.975 0.056); $zpipe; }
|
||||
cyl { point (1.031 2.075 0.056); $zpipe; }
|
||||
cyl { point (1.281 2.075 0.056); $zpipe; }
|
||||
cyl { point (1.531 2.075 0.056); $zpipe; }
|
||||
cyl { point (1.781 2.075 0.056); $zpipe; }
|
||||
cyl { point (2.031 2.075 0.056); $zpipe; }
|
||||
cyl { point (0.975 1.031 0.056); $zpipe; }
|
||||
cyl { point (0.975 1.281 0.056); $zpipe; }
|
||||
cyl { point (0.975 1.531 0.056); $zpipe; }
|
||||
cyl { point (0.975 1.781 0.056); $zpipe; }
|
||||
cyl { point (0.975 2.031 0.056); $zpipe; }
|
||||
cyl { point (2.075 1.031 0.056); $zpipe; }
|
||||
cyl { point (2.075 1.281 0.056); $zpipe; }
|
||||
cyl { point (2.075 1.531 0.056); $zpipe; }
|
||||
cyl { point (2.075 1.781 0.056); $zpipe; }
|
||||
cyl { point (2.075 2.031 0.056); $zpipe; }
|
||||
);
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,81 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: v1912 |
|
||||
| \\ / A nd | Website: www.openfoam.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object obstaclesDict;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
_14
|
||||
{
|
||||
groupId 14;
|
||||
xpipe { direction x; length 0.947; diameter 0.026; }
|
||||
box1 { size (0.006 3.05 0.05); }
|
||||
|
||||
locations
|
||||
(
|
||||
(0 0 0.15)
|
||||
(0 0 0.45)
|
||||
);
|
||||
|
||||
obstacles
|
||||
(
|
||||
box { point (0.05 0 1.05 ); $box1; }
|
||||
box { point (0.997 0 1.05 ); $box1; }
|
||||
box { point (1.05 0 1.05 ); $box1; }
|
||||
box { point (1.997 0 1.05 ); $box1; }
|
||||
box { point (2.05 0 1.05 ); $box1; }
|
||||
box { point (2.997 0 1.05 ); $box1; }
|
||||
cyl { point (0.05 0.025 1.075); $xpipe; }
|
||||
cyl { point (0.05 0.275 1.075); $xpipe; }
|
||||
cyl { point (0.05 0.525 1.075); $xpipe; }
|
||||
cyl { point (0.05 0.775 1.075); $xpipe; }
|
||||
cyl { point (0.05 1.025 1.075); $xpipe; }
|
||||
cyl { point (0.05 1.275 1.075); $xpipe; }
|
||||
cyl { point (0.05 1.525 1.075); $xpipe; }
|
||||
cyl { point (0.05 1.775 1.075); $xpipe; }
|
||||
cyl { point (0.05 2.025 1.075); $xpipe; }
|
||||
cyl { point (0.05 2.275 1.075); $xpipe; }
|
||||
cyl { point (0.05 2.525 1.075); $xpipe; }
|
||||
cyl { point (0.05 2.775 1.075); $xpipe; }
|
||||
cyl { point (0.05 3.025 1.075); $xpipe; }
|
||||
cyl { point (1.05 0.025 1.075); $xpipe; }
|
||||
cyl { point (1.05 0.275 1.075); $xpipe; }
|
||||
cyl { point (1.05 0.525 1.075); $xpipe; }
|
||||
cyl { point (1.05 0.775 1.075); $xpipe; }
|
||||
cyl { point (1.05 1.025 1.075); $xpipe; }
|
||||
cyl { point (1.05 1.275 1.075); $xpipe; }
|
||||
cyl { point (1.05 1.525 1.075); $xpipe; }
|
||||
cyl { point (1.05 1.775 1.075); $xpipe; }
|
||||
cyl { point (1.05 2.025 1.075); $xpipe; }
|
||||
cyl { point (1.05 2.275 1.075); $xpipe; }
|
||||
cyl { point (1.05 2.525 1.075); $xpipe; }
|
||||
cyl { point (1.05 2.775 1.075); $xpipe; }
|
||||
cyl { point (1.05 3.025 1.075); $xpipe; }
|
||||
cyl { point (2.05 0.025 1.075); $xpipe; }
|
||||
cyl { point (2.05 0.275 1.075); $xpipe; }
|
||||
cyl { point (2.05 0.525 1.075); $xpipe; }
|
||||
cyl { point (2.05 0.775 1.075); $xpipe; }
|
||||
cyl { point (2.05 1.025 1.075); $xpipe; }
|
||||
cyl { point (2.05 1.275 1.075); $xpipe; }
|
||||
cyl { point (2.05 1.525 1.075); $xpipe; }
|
||||
cyl { point (2.05 1.775 1.075); $xpipe; }
|
||||
cyl { point (2.05 2.025 1.075); $xpipe; }
|
||||
cyl { point (2.05 2.275 1.075); $xpipe; }
|
||||
cyl { point (2.05 2.525 1.075); $xpipe; }
|
||||
cyl { point (2.05 2.775 1.075); $xpipe; }
|
||||
cyl { point (2.05 3.025 1.075); $xpipe; }
|
||||
);
|
||||
|
||||
#remove (pipe box1)
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,110 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: v1912 |
|
||||
| \\ / A nd | Website: www.openfoam.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object obstaclesDict;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
_15
|
||||
{
|
||||
groupId 15;
|
||||
|
||||
xpipe { direction x; length 0.947; diameter 0.026; }
|
||||
|
||||
obstacles
|
||||
(
|
||||
box { point (0.05 0 1.05); size (0.006 3.05 0.05); }
|
||||
box { point (0.997 0 1.05); size (0.006 3.05 0.05); }
|
||||
box { point (1.05 0 1.05); size (0.006 3.05 0.05); }
|
||||
box { point (1.997 0 1.05); size (0.006 3.05 0.05); }
|
||||
box { point (2.05 0 1.05); size (0.006 3.05 0.05); }
|
||||
box { point (2.997 0 1.05); size (0.006 3.05 0.05); }
|
||||
|
||||
cyl { point (0.05 0.025 1.075); $xpipe; }
|
||||
cyl { point (0.05 0.15 1.075); $xpipe; }
|
||||
cyl { point (0.05 0.275 1.075); $xpipe; }
|
||||
cyl { point (0.05 0.4 1.075); $xpipe; }
|
||||
cyl { point (0.05 0.525 1.075); $xpipe; }
|
||||
cyl { point (0.05 0.65 1.075); $xpipe; }
|
||||
cyl { point (0.05 0.775 1.075); $xpipe; }
|
||||
cyl { point (0.05 0.9 1.075); $xpipe; }
|
||||
cyl { point (0.05 1.025 1.075); $xpipe; }
|
||||
cyl { point (0.05 1.15 1.075); $xpipe; }
|
||||
cyl { point (0.05 1.275 1.075); $xpipe; }
|
||||
cyl { point (0.05 1.4 1.075); $xpipe; }
|
||||
cyl { point (0.05 1.525 1.075); $xpipe; }
|
||||
cyl { point (0.05 1.65 1.075); $xpipe; }
|
||||
cyl { point (0.05 1.775 1.075); $xpipe; }
|
||||
cyl { point (0.05 1.9 1.075); $xpipe; }
|
||||
cyl { point (0.05 2.025 1.075); $xpipe; }
|
||||
cyl { point (0.05 2.15 1.075); $xpipe; }
|
||||
cyl { point (0.05 2.275 1.075); $xpipe; }
|
||||
cyl { point (0.05 2.4 1.075); $xpipe; }
|
||||
cyl { point (0.05 2.525 1.075); $xpipe; }
|
||||
cyl { point (0.05 2.65 1.075); $xpipe; }
|
||||
cyl { point (0.05 2.775 1.075); $xpipe; }
|
||||
cyl { point (0.05 2.9 1.075); $xpipe; }
|
||||
cyl { point (0.05 3.025 1.075); $xpipe; }
|
||||
cyl { point (1.05 0.025 1.075); $xpipe; }
|
||||
cyl { point (1.05 0.15 1.075); $xpipe; }
|
||||
cyl { point (1.05 0.275 1.075); $xpipe; }
|
||||
cyl { point (1.05 0.4 1.075); $xpipe; }
|
||||
cyl { point (1.05 0.525 1.075); $xpipe; }
|
||||
cyl { point (1.05 0.65 1.075); $xpipe; }
|
||||
cyl { point (1.05 0.775 1.075); $xpipe; }
|
||||
cyl { point (1.05 0.9 1.075); $xpipe; }
|
||||
cyl { point (1.05 1.025 1.075); $xpipe; }
|
||||
cyl { point (1.05 1.15 1.075); $xpipe; }
|
||||
cyl { point (1.05 1.275 1.075); $xpipe; }
|
||||
cyl { point (1.05 1.4 1.075); $xpipe; }
|
||||
cyl { point (1.05 1.525 1.075); $xpipe; }
|
||||
cyl { point (1.05 1.65 1.075); $xpipe; }
|
||||
cyl { point (1.05 1.775 1.075); $xpipe; }
|
||||
cyl { point (1.05 1.9 1.075); $xpipe; }
|
||||
cyl { point (1.05 2.025 1.075); $xpipe; }
|
||||
cyl { point (1.05 2.15 1.075); $xpipe; }
|
||||
cyl { point (1.05 2.275 1.075); $xpipe; }
|
||||
cyl { point (1.05 2.4 1.075); $xpipe; }
|
||||
cyl { point (1.05 2.525 1.075); $xpipe; }
|
||||
cyl { point (1.05 2.65 1.075); $xpipe; }
|
||||
cyl { point (1.05 2.775 1.075); $xpipe; }
|
||||
cyl { point (1.05 2.9 1.075); $xpipe; }
|
||||
cyl { point (1.05 3.025 1.075); $xpipe; }
|
||||
cyl { point (2.05 0.025 1.075); $xpipe; }
|
||||
cyl { point (2.05 0.15 1.075); $xpipe; }
|
||||
cyl { point (2.05 0.275 1.075); $xpipe; }
|
||||
cyl { point (2.05 0.4 1.075); $xpipe; }
|
||||
cyl { point (2.05 0.525 1.075); $xpipe; }
|
||||
cyl { point (2.05 0.65 1.075); $xpipe; }
|
||||
cyl { point (2.05 0.775 1.075); $xpipe; }
|
||||
cyl { point (2.05 0.9 1.075); $xpipe; }
|
||||
cyl { point (2.05 1.025 1.075); $xpipe; }
|
||||
cyl { point (2.05 1.15 1.075); $xpipe; }
|
||||
cyl { point (2.05 1.275 1.075); $xpipe; }
|
||||
cyl { point (2.05 1.4 1.075); $xpipe; }
|
||||
cyl { point (2.05 1.525 1.075); $xpipe; }
|
||||
cyl { point (2.05 1.65 1.075); $xpipe; }
|
||||
cyl { point (2.05 1.775 1.075); $xpipe; }
|
||||
cyl { point (2.05 1.9 1.075); $xpipe; }
|
||||
cyl { point (2.05 2.025 1.075); $xpipe; }
|
||||
cyl { point (2.05 2.15 1.075); $xpipe; }
|
||||
cyl { point (2.05 2.275 1.075); $xpipe; }
|
||||
cyl { point (2.05 2.4 1.075); $xpipe; }
|
||||
cyl { point (2.05 2.525 1.075); $xpipe; }
|
||||
cyl { point (2.05 2.65 1.075); $xpipe; }
|
||||
cyl { point (2.05 2.775 1.075); $xpipe; }
|
||||
cyl { point (2.05 2.9 1.075); $xpipe; }
|
||||
cyl { point (2.05 3.025 1.075); $xpipe; }
|
||||
);
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,80 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: v1912 |
|
||||
| \\ / A nd | Website: www.openfoam.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object obstaclesDict;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
_17
|
||||
{
|
||||
groupId 17;
|
||||
|
||||
locations
|
||||
(
|
||||
(0 0 0)
|
||||
(0 0 0.30)
|
||||
);
|
||||
|
||||
ypipe { direction y; length 0.947; diameter 0.026; }
|
||||
|
||||
obstacles
|
||||
(
|
||||
box { point (0 0.05 1.05); size (3.05 0.006 0.05); }
|
||||
box { point (0 0.997 1.05); size (3.05 0.006 0.05); }
|
||||
box { point (0 1.05 1.05); size (3.05 0.006 0.05); }
|
||||
box { point (0 1.997 1.05); size (3.05 0.006 0.05); }
|
||||
box { point (0 2.05 1.05); size (3.05 0.006 0.05); }
|
||||
box { point (0 2.997 1.05); size (3.05 0.006 0.05); }
|
||||
|
||||
cyl { point (0.025 0.05 1.075); $ypipe; }
|
||||
cyl { point (0.275 0.05 1.075); $ypipe; }
|
||||
cyl { point (0.525 0.05 1.075); $ypipe; }
|
||||
cyl { point (0.775 0.05 1.075); $ypipe; }
|
||||
cyl { point (1.025 0.05 1.075); $ypipe; }
|
||||
cyl { point (1.275 0.05 1.075); $ypipe; }
|
||||
cyl { point (1.525 0.05 1.075); $ypipe; }
|
||||
cyl { point (1.775 0.05 1.075); $ypipe; }
|
||||
cyl { point (2.025 0.05 1.075); $ypipe; }
|
||||
cyl { point (2.275 0.05 1.075); $ypipe; }
|
||||
cyl { point (2.525 0.05 1.075); $ypipe; }
|
||||
cyl { point (2.775 0.05 1.075); $ypipe; }
|
||||
cyl { point (3.025 0.05 1.075); $ypipe; }
|
||||
cyl { point (0.025 1.05 1.075); $ypipe; }
|
||||
cyl { point (0.275 1.05 1.075); $ypipe; }
|
||||
cyl { point (0.525 1.05 1.075); $ypipe; }
|
||||
cyl { point (0.775 1.05 1.075); $ypipe; }
|
||||
cyl { point (1.025 1.05 1.075); $ypipe; }
|
||||
cyl { point (1.275 1.05 1.075); $ypipe; }
|
||||
cyl { point (1.525 1.05 1.075); $ypipe; }
|
||||
cyl { point (1.775 1.05 1.075); $ypipe; }
|
||||
cyl { point (2.025 1.05 1.075); $ypipe; }
|
||||
cyl { point (2.275 1.05 1.075); $ypipe; }
|
||||
cyl { point (2.525 1.05 1.075); $ypipe; }
|
||||
cyl { point (2.775 1.05 1.075); $ypipe; }
|
||||
cyl { point (3.025 1.05 1.075); $ypipe; }
|
||||
cyl { point (0.025 2.05 1.075); $ypipe; }
|
||||
cyl { point (0.275 2.05 1.075); $ypipe; }
|
||||
cyl { point (0.525 2.05 1.075); $ypipe; }
|
||||
cyl { point (0.775 2.05 1.075); $ypipe; }
|
||||
cyl { point (1.025 2.05 1.075); $ypipe; }
|
||||
cyl { point (1.275 2.05 1.075); $ypipe; }
|
||||
cyl { point (1.525 2.05 1.075); $ypipe; }
|
||||
cyl { point (1.775 2.05 1.075); $ypipe; }
|
||||
cyl { point (2.025 2.05 1.075); $ypipe; }
|
||||
cyl { point (2.275 2.05 1.075); $ypipe; }
|
||||
cyl { point (2.525 2.05 1.075); $ypipe; }
|
||||
cyl { point (2.775 2.05 1.075); $ypipe; }
|
||||
cyl { point (3.025 2.05 1.075); $ypipe; }
|
||||
);
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,61 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: v1912 |
|
||||
| \\ / A nd | Website: www.openfoam.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object obstaclesDict;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
_21
|
||||
{
|
||||
groupId 21;
|
||||
|
||||
zpipe { direction z; length 0.947; diameter 0.026; }
|
||||
|
||||
obstacles
|
||||
(
|
||||
box { point (0.831 0.8 0.05 ); size (1.338 0.05 0.006); }
|
||||
box { point (0.831 0.8 0.997); size (1.338 0.05 0.006); }
|
||||
box { point (0.8 0.831 0.05 ); size (0.05 1.338 0.006); }
|
||||
box { point (0.8 0.831 0.997); size (0.05 1.338 0.006); }
|
||||
box { point (0.831 2.2 0.05 ); size (1.338 0.05 0.006); }
|
||||
box { point (0.831 2.2 0.997); size (1.338 0.05 0.006); }
|
||||
box { point (2.2 0.831 0.05 ); size (0.05 1.338 0.006); }
|
||||
box { point (2.2 0.831 0.997); size (0.05 1.338 0.006); }
|
||||
|
||||
cyl { point (0.875 0.825 0.056); $zpipe; }
|
||||
cyl { point (1.125 0.825 0.056); $zpipe; }
|
||||
cyl { point (1.375 0.825 0.056); $zpipe; }
|
||||
cyl { point (1.625 0.825 0.056); $zpipe; }
|
||||
cyl { point (1.875 0.825 0.056); $zpipe; }
|
||||
cyl { point (2.125 0.825 0.056); $zpipe; }
|
||||
cyl { point (0.875 2.225 0.056); $zpipe; }
|
||||
cyl { point (1.125 2.225 0.056); $zpipe; }
|
||||
cyl { point (1.375 2.225 0.056); $zpipe; }
|
||||
cyl { point (1.625 2.225 0.056); $zpipe; }
|
||||
cyl { point (1.875 2.225 0.056); $zpipe; }
|
||||
cyl { point (2.125 2.225 0.056); $zpipe; }
|
||||
cyl { point (0.825 0.875 0.056); $zpipe; }
|
||||
cyl { point (0.825 1.125 0.056); $zpipe; }
|
||||
cyl { point (0.825 1.375 0.056); $zpipe; }
|
||||
cyl { point (0.825 1.625 0.056); $zpipe; }
|
||||
cyl { point (0.825 1.875 0.056); $zpipe; }
|
||||
cyl { point (0.825 2.125 0.056); $zpipe; }
|
||||
cyl { point (2.225 0.875 0.056); $zpipe; }
|
||||
cyl { point (2.225 1.125 0.056); $zpipe; }
|
||||
cyl { point (2.225 1.375 0.056); $zpipe; }
|
||||
cyl { point (2.225 1.625 0.056); $zpipe; }
|
||||
cyl { point (2.225 1.875 0.056); $zpipe; }
|
||||
cyl { point (2.225 2.125 0.056); $zpipe; }
|
||||
);
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,65 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: v1912 |
|
||||
| \\ / A nd | Website: www.openfoam.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object obstaclesDict;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
_31
|
||||
{
|
||||
groupId 31;
|
||||
|
||||
zpipe { direction z; length 0.947; diameter 0.026; }
|
||||
|
||||
obstacles
|
||||
(
|
||||
box { point (0.681 0.65 0.05 ); size (1.638 0.05 0.006); }
|
||||
box { point (0.681 0.65 0.997); size (1.638 0.05 0.006); }
|
||||
box { point (0.681 2.35 0.05 ); size (1.638 0.05 0.006); }
|
||||
box { point (0.681 2.35 0.997); size (1.638 0.05 0.006); }
|
||||
box { point (0.65 0.681 0.05 ); size (0.05 1.638 0.006); }
|
||||
box { point (0.65 0.681 0.997); size (0.05 1.638 0.006); }
|
||||
box { point (2.35 0.681 0.05 ); size (0.05 1.638 0.006); }
|
||||
box { point (2.35 0.681 0.997); size (0.05 1.638 0.006); }
|
||||
|
||||
cyl { point (0.75 0.675 0.056); $zpipe; }
|
||||
cyl { point (1 0.675 0.056); $zpipe; }
|
||||
cyl { point (1.25 0.675 0.056); $zpipe; }
|
||||
cyl { point (1.5 0.675 0.056); $zpipe; }
|
||||
cyl { point (1.75 0.675 0.056); $zpipe; }
|
||||
cyl { point (2 0.675 0.056); $zpipe; }
|
||||
cyl { point (2.25 0.675 0.056); $zpipe; }
|
||||
cyl { point (0.75 2.375 0.056); $zpipe; }
|
||||
cyl { point (1 2.375 0.056); $zpipe; }
|
||||
cyl { point (1.25 2.375 0.056); $zpipe; }
|
||||
cyl { point (1.5 2.375 0.056); $zpipe; }
|
||||
cyl { point (1.75 2.375 0.056); $zpipe; }
|
||||
cyl { point (2 2.375 0.056); $zpipe; }
|
||||
cyl { point (2.25 2.375 0.056); $zpipe; }
|
||||
cyl { point (0.675 0.75 0.056); $zpipe; }
|
||||
cyl { point (0.675 1 0.056); $zpipe; }
|
||||
cyl { point (0.675 1.25 0.056); $zpipe; }
|
||||
cyl { point (0.675 1.5 0.056); $zpipe; }
|
||||
cyl { point (0.675 1.75 0.056); $zpipe; }
|
||||
cyl { point (0.675 2 0.056); $zpipe; }
|
||||
cyl { point (0.675 2.25 0.056); $zpipe; }
|
||||
cyl { point (2.375 0.75 0.056); $zpipe; }
|
||||
cyl { point (2.375 1 0.056); $zpipe; }
|
||||
cyl { point (2.375 1.25 0.056); $zpipe; }
|
||||
cyl { point (2.375 1.5 0.056); $zpipe; }
|
||||
cyl { point (2.375 1.75 0.056); $zpipe; }
|
||||
cyl { point (2.375 2 0.056); $zpipe; }
|
||||
cyl { point (2.375 2.25 0.056); $zpipe; }
|
||||
);
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,69 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: v1912 |
|
||||
| \\ / A nd | Website: www.openfoam.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object obstaclesDict;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
_41
|
||||
{
|
||||
groupId 41;
|
||||
|
||||
zpipe { direction z; length 0.947; diameter 0.026; }
|
||||
|
||||
obstacles
|
||||
(
|
||||
box { point (0.531 0.5 0.05 ); size (1.938 0.05 0.006); }
|
||||
box { point (0.531 0.5 0.997); size (1.938 0.05 0.006); }
|
||||
box { point (0.531 2.5 0.05 ); size (1.938 0.05 0.006); }
|
||||
box { point (0.531 2.5 0.997); size (1.938 0.05 0.006); }
|
||||
box { point (0.5 0.531 0.05 ); size (0.05 1.938 0.006); }
|
||||
box { point (0.5 0.531 0.997); size (0.05 1.938 0.006); }
|
||||
box { point (2.5 0.531 0.05 ); size (0.05 1.938 0.006); }
|
||||
box { point (2.5 0.531 0.997); size (0.05 1.938 0.006); }
|
||||
|
||||
cyl { point (0.625 0.525 0.056); $zpipe; }
|
||||
cyl { point (0.875 0.525 0.056); $zpipe; }
|
||||
cyl { point (1.125 0.525 0.056); $zpipe; }
|
||||
cyl { point (1.375 0.525 0.056); $zpipe; }
|
||||
cyl { point (1.625 0.525 0.056); $zpipe; }
|
||||
cyl { point (1.875 0.525 0.056); $zpipe; }
|
||||
cyl { point (2.125 0.525 0.056); $zpipe; }
|
||||
cyl { point (2.375 0.525 0.056); $zpipe; }
|
||||
cyl { point (0.625 2.525 0.056); $zpipe; }
|
||||
cyl { point (0.875 2.525 0.056); $zpipe; }
|
||||
cyl { point (1.125 2.525 0.056); $zpipe; }
|
||||
cyl { point (1.375 2.525 0.056); $zpipe; }
|
||||
cyl { point (1.625 2.525 0.056); $zpipe; }
|
||||
cyl { point (1.875 2.525 0.056); $zpipe; }
|
||||
cyl { point (2.125 2.525 0.056); $zpipe; }
|
||||
cyl { point (2.375 2.525 0.056); $zpipe; }
|
||||
cyl { point (0.525 0.625 0.056); $zpipe; }
|
||||
cyl { point (0.525 0.875 0.056); $zpipe; }
|
||||
cyl { point (0.525 1.125 0.056); $zpipe; }
|
||||
cyl { point (0.525 1.375 0.056); $zpipe; }
|
||||
cyl { point (0.525 1.625 0.056); $zpipe; }
|
||||
cyl { point (0.525 1.875 0.056); $zpipe; }
|
||||
cyl { point (0.525 2.125 0.056); $zpipe; }
|
||||
cyl { point (0.525 2.375 0.056); $zpipe; }
|
||||
cyl { point (2.525 0.625 0.056); $zpipe; }
|
||||
cyl { point (2.525 0.875 0.056); $zpipe; }
|
||||
cyl { point (2.525 1.125 0.056); $zpipe; }
|
||||
cyl { point (2.525 1.375 0.056); $zpipe; }
|
||||
cyl { point (2.525 1.625 0.056); $zpipe; }
|
||||
cyl { point (2.525 1.875 0.056); $zpipe; }
|
||||
cyl { point (2.525 2.125 0.056); $zpipe; }
|
||||
cyl { point (2.525 2.375 0.056); $zpipe; }
|
||||
);
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,30 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: v1912 |
|
||||
| \\ / A nd | Website: www.openfoam.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object obstaclesDict;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
scale 1.0;
|
||||
|
||||
verbose 0;
|
||||
|
||||
#include "groups/group01"
|
||||
#include "groups/group11"
|
||||
#include "groups/group14"
|
||||
#include "groups/group15"
|
||||
#include "groups/group17"
|
||||
#include "groups/group21"
|
||||
#include "groups/group31"
|
||||
#include "groups/group41"
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,77 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: v1912 |
|
||||
| \\ / A nd | Website: www.openfoam.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object PDRblockMeshDict;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
scale 1.0;
|
||||
|
||||
x
|
||||
{
|
||||
points ( -11.87 0.03 1.03 2.03 3.05 15.32 );
|
||||
nCells ( 14 5 5 5 14 );
|
||||
ratios ( 0.0887187064230887 1 1 1.04060401 10.6993205379072 );
|
||||
}
|
||||
|
||||
y
|
||||
{
|
||||
points ( -11.64 0.04 1.03 2.03 3.05 15.31 );
|
||||
nCells ( 14 5 5 5 14 );
|
||||
ratios ( 0.0887187064230887 1 1 1.04060401 10.6993205379072 );
|
||||
}
|
||||
|
||||
z
|
||||
{
|
||||
points ( 0 1.02 2.05 14.19 );
|
||||
nCells ( 5 5 14 );
|
||||
ratios ( 1 1 10.6993205379072 );
|
||||
}
|
||||
|
||||
// Or could use defaultFaces = outer instead
|
||||
defaultPatch
|
||||
{
|
||||
name defaultFaces;
|
||||
type wall;
|
||||
}
|
||||
|
||||
// Faces: 0 = xmin, 1 = xmax, 2 = ymin, 3 = ymax, 4 = zmin, 5 = zmax
|
||||
|
||||
boundary
|
||||
(
|
||||
// Or with defaultFaces = outer
|
||||
outer
|
||||
{
|
||||
type patch;
|
||||
faces ( 0 1 2 3 5 );
|
||||
}
|
||||
|
||||
mergingFaces
|
||||
{
|
||||
type wall;
|
||||
faces ();
|
||||
}
|
||||
|
||||
blockedFaces
|
||||
{
|
||||
type wall;
|
||||
faces ();
|
||||
}
|
||||
|
||||
wallFaces
|
||||
{
|
||||
type wall;
|
||||
faces ( 4 );
|
||||
}
|
||||
);
|
||||
|
||||
//***************************************************************************//
|
||||
@ -0,0 +1,38 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: v1912 |
|
||||
| \\ / A nd | Website: www.openfoam.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object PDRsetFieldsDict;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
// Data dictionary for PDRsetFields
|
||||
|
||||
// Replace by the relevant names
|
||||
|
||||
obsFileDir "<case>/geometry";
|
||||
|
||||
obsFileNames (obstaclesDict);
|
||||
|
||||
// legacyObsSpec true;
|
||||
//
|
||||
// obsFileNames (position.obs base.obs);
|
||||
|
||||
// Some parameters for PDRfitMesh are read from this file, including
|
||||
|
||||
cellWidth 0.22;
|
||||
|
||||
outer (20 0);
|
||||
|
||||
outerCombFac 0;
|
||||
|
||||
sea_ground 0.0;
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,58 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: v1912 |
|
||||
| \\ / A nd | Website: www.openfoam.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object controlDict;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
application PDRFoam;
|
||||
|
||||
startFrom latestTime;
|
||||
|
||||
startTime 0;
|
||||
|
||||
stopAt endTime;
|
||||
|
||||
endTime 0.3;
|
||||
|
||||
deltaT 5e-06;
|
||||
|
||||
writeControl runTime;
|
||||
|
||||
writeInterval 0.01;
|
||||
|
||||
purgeWrite 0;
|
||||
|
||||
writeFormat ascii;
|
||||
|
||||
writePrecision 8;
|
||||
|
||||
writeCompression off;
|
||||
|
||||
timeFormat general;
|
||||
|
||||
timePrecision 6;
|
||||
|
||||
runTimeModifiable yes;
|
||||
|
||||
adjustTimeStep yes;
|
||||
|
||||
maxCo 0.3;
|
||||
|
||||
maxDeltaT 1;
|
||||
|
||||
functions
|
||||
{
|
||||
#include "probes"
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,51 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: v1912 |
|
||||
| \\ / A nd | Website: www.openfoam.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object createPatchDict;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
pointSync false;
|
||||
|
||||
// Patches to create
|
||||
patches
|
||||
(
|
||||
{
|
||||
//- Master side patch
|
||||
name inner_outer;
|
||||
patchInfo
|
||||
{
|
||||
type cyclicAMI;
|
||||
matchTolerance 0.0001;
|
||||
neighbourPatch AMI2;
|
||||
transform noOrdering;
|
||||
}
|
||||
constructFrom patches;
|
||||
patches (inner_outer);
|
||||
}
|
||||
|
||||
{
|
||||
//- Slave side patch
|
||||
name outer_inner;
|
||||
patchInfo
|
||||
{
|
||||
type cyclicAMI;
|
||||
matchTolerance 0.0001;
|
||||
neighbourPatch AMI1;
|
||||
transform noOrdering;
|
||||
}
|
||||
constructFrom patches;
|
||||
patches (outer_inner);
|
||||
}
|
||||
);
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,26 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: v1912 |
|
||||
| \\ / A nd | Website: www.openfoam.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object decompositionDict;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
numberOfSubdomains 4;
|
||||
|
||||
method simple;
|
||||
|
||||
coeffs
|
||||
{
|
||||
n (2 2 1);
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,111 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: v1912 |
|
||||
| \\ / A nd | Website: www.openfoam.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object fvSchemes;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
ddtSchemes
|
||||
{
|
||||
default Euler;
|
||||
}
|
||||
|
||||
gradSchemes
|
||||
{
|
||||
default Gauss linear;
|
||||
grad(p) Gauss linear;
|
||||
grad(b) Gauss pointLinear;
|
||||
}
|
||||
|
||||
divSchemes
|
||||
{
|
||||
default none;
|
||||
|
||||
div(phi,U) Gauss limitedLinearV 1;
|
||||
div(phiU,p) Gauss limitedLinear 1;
|
||||
div(phid,p) Gauss limitedLinear 1;
|
||||
div(phi,k) Gauss limitedLinear 1;
|
||||
div(phi,epsilon) Gauss limitedLinear 1;
|
||||
|
||||
div(phiXi,Xi) Gauss limitedLinear 1;
|
||||
div(phiXi,Xp) Gauss limitedLinear 1;
|
||||
|
||||
div(phi,Ep) Gauss limitedLinear 1;
|
||||
div(phi,Xp) Gauss limitedLinear 1;
|
||||
|
||||
div(phiXi,GRxp) Gauss limitedLinear 1;
|
||||
div(phiXi,GRep) Gauss limitedLinear 1;
|
||||
div(phiXi,Ep) Gauss limitedLinear 1;
|
||||
div(phiSt,b) Gauss limitedLinear 1;
|
||||
|
||||
div(phi,K) Gauss limitedLinear 1;
|
||||
|
||||
div(phi,ft_b_ha_hau_H2OPS_Y) Gauss multivariateSelection
|
||||
{
|
||||
ft limitedLinear01 1;
|
||||
b limitedLinear01 1;
|
||||
Xi limitedLinear 1;
|
||||
Xp limitedLinear 1;
|
||||
Ep limitedLinear 1;
|
||||
h limitedLinear 1;
|
||||
hu limitedLinear 1;
|
||||
ha limitedLinear 1;
|
||||
hau limitedLinear 1;
|
||||
H2OPS limitedLinear 1;
|
||||
water limitedLinear 1;
|
||||
Y limitedLinear 1;
|
||||
AIR limitedLinear 1;
|
||||
}
|
||||
|
||||
div(phi,ft_b_h_hu) Gauss multivariateSelection
|
||||
{
|
||||
ft limitedLinear01 1;
|
||||
b limitedLinear01 1;
|
||||
Xi limitedLinear 1;
|
||||
Xp limitedLinear 1;
|
||||
Ep limitedLinear 1;
|
||||
h limitedLinear 1;
|
||||
hu limitedLinear 1;
|
||||
ha limitedLinear 1;
|
||||
hau limitedLinear 1;
|
||||
}
|
||||
|
||||
div((Su*grad(b))) Gauss linear;
|
||||
div((U+((Su*Xi)*grad(b)))) Gauss linear;
|
||||
div((muEff*dev2(T(grad(U))))) Gauss linear;
|
||||
div(((rho*nuEff)*dev2(T(grad(U))))) Gauss linear;
|
||||
|
||||
div(Ud) Gauss linear;
|
||||
}
|
||||
|
||||
laplacianSchemes
|
||||
{
|
||||
default Gauss linear uncorrected;
|
||||
}
|
||||
|
||||
interpolationSchemes
|
||||
{
|
||||
default linear;
|
||||
}
|
||||
|
||||
snGradSchemes
|
||||
{
|
||||
default uncorrected;
|
||||
}
|
||||
|
||||
fluxRequired
|
||||
{
|
||||
default no;
|
||||
p;
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,161 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: v1912 |
|
||||
| \\ / A nd | Website: www.openfoam.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object fvSolution;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
solvers
|
||||
{
|
||||
rho
|
||||
{
|
||||
solver PCG;
|
||||
preconditioner DIC;
|
||||
tolerance 1e-09;
|
||||
relTol 0.0;
|
||||
}
|
||||
|
||||
rhoFinal
|
||||
{
|
||||
$rho;
|
||||
}
|
||||
|
||||
p
|
||||
{
|
||||
solver PBiCG;
|
||||
preconditioner DILU;
|
||||
tolerance 1e-9;
|
||||
relTol 0.01;
|
||||
}
|
||||
|
||||
pFinal
|
||||
{
|
||||
$p;
|
||||
relTol 0;
|
||||
}
|
||||
|
||||
/*
|
||||
"(b|Xi|Xp|Ep|GRxp|GRep|ft|ha|hau|k|epsilon|H2OPS)"
|
||||
{
|
||||
solver PBiCG;
|
||||
preconditioner DILU;
|
||||
tolerance 1e-09;
|
||||
relTol 0.01;
|
||||
}
|
||||
|
||||
"(b|Xi|Xp|Ep|GRxp|GRep|ft|ha|hau|k|epsilon|H2OPS)Final"
|
||||
{
|
||||
solver PBiCG;
|
||||
preconditioner DILU;
|
||||
tolerance 1e-09;
|
||||
relTol 0;
|
||||
}
|
||||
*/
|
||||
"(b|Xi|Xp|Ep|GRxp|GRep|ft|h|hu|ha|hau|k|epsilon)"
|
||||
{
|
||||
solver smoothSolver;
|
||||
smoother GaussSeidel;
|
||||
tolerance 1e-09;
|
||||
relTol 0.05;
|
||||
}
|
||||
"(b|Xi|Xp|Ep|GRxp|GRep|ft|h|hu|ha|hau|k|epsilon)Final"
|
||||
{
|
||||
solver smoothSolver;
|
||||
smoother GaussSeidel;
|
||||
tolerance 1e-09;
|
||||
relTol 0.0;
|
||||
}
|
||||
}
|
||||
|
||||
PIMPLE
|
||||
{
|
||||
nCorrectors 1;
|
||||
nOuterCorrectors 10;
|
||||
nNonOrthogonalCorrectors 3;
|
||||
momentumPredictor true;
|
||||
transonic true;
|
||||
|
||||
residualControl
|
||||
{
|
||||
b
|
||||
{
|
||||
tolerance 1e-5;
|
||||
relTol 0;
|
||||
}
|
||||
p
|
||||
{
|
||||
tolerance 1e-5;
|
||||
relTol 0;
|
||||
}
|
||||
Xi
|
||||
{
|
||||
tolerance 1e-5;
|
||||
relTol 0;
|
||||
}
|
||||
Xp
|
||||
{
|
||||
tolerance 1e-5;
|
||||
relTol 0;
|
||||
}
|
||||
Ep
|
||||
{
|
||||
tolerance 1e-5;
|
||||
relTol 0;
|
||||
}
|
||||
ft
|
||||
{
|
||||
tolerance 1e-5;
|
||||
relTol 0;
|
||||
}
|
||||
h
|
||||
{
|
||||
tolerance 1e-5;
|
||||
relTol 0;
|
||||
}
|
||||
hu
|
||||
{
|
||||
tolerance 1e-5;
|
||||
relTol 0;
|
||||
}
|
||||
k
|
||||
{
|
||||
tolerance 1e-5;
|
||||
relTol 0;
|
||||
}
|
||||
epsilon
|
||||
{
|
||||
tolerance 1e-5;
|
||||
relTol 0;
|
||||
}
|
||||
U
|
||||
{
|
||||
tolerance 1e-5;
|
||||
relTol 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
relaxationFactors
|
||||
{
|
||||
fields
|
||||
{
|
||||
}
|
||||
equations
|
||||
{
|
||||
U 0.9;
|
||||
UFinal 1.0;
|
||||
"(b|Xi|Xp|Ep|GRxp|GRep|ft|ha|hau|k|epsilon|H2OPS)" 0.9;
|
||||
"(b|Xi|Xp|Ep|GRxp|GRep|ft|ha|hau|k|epsilon|H2OPS)Final" 1.0;
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,21 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: v1912 |
|
||||
| \\ / A nd | Website: www.openfoam.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object mapFieldsDict;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
patchMap ( );
|
||||
|
||||
cuttingPatches ( );
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,71 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: v1912 |
|
||||
| \\ / A nd | Website: www.openfoam.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object probes;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
probes
|
||||
{
|
||||
name probes;
|
||||
type probes;
|
||||
|
||||
libs ("libsampling.so");
|
||||
|
||||
writeControl timeStep;
|
||||
writeInterval 1;
|
||||
|
||||
probeLocations
|
||||
(
|
||||
(1.5125 1.5125 0.5)
|
||||
(1.6000 1.5125 0.5)
|
||||
(1.7000 1.5125 0.5)
|
||||
(1.8000 1.5125 0.5)
|
||||
(1.9000 1.5125 0.5)
|
||||
(2.0000 1.5125 0.5)
|
||||
(2.1000 1.5125 0.5)
|
||||
(2.2000 1.5125 0.5)
|
||||
(2.3000 1.5125 0.5)
|
||||
(2.4000 1.5125 0.5)
|
||||
(2.5000 1.5125 0.5)
|
||||
(2.6000 1.5125 0.5)
|
||||
(2.7000 1.5125 0.5)
|
||||
(2.8000 1.5125 0.5)
|
||||
(2.9000 1.5125 0.5)
|
||||
(3.0000 1.5125 0.5)
|
||||
(3.2000 1.5125 0.5)
|
||||
(3.4000 1.5125 0.5)
|
||||
(3.6000 1.5125 0.5)
|
||||
(3.8000 1.5125 0.5)
|
||||
(4.0000 1.5125 0.5)
|
||||
(4.3000 1.5125 0.5)
|
||||
(4.6000 1.5125 0.5)
|
||||
(5.0000 1.5125 0.5)
|
||||
);
|
||||
|
||||
fields
|
||||
(
|
||||
p
|
||||
b
|
||||
epsilon
|
||||
ft
|
||||
k
|
||||
rho
|
||||
St
|
||||
Su
|
||||
T
|
||||
U
|
||||
Xi
|
||||
);
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,64 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: v1912 |
|
||||
| \\ / A nd | Website: www.openfoam.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object refineMeshDict;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
// Cells to refine; name of 'cellSet'
|
||||
set c0;
|
||||
|
||||
// Type of coordinate system:
|
||||
// - global : coordinate system same for every cell. Usually aligned with
|
||||
// x,y,z axis. Specify in globalCoeffs section below.
|
||||
// - patchLocal : coordinate system different for every cell. Specify in
|
||||
// patchLocalCoeffs section below.
|
||||
coordinateSystem global;
|
||||
|
||||
// Specifies 2 directions by a name and a vector. The normal direction is
|
||||
// calculated as tan1^tan2
|
||||
globalCoeffs
|
||||
{
|
||||
tan1 ( 1 0 0 );
|
||||
tan2 ( 0 1 0 );
|
||||
}
|
||||
|
||||
patchLocalCoeffs
|
||||
{
|
||||
// Normal direction is face normal of zero'th face of patch
|
||||
patch outside;
|
||||
tan1 ( 1 0 0 );
|
||||
tan2 ( 0 0 1 );
|
||||
}
|
||||
|
||||
// Specifies the direction to be refined by the name used above
|
||||
// To refine in the third direction, use the keyword 'normal'
|
||||
directions
|
||||
(
|
||||
tan1
|
||||
tan2
|
||||
normal
|
||||
);
|
||||
|
||||
// Whether to use hex topology. This will
|
||||
// - if patchLocal: all cells on selected patch should be hex
|
||||
// - split all hexes in 2x2x2 through the middle of edges.
|
||||
useHexTopology yes;
|
||||
|
||||
// Cut purely geometric (will cut hexes through vertices) or take
|
||||
// topology into account. Incompatible with 'useHexTopology'
|
||||
geometricCut no;
|
||||
|
||||
// Write meshes from intermediate steps
|
||||
writeMesh no;
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,38 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: v1912 |
|
||||
| \\ / A nd | Website: www.openfoam.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object setFieldsDict;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
defaultFieldValues
|
||||
(
|
||||
volScalarFieldValue p 100000
|
||||
volScalarFieldValue T 287
|
||||
volScalarFieldValue Tu 287
|
||||
volScalarFieldValue ft 0
|
||||
);
|
||||
|
||||
regions
|
||||
(
|
||||
boxToCell
|
||||
{
|
||||
box (0 0 0) (3.0 3.0 2.0);
|
||||
|
||||
fieldValues
|
||||
(
|
||||
volScalarFieldValue ft 0.0659567323835564
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,48 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: v1912 |
|
||||
| \\ / A nd | Website: www.openfoam.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object setFieldsDict;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
defaultFieldValues
|
||||
(
|
||||
);
|
||||
|
||||
regions
|
||||
(
|
||||
boxToCell
|
||||
{
|
||||
box (0 0 0) (1 1 1);
|
||||
|
||||
fieldValues
|
||||
(
|
||||
volScalarFieldValue betav 1.0
|
||||
volScalarFieldValue Ep 0.0
|
||||
volScalarFieldValue Lobs 0.1
|
||||
volScalarFieldValue GRep 0.0
|
||||
volScalarFieldValue Xi 1.0
|
||||
volScalarFieldValue Xp 1.0
|
||||
volScalarFieldValue GRxp 0.0
|
||||
volScalarFieldValue Aw 0.0
|
||||
volScalarFieldValue Nv 0.0
|
||||
volSymmTensorFieldValue betai (1 0 0 1 0 1)
|
||||
volSymmTensorFieldValue Blong (0 0 0 0 0 0)
|
||||
volSymmTensorFieldValue Bv (0 0 0 0 0 0)
|
||||
volSymmTensorFieldValue CR (0 0 0 0 0 0)
|
||||
volSymmTensorFieldValue CT (0 0 0 0 0 0)
|
||||
volSymmTensorFieldValue nsv (0 0 0 0 0 0)
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,28 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: v1912 |
|
||||
| \\ / A nd | Website: www.openfoam.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object topoSetDict;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
actions
|
||||
(
|
||||
{
|
||||
name c0;
|
||||
type cellSet;
|
||||
action new;
|
||||
source boxToCell;
|
||||
box (1.505 1.505 0.4845) (1.555 1.555 0.5355);
|
||||
}
|
||||
);
|
||||
|
||||
// ************************************************************************* //
|
||||
Reference in New Issue
Block a user