mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
more updates...
This commit is contained in:
@ -10,7 +10,7 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class volScalarField;
|
class volScalarField;
|
||||||
object gamma;
|
object alpha1;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
|||||||
@ -10,7 +10,7 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class volScalarField;
|
class volScalarField;
|
||||||
object gamma;
|
object alpha1;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
@ -11,7 +11,7 @@ FoamFile
|
|||||||
format ascii;
|
format ascii;
|
||||||
class volScalarField;
|
class volScalarField;
|
||||||
location "0";
|
location "0";
|
||||||
object gamma;
|
object alpha1;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
|||||||
@ -10,7 +10,7 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class volScalarField;
|
class volScalarField;
|
||||||
object gamma;
|
object alpha1;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
|||||||
@ -24,7 +24,7 @@ gradSchemes
|
|||||||
{
|
{
|
||||||
default Gauss linear;
|
default Gauss linear;
|
||||||
grad(U) Gauss linear;
|
grad(U) Gauss linear;
|
||||||
grad(gamma) Gauss linear;
|
grad(alpha) Gauss linear;
|
||||||
}
|
}
|
||||||
|
|
||||||
divSchemes
|
divSchemes
|
||||||
|
|||||||
@ -28,7 +28,7 @@ regions
|
|||||||
box ( 0 0 0 ) ( 0.6 0.1875 0.75 );
|
box ( 0 0 0 ) ( 0.6 0.1875 0.75 );
|
||||||
fieldValues
|
fieldValues
|
||||||
(
|
(
|
||||||
volScalarFieldValue gamma 1
|
volScalarFieldValue alpha1 1
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|||||||
@ -10,7 +10,7 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class volScalarField;
|
class volScalarField;
|
||||||
object gamma;
|
object alpha1;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
@ -10,7 +10,7 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class volScalarField;
|
class volScalarField;
|
||||||
object gamma;
|
object alpha1;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
foamCleanTutorials cases
|
foamCleanTutorials cases
|
||||||
rm -rf 0/gamma.gz probes wallPressure pRefProbe
|
rm -rf 0/alpha1.gz probes wallPressure pRefProbe
|
||||||
|
|||||||
@ -4,6 +4,6 @@
|
|||||||
|
|
||||||
m4 constant/polyMesh/blockMeshDict.m4 > constant/polyMesh/blockMeshDict
|
m4 constant/polyMesh/blockMeshDict.m4 > constant/polyMesh/blockMeshDict
|
||||||
runApplication blockMesh
|
runApplication blockMesh
|
||||||
cp 0/gamma.org 0/gamma
|
cp 0/alpha1.org 0/alpha1
|
||||||
runApplication setFields
|
runApplication setFields
|
||||||
runApplication interDyMFoam
|
runApplication interDyMFoam
|
||||||
|
|||||||
@ -0,0 +1,21 @@
|
|||||||
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||||||
|
| ========= | |
|
||||||
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
|
| \\ / O peration | Version: 1.5 |
|
||||||
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||||
|
| \\/ M anipulation | |
|
||||||
|
\*---------------------------------------------------------------------------*/
|
||||||
|
FoamFile
|
||||||
|
{
|
||||||
|
version 2.0;
|
||||||
|
format ascii;
|
||||||
|
class dictionary;
|
||||||
|
location "constant";
|
||||||
|
object turbulenceProperties;
|
||||||
|
}
|
||||||
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
simulationType laminar;
|
||||||
|
|
||||||
|
|
||||||
|
// ************************************************************************* //
|
||||||
@ -24,14 +24,14 @@ gradSchemes
|
|||||||
{
|
{
|
||||||
default Gauss linear;
|
default Gauss linear;
|
||||||
grad(U) Gauss linear;
|
grad(U) Gauss linear;
|
||||||
grad(gamma) Gauss linear;
|
grad(alpha1) Gauss linear;
|
||||||
}
|
}
|
||||||
|
|
||||||
divSchemes
|
divSchemes
|
||||||
{
|
{
|
||||||
div(rho*phi,U) Gauss vanLeerV;
|
div(rho*phi,U) Gauss vanLeerV;
|
||||||
div(phi,gamma) Gauss vanLeer;
|
div(phi,alpha) Gauss vanLeer;
|
||||||
div(phirb,gamma) Gauss vanLeer;
|
div(phirb,alpha) Gauss vanLeer;
|
||||||
}
|
}
|
||||||
|
|
||||||
laplacianSchemes
|
laplacianSchemes
|
||||||
@ -54,7 +54,7 @@ fluxRequired
|
|||||||
default no;
|
default no;
|
||||||
pd ;
|
pd ;
|
||||||
pcorr ;
|
pcorr ;
|
||||||
gamma ;
|
alpha ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -94,14 +94,20 @@ PISO
|
|||||||
momentumPredictor no;
|
momentumPredictor no;
|
||||||
nCorrectors 2;
|
nCorrectors 2;
|
||||||
nNonOrthogonalCorrectors 0;
|
nNonOrthogonalCorrectors 0;
|
||||||
nGammaCorr 1;
|
nAlphaCorr 1;
|
||||||
nGammaSubCycles 3;
|
nAlphaSubCycles 3;
|
||||||
cGamma 1.5;
|
cAlpha 1.5;
|
||||||
correctPhi no;
|
correctPhi no;
|
||||||
pRefProbe
|
pRefProbe
|
||||||
{
|
{
|
||||||
fields ( p );
|
fields
|
||||||
probeLocations ( ( 0 0 0.15 ) );
|
(
|
||||||
|
p
|
||||||
|
);
|
||||||
|
probeLocations
|
||||||
|
(
|
||||||
|
( 0 0 0.15 )
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
pRefValue 100000;
|
pRefValue 100000;
|
||||||
|
|||||||
@ -15,9 +15,19 @@ FoamFile
|
|||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
defaultFieldValues ( volScalarFieldValue gamma 0 );
|
defaultFieldValues
|
||||||
|
(
|
||||||
|
volScalarFieldValue alpha1 0
|
||||||
|
);
|
||||||
|
|
||||||
regions ( boxToCell { box ( -100 -100 -100 ) ( 100 100 0 ) ; fieldValues ( volScalarFieldValue gamma 1 ) ; } );
|
regions
|
||||||
|
(
|
||||||
|
boxToCell
|
||||||
|
{
|
||||||
|
box ( -100 -100 -100 ) ( 100 100 0 );
|
||||||
|
fieldValues ( volScalarFieldValue alpha1 1 );
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -0,0 +1,37 @@
|
|||||||
|
/*--------------------------------*- 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 volScalarField;
|
||||||
|
object alpha1;
|
||||||
|
}
|
||||||
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
dimensions [0 0 0 0 0 0 0];
|
||||||
|
|
||||||
|
internalField uniform 0;
|
||||||
|
|
||||||
|
boundaryField
|
||||||
|
{
|
||||||
|
front
|
||||||
|
{
|
||||||
|
type empty;
|
||||||
|
}
|
||||||
|
back
|
||||||
|
{
|
||||||
|
type empty;
|
||||||
|
}
|
||||||
|
walls
|
||||||
|
{
|
||||||
|
type zeroGradient;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// ************************************************************************* //
|
||||||
@ -0,0 +1,37 @@
|
|||||||
|
/*--------------------------------*- 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 volScalarField;
|
||||||
|
object alpha1;
|
||||||
|
}
|
||||||
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
dimensions [0 0 0 0 0 0 0];
|
||||||
|
|
||||||
|
internalField uniform 0;
|
||||||
|
|
||||||
|
boundaryField
|
||||||
|
{
|
||||||
|
front
|
||||||
|
{
|
||||||
|
type empty;
|
||||||
|
}
|
||||||
|
back
|
||||||
|
{
|
||||||
|
type empty;
|
||||||
|
}
|
||||||
|
walls
|
||||||
|
{
|
||||||
|
type zeroGradient;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// ************************************************************************* //
|
||||||
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
foamCleanTutorials cases
|
foamCleanTutorials cases
|
||||||
rm -rf 0/gamma.gz probes wallPressure pRefProbe
|
rm -rf 0/alpha1.gz probes wallPressure pRefProbe
|
||||||
|
|||||||
@ -4,6 +4,6 @@
|
|||||||
|
|
||||||
m4 constant/polyMesh/blockMeshDict.m4 > constant/polyMesh/blockMeshDict
|
m4 constant/polyMesh/blockMeshDict.m4 > constant/polyMesh/blockMeshDict
|
||||||
runApplication blockMesh
|
runApplication blockMesh
|
||||||
cp 0/gamma.org 0/gamma
|
cp 0/alpha1.org 0/alpha1
|
||||||
runApplication setFields
|
runApplication setFields
|
||||||
runApplication interDyMFoam
|
runApplication interDyMFoam
|
||||||
|
|||||||
@ -0,0 +1,21 @@
|
|||||||
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||||||
|
| ========= | |
|
||||||
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
|
| \\ / O peration | Version: 1.5 |
|
||||||
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||||
|
| \\/ M anipulation | |
|
||||||
|
\*---------------------------------------------------------------------------*/
|
||||||
|
FoamFile
|
||||||
|
{
|
||||||
|
version 2.0;
|
||||||
|
format ascii;
|
||||||
|
class dictionary;
|
||||||
|
location "constant";
|
||||||
|
object turbulenceProperties;
|
||||||
|
}
|
||||||
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
simulationType laminar;
|
||||||
|
|
||||||
|
|
||||||
|
// ************************************************************************* //
|
||||||
@ -24,14 +24,14 @@ gradSchemes
|
|||||||
{
|
{
|
||||||
default Gauss linear;
|
default Gauss linear;
|
||||||
grad(U) Gauss linear;
|
grad(U) Gauss linear;
|
||||||
grad(gamma) Gauss linear;
|
grad(alpha) Gauss linear;
|
||||||
}
|
}
|
||||||
|
|
||||||
divSchemes
|
divSchemes
|
||||||
{
|
{
|
||||||
div(rho*phi,U) Gauss vanLeerV;
|
div(rho*phi,U) Gauss vanLeerV;
|
||||||
div(phi,gamma) Gauss vanLeer;
|
div(phi,alpha) Gauss vanLeer;
|
||||||
div(phirb,gamma) Gauss vanLeer;
|
div(phirb,alpha) Gauss vanLeer;
|
||||||
}
|
}
|
||||||
|
|
||||||
laplacianSchemes
|
laplacianSchemes
|
||||||
@ -54,7 +54,7 @@ fluxRequired
|
|||||||
default no;
|
default no;
|
||||||
pd ;
|
pd ;
|
||||||
pcorr ;
|
pcorr ;
|
||||||
gamma ;
|
alpha ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -94,14 +94,20 @@ PISO
|
|||||||
momentumPredictor no;
|
momentumPredictor no;
|
||||||
nCorrectors 2;
|
nCorrectors 2;
|
||||||
nNonOrthogonalCorrectors 0;
|
nNonOrthogonalCorrectors 0;
|
||||||
nGammaCorr 1;
|
nAlphaCorr 1;
|
||||||
nGammaSubCycles 3;
|
nAlphaSubCycles 3;
|
||||||
cGamma 1.5;
|
cAlpha 1.5;
|
||||||
correctPhi no;
|
correctPhi no;
|
||||||
pRefProbe
|
pRefProbe
|
||||||
{
|
{
|
||||||
fields ( p );
|
fields
|
||||||
probeLocations ( ( 0 0 0.15 ) );
|
(
|
||||||
|
p
|
||||||
|
);
|
||||||
|
probeLocations
|
||||||
|
(
|
||||||
|
( 0 0 0.15 )
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
pRefValue 100000;
|
pRefValue 100000;
|
||||||
|
|||||||
@ -15,9 +15,19 @@ FoamFile
|
|||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
defaultFieldValues ( volScalarFieldValue gamma 0 );
|
defaultFieldValues
|
||||||
|
(
|
||||||
|
volScalarFieldValue alpha1 0
|
||||||
|
);
|
||||||
|
|
||||||
regions ( boxToCell { box ( -100 -100 -100 ) ( 100 100 0 ) ; fieldValues ( volScalarFieldValue gamma 1 ) ; } );
|
regions
|
||||||
|
(
|
||||||
|
boxToCell
|
||||||
|
{
|
||||||
|
box ( -100 -100 -100 ) ( 100 100 0 );
|
||||||
|
fieldValues ( volScalarFieldValue alpha1 1 );
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -10,7 +10,7 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class volScalarField;
|
class volScalarField;
|
||||||
object gamma;
|
object alpha1;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
foamCleanTutorials cases
|
foamCleanTutorials cases
|
||||||
rm -rf 0/gamma.gz probes wallPressure pRefProbe
|
rm -rf 0/alpha1.gz probes wallPressure pRefProbe
|
||||||
|
|||||||
@ -4,6 +4,6 @@
|
|||||||
|
|
||||||
m4 constant/polyMesh/blockMeshDict.m4 > constant/polyMesh/blockMeshDict
|
m4 constant/polyMesh/blockMeshDict.m4 > constant/polyMesh/blockMeshDict
|
||||||
runApplication blockMesh
|
runApplication blockMesh
|
||||||
cp 0/gamma.org 0/gamma
|
cp 0/alpha1.org 0/alpha1
|
||||||
runApplication setFields
|
runApplication setFields
|
||||||
runApplication interDyMFoam
|
runApplication interDyMFoam
|
||||||
|
|||||||
@ -0,0 +1,21 @@
|
|||||||
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||||||
|
| ========= | |
|
||||||
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
|
| \\ / O peration | Version: 1.5 |
|
||||||
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||||
|
| \\/ M anipulation | |
|
||||||
|
\*---------------------------------------------------------------------------*/
|
||||||
|
FoamFile
|
||||||
|
{
|
||||||
|
version 2.0;
|
||||||
|
format ascii;
|
||||||
|
class dictionary;
|
||||||
|
location "constant";
|
||||||
|
object turbulenceProperties;
|
||||||
|
}
|
||||||
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
simulationType laminar;
|
||||||
|
|
||||||
|
|
||||||
|
// ************************************************************************* //
|
||||||
@ -24,14 +24,14 @@ gradSchemes
|
|||||||
{
|
{
|
||||||
default Gauss linear;
|
default Gauss linear;
|
||||||
grad(U) Gauss linear;
|
grad(U) Gauss linear;
|
||||||
grad(gamma) Gauss linear;
|
grad(alpha) Gauss linear;
|
||||||
}
|
}
|
||||||
|
|
||||||
divSchemes
|
divSchemes
|
||||||
{
|
{
|
||||||
div(rho*phi,U) Gauss vanLeerV;
|
div(rho*phi,U) Gauss vanLeerV;
|
||||||
div(phi,gamma) Gauss vanLeer;
|
div(phi,alpha) Gauss vanLeer;
|
||||||
div(phirb,gamma) Gauss vanLeer;
|
div(phirb,alpha) Gauss vanLeer;
|
||||||
}
|
}
|
||||||
|
|
||||||
laplacianSchemes
|
laplacianSchemes
|
||||||
@ -54,7 +54,7 @@ fluxRequired
|
|||||||
default no;
|
default no;
|
||||||
pd ;
|
pd ;
|
||||||
pcorr ;
|
pcorr ;
|
||||||
gamma ;
|
alpha ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -94,14 +94,20 @@ PISO
|
|||||||
momentumPredictor no;
|
momentumPredictor no;
|
||||||
nCorrectors 2;
|
nCorrectors 2;
|
||||||
nNonOrthogonalCorrectors 0;
|
nNonOrthogonalCorrectors 0;
|
||||||
nGammaCorr 1;
|
nAlphaCorr 1;
|
||||||
nGammaSubCycles 3;
|
nAlphaSubCycles 3;
|
||||||
cGamma 1.5;
|
cAlpha 1.5;
|
||||||
correctPhi no;
|
correctPhi no;
|
||||||
pRefProbe
|
pRefProbe
|
||||||
{
|
{
|
||||||
fields ( p );
|
fields
|
||||||
probeLocations ( ( 0 0 0.15 ) );
|
(
|
||||||
|
p
|
||||||
|
);
|
||||||
|
probeLocations
|
||||||
|
(
|
||||||
|
( 0 0 0.15 )
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
pRefValue 100000;
|
pRefValue 100000;
|
||||||
|
|||||||
@ -15,9 +15,19 @@ FoamFile
|
|||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
defaultFieldValues ( volScalarFieldValue gamma 0 );
|
defaultFieldValues
|
||||||
|
(
|
||||||
|
volScalarFieldValue alpha1 0
|
||||||
|
);
|
||||||
|
|
||||||
regions ( boxToCell { box ( -100 -100 -100 ) ( 100 100 0 ) ; fieldValues ( volScalarFieldValue gamma 1 ) ; } );
|
regions
|
||||||
|
(
|
||||||
|
boxToCell
|
||||||
|
{
|
||||||
|
box ( -100 -100 -100 ) ( 100 100 0 );
|
||||||
|
fieldValues ( volScalarFieldValue alpha1 1 );
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -10,7 +10,7 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class volScalarField;
|
class volScalarField;
|
||||||
object gamma;
|
object alpha1;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
foamCleanTutorials cases
|
foamCleanTutorials cases
|
||||||
rm -rf 0/gamma.gz probes wallPressure pRefProbe
|
rm -rf 0/alpha1.gz probes wallPressure pRefProbe
|
||||||
|
|||||||
@ -4,6 +4,6 @@
|
|||||||
|
|
||||||
m4 constant/polyMesh/blockMeshDict.m4 > constant/polyMesh/blockMeshDict
|
m4 constant/polyMesh/blockMeshDict.m4 > constant/polyMesh/blockMeshDict
|
||||||
runApplication blockMesh
|
runApplication blockMesh
|
||||||
cp 0/gamma.org 0/gamma
|
cp 0/alpha1.org 0/alpha1
|
||||||
runApplication setFields
|
runApplication setFields
|
||||||
runApplication interDyMFoam
|
runApplication interDyMFoam
|
||||||
|
|||||||
@ -0,0 +1,21 @@
|
|||||||
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||||||
|
| ========= | |
|
||||||
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
|
| \\ / O peration | Version: 1.5 |
|
||||||
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||||
|
| \\/ M anipulation | |
|
||||||
|
\*---------------------------------------------------------------------------*/
|
||||||
|
FoamFile
|
||||||
|
{
|
||||||
|
version 2.0;
|
||||||
|
format ascii;
|
||||||
|
class dictionary;
|
||||||
|
location "constant";
|
||||||
|
object turbulenceProperties;
|
||||||
|
}
|
||||||
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
simulationType laminar;
|
||||||
|
|
||||||
|
|
||||||
|
// ************************************************************************* //
|
||||||
@ -24,14 +24,14 @@ gradSchemes
|
|||||||
{
|
{
|
||||||
default Gauss linear;
|
default Gauss linear;
|
||||||
grad(U) Gauss linear;
|
grad(U) Gauss linear;
|
||||||
grad(gamma) Gauss linear;
|
grad(alpha) Gauss linear;
|
||||||
}
|
}
|
||||||
|
|
||||||
divSchemes
|
divSchemes
|
||||||
{
|
{
|
||||||
div(rho*phi,U) Gauss vanLeerV;
|
div(rho*phi,U) Gauss vanLeerV;
|
||||||
div(phi,gamma) Gauss vanLeer;
|
div(phi,alpha) Gauss vanLeer;
|
||||||
div(phirb,gamma) Gauss vanLeer;
|
div(phirb,alpha) Gauss vanLeer;
|
||||||
}
|
}
|
||||||
|
|
||||||
laplacianSchemes
|
laplacianSchemes
|
||||||
@ -54,7 +54,7 @@ fluxRequired
|
|||||||
default no;
|
default no;
|
||||||
pd ;
|
pd ;
|
||||||
pcorr ;
|
pcorr ;
|
||||||
gamma ;
|
alpha ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -94,14 +94,20 @@ PISO
|
|||||||
momentumPredictor no;
|
momentumPredictor no;
|
||||||
nCorrectors 2;
|
nCorrectors 2;
|
||||||
nNonOrthogonalCorrectors 0;
|
nNonOrthogonalCorrectors 0;
|
||||||
nGammaCorr 1;
|
nAlphaCorr 1;
|
||||||
nGammaSubCycles 3;
|
nAlphaSubCycles 3;
|
||||||
cGamma 1.5;
|
cAlpha 1.5;
|
||||||
correctPhi no;
|
correctPhi no;
|
||||||
pRefProbe
|
pRefProbe
|
||||||
{
|
{
|
||||||
fields ( p );
|
fields
|
||||||
probeLocations ( ( 0 0 0.15 ) );
|
(
|
||||||
|
p
|
||||||
|
);
|
||||||
|
probeLocations
|
||||||
|
(
|
||||||
|
( 0 0 0.15 )
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
pRefValue 100000;
|
pRefValue 100000;
|
||||||
|
|||||||
@ -15,9 +15,19 @@ FoamFile
|
|||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
defaultFieldValues ( volScalarFieldValue gamma 0 );
|
defaultFieldValues
|
||||||
|
(
|
||||||
|
volScalarFieldValue alpha1 0
|
||||||
|
);
|
||||||
|
|
||||||
regions ( boxToCell { box ( -100 -100 -100 ) ( 100 100 0 ) ; fieldValues ( volScalarFieldValue gamma 1 ) ; } );
|
regions
|
||||||
|
(
|
||||||
|
boxToCell
|
||||||
|
{
|
||||||
|
box ( -100 -100 -100 ) ( 100 100 0 );
|
||||||
|
fieldValues ( volScalarFieldValue alpha1 1 );
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -10,7 +10,7 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class volScalarField;
|
class volScalarField;
|
||||||
object gamma;
|
object alpha1;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
foamCleanTutorials cases
|
foamCleanTutorials cases
|
||||||
rm -rf 0/gamma.gz probes wallPressure pRefProbe
|
rm -rf 0/alpha1.gz probes wallPressure pRefProbe
|
||||||
|
|||||||
@ -4,6 +4,6 @@
|
|||||||
|
|
||||||
m4 constant/polyMesh/blockMeshDict.m4 > constant/polyMesh/blockMeshDict
|
m4 constant/polyMesh/blockMeshDict.m4 > constant/polyMesh/blockMeshDict
|
||||||
runApplication blockMesh
|
runApplication blockMesh
|
||||||
cp 0/gamma.org 0/gamma
|
cp 0/alpha1.org 0/alpha1
|
||||||
runApplication setFields
|
runApplication setFields
|
||||||
runApplication interDyMFoam
|
runApplication interDyMFoam
|
||||||
|
|||||||
@ -0,0 +1,21 @@
|
|||||||
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||||||
|
| ========= | |
|
||||||
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
|
| \\ / O peration | Version: 1.5 |
|
||||||
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||||
|
| \\/ M anipulation | |
|
||||||
|
\*---------------------------------------------------------------------------*/
|
||||||
|
FoamFile
|
||||||
|
{
|
||||||
|
version 2.0;
|
||||||
|
format ascii;
|
||||||
|
class dictionary;
|
||||||
|
location "constant";
|
||||||
|
object turbulenceProperties;
|
||||||
|
}
|
||||||
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
simulationType laminar;
|
||||||
|
|
||||||
|
|
||||||
|
// ************************************************************************* //
|
||||||
@ -24,14 +24,14 @@ gradSchemes
|
|||||||
{
|
{
|
||||||
default Gauss linear;
|
default Gauss linear;
|
||||||
grad(U) Gauss linear;
|
grad(U) Gauss linear;
|
||||||
grad(gamma) Gauss linear;
|
grad(alpha) Gauss linear;
|
||||||
}
|
}
|
||||||
|
|
||||||
divSchemes
|
divSchemes
|
||||||
{
|
{
|
||||||
div(rho*phi,U) Gauss vanLeerV;
|
div(rho*phi,U) Gauss vanLeerV;
|
||||||
div(phi,gamma) Gauss vanLeer;
|
div(phi,alpha) Gauss vanLeer;
|
||||||
div(phirb,gamma) Gauss vanLeer;
|
div(phirb,alpha) Gauss vanLeer;
|
||||||
}
|
}
|
||||||
|
|
||||||
laplacianSchemes
|
laplacianSchemes
|
||||||
@ -54,7 +54,7 @@ fluxRequired
|
|||||||
default no;
|
default no;
|
||||||
pd ;
|
pd ;
|
||||||
pcorr ;
|
pcorr ;
|
||||||
gamma ;
|
alpha ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -94,14 +94,20 @@ PISO
|
|||||||
momentumPredictor no;
|
momentumPredictor no;
|
||||||
nCorrectors 2;
|
nCorrectors 2;
|
||||||
nNonOrthogonalCorrectors 0;
|
nNonOrthogonalCorrectors 0;
|
||||||
nGammaCorr 1;
|
nAlphaCorr 1;
|
||||||
nGammaSubCycles 3;
|
nAlphaSubCycles 3;
|
||||||
cGamma 1.5;
|
cAlpha 1.5;
|
||||||
correctPhi no;
|
correctPhi no;
|
||||||
pRefProbe
|
pRefProbe
|
||||||
{
|
{
|
||||||
fields ( p );
|
fields
|
||||||
probeLocations ( ( 0 0 0.15 ) );
|
(
|
||||||
|
p
|
||||||
|
);
|
||||||
|
probeLocations
|
||||||
|
(
|
||||||
|
( 0 0 0.15 )
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
pRefValue 100000;
|
pRefValue 100000;
|
||||||
|
|||||||
@ -15,9 +15,19 @@ FoamFile
|
|||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
defaultFieldValues ( volScalarFieldValue gamma 0 );
|
defaultFieldValues
|
||||||
|
(
|
||||||
|
volScalarFieldValue alpha1 0
|
||||||
|
);
|
||||||
|
|
||||||
regions ( boxToCell { box ( -100 -100 -100 ) ( 100 100 0 ) ; fieldValues ( volScalarFieldValue gamma 1 ) ; } );
|
regions
|
||||||
|
(
|
||||||
|
boxToCell
|
||||||
|
{
|
||||||
|
box ( -100 -100 -100 ) ( 100 100 0 );
|
||||||
|
fieldValues ( volScalarFieldValue alpha1 1 );
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
| ========= | |
|
| ========= | |
|
||||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
| \\ / O peration | Version: 1.5 |
|
| \\ / O peration | Version: 1.5 |
|
||||||
| \\ / A nd | Web: http://www.OpenFOAM.org |
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
FoamFile
|
FoamFile
|
||||||
@ -10,6 +10,7 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class volScalarField;
|
class volScalarField;
|
||||||
|
location "0";
|
||||||
object alphas;
|
object alphas;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
@ -2314,4 +2315,5 @@ boundaryField
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -0,0 +1,21 @@
|
|||||||
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||||||
|
| ========= | |
|
||||||
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
|
| \\ / O peration | Version: 1.5 |
|
||||||
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||||
|
| \\/ M anipulation | |
|
||||||
|
\*---------------------------------------------------------------------------*/
|
||||||
|
FoamFile
|
||||||
|
{
|
||||||
|
version 2.0;
|
||||||
|
format ascii;
|
||||||
|
class dictionary;
|
||||||
|
location "constant";
|
||||||
|
object environmentalProperties;
|
||||||
|
}
|
||||||
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
g g [ 0 1 -2 0 0 0 0 ] ( 0 -9.81 0 );
|
||||||
|
|
||||||
|
|
||||||
|
// ************************************************************************* //
|
||||||
Binary file not shown.
@ -0,0 +1,21 @@
|
|||||||
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||||||
|
| ========= | |
|
||||||
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
|
| \\ / O peration | Version: 1.5 |
|
||||||
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||||
|
| \\/ M anipulation | |
|
||||||
|
\*---------------------------------------------------------------------------*/
|
||||||
|
FoamFile
|
||||||
|
{
|
||||||
|
version 2.0;
|
||||||
|
format ascii;
|
||||||
|
class dictionary;
|
||||||
|
location "constant";
|
||||||
|
object motionProperties;
|
||||||
|
}
|
||||||
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
movingFvMesh staticFvMesh;
|
||||||
|
|
||||||
|
|
||||||
|
// ************************************************************************* //
|
||||||
Binary file not shown.
@ -2,7 +2,7 @@
|
|||||||
| ========= | |
|
| ========= | |
|
||||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
| \\ / O peration | Version: 1.5 |
|
| \\ / O peration | Version: 1.5 |
|
||||||
| \\ / A nd | Web: http://www.OpenFOAM.org |
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
FoamFile
|
FoamFile
|
||||||
@ -10,51 +10,16 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class dictionary;
|
class dictionary;
|
||||||
|
location "constant";
|
||||||
object transportProperties;
|
object transportProperties;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
phases
|
phases ( water { transportModel Newtonian ; nu nu [ 0 2 -1 0 0 0 0 ] 1e-06 ; rho rho [ 1 -3 0 0 0 0 0 ] 1000 ; } oil { transportModel Newtonian ; nu nu [ 0 2 -1 0 0 0 0 ] 1e-06 ; rho rho [ 1 -3 0 0 0 0 0 ] 500 ; } mercury { transportModel Newtonian ; nu nu [ 0 2 -1 0 0 0 0 ] 1.125e-07 ; rho rho [ 1 -3 0 0 0 0 0 ] 13529 ; } air { transportModel Newtonian ; nu nu [ 0 2 -1 0 0 0 0 ] 1.48e-05 ; rho rho [ 1 -3 0 0 0 0 0 ] 1 ; } );
|
||||||
(
|
|
||||||
water
|
|
||||||
{
|
|
||||||
transportModel Newtonian;
|
|
||||||
nu nu [0 2 -1 0 0 0 0] 1e-06;
|
|
||||||
rho rho [1 -3 0 0 0 0 0] 1000;
|
|
||||||
}
|
|
||||||
|
|
||||||
oil
|
refPhase air;
|
||||||
{
|
|
||||||
transportModel Newtonian;
|
|
||||||
nu nu [0 2 -1 0 0 0 0] 1e-06;
|
|
||||||
rho rho [1 -3 0 0 0 0 0] 500;
|
|
||||||
}
|
|
||||||
|
|
||||||
mercury
|
sigmas ( ( air water ) 0.07 ( air oil ) 0.07 ( air mercury ) 0.07 ( water oil ) 0.07 ( water mercury ) 0.07 ( oil mercury ) 0.07 );
|
||||||
{
|
|
||||||
transportModel Newtonian;
|
|
||||||
nu nu [0 2 -1 0 0 0 0] 0.1125e-06;
|
|
||||||
rho rho [1 -3 0 0 0 0 0] 13529;
|
|
||||||
}
|
|
||||||
|
|
||||||
air
|
|
||||||
{
|
|
||||||
transportModel Newtonian;
|
|
||||||
nu nu [0 2 -1 0 0 0 0] 1.48e-05;
|
|
||||||
rho rho [1 -3 0 0 0 0 0] 1;
|
|
||||||
}
|
|
||||||
);
|
|
||||||
|
|
||||||
refPhase air;
|
|
||||||
|
|
||||||
sigmas
|
|
||||||
(
|
|
||||||
(air water) 0.07
|
|
||||||
(air oil) 0.07
|
|
||||||
(air mercury) 0.07
|
|
||||||
(water oil) 0.07
|
|
||||||
(water mercury) 0.07
|
|
||||||
(oil mercury) 0.07
|
|
||||||
);
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -0,0 +1,21 @@
|
|||||||
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||||||
|
| ========= | |
|
||||||
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
|
| \\ / O peration | Version: 1.5 |
|
||||||
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||||
|
| \\/ M anipulation | |
|
||||||
|
\*---------------------------------------------------------------------------*/
|
||||||
|
FoamFile
|
||||||
|
{
|
||||||
|
version 2.0;
|
||||||
|
format ascii;
|
||||||
|
class dictionary;
|
||||||
|
location "constant";
|
||||||
|
object turbulenceProperties;
|
||||||
|
}
|
||||||
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
simulationType laminar;
|
||||||
|
|
||||||
|
|
||||||
|
// ************************************************************************* //
|
||||||
@ -2,7 +2,7 @@
|
|||||||
| ========= | |
|
| ========= | |
|
||||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
| \\ / O peration | Version: 1.5 |
|
| \\ / O peration | Version: 1.5 |
|
||||||
| \\ / A nd | Web: http://www.OpenFOAM.org |
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
FoamFile
|
FoamFile
|
||||||
@ -10,11 +10,11 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class dictionary;
|
class dictionary;
|
||||||
|
location "system";
|
||||||
object controlDict;
|
object controlDict;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
|
||||||
startFrom latestTime;
|
startFrom latestTime;
|
||||||
|
|
||||||
startTime 0;
|
startTime 0;
|
||||||
@ -47,6 +47,7 @@ adjustTimeStep yes;
|
|||||||
|
|
||||||
maxCo 0.5;
|
maxCo 0.5;
|
||||||
|
|
||||||
maxDeltaT 1.0;
|
maxDeltaT 1;
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
| ========= | |
|
| ========= | |
|
||||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
| \\ / O peration | Version: 1.5 |
|
| \\ / O peration | Version: 1.5 |
|
||||||
| \\ / A nd | Web: http://www.OpenFOAM.org |
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
FoamFile
|
FoamFile
|
||||||
@ -10,6 +10,7 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class dictionary;
|
class dictionary;
|
||||||
|
location "system";
|
||||||
object decomposeParDict;
|
object decomposeParDict;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
@ -20,26 +21,20 @@ method simple;
|
|||||||
|
|
||||||
simpleCoeffs
|
simpleCoeffs
|
||||||
{
|
{
|
||||||
n (2 2 1);
|
n ( 2 2 1 );
|
||||||
delta 0.001;
|
delta 0.001;
|
||||||
}
|
}
|
||||||
|
|
||||||
hierarchicalCoeffs
|
hierarchicalCoeffs
|
||||||
{
|
{
|
||||||
n (1 1 1);
|
n ( 1 1 1 );
|
||||||
delta 0.001;
|
delta 0.001;
|
||||||
order xyz;
|
order xyz;
|
||||||
}
|
}
|
||||||
|
|
||||||
metisCoeffs
|
metisCoeffs
|
||||||
{
|
{
|
||||||
processorWeights
|
processorWeights ( 1 1 1 1 );
|
||||||
(
|
|
||||||
1
|
|
||||||
1
|
|
||||||
1
|
|
||||||
1
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
manualCoeffs
|
manualCoeffs
|
||||||
@ -49,8 +44,7 @@ manualCoeffs
|
|||||||
|
|
||||||
distributed no;
|
distributed no;
|
||||||
|
|
||||||
roots
|
roots ( );
|
||||||
(
|
|
||||||
);
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
| ========= | |
|
| ========= | |
|
||||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
| \\ / O peration | Version: 1.5 |
|
| \\ / O peration | Version: 1.5 |
|
||||||
| \\ / A nd | Web: http://www.OpenFOAM.org |
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
FoamFile
|
FoamFile
|
||||||
@ -10,13 +10,14 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class dictionary;
|
class dictionary;
|
||||||
|
location "system";
|
||||||
object fvSchemes;
|
object fvSchemes;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
ddtSchemes
|
ddtSchemes
|
||||||
{
|
{
|
||||||
default Euler;
|
default Euler;
|
||||||
}
|
}
|
||||||
|
|
||||||
gradSchemes
|
gradSchemes
|
||||||
@ -29,8 +30,8 @@ gradSchemes
|
|||||||
divSchemes
|
divSchemes
|
||||||
{
|
{
|
||||||
div(rho*phi,U) Gauss upwind;
|
div(rho*phi,U) Gauss upwind;
|
||||||
div(phi,alpha) Gauss limitedLimitedLinear 1.0 -0.00001 1.00001;
|
div(phi,alpha) Gauss limitedLimitedLinear 1 -1e-05 1.00001;
|
||||||
div(phic,alpha) Gauss interfaceCompression; //upwind;
|
div(phic,alpha) Gauss interfaceCompression;
|
||||||
}
|
}
|
||||||
|
|
||||||
laplacianSchemes
|
laplacianSchemes
|
||||||
@ -53,4 +54,5 @@ fluxRequired
|
|||||||
default yes;
|
default yes;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
| ========= | |
|
| ========= | |
|
||||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
| \\ / O peration | Version: 1.5 |
|
| \\ / O peration | Version: 1.5 |
|
||||||
| \\ / A nd | Web: http://www.OpenFOAM.org |
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
FoamFile
|
FoamFile
|
||||||
@ -10,83 +10,92 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class dictionary;
|
class dictionary;
|
||||||
|
location "system";
|
||||||
object fvSolution;
|
object fvSolution;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
solvers
|
solvers
|
||||||
{
|
{
|
||||||
pcorr PCG
|
pcorr
|
||||||
{
|
{
|
||||||
preconditioner GAMG
|
solver PCG;
|
||||||
|
preconditioner
|
||||||
{
|
{
|
||||||
tolerance 1e-5;
|
preconditioner GAMG;
|
||||||
relTol 0;
|
tolerance 1e-05;
|
||||||
|
relTol 0;
|
||||||
smoother GaussSeidel;
|
smoother GaussSeidel;
|
||||||
nPreSweeps 0;
|
nPreSweeps 0;
|
||||||
nPostSweeps 2;
|
nPostSweeps 2;
|
||||||
nBottomSweeps 2;
|
nBottomSweeps 2;
|
||||||
|
|
||||||
cacheAgglomeration off;
|
cacheAgglomeration off;
|
||||||
nCellsInCoarsestLevel 10;
|
nCellsInCoarsestLevel 10;
|
||||||
agglomerator faceAreaPair;
|
agglomerator faceAreaPair;
|
||||||
mergeLevels 2;
|
mergeLevels 2;
|
||||||
};
|
}
|
||||||
|
|
||||||
tolerance 1e-5;
|
tolerance 1e-05;
|
||||||
relTol 0;
|
relTol 0;
|
||||||
maxIter 100;
|
maxIter 100;
|
||||||
};
|
}
|
||||||
|
|
||||||
pd GAMG
|
pd
|
||||||
{
|
{
|
||||||
tolerance 1e-7;
|
solver GAMG;
|
||||||
relTol 0.05;
|
tolerance 1e-07;
|
||||||
|
relTol 0.05;
|
||||||
smoother GaussSeidel;
|
smoother GaussSeidel;
|
||||||
nPreSweeps 0;
|
nPreSweeps 0;
|
||||||
nPostSweeps 2;
|
nPostSweeps 2;
|
||||||
nFinestSweeps 2;
|
nFinestSweeps 2;
|
||||||
|
|
||||||
cacheAgglomeration on;
|
cacheAgglomeration on;
|
||||||
nCellsInCoarsestLevel 10;
|
nCellsInCoarsestLevel 10;
|
||||||
agglomerator faceAreaPair;
|
agglomerator faceAreaPair;
|
||||||
mergeLevels 1;
|
mergeLevels 1;
|
||||||
};
|
}
|
||||||
|
|
||||||
pdFinal PCG
|
pdFinal
|
||||||
{
|
{
|
||||||
preconditioner GAMG
|
solver PCG;
|
||||||
|
preconditioner
|
||||||
{
|
{
|
||||||
tolerance 1e-7;
|
preconditioner GAMG;
|
||||||
relTol 0;
|
tolerance 1e-07;
|
||||||
|
relTol 0;
|
||||||
nVcycles 2;
|
nVcycles 2;
|
||||||
|
smoother GaussSeidel;
|
||||||
smoother GaussSeidel;
|
nPreSweeps 0;
|
||||||
nPreSweeps 0;
|
nPostSweeps 2;
|
||||||
nPostSweeps 2;
|
nFinestSweeps 2;
|
||||||
nFinestSweeps 2;
|
|
||||||
|
|
||||||
cacheAgglomeration on;
|
cacheAgglomeration on;
|
||||||
nCellsInCoarsestLevel 10;
|
nCellsInCoarsestLevel 10;
|
||||||
agglomerator faceAreaPair;
|
agglomerator faceAreaPair;
|
||||||
mergeLevels 1;
|
mergeLevels 1;
|
||||||
};
|
}
|
||||||
|
|
||||||
tolerance 1e-7;
|
tolerance 1e-07;
|
||||||
relTol 0;
|
relTol 0;
|
||||||
maxIter 20;
|
maxIter 20;
|
||||||
};
|
}
|
||||||
|
|
||||||
alpha smoothSolver
|
U
|
||||||
{
|
{
|
||||||
smoother GaussSeidel;
|
solver smoothSolver;
|
||||||
tolerance 1e-8;
|
smoother GaussSeidel;
|
||||||
relTol 0;
|
tolerance 1e-08;
|
||||||
nSweeps 1;
|
relTol 0;
|
||||||
};
|
nSweeps 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
alpha
|
||||||
|
{
|
||||||
|
solver smoothSolver;
|
||||||
|
smoother GaussSeidel;
|
||||||
|
tolerance 1e-08;
|
||||||
|
relTol 0;
|
||||||
|
nSweeps 1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
PISO
|
PISO
|
||||||
@ -99,4 +108,5 @@ PISO
|
|||||||
cAlpha 4;
|
cAlpha 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
| ========= | |
|
| ========= | |
|
||||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
| \\ / O peration | Version: 1.5 |
|
| \\ / O peration | Version: 1.5 |
|
||||||
| \\ / A nd | Web: http://www.OpenFOAM.org |
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
FoamFile
|
FoamFile
|
||||||
@ -10,6 +10,7 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class dictionary;
|
class dictionary;
|
||||||
|
location "system";
|
||||||
object setFieldsDict;
|
object setFieldsDict;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
@ -20,15 +21,14 @@ defaultFieldValues
|
|||||||
volScalarFieldValue alphaWater 0
|
volScalarFieldValue alphaWater 0
|
||||||
volScalarFieldValue alphaOil 0
|
volScalarFieldValue alphaOil 0
|
||||||
volScalarFieldValue alphaMercury 0
|
volScalarFieldValue alphaMercury 0
|
||||||
volVectorFieldValue U (0 0 0)
|
volVectorFieldValue U ( 0 0 0 )
|
||||||
);
|
);
|
||||||
|
|
||||||
regions
|
regions
|
||||||
(
|
(
|
||||||
boxToCell
|
boxToCell
|
||||||
{
|
{
|
||||||
box (0 0 -1) (0.1461 0.292 1);
|
box ( 0 0 -1 ) ( 0.1461 0.292 1 );
|
||||||
|
|
||||||
fieldValues
|
fieldValues
|
||||||
(
|
(
|
||||||
volScalarFieldValue alphaWater 1
|
volScalarFieldValue alphaWater 1
|
||||||
@ -37,11 +37,9 @@ regions
|
|||||||
volScalarFieldValue alphaAir 0
|
volScalarFieldValue alphaAir 0
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
boxToCell
|
boxToCell
|
||||||
{
|
{
|
||||||
box (0.1461 0 -1) (0.2922 0.292 1);
|
box ( 0.1461 0 -1 ) ( 0.2922 0.292 1 );
|
||||||
|
|
||||||
fieldValues
|
fieldValues
|
||||||
(
|
(
|
||||||
volScalarFieldValue alphaWater 0
|
volScalarFieldValue alphaWater 0
|
||||||
@ -50,11 +48,9 @@ regions
|
|||||||
volScalarFieldValue alphaAir 0
|
volScalarFieldValue alphaAir 0
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
boxToCell
|
boxToCell
|
||||||
{
|
{
|
||||||
box (0 0 -1) (0.1461 0.1 1);
|
box ( 0 0 -1 ) ( 0.1461 0.1 1 );
|
||||||
|
|
||||||
fieldValues
|
fieldValues
|
||||||
(
|
(
|
||||||
volScalarFieldValue alphaWater 0
|
volScalarFieldValue alphaWater 0
|
||||||
@ -65,4 +61,5 @@ regions
|
|||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
| ========= | |
|
| ========= | |
|
||||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
| \\ / O peration | Version: 1.5 |
|
| \\ / O peration | Version: 1.5 |
|
||||||
| \\ / A nd | Web: http://www.OpenFOAM.org |
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
FoamFile
|
FoamFile
|
||||||
@ -10,6 +10,7 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class volScalarField;
|
class volScalarField;
|
||||||
|
location "0";
|
||||||
object alphas;
|
object alphas;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
@ -34246,4 +34247,5 @@ boundaryField
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -0,0 +1,21 @@
|
|||||||
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||||||
|
| ========= | |
|
||||||
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
|
| \\ / O peration | Version: 1.5 |
|
||||||
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||||
|
| \\/ M anipulation | |
|
||||||
|
\*---------------------------------------------------------------------------*/
|
||||||
|
FoamFile
|
||||||
|
{
|
||||||
|
version 2.0;
|
||||||
|
format ascii;
|
||||||
|
class dictionary;
|
||||||
|
location "constant";
|
||||||
|
object environmentalProperties;
|
||||||
|
}
|
||||||
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
g g [ 0 1 -2 0 0 0 0 ] ( 0 -9.81 0 );
|
||||||
|
|
||||||
|
|
||||||
|
// ************************************************************************* //
|
||||||
Binary file not shown.
@ -0,0 +1,21 @@
|
|||||||
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||||||
|
| ========= | |
|
||||||
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
|
| \\ / O peration | Version: 1.5 |
|
||||||
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||||
|
| \\/ M anipulation | |
|
||||||
|
\*---------------------------------------------------------------------------*/
|
||||||
|
FoamFile
|
||||||
|
{
|
||||||
|
version 2.0;
|
||||||
|
format ascii;
|
||||||
|
class dictionary;
|
||||||
|
location "constant";
|
||||||
|
object motionProperties;
|
||||||
|
}
|
||||||
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
movingFvMesh staticFvMesh;
|
||||||
|
|
||||||
|
|
||||||
|
// ************************************************************************* //
|
||||||
Binary file not shown.
@ -1,8 +1,8 @@
|
|||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||||||
| ========= | |
|
| ========= | |
|
||||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
| \\ / O peration | Version: 1.5 |
|
| \\ / O peration | Version: dev |
|
||||||
| \\ / A nd | Web: http://www.OpenFOAM.org |
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
FoamFile
|
FoamFile
|
||||||
@ -10,46 +10,43 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class polyBoundaryMesh;
|
class polyBoundaryMesh;
|
||||||
|
location "constant/polyMesh";
|
||||||
object boundary;
|
object boundary;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
5
|
5
|
||||||
(
|
(
|
||||||
leftWall
|
leftWall
|
||||||
{
|
{
|
||||||
type wall;
|
type wall;
|
||||||
nFaces 195;
|
nFaces 195;
|
||||||
startFace 68014;
|
startFace 68014;
|
||||||
}
|
}
|
||||||
|
rightWall
|
||||||
rightWall
|
{
|
||||||
{
|
type wall;
|
||||||
type wall;
|
nFaces 195;
|
||||||
nFaces 195;
|
startFace 68209;
|
||||||
startFace 68209;
|
}
|
||||||
}
|
lowerWall
|
||||||
|
{
|
||||||
lowerWall
|
type wall;
|
||||||
{
|
nFaces 206;
|
||||||
type wall;
|
startFace 68404;
|
||||||
nFaces 206;
|
}
|
||||||
startFace 68404;
|
atmosphere
|
||||||
}
|
{
|
||||||
|
type patch;
|
||||||
atmosphere
|
nFaces 176;
|
||||||
{
|
startFace 68610;
|
||||||
type patch;
|
}
|
||||||
nFaces 176;
|
defaultFaces
|
||||||
startFace 68610;
|
{
|
||||||
}
|
type empty;
|
||||||
|
nFaces 68400;
|
||||||
defaultFaces
|
startFace 68786;
|
||||||
{
|
}
|
||||||
type empty;
|
|
||||||
nFaces 68400;
|
|
||||||
startFace 68786;
|
|
||||||
}
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
| ========= | |
|
| ========= | |
|
||||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
| \\ / O peration | Version: 1.5 |
|
| \\ / O peration | Version: 1.5 |
|
||||||
| \\ / A nd | Web: http://www.OpenFOAM.org |
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
FoamFile
|
FoamFile
|
||||||
@ -10,51 +10,16 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class dictionary;
|
class dictionary;
|
||||||
|
location "constant";
|
||||||
object transportProperties;
|
object transportProperties;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
phases
|
phases ( water { transportModel Newtonian ; nu nu [ 0 2 -1 0 0 0 0 ] 1e-06 ; rho rho [ 1 -3 0 0 0 0 0 ] 1000 ; } oil { transportModel Newtonian ; nu nu [ 0 2 -1 0 0 0 0 ] 1e-06 ; rho rho [ 1 -3 0 0 0 0 0 ] 500 ; } mercury { transportModel Newtonian ; nu nu [ 0 2 -1 0 0 0 0 ] 1.125e-07 ; rho rho [ 1 -3 0 0 0 0 0 ] 13529 ; } air { transportModel Newtonian ; nu nu [ 0 2 -1 0 0 0 0 ] 1.48e-05 ; rho rho [ 1 -3 0 0 0 0 0 ] 1 ; } );
|
||||||
(
|
|
||||||
water
|
|
||||||
{
|
|
||||||
transportModel Newtonian;
|
|
||||||
nu nu [0 2 -1 0 0 0 0] 1e-06;
|
|
||||||
rho rho [1 -3 0 0 0 0 0] 1000;
|
|
||||||
}
|
|
||||||
|
|
||||||
oil
|
refPhase air;
|
||||||
{
|
|
||||||
transportModel Newtonian;
|
|
||||||
nu nu [0 2 -1 0 0 0 0] 1e-06;
|
|
||||||
rho rho [1 -3 0 0 0 0 0] 500;
|
|
||||||
}
|
|
||||||
|
|
||||||
mercury
|
sigmas ( ( air water ) 0.07 ( air oil ) 0.07 ( air mercury ) 0.07 ( water oil ) 0.07 ( water mercury ) 0.07 ( oil mercury ) 0.07 );
|
||||||
{
|
|
||||||
transportModel Newtonian;
|
|
||||||
nu nu [0 2 -1 0 0 0 0] 0.1125e-06;
|
|
||||||
rho rho [1 -3 0 0 0 0 0] 13529;
|
|
||||||
}
|
|
||||||
|
|
||||||
air
|
|
||||||
{
|
|
||||||
transportModel Newtonian;
|
|
||||||
nu nu [0 2 -1 0 0 0 0] 1.48e-05;
|
|
||||||
rho rho [1 -3 0 0 0 0 0] 1;
|
|
||||||
}
|
|
||||||
);
|
|
||||||
|
|
||||||
refPhase air;
|
|
||||||
|
|
||||||
sigmas
|
|
||||||
(
|
|
||||||
(air water) 0.07
|
|
||||||
(air oil) 0.07
|
|
||||||
(air mercury) 0.07
|
|
||||||
(water oil) 0.07
|
|
||||||
(water mercury) 0.07
|
|
||||||
(oil mercury) 0.07
|
|
||||||
);
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -0,0 +1,21 @@
|
|||||||
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||||||
|
| ========= | |
|
||||||
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
|
| \\ / O peration | Version: 1.5 |
|
||||||
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||||
|
| \\/ M anipulation | |
|
||||||
|
\*---------------------------------------------------------------------------*/
|
||||||
|
FoamFile
|
||||||
|
{
|
||||||
|
version 2.0;
|
||||||
|
format ascii;
|
||||||
|
class dictionary;
|
||||||
|
location "constant";
|
||||||
|
object turbulenceProperties;
|
||||||
|
}
|
||||||
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
simulationType laminar;
|
||||||
|
|
||||||
|
|
||||||
|
// ************************************************************************* //
|
||||||
@ -2,7 +2,7 @@
|
|||||||
| ========= | |
|
| ========= | |
|
||||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
| \\ / O peration | Version: 1.5 |
|
| \\ / O peration | Version: 1.5 |
|
||||||
| \\ / A nd | Web: http://www.OpenFOAM.org |
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
FoamFile
|
FoamFile
|
||||||
@ -10,11 +10,11 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class dictionary;
|
class dictionary;
|
||||||
|
location "system";
|
||||||
object controlDict;
|
object controlDict;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
|
||||||
startFrom latestTime;
|
startFrom latestTime;
|
||||||
|
|
||||||
startTime 0;
|
startTime 0;
|
||||||
@ -47,6 +47,7 @@ adjustTimeStep yes;
|
|||||||
|
|
||||||
maxCo 0.5;
|
maxCo 0.5;
|
||||||
|
|
||||||
maxDeltaT 1.0;
|
maxDeltaT 1;
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
| ========= | |
|
| ========= | |
|
||||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
| \\ / O peration | Version: 1.5 |
|
| \\ / O peration | Version: 1.5 |
|
||||||
| \\ / A nd | Web: http://www.OpenFOAM.org |
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
FoamFile
|
FoamFile
|
||||||
@ -10,6 +10,7 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class dictionary;
|
class dictionary;
|
||||||
|
location "system";
|
||||||
object decomposeParDict;
|
object decomposeParDict;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
@ -20,26 +21,20 @@ method simple;
|
|||||||
|
|
||||||
simpleCoeffs
|
simpleCoeffs
|
||||||
{
|
{
|
||||||
n (2 2 1);
|
n ( 2 2 1 );
|
||||||
delta 0.001;
|
delta 0.001;
|
||||||
}
|
}
|
||||||
|
|
||||||
hierarchicalCoeffs
|
hierarchicalCoeffs
|
||||||
{
|
{
|
||||||
n (1 1 1);
|
n ( 1 1 1 );
|
||||||
delta 0.001;
|
delta 0.001;
|
||||||
order xyz;
|
order xyz;
|
||||||
}
|
}
|
||||||
|
|
||||||
metisCoeffs
|
metisCoeffs
|
||||||
{
|
{
|
||||||
processorWeights
|
processorWeights ( 1 1 1 1 );
|
||||||
(
|
|
||||||
1
|
|
||||||
1
|
|
||||||
1
|
|
||||||
1
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
manualCoeffs
|
manualCoeffs
|
||||||
@ -49,8 +44,7 @@ manualCoeffs
|
|||||||
|
|
||||||
distributed no;
|
distributed no;
|
||||||
|
|
||||||
roots
|
roots ( );
|
||||||
(
|
|
||||||
);
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
| ========= | |
|
| ========= | |
|
||||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
| \\ / O peration | Version: 1.5 |
|
| \\ / O peration | Version: 1.5 |
|
||||||
| \\ / A nd | Web: http://www.OpenFOAM.org |
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
FoamFile
|
FoamFile
|
||||||
@ -10,13 +10,14 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class dictionary;
|
class dictionary;
|
||||||
|
location "system";
|
||||||
object fvSchemes;
|
object fvSchemes;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
ddtSchemes
|
ddtSchemes
|
||||||
{
|
{
|
||||||
default Euler;
|
default Euler;
|
||||||
}
|
}
|
||||||
|
|
||||||
gradSchemes
|
gradSchemes
|
||||||
@ -28,8 +29,8 @@ gradSchemes
|
|||||||
|
|
||||||
divSchemes
|
divSchemes
|
||||||
{
|
{
|
||||||
div(rho*phi,U) Gauss upwind; //limitedLinearV 1.0;
|
div(rho*phi,U) Gauss upwind;
|
||||||
div(phi,alpha) Gauss limitedLimitedLinear 1.0 -0.00001 1.00001;
|
div(phi,alpha) Gauss limitedLimitedLinear 1 -1e-05 1.00001;
|
||||||
div(phic,alpha) Gauss interfaceCompression;
|
div(phic,alpha) Gauss interfaceCompression;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -53,4 +54,5 @@ fluxRequired
|
|||||||
default yes;
|
default yes;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
| ========= | |
|
| ========= | |
|
||||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
| \\ / O peration | Version: 1.5 |
|
| \\ / O peration | Version: 1.5 |
|
||||||
| \\ / A nd | Web: http://www.OpenFOAM.org |
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
FoamFile
|
FoamFile
|
||||||
@ -10,83 +10,92 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class dictionary;
|
class dictionary;
|
||||||
|
location "system";
|
||||||
object fvSolution;
|
object fvSolution;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
solvers
|
solvers
|
||||||
{
|
{
|
||||||
pcorr PCG
|
pcorr
|
||||||
{
|
{
|
||||||
preconditioner GAMG
|
solver PCG;
|
||||||
|
preconditioner
|
||||||
{
|
{
|
||||||
tolerance 1e-5;
|
preconditioner GAMG;
|
||||||
relTol 0;
|
tolerance 1e-05;
|
||||||
|
relTol 0;
|
||||||
smoother GaussSeidel;
|
smoother GaussSeidel;
|
||||||
nPreSweeps 0;
|
nPreSweeps 0;
|
||||||
nPostSweeps 2;
|
nPostSweeps 2;
|
||||||
nBottomSweeps 2;
|
nBottomSweeps 2;
|
||||||
|
|
||||||
cacheAgglomeration off;
|
cacheAgglomeration off;
|
||||||
nCellsInCoarsestLevel 10;
|
nCellsInCoarsestLevel 10;
|
||||||
agglomerator faceAreaPair;
|
agglomerator faceAreaPair;
|
||||||
mergeLevels 2;
|
mergeLevels 2;
|
||||||
};
|
}
|
||||||
|
|
||||||
tolerance 1e-5;
|
tolerance 1e-05;
|
||||||
relTol 0;
|
relTol 0;
|
||||||
maxIter 100;
|
maxIter 100;
|
||||||
};
|
}
|
||||||
|
|
||||||
pd GAMG
|
pd
|
||||||
{
|
{
|
||||||
tolerance 1e-7;
|
solver GAMG;
|
||||||
relTol 0.05;
|
tolerance 1e-07;
|
||||||
|
relTol 0.05;
|
||||||
smoother GaussSeidel;
|
smoother GaussSeidel;
|
||||||
nPreSweeps 0;
|
nPreSweeps 0;
|
||||||
nPostSweeps 2;
|
nPostSweeps 2;
|
||||||
nFinestSweeps 2;
|
nFinestSweeps 2;
|
||||||
|
|
||||||
cacheAgglomeration on;
|
cacheAgglomeration on;
|
||||||
nCellsInCoarsestLevel 10;
|
nCellsInCoarsestLevel 10;
|
||||||
agglomerator faceAreaPair;
|
agglomerator faceAreaPair;
|
||||||
mergeLevels 1;
|
mergeLevels 1;
|
||||||
};
|
}
|
||||||
|
|
||||||
pdFinal PCG
|
pdFinal
|
||||||
{
|
{
|
||||||
preconditioner GAMG
|
solver PCG;
|
||||||
|
preconditioner
|
||||||
{
|
{
|
||||||
tolerance 1e-7;
|
preconditioner GAMG;
|
||||||
relTol 0;
|
tolerance 1e-07;
|
||||||
|
relTol 0;
|
||||||
nVcycles 2;
|
nVcycles 2;
|
||||||
|
smoother GaussSeidel;
|
||||||
smoother GaussSeidel;
|
nPreSweeps 0;
|
||||||
nPreSweeps 0;
|
nPostSweeps 2;
|
||||||
nPostSweeps 2;
|
nFinestSweeps 2;
|
||||||
nFinestSweeps 2;
|
|
||||||
|
|
||||||
cacheAgglomeration on;
|
cacheAgglomeration on;
|
||||||
nCellsInCoarsestLevel 10;
|
nCellsInCoarsestLevel 10;
|
||||||
agglomerator faceAreaPair;
|
agglomerator faceAreaPair;
|
||||||
mergeLevels 1;
|
mergeLevels 1;
|
||||||
};
|
}
|
||||||
|
|
||||||
tolerance 1e-7;
|
tolerance 1e-07;
|
||||||
relTol 0;
|
relTol 0;
|
||||||
maxIter 20;
|
maxIter 20;
|
||||||
};
|
}
|
||||||
|
|
||||||
alpha smoothSolver
|
U
|
||||||
{
|
{
|
||||||
smoother GaussSeidel;
|
solver smoothSolver;
|
||||||
tolerance 1e-8;
|
smoother GaussSeidel;
|
||||||
relTol 0;
|
tolerance 1e-08;
|
||||||
nSweeps 1;
|
relTol 0;
|
||||||
};
|
nSweeps 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
alpha
|
||||||
|
{
|
||||||
|
solver smoothSolver;
|
||||||
|
smoother GaussSeidel;
|
||||||
|
tolerance 1e-08;
|
||||||
|
relTol 0;
|
||||||
|
nSweeps 1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
PISO
|
PISO
|
||||||
@ -99,4 +108,5 @@ PISO
|
|||||||
cAlpha 4;
|
cAlpha 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -1,75 +0,0 @@
|
|||||||
/*--------------------------------*- 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 fvSolution;
|
|
||||||
}
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
solvers
|
|
||||||
{
|
|
||||||
pcorr PCG
|
|
||||||
{
|
|
||||||
preconditioner GAMG
|
|
||||||
{
|
|
||||||
tolerance 1e-5;
|
|
||||||
relTol 0;
|
|
||||||
|
|
||||||
smoother GaussSeidel;
|
|
||||||
nPreSweeps 0;
|
|
||||||
nPostSweeps 2;
|
|
||||||
nBottomSweeps 2;
|
|
||||||
|
|
||||||
cacheAgglomeration off;
|
|
||||||
nCellsInCoarsestLevel 10;
|
|
||||||
agglomerator faceAreaPair;
|
|
||||||
mergeLevels 2;
|
|
||||||
};
|
|
||||||
|
|
||||||
tolerance 1e-5;
|
|
||||||
relTol 0;
|
|
||||||
maxIter 100;
|
|
||||||
};
|
|
||||||
|
|
||||||
pd PCG
|
|
||||||
{
|
|
||||||
preconditioner DIC;
|
|
||||||
tolerance 1e-7;
|
|
||||||
relTol 0.05;
|
|
||||||
};
|
|
||||||
|
|
||||||
pdFinal PCG
|
|
||||||
{
|
|
||||||
preconditioner DIC;
|
|
||||||
tolerance 1e-7;
|
|
||||||
relTol 0;
|
|
||||||
};
|
|
||||||
|
|
||||||
alpha smoothSolver
|
|
||||||
{
|
|
||||||
smoother GaussSeidel;
|
|
||||||
tolerance 1e-8;
|
|
||||||
relTol 0;
|
|
||||||
nSweeps 1;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
PISO
|
|
||||||
{
|
|
||||||
nCorrectors 4;
|
|
||||||
nNonOrthogonalCorrectors 0;
|
|
||||||
nAlphaCorr 4;
|
|
||||||
nAlphaSubCycles 4;
|
|
||||||
cycleAlpha yes;
|
|
||||||
cAlpha 4;
|
|
||||||
}
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
@ -2,7 +2,7 @@
|
|||||||
| ========= | |
|
| ========= | |
|
||||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
| \\ / O peration | Version: 1.5 |
|
| \\ / O peration | Version: 1.5 |
|
||||||
| \\ / A nd | Web: http://www.OpenFOAM.org |
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
FoamFile
|
FoamFile
|
||||||
@ -10,6 +10,7 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class dictionary;
|
class dictionary;
|
||||||
|
location "system";
|
||||||
object setFieldsDict;
|
object setFieldsDict;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
@ -20,15 +21,14 @@ defaultFieldValues
|
|||||||
volScalarFieldValue alphaWater 0
|
volScalarFieldValue alphaWater 0
|
||||||
volScalarFieldValue alphaOil 0
|
volScalarFieldValue alphaOil 0
|
||||||
volScalarFieldValue alphaMercury 0
|
volScalarFieldValue alphaMercury 0
|
||||||
volVectorFieldValue U (0 0 0)
|
volVectorFieldValue U ( 0 0 0 )
|
||||||
);
|
);
|
||||||
|
|
||||||
regions
|
regions
|
||||||
(
|
(
|
||||||
boxToCell
|
boxToCell
|
||||||
{
|
{
|
||||||
box (0 0 -1) (0.1461 0.292 1);
|
box ( 0 0 -1 ) ( 0.1461 0.292 1 );
|
||||||
|
|
||||||
fieldValues
|
fieldValues
|
||||||
(
|
(
|
||||||
volScalarFieldValue alphaWater 1
|
volScalarFieldValue alphaWater 1
|
||||||
@ -37,11 +37,9 @@ regions
|
|||||||
volScalarFieldValue alphaAir 0
|
volScalarFieldValue alphaAir 0
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
boxToCell
|
boxToCell
|
||||||
{
|
{
|
||||||
box (0.1461 0 -1) (0.2922 0.292 1);
|
box ( 0.1461 0 -1 ) ( 0.2922 0.292 1 );
|
||||||
|
|
||||||
fieldValues
|
fieldValues
|
||||||
(
|
(
|
||||||
volScalarFieldValue alphaWater 0
|
volScalarFieldValue alphaWater 0
|
||||||
@ -50,11 +48,9 @@ regions
|
|||||||
volScalarFieldValue alphaAir 0
|
volScalarFieldValue alphaAir 0
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
boxToCell
|
boxToCell
|
||||||
{
|
{
|
||||||
box (0 0 -1) (0.1461 0.1 1);
|
box ( 0 0 -1 ) ( 0.1461 0.1 1 );
|
||||||
|
|
||||||
fieldValues
|
fieldValues
|
||||||
(
|
(
|
||||||
volScalarFieldValue alphaWater 0
|
volScalarFieldValue alphaWater 0
|
||||||
@ -63,6 +59,7 @@ regions
|
|||||||
volScalarFieldValue alphaAir 0
|
volScalarFieldValue alphaAir 0
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -49,7 +49,42 @@ maxCo 0.5;
|
|||||||
|
|
||||||
maxDeltaT 1;
|
maxDeltaT 1;
|
||||||
|
|
||||||
functions ( fieldAverage1 { type fieldAverage ; functionObjectLibs ( "libfieldFunctionObjects.so" ) ; fields ( Ua { mean on ; prime2Mean off ; base time ; } Ub { mean on ; prime2Mean off ; base time ; } alpha { mean on ; prime2Mean off ; base time ; } p { mean on ; prime2Mean off ; base time ; } ) ; } );
|
functions
|
||||||
|
(
|
||||||
|
fieldAverage1
|
||||||
|
{
|
||||||
|
type fieldAverage;
|
||||||
|
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
||||||
|
outputControl outputTime;
|
||||||
|
fields
|
||||||
|
(
|
||||||
|
Ua
|
||||||
|
{
|
||||||
|
mean on;
|
||||||
|
prime2Mean off;
|
||||||
|
base time;
|
||||||
|
}
|
||||||
|
Ub
|
||||||
|
{
|
||||||
|
mean on;
|
||||||
|
prime2Mean off;
|
||||||
|
base time;
|
||||||
|
}
|
||||||
|
alpha
|
||||||
|
{
|
||||||
|
mean on;
|
||||||
|
prime2Mean off;
|
||||||
|
base time;
|
||||||
|
}
|
||||||
|
p
|
||||||
|
{
|
||||||
|
mean on;
|
||||||
|
prime2Mean off;
|
||||||
|
base time;
|
||||||
|
}
|
||||||
|
);
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -49,7 +49,42 @@ maxCo 0.9;
|
|||||||
|
|
||||||
maxDeltaT 1e-05;
|
maxDeltaT 1e-05;
|
||||||
|
|
||||||
functions ( fieldAverage1 { type fieldAverage ; functionObjectLibs ( "libfieldFunctionObjects.so" ) ; outputControl outputTime ; fields ( Ua { mean on ; prime2Mean off ; base time ; } Ub { mean on ; prime2Mean off ; base time ; } alpha { mean on ; prime2Mean off ; base time ; } p { mean on ; prime2Mean off ; base time ; } ) ; } );
|
functions
|
||||||
|
(
|
||||||
|
fieldAverage1
|
||||||
|
{
|
||||||
|
type fieldAverage;
|
||||||
|
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
||||||
|
outputControl outputTime;
|
||||||
|
fields
|
||||||
|
(
|
||||||
|
Ua
|
||||||
|
{
|
||||||
|
mean on;
|
||||||
|
prime2Mean off;
|
||||||
|
base time;
|
||||||
|
}
|
||||||
|
Ub
|
||||||
|
{
|
||||||
|
mean on;
|
||||||
|
prime2Mean off;
|
||||||
|
base time;
|
||||||
|
}
|
||||||
|
alpha
|
||||||
|
{
|
||||||
|
mean on;
|
||||||
|
prime2Mean off;
|
||||||
|
base time;
|
||||||
|
}
|
||||||
|
p
|
||||||
|
{
|
||||||
|
mean on;
|
||||||
|
prime2Mean off;
|
||||||
|
base time;
|
||||||
|
}
|
||||||
|
);
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -49,7 +49,42 @@ maxCo 0.5;
|
|||||||
|
|
||||||
maxDeltaT 1;
|
maxDeltaT 1;
|
||||||
|
|
||||||
functions ( fieldAverage1 { type fieldAverage ; functionObjectLibs ( "libfieldFunctionObjects.so" ) ; fields ( Ua { mean on ; prime2Mean off ; base time ; } Ub { mean on ; prime2Mean off ; base time ; } alpha { mean on ; prime2Mean off ; base time ; } p { mean on ; prime2Mean off ; base time ; } ) ; } );
|
functions
|
||||||
|
(
|
||||||
|
fieldAverage1
|
||||||
|
{
|
||||||
|
type fieldAverage;
|
||||||
|
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
||||||
|
outputControl outputTime;
|
||||||
|
fields
|
||||||
|
(
|
||||||
|
Ua
|
||||||
|
{
|
||||||
|
mean on;
|
||||||
|
prime2Mean off;
|
||||||
|
base time;
|
||||||
|
}
|
||||||
|
Ub
|
||||||
|
{
|
||||||
|
mean on;
|
||||||
|
prime2Mean off;
|
||||||
|
base time;
|
||||||
|
}
|
||||||
|
alpha
|
||||||
|
{
|
||||||
|
mean on;
|
||||||
|
prime2Mean off;
|
||||||
|
base time;
|
||||||
|
}
|
||||||
|
p
|
||||||
|
{
|
||||||
|
mean on;
|
||||||
|
prime2Mean off;
|
||||||
|
base time;
|
||||||
|
}
|
||||||
|
);
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
Reference in New Issue
Block a user