reactingEulerFoam: New wall boiling tutorials
All reactingEulerFoam wall boiling tutorials have been replaced with
cases that are more representative of real applications.
The wall boiling tutorials for reactingTwoPhaseEulerFoam are:
RAS/wallBoiling:
Axi-symmetric wall boiling case with constant bubble diameter
RAS/wallBoilingPolyDisperse:
As wallBoiling, but with a homogenous class method population
balance for modelling the bubble diameters
RAS/wallBoilingIATE:
As wallBoiling, but with an interfacial area transport equation
for modelling the bubble diameters
The wall boiling tutorials for reactingMultiphaseEulerFoam are:
RAS/wallBoilingPolydisperseTwoGroups:
As wallBoiling, but with an inhomogenous class method population
balance for modelling the bubble diameters
Patch contributed by Juho Peltola, VTT.
This commit is contained in:
@ -1,59 +0,0 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Version: dev
|
||||
\\/ M anipulation |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
location "5";
|
||||
object T.liquid;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dimensions [0 0 0 1 0 0 0];
|
||||
|
||||
internalField uniform 368;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
inlet
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform 368;
|
||||
}
|
||||
outlet
|
||||
{
|
||||
type inletOutlet;
|
||||
phi phi.liquid;
|
||||
inletValue uniform 368;
|
||||
value uniform 368;
|
||||
}
|
||||
wall1
|
||||
{
|
||||
type fixedMultiPhaseHeatFlux;
|
||||
relax 0.5;
|
||||
q uniform 0;
|
||||
phase "liquid";
|
||||
value uniform 368;
|
||||
}
|
||||
wall2
|
||||
{
|
||||
type fixedMultiPhaseHeatFlux;
|
||||
relax 0.5;
|
||||
q uniform 0;
|
||||
phase "liquid";
|
||||
value uniform 368;
|
||||
}
|
||||
defaultFaces
|
||||
{
|
||||
type empty;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -1,54 +0,0 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Version: dev
|
||||
\\/ M anipulation |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volVectorField;
|
||||
location "0";
|
||||
object U.gas;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dimensions [0 1 -1 0 0 0 0];
|
||||
|
||||
internalField uniform (0 1 0);
|
||||
|
||||
boundaryField
|
||||
{
|
||||
inlet
|
||||
{
|
||||
type mapped;
|
||||
field U.gas;
|
||||
setAverage 1;
|
||||
average (0 1 0);
|
||||
interpolationScheme cell;
|
||||
value uniform (0 1 0);
|
||||
}
|
||||
outlet
|
||||
{
|
||||
type pressureInletOutletVelocity;
|
||||
phi phi.gas;
|
||||
value uniform (0 1 0);
|
||||
}
|
||||
wall1
|
||||
{
|
||||
type slip;
|
||||
}
|
||||
wall2
|
||||
{
|
||||
type slip;
|
||||
}
|
||||
defaultFaces
|
||||
{
|
||||
type empty;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -1,54 +0,0 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Version: dev
|
||||
\\/ M anipulation |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volVectorField;
|
||||
location "0";
|
||||
object U.gas;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dimensions [0 1 -1 0 0 0 0];
|
||||
|
||||
internalField uniform (0 1 0);
|
||||
|
||||
boundaryField
|
||||
{
|
||||
inlet
|
||||
{
|
||||
type mapped;
|
||||
field U.gas;
|
||||
setAverage 1;
|
||||
average (0 1 0);
|
||||
interpolationScheme cell;
|
||||
value uniform (0 1 0);
|
||||
}
|
||||
outlet
|
||||
{
|
||||
type pressureInletOutletVelocity;
|
||||
phi phi.gas;
|
||||
value uniform (0 1 0);
|
||||
}
|
||||
wall1
|
||||
{
|
||||
type slip;
|
||||
}
|
||||
wall2
|
||||
{
|
||||
type slip;
|
||||
}
|
||||
defaultFaces
|
||||
{
|
||||
type empty;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -1,54 +0,0 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Version: dev
|
||||
\\/ M anipulation |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volVectorField;
|
||||
location "0";
|
||||
object U.liquid;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dimensions [0 1 -1 0 0 0 0];
|
||||
|
||||
internalField uniform (0 1 0);
|
||||
|
||||
boundaryField
|
||||
{
|
||||
inlet
|
||||
{
|
||||
type mapped;
|
||||
field U.liquid;
|
||||
setAverage 1;
|
||||
average (0 1 0);
|
||||
interpolationScheme cell;
|
||||
value uniform (0 1 0);
|
||||
}
|
||||
outlet
|
||||
{
|
||||
type pressureInletOutletVelocity;
|
||||
phi phi.liquid;
|
||||
value uniform (0 1 0);
|
||||
}
|
||||
wall1
|
||||
{
|
||||
type noSlip;
|
||||
}
|
||||
wall2
|
||||
{
|
||||
type noSlip;
|
||||
}
|
||||
defaultFaces
|
||||
{
|
||||
type empty;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -1,51 +0,0 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Version: dev
|
||||
\\/ M anipulation |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
location "0";
|
||||
object alpha.liquid;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dimensions [0 0 0 0 0 0 0];
|
||||
|
||||
internalField uniform 1;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
inlet
|
||||
{
|
||||
type calculated;
|
||||
value uniform 1;
|
||||
}
|
||||
outlet
|
||||
{
|
||||
type calculated;
|
||||
value uniform 1;
|
||||
}
|
||||
wall1
|
||||
{
|
||||
type calculated;
|
||||
value uniform 1;
|
||||
}
|
||||
wall2
|
||||
{
|
||||
type calculated;
|
||||
value uniform 1;
|
||||
}
|
||||
defaultFaces
|
||||
{
|
||||
type empty;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -1,73 +0,0 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Version: dev
|
||||
\\/ M anipulation |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
location "0";
|
||||
object alphat.gas;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dimensions [1 -1 -1 0 0 0 0];
|
||||
|
||||
internalField uniform 1e-8;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
inlet
|
||||
{
|
||||
type calculated;
|
||||
value uniform 1e-8;
|
||||
}
|
||||
outlet
|
||||
{
|
||||
type calculated;
|
||||
value uniform 1e-8;
|
||||
}
|
||||
wall1
|
||||
{
|
||||
type compressible::alphatWallBoilingWallFunction;
|
||||
otherPhase liquid;
|
||||
phaseType vapor;
|
||||
Prt 0.85;
|
||||
Cmu 0.09;
|
||||
kappa 0.41;
|
||||
E 9.8;
|
||||
partitioningModel
|
||||
{
|
||||
type phaseFraction;
|
||||
alphaCrit 0.2;
|
||||
}
|
||||
value uniform 0;
|
||||
}
|
||||
wall2
|
||||
{
|
||||
type compressible::alphatWallBoilingWallFunction;
|
||||
otherPhase liquid;
|
||||
phaseType vapor;
|
||||
Prt 0.85;
|
||||
Cmu 0.09;
|
||||
kappa 0.41;
|
||||
E 9.8;
|
||||
partitioningModel
|
||||
{
|
||||
type phaseFraction;
|
||||
alphaCrit 0.2;
|
||||
}
|
||||
value uniform 0;
|
||||
}
|
||||
defaultFaces
|
||||
{
|
||||
type empty;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -1,101 +0,0 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Version: dev
|
||||
\\/ M anipulation |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
location "0";
|
||||
object alphat.liquid;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dimensions [1 -1 -1 0 0 0 0];
|
||||
|
||||
internalField uniform 1e-8;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
inlet
|
||||
{
|
||||
type calculated;
|
||||
value uniform 1e-8;
|
||||
}
|
||||
outlet
|
||||
{
|
||||
type calculated;
|
||||
value uniform 1e-8;
|
||||
}
|
||||
wall1
|
||||
{
|
||||
type compressible::alphatWallBoilingWallFunction;
|
||||
otherPhase gas;
|
||||
phaseType liquid;
|
||||
Prt 0.85;
|
||||
Cmu 0.09;
|
||||
kappa 0.41;
|
||||
E 9.8;
|
||||
relax 0.01;
|
||||
dmdt uniform 0;
|
||||
partitioningModel
|
||||
{
|
||||
type phaseFraction;//Lavieville;
|
||||
alphaCrit 0.2;
|
||||
}
|
||||
nucleationSiteModel
|
||||
{
|
||||
type LemmertChawla;
|
||||
}
|
||||
departureDiamModel
|
||||
{
|
||||
type TolubinskiKostanchuk;
|
||||
}
|
||||
departureFreqModel
|
||||
{
|
||||
type Cole;
|
||||
}
|
||||
value uniform 0.01;
|
||||
}
|
||||
wall2
|
||||
{
|
||||
type compressible::alphatWallBoilingWallFunction;
|
||||
otherPhase gas;
|
||||
phaseType liquid;
|
||||
Prt 0.85;
|
||||
Cmu 0.09;
|
||||
kappa 0.41;
|
||||
E 9.8;
|
||||
relax 0.01;
|
||||
dmdt uniform 0;
|
||||
partitioningModel
|
||||
{
|
||||
type phaseFraction;//Lavieville;
|
||||
alphaCrit 0.2;
|
||||
}
|
||||
nucleationSiteModel
|
||||
{
|
||||
type LemmertChawla;
|
||||
}
|
||||
departureDiamModel
|
||||
{
|
||||
type TolubinskiKostanchuk;
|
||||
}
|
||||
departureFreqModel
|
||||
{
|
||||
type Cole;
|
||||
}
|
||||
value uniform 0.01;
|
||||
}
|
||||
defaultFaces
|
||||
{
|
||||
type empty;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -1,63 +0,0 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Version: dev
|
||||
\\/ M anipulation |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
location "0";
|
||||
object epsilon.liquid;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dimensions [0 2 -3 0 0 0 0];
|
||||
|
||||
internalField uniform 0.001;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
inlet
|
||||
{
|
||||
type mapped;
|
||||
field epsilon.liquid;
|
||||
setAverage 0;
|
||||
average 0;
|
||||
interpolationScheme cell;
|
||||
value uniform 0.001;
|
||||
}
|
||||
outlet
|
||||
{
|
||||
type inletOutlet;
|
||||
phi phi.liquid;
|
||||
inletValue uniform 0.00015;
|
||||
value uniform 0.001;
|
||||
}
|
||||
wall1
|
||||
{
|
||||
type epsilonWallFunction;
|
||||
Cmu 0.09;
|
||||
kappa 0.41;
|
||||
E 9.8;
|
||||
value uniform 0.001;
|
||||
}
|
||||
wall2
|
||||
{
|
||||
type epsilonWallFunction;
|
||||
Cmu 0.09;
|
||||
kappa 0.41;
|
||||
E 9.8;
|
||||
value uniform 0.001;
|
||||
}
|
||||
defaultFaces
|
||||
{
|
||||
type empty;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -1,57 +0,0 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Version: dev
|
||||
\\/ M anipulation |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
location "0";
|
||||
object k.gas;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dimensions [0 2 -2 0 0 0 0];
|
||||
|
||||
internalField uniform 0.01;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
inlet
|
||||
{
|
||||
type mapped;
|
||||
field k.gas;
|
||||
setAverage 0;
|
||||
average 0;
|
||||
interpolationScheme cell;
|
||||
value uniform 0.01;
|
||||
}
|
||||
outlet
|
||||
{
|
||||
type inletOutlet;
|
||||
phi phi.gas;
|
||||
inletValue uniform 0.01;
|
||||
value uniform 0.01;
|
||||
}
|
||||
wall1
|
||||
{
|
||||
type kqRWallFunction;
|
||||
value uniform 0.01;
|
||||
}
|
||||
wall2
|
||||
{
|
||||
type kqRWallFunction;
|
||||
value uniform 0.01;
|
||||
}
|
||||
defaultFaces
|
||||
{
|
||||
type empty;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -1,57 +0,0 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Version: dev
|
||||
\\/ M anipulation |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
location "0";
|
||||
object nut.gas;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dimensions [0 2 -1 0 0 0 0];
|
||||
|
||||
internalField uniform 0.0001;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
inlet
|
||||
{
|
||||
type calculated;
|
||||
value uniform 0.0001;
|
||||
}
|
||||
outlet
|
||||
{
|
||||
type calculated;
|
||||
value uniform 0.0001;
|
||||
}
|
||||
wall1
|
||||
{
|
||||
type nutkWallFunction;
|
||||
Cmu 0.09;
|
||||
kappa 0.41;
|
||||
E 9.8;
|
||||
value uniform 0;
|
||||
}
|
||||
wall2
|
||||
{
|
||||
type nutkWallFunction;
|
||||
Cmu 0.09;
|
||||
kappa 0.41;
|
||||
E 9.8;
|
||||
value uniform 0;
|
||||
}
|
||||
defaultFaces
|
||||
{
|
||||
type empty;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -1,57 +0,0 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Version: dev
|
||||
\\/ M anipulation |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
location "0";
|
||||
object nut.liquid;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dimensions [0 2 -1 0 0 0 0];
|
||||
|
||||
internalField uniform 0.0001;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
inlet
|
||||
{
|
||||
type calculated;
|
||||
value uniform 0.0001;
|
||||
}
|
||||
outlet
|
||||
{
|
||||
type calculated;
|
||||
value uniform 0.0001;
|
||||
}
|
||||
wall1
|
||||
{
|
||||
type nutkWallFunction;
|
||||
Cmu 0.09;
|
||||
kappa 0.41;
|
||||
E 9.8;
|
||||
value uniform 0.0001;
|
||||
}
|
||||
wall2
|
||||
{
|
||||
type nutkWallFunction;
|
||||
Cmu 0.09;
|
||||
kappa 0.41;
|
||||
E 9.8;
|
||||
value uniform 0.0001;
|
||||
}
|
||||
defaultFaces
|
||||
{
|
||||
type empty;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -1,51 +0,0 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Version: dev
|
||||
\\/ M anipulation |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
location "0";
|
||||
object p;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dimensions [1 -1 -2 0 0 0 0];
|
||||
|
||||
internalField uniform 100000;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
inlet
|
||||
{
|
||||
type calculated;
|
||||
value uniform 100000;
|
||||
}
|
||||
outlet
|
||||
{
|
||||
type calculated;
|
||||
value uniform 100000;
|
||||
}
|
||||
wall1
|
||||
{
|
||||
type calculated;
|
||||
value uniform 100000;
|
||||
}
|
||||
wall2
|
||||
{
|
||||
type calculated;
|
||||
value uniform 100000;
|
||||
}
|
||||
defaultFaces
|
||||
{
|
||||
type empty;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -1,22 +0,0 @@
|
||||
#!/bin/sh
|
||||
cd ${0%/*} || exit 1 # Run from this directory
|
||||
|
||||
# Source tutorial run functions
|
||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||
|
||||
application=$(getApplication)
|
||||
|
||||
runApplication blockMesh
|
||||
runApplication $application
|
||||
|
||||
if ! isTest $@
|
||||
then
|
||||
foamDictionary system/controlDict -entry endTime -set 4
|
||||
foamDictionary system/controlDict -entry startTime -set 0.5
|
||||
foamDictionary 0.5/T.liquid -entry boundaryField/wall2/q -set 'uniform 500000'
|
||||
foamDictionary 0.5/T.liquid -entry boundaryField/wall1/q -set 'uniform 500000'
|
||||
foamDictionary 0.5/U.liquid -entry boundaryField/inlet/type -set 'fixedValue'
|
||||
runApplication -a $application
|
||||
fi
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
@ -1,21 +0,0 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Version: dev
|
||||
\\/ M anipulation |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class uniformDimensionedVectorField;
|
||||
location "constant";
|
||||
object g;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dimensions [0 1 -2 0 0 0 0];
|
||||
value ( 0 -9.81 0 );
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -1,170 +0,0 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Version: dev
|
||||
\\/ M anipulation |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "constant";
|
||||
object phaseProperties;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
type thermalPhaseChangeMultiphaseSystem;
|
||||
|
||||
phases (gas liquid);
|
||||
|
||||
phaseChange on;
|
||||
|
||||
gas
|
||||
{
|
||||
type purePhaseModel;
|
||||
diameterModel constant;
|
||||
|
||||
constantCoeffs
|
||||
{
|
||||
d 0.00045;
|
||||
}
|
||||
|
||||
Sct 0.7;
|
||||
|
||||
residualAlpha 1e-4;
|
||||
}
|
||||
|
||||
liquid
|
||||
{
|
||||
type purePhaseModel;
|
||||
diameterModel constant;
|
||||
constantCoeffs
|
||||
{
|
||||
d 0.00045;
|
||||
}
|
||||
Sct 0.7;
|
||||
|
||||
residualAlpha 1e-4;
|
||||
}
|
||||
|
||||
blending
|
||||
{
|
||||
default
|
||||
{
|
||||
type none;
|
||||
continuousPhase liquid;
|
||||
}
|
||||
}
|
||||
|
||||
surfaceTension
|
||||
(
|
||||
(gas and liquid)
|
||||
{
|
||||
type constant;
|
||||
sigma 0.07;
|
||||
}
|
||||
);
|
||||
|
||||
saturationModel
|
||||
{
|
||||
type constant;//function1;
|
||||
|
||||
Tsat 373;
|
||||
pSat 1e5;
|
||||
|
||||
function csvFile;
|
||||
functionCoeffs
|
||||
{
|
||||
nHeaderLine 1;
|
||||
refColumn 0;
|
||||
componentColumns (1);
|
||||
separator ",";
|
||||
mergeSeparators no;
|
||||
file "Tsat_water_1_2bar.csv";
|
||||
outOfBounds clamp;
|
||||
interpolationScheme linear;
|
||||
};
|
||||
};
|
||||
|
||||
aspectRatio
|
||||
(
|
||||
(gas in liquid)
|
||||
{
|
||||
type constant;
|
||||
E0 1.0;
|
||||
}
|
||||
);
|
||||
|
||||
drag
|
||||
(
|
||||
(gas in liquid)
|
||||
{
|
||||
type SchillerNaumann;
|
||||
residualRe 1e-3;
|
||||
swarmCorrection
|
||||
{
|
||||
type none;
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
virtualMass
|
||||
(
|
||||
(gas in liquid)
|
||||
{
|
||||
type constantCoefficient;
|
||||
Cvm 0.5;
|
||||
}
|
||||
);
|
||||
|
||||
interfaceComposition
|
||||
();
|
||||
|
||||
interfaceCompression
|
||||
();
|
||||
|
||||
heatTransfer.gas
|
||||
(
|
||||
(gas in liquid)
|
||||
{
|
||||
type spherical;
|
||||
residualAlpha 1e-3;
|
||||
}
|
||||
);
|
||||
|
||||
heatTransfer.liquid
|
||||
(
|
||||
(gas in liquid)
|
||||
{
|
||||
type RanzMarshall;
|
||||
residualAlpha 1e-3;
|
||||
}
|
||||
);
|
||||
|
||||
phaseTransfer
|
||||
();
|
||||
|
||||
lift
|
||||
();
|
||||
|
||||
wallLubrication
|
||||
();
|
||||
|
||||
turbulentDispersion
|
||||
(
|
||||
/*(gas in liquid)
|
||||
{
|
||||
type Burns;
|
||||
sigma 0.7;
|
||||
Ctd 1.0;
|
||||
residualAlpha 1e-3;
|
||||
}*/
|
||||
);
|
||||
|
||||
// Minimum allowable pressure
|
||||
pMin 10000;
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -1,55 +0,0 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Version: dev
|
||||
\\/ M anipulation |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "constant";
|
||||
object thermophysicalProperties.liquid;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
thermoType
|
||||
{
|
||||
type heRhoThermo;
|
||||
mixture pureMixture;
|
||||
transport const;
|
||||
thermo eRefConst;
|
||||
equationOfState rhoConst;
|
||||
specie specie;
|
||||
energy sensibleInternalEnergy;
|
||||
}
|
||||
|
||||
mixture
|
||||
{
|
||||
specie
|
||||
{
|
||||
molWeight 18.0153;
|
||||
}
|
||||
equationOfState
|
||||
{
|
||||
rho 959;
|
||||
}
|
||||
thermodynamics
|
||||
{
|
||||
Hf 0;
|
||||
Cv 4195;
|
||||
Tref 373.55;
|
||||
Eref 417500;
|
||||
}
|
||||
transport
|
||||
{
|
||||
mu 2.8291e-4;
|
||||
Pr 2.289;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -1,54 +0,0 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Version: dev
|
||||
\\/ M anipulation |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "system";
|
||||
object controlDict;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
application reactingMultiphaseEulerFoam;
|
||||
|
||||
startFrom latestTime;
|
||||
|
||||
startTime 0;
|
||||
|
||||
stopAt endTime;
|
||||
|
||||
endTime 0.5;
|
||||
|
||||
deltaT 1e-4;
|
||||
|
||||
writeControl adjustableRunTime;
|
||||
|
||||
writeInterval 0.5;
|
||||
|
||||
purgeWrite 0;
|
||||
|
||||
writeFormat ascii;
|
||||
|
||||
writePrecision 9;
|
||||
|
||||
writeCompression off;
|
||||
|
||||
timeFormat general;
|
||||
|
||||
timePrecision 6;
|
||||
|
||||
runTimeModifiable yes;
|
||||
|
||||
adjustTimeStep yes;
|
||||
|
||||
maxCo 0.05;
|
||||
|
||||
maxDeltaT 0.001;
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -1,76 +0,0 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Version: dev
|
||||
\\/ M anipulation |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "system";
|
||||
object fvSchemes;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
ddtSchemes
|
||||
{
|
||||
default Euler;
|
||||
}
|
||||
|
||||
gradSchemes
|
||||
{
|
||||
default Gauss linear;
|
||||
}
|
||||
|
||||
divSchemes
|
||||
{
|
||||
default none;
|
||||
|
||||
"div\(phi,alpha.*\)" Gauss vanLeer;
|
||||
"div\(phir,alpha.*\)" Gauss vanLeer;
|
||||
|
||||
"div\(alphaRhoPhi.*,U.*\)" Gauss limitedLinearV 1;
|
||||
"div\(phi.*,U.*\)" Gauss limitedLinearV 1;
|
||||
|
||||
"div\(alphaRhoPhi.*,Yi\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,(h|e).*\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,K.*\)" Gauss limitedLinear 1;
|
||||
"div\(alphaPhi.*,p\)" Gauss limitedLinear 1;
|
||||
|
||||
"div\(alphaRhoPhi.*,(k|epsilon).*\)" Gauss upwind;
|
||||
"div\(phim,(k|epsilon)m\)" Gauss upwind;
|
||||
|
||||
"div\(\(\(\(alpha.*\*thermo:rho.*\)\*nuEff.*\)\*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
||||
}
|
||||
|
||||
laplacianSchemes
|
||||
{
|
||||
default Gauss linear uncorrected;
|
||||
}
|
||||
|
||||
interpolationSchemes
|
||||
{
|
||||
default linear;
|
||||
}
|
||||
|
||||
snGradSchemes
|
||||
{
|
||||
default uncorrected;
|
||||
}
|
||||
|
||||
fluxRequired
|
||||
{
|
||||
default no;
|
||||
}
|
||||
|
||||
wallDist
|
||||
{
|
||||
method meshWave;
|
||||
nRequired yes;
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -1,55 +0,0 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Version: dev
|
||||
\\/ M anipulation |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
location "5";
|
||||
object T.gas;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dimensions [0 0 0 1 0 0 0];
|
||||
|
||||
internalField uniform 368;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
inlet
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform 368;
|
||||
}
|
||||
outlet
|
||||
{
|
||||
type inletOutlet;
|
||||
phi phi.gas;
|
||||
inletValue uniform 368;
|
||||
value uniform 368;
|
||||
}
|
||||
wall1
|
||||
{
|
||||
type copiedFixedValue;
|
||||
sourceFieldName T.liquid;
|
||||
value uniform 368;
|
||||
}
|
||||
wall2
|
||||
{
|
||||
type copiedFixedValue;
|
||||
sourceFieldName T.liquid;
|
||||
value uniform 368;
|
||||
}
|
||||
defaultFaces
|
||||
{
|
||||
type empty;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -1,54 +0,0 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Version: dev
|
||||
\\/ M anipulation |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volVectorField;
|
||||
location "0";
|
||||
object U.gas;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dimensions [0 1 -1 0 0 0 0];
|
||||
|
||||
internalField uniform (0 1 0);
|
||||
|
||||
boundaryField
|
||||
{
|
||||
inlet
|
||||
{
|
||||
type mapped;
|
||||
field U.gas;
|
||||
setAverage 1;
|
||||
average (0 1 0);
|
||||
interpolationScheme cell;
|
||||
value uniform (0 1 0);
|
||||
}
|
||||
outlet
|
||||
{
|
||||
type pressureInletOutletVelocity;
|
||||
phi phi.gas;
|
||||
value uniform (0 1 0);
|
||||
}
|
||||
wall1
|
||||
{
|
||||
type slip;
|
||||
}
|
||||
wall2
|
||||
{
|
||||
type slip;
|
||||
}
|
||||
defaultFaces
|
||||
{
|
||||
type empty;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -1,51 +0,0 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Version: dev
|
||||
\\/ M anipulation |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
location "0";
|
||||
object alpha.liquid;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dimensions [0 0 0 0 0 0 0];
|
||||
|
||||
internalField uniform 1;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
inlet
|
||||
{
|
||||
type calculated;
|
||||
value uniform 1;
|
||||
}
|
||||
outlet
|
||||
{
|
||||
type calculated;
|
||||
value uniform 1;
|
||||
}
|
||||
wall1
|
||||
{
|
||||
type calculated;
|
||||
value uniform 1;
|
||||
}
|
||||
wall2
|
||||
{
|
||||
type calculated;
|
||||
value uniform 1;
|
||||
}
|
||||
defaultFaces
|
||||
{
|
||||
type empty;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -1,62 +0,0 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Version: dev
|
||||
\\/ M anipulation |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
location "0";
|
||||
object epsilon.gas;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dimensions [0 2 -3 0 0 0 0];
|
||||
|
||||
internalField uniform 0.001;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
inlet
|
||||
{
|
||||
type mapped;
|
||||
field epsilon.gas;
|
||||
setAverage 0;
|
||||
average 0;
|
||||
interpolationScheme cell;
|
||||
value uniform 0.01;
|
||||
}
|
||||
outlet
|
||||
{
|
||||
type inletOutlet;
|
||||
phi phi.gas;
|
||||
inletValue uniform 0.001;
|
||||
}
|
||||
wall1
|
||||
{
|
||||
type epsilonWallFunction;
|
||||
Cmu 0.09;
|
||||
kappa 0.41;
|
||||
E 9.8;
|
||||
value uniform 0.001;
|
||||
}
|
||||
wall2
|
||||
{
|
||||
type epsilonWallFunction;
|
||||
Cmu 0.09;
|
||||
kappa 0.41;
|
||||
E 9.8;
|
||||
value uniform 0.001;
|
||||
}
|
||||
defaultFaces
|
||||
{
|
||||
type empty;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -1,57 +0,0 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Version: dev
|
||||
\\/ M anipulation |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
location "0";
|
||||
object nut.liquid;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dimensions [0 2 -1 0 0 0 0];
|
||||
|
||||
internalField uniform 0.0001;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
inlet
|
||||
{
|
||||
type calculated;
|
||||
value uniform 0.0001;
|
||||
}
|
||||
outlet
|
||||
{
|
||||
type calculated;
|
||||
value uniform 0.0001;
|
||||
}
|
||||
wall1
|
||||
{
|
||||
type nutkWallFunction;
|
||||
Cmu 0.09;
|
||||
kappa 0.41;
|
||||
E 9.8;
|
||||
value uniform 0.0001;
|
||||
}
|
||||
wall2
|
||||
{
|
||||
type nutkWallFunction;
|
||||
Cmu 0.09;
|
||||
kappa 0.41;
|
||||
E 9.8;
|
||||
value uniform 0.0001;
|
||||
}
|
||||
defaultFaces
|
||||
{
|
||||
type empty;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -1,51 +0,0 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Version: dev
|
||||
\\/ M anipulation |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
location "0";
|
||||
object p;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dimensions [1 -1 -2 0 0 0 0];
|
||||
|
||||
internalField uniform 100000;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
inlet
|
||||
{
|
||||
type calculated;
|
||||
value uniform 100000;
|
||||
}
|
||||
outlet
|
||||
{
|
||||
type calculated;
|
||||
value uniform 100000;
|
||||
}
|
||||
wall1
|
||||
{
|
||||
type calculated;
|
||||
value uniform 100000;
|
||||
}
|
||||
wall2
|
||||
{
|
||||
type calculated;
|
||||
value uniform 100000;
|
||||
}
|
||||
defaultFaces
|
||||
{
|
||||
type empty;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -1,49 +0,0 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Version: dev
|
||||
\\/ M anipulation |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
location "5";
|
||||
object p_rgh;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dimensions [1 -1 -2 0 0 0 0];
|
||||
|
||||
internalField uniform 100000;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
inlet
|
||||
{
|
||||
type fixedFluxPressure;
|
||||
}
|
||||
outlet
|
||||
{
|
||||
type prghPressure;
|
||||
p uniform 100000;
|
||||
value uniform 100000;
|
||||
}
|
||||
wall1
|
||||
{
|
||||
type fixedFluxPressure;
|
||||
}
|
||||
wall2
|
||||
{
|
||||
type fixedFluxPressure;
|
||||
}
|
||||
defaultFaces
|
||||
{
|
||||
type empty;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -1,22 +0,0 @@
|
||||
#!/bin/sh
|
||||
cd ${0%/*} || exit 1 # Run from this directory
|
||||
|
||||
# Source tutorial run functions
|
||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||
|
||||
application=$(getApplication)
|
||||
|
||||
runApplication blockMesh
|
||||
runApplication $application
|
||||
|
||||
if ! isTest $@
|
||||
then
|
||||
foamDictionary system/controlDict -entry endTime -set 4
|
||||
foamDictionary system/controlDict -entry startTime -set 0.5
|
||||
foamDictionary 0.5/T.liquid -entry boundaryField/wall2/q -set 'uniform 500000'
|
||||
foamDictionary 0.5/T.liquid -entry boundaryField/wall1/q -set 'uniform 500000'
|
||||
foamDictionary 0.5/U.liquid -entry boundaryField/inlet/type -set 'fixedValue'
|
||||
runApplication -a $application
|
||||
fi
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
@ -1,21 +0,0 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Version: dev
|
||||
\\/ M anipulation |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class uniformDimensionedVectorField;
|
||||
location "constant";
|
||||
object g;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dimensions [0 1 -2 0 0 0 0];
|
||||
value ( 0 -9.81 0 );
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -1,238 +0,0 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Version: dev
|
||||
\\/ M anipulation |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "constant";
|
||||
object phaseProperties;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
type thermalPhaseChangeMultiphaseSystem;
|
||||
|
||||
phases (gas gas2 liquid);
|
||||
|
||||
phaseChange on;
|
||||
|
||||
gas
|
||||
{
|
||||
type purePhaseModel;
|
||||
diameterModel constant;
|
||||
|
||||
constantCoeffs
|
||||
{
|
||||
d 0.00045;
|
||||
}
|
||||
|
||||
Sct 0.7;
|
||||
|
||||
residualAlpha 1e-4;
|
||||
}
|
||||
|
||||
gas2
|
||||
{
|
||||
type purePhaseModel;
|
||||
diameterModel constant;
|
||||
constantCoeffs
|
||||
{
|
||||
d 0.00045;
|
||||
}
|
||||
|
||||
Sct 0.7;
|
||||
|
||||
residualAlpha 1e-4;
|
||||
}
|
||||
|
||||
liquid
|
||||
{
|
||||
type purePhaseModel;
|
||||
diameterModel constant;
|
||||
|
||||
constantCoeffs
|
||||
{
|
||||
d 0.00045;
|
||||
}
|
||||
Sc 0.7;
|
||||
|
||||
residualAlpha 1e-4;
|
||||
}
|
||||
|
||||
blending
|
||||
{
|
||||
default
|
||||
{
|
||||
type none;
|
||||
continuousPhase liquid;
|
||||
}
|
||||
}
|
||||
|
||||
surfaceTension
|
||||
(
|
||||
(gas and liquid)
|
||||
{
|
||||
type constant;
|
||||
sigma 0.07;
|
||||
}
|
||||
|
||||
(gas2 and liquid)
|
||||
{
|
||||
type constant;
|
||||
sigma 0.07;
|
||||
}
|
||||
|
||||
);
|
||||
|
||||
saturationModel
|
||||
{
|
||||
type constant;//function1;
|
||||
|
||||
Tsat 373;
|
||||
pSat 1e5;
|
||||
|
||||
function csvFile;
|
||||
functionCoeffs
|
||||
{
|
||||
nHeaderLine 1;
|
||||
refColumn 0;
|
||||
componentColumns (1);
|
||||
separator ",";
|
||||
mergeSeparators no;
|
||||
file "Tsat_water_1_2bar.csv";
|
||||
outOfBounds clamp;
|
||||
interpolationScheme linear;
|
||||
};
|
||||
};
|
||||
|
||||
aspectRatio
|
||||
(
|
||||
(gas in liquid)
|
||||
{
|
||||
type constant;
|
||||
E0 1.0;
|
||||
}
|
||||
|
||||
(gas2 in liquid)
|
||||
{
|
||||
type constant;
|
||||
E0 1.0;
|
||||
}
|
||||
);
|
||||
|
||||
drag
|
||||
(
|
||||
(gas in liquid)
|
||||
{
|
||||
type SchillerNaumann;
|
||||
residualRe 1e-3;
|
||||
swarmCorrection
|
||||
{
|
||||
type none;
|
||||
}
|
||||
}
|
||||
|
||||
(gas2 in liquid)
|
||||
{
|
||||
type SchillerNaumann;
|
||||
residualRe 1e-3;
|
||||
swarmCorrection
|
||||
{
|
||||
type none;
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
virtualMass
|
||||
(
|
||||
(gas in liquid)
|
||||
{
|
||||
type constantCoefficient;
|
||||
Cvm 0.5;
|
||||
}
|
||||
|
||||
(gas2 in liquid)
|
||||
{
|
||||
type constantCoefficient;
|
||||
Cvm 0.5;
|
||||
}
|
||||
);
|
||||
|
||||
interfaceComposition
|
||||
();
|
||||
|
||||
interfaceCompression
|
||||
();
|
||||
|
||||
heatTransfer.gas
|
||||
(
|
||||
(gas in liquid)
|
||||
{
|
||||
type spherical;
|
||||
residualAlpha 1e-3;
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
heatTransfer.gas2
|
||||
(
|
||||
(gas2 in liquid)
|
||||
{
|
||||
type spherical;
|
||||
residualAlpha 1e-3;
|
||||
}
|
||||
);
|
||||
|
||||
heatTransfer.liquid
|
||||
(
|
||||
(gas in liquid)
|
||||
{
|
||||
type RanzMarshall;
|
||||
residualAlpha 1e-3;
|
||||
}
|
||||
|
||||
(gas2 in liquid)
|
||||
{
|
||||
type RanzMarshall;
|
||||
residualAlpha 1e-3;
|
||||
}
|
||||
);
|
||||
|
||||
phaseTransfer
|
||||
();
|
||||
|
||||
lift
|
||||
();
|
||||
|
||||
wallLubrication
|
||||
();
|
||||
|
||||
turbulentDispersion
|
||||
(
|
||||
/*(gas in liquid)
|
||||
{
|
||||
type Burns;
|
||||
sigma 0.7;
|
||||
Ctd 1.0;
|
||||
residualAlpha 1e-3;
|
||||
}
|
||||
(gas2 in liquid)
|
||||
{
|
||||
type Burns;
|
||||
sigma 0.7;
|
||||
Ctd 1.0;
|
||||
residualAlpha 1e-3;
|
||||
}
|
||||
*/
|
||||
);
|
||||
|
||||
// Minimum allowable pressure
|
||||
pMin 10000;
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -1,53 +0,0 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Version: dev
|
||||
\\/ M anipulation |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "constant";
|
||||
object thermophysicalProperties.gas;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
thermoType
|
||||
{
|
||||
type heRhoThermo;
|
||||
mixture pureMixture;
|
||||
transport const;
|
||||
thermo eRefConst;
|
||||
equationOfState rhoConst;
|
||||
specie specie;
|
||||
energy sensibleInternalEnergy;
|
||||
}
|
||||
|
||||
mixture
|
||||
{
|
||||
specie
|
||||
{
|
||||
molWeight 18.0153;
|
||||
}
|
||||
equationOfState
|
||||
{
|
||||
rho 1;
|
||||
}
|
||||
thermodynamics
|
||||
{
|
||||
Hf 0;
|
||||
Cv 12078.4;
|
||||
Tref 373.55;
|
||||
Eref 2675500;
|
||||
}
|
||||
transport
|
||||
{
|
||||
mu 1.2256e-5;
|
||||
Pr 2.289;
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -1,55 +0,0 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Version: dev
|
||||
\\/ M anipulation |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "constant";
|
||||
object thermophysicalProperties.liquid;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
thermoType
|
||||
{
|
||||
type heRhoThermo;
|
||||
mixture pureMixture;
|
||||
transport const;
|
||||
thermo eRefConst;
|
||||
equationOfState rhoConst;
|
||||
specie specie;
|
||||
energy sensibleInternalEnergy;
|
||||
}
|
||||
|
||||
mixture
|
||||
{
|
||||
specie
|
||||
{
|
||||
molWeight 18.0153;
|
||||
}
|
||||
equationOfState
|
||||
{
|
||||
rho 959;
|
||||
}
|
||||
thermodynamics
|
||||
{
|
||||
Hf 0;
|
||||
Cv 4195;
|
||||
Tref 373.55;
|
||||
Eref 417500;
|
||||
}
|
||||
transport
|
||||
{
|
||||
mu 2.8291e-4;
|
||||
Pr 2.289;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -1,80 +0,0 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Version: dev
|
||||
\\/ M anipulation |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object blockMeshDict;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
convertToMeters 1;
|
||||
|
||||
vertices
|
||||
(
|
||||
(0 0 0)
|
||||
(0.05 0 0)
|
||||
(0.05 2 0)
|
||||
(0 2 0)
|
||||
(0 0 0.1)
|
||||
(0.05 0 0.1)
|
||||
(0.05 2 0.1)
|
||||
(0 2 0.1)
|
||||
);
|
||||
|
||||
blocks
|
||||
(
|
||||
hex (0 1 2 3 4 5 6 7) (1 75 1) simpleGrading (1 1 1)
|
||||
);
|
||||
|
||||
boundary
|
||||
(
|
||||
inlet
|
||||
{
|
||||
type mappedPatch;
|
||||
offset (0 0.1 0);
|
||||
sampleRegion region0;
|
||||
sampleMode nearestCell;
|
||||
samplePatch none;
|
||||
|
||||
faces
|
||||
(
|
||||
(1 5 4 0)
|
||||
);
|
||||
}
|
||||
|
||||
outlet
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(3 7 6 2)
|
||||
);
|
||||
}
|
||||
|
||||
wall1
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
(0 4 7 3)
|
||||
);
|
||||
}
|
||||
|
||||
wall2
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
(2 6 5 1)
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -1,54 +0,0 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Version: dev
|
||||
\\/ M anipulation |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "system";
|
||||
object controlDict;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
application reactingMultiphaseEulerFoam;
|
||||
|
||||
startFrom latestTime;
|
||||
|
||||
startTime 0;
|
||||
|
||||
stopAt endTime;
|
||||
|
||||
endTime 0.5;
|
||||
|
||||
deltaT 1e-4;
|
||||
|
||||
writeControl adjustableRunTime;
|
||||
|
||||
writeInterval 0.5;
|
||||
|
||||
purgeWrite 0;
|
||||
|
||||
writeFormat ascii;
|
||||
|
||||
writePrecision 9;
|
||||
|
||||
writeCompression off;
|
||||
|
||||
timeFormat general;
|
||||
|
||||
timePrecision 6;
|
||||
|
||||
runTimeModifiable yes;
|
||||
|
||||
adjustTimeStep yes;
|
||||
|
||||
maxCo 0.05;
|
||||
|
||||
maxDeltaT 0.001;
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -1,76 +0,0 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Version: dev
|
||||
\\/ M anipulation |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "system";
|
||||
object fvSchemes;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
ddtSchemes
|
||||
{
|
||||
default Euler;
|
||||
}
|
||||
|
||||
gradSchemes
|
||||
{
|
||||
default Gauss linear;
|
||||
}
|
||||
|
||||
divSchemes
|
||||
{
|
||||
default none;
|
||||
|
||||
"div\(phi,alpha.*\)" Gauss vanLeer;
|
||||
"div\(phir,alpha.*\)" Gauss vanLeer;
|
||||
|
||||
"div\(alphaRhoPhi.*,U.*\)" Gauss limitedLinearV 1;
|
||||
"div\(phi.*,U.*\)" Gauss limitedLinearV 1;
|
||||
|
||||
"div\(alphaRhoPhi.*,Yi\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,(h|e).*\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,K.*\)" Gauss limitedLinear 1;
|
||||
"div\(alphaPhi.*,p\)" Gauss limitedLinear 1;
|
||||
|
||||
"div\(alphaRhoPhi.*,(k|epsilon).*\)" Gauss upwind;
|
||||
"div\(phim,(k|epsilon)m\)" Gauss upwind;
|
||||
|
||||
"div\(\(\(\(alpha.*\*thermo:rho.*\)\*nuEff.*\)\*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
||||
}
|
||||
|
||||
laplacianSchemes
|
||||
{
|
||||
default Gauss linear uncorrected;
|
||||
}
|
||||
|
||||
interpolationSchemes
|
||||
{
|
||||
default linear;
|
||||
}
|
||||
|
||||
snGradSchemes
|
||||
{
|
||||
default uncorrected;
|
||||
}
|
||||
|
||||
fluxRequired
|
||||
{
|
||||
default no;
|
||||
}
|
||||
|
||||
wallDist
|
||||
{
|
||||
method meshWave;
|
||||
nRequired yes;
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -1,105 +0,0 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Version: dev
|
||||
\\/ M anipulation |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "system";
|
||||
object fvSolution;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
solvers
|
||||
{
|
||||
"alpha.*"
|
||||
{
|
||||
nAlphaCorr 1;
|
||||
nAlphaSubCycles 3;
|
||||
}
|
||||
|
||||
p_rgh
|
||||
{
|
||||
solver GAMG;
|
||||
smoother DIC;
|
||||
tolerance 1e-8;
|
||||
relTol 0.01;
|
||||
maxIter 100;
|
||||
minIter 2;
|
||||
}
|
||||
|
||||
p_rghFinal
|
||||
{
|
||||
$p_rgh;
|
||||
relTol 0;
|
||||
}
|
||||
|
||||
"U.*"
|
||||
{
|
||||
solver smoothSolver;
|
||||
smoother symGaussSeidel;
|
||||
tolerance 1e-6;
|
||||
relTol 0;
|
||||
minIter 1;
|
||||
}
|
||||
|
||||
"(e|h).*"
|
||||
{
|
||||
solver smoothSolver;
|
||||
smoother symGaussSeidel;
|
||||
tolerance 1e-12;
|
||||
relTol 0.001;
|
||||
minIter 1;
|
||||
maxIter 20;
|
||||
}
|
||||
|
||||
"(k|epsilon|Theta).*"
|
||||
{
|
||||
solver smoothSolver;
|
||||
smoother symGaussSeidel;
|
||||
tolerance 1e-8;
|
||||
relTol 0;
|
||||
minIter 1;
|
||||
}
|
||||
|
||||
"Yi.*"
|
||||
{
|
||||
solver smoothSolver;
|
||||
smoother symGaussSeidel;
|
||||
tolerance 1e-6;
|
||||
relTol 0;
|
||||
minIter 1;
|
||||
residualAlpha 1e-8;
|
||||
}
|
||||
}
|
||||
|
||||
PIMPLE
|
||||
{
|
||||
nOuterCorrectors 3;
|
||||
nCorrectors 1;
|
||||
nNonOrthogonalCorrectors 0;
|
||||
nEnergyCorrectors 2;
|
||||
faceMomentum yes;
|
||||
}
|
||||
|
||||
relaxationFactors
|
||||
{
|
||||
fields
|
||||
{
|
||||
iDmdt 0.1;
|
||||
}
|
||||
|
||||
equations
|
||||
{
|
||||
".*" 1;
|
||||
"e.*" 0.5;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -17,37 +17,35 @@ FoamFile
|
||||
|
||||
dimensions [0 0 0 1 0 0 0];
|
||||
|
||||
internalField uniform 368;
|
||||
internalField uniform 341.65;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
inlet
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform 368;
|
||||
value $internalField;
|
||||
}
|
||||
outlet
|
||||
{
|
||||
type inletOutlet;
|
||||
phi phi.gas;
|
||||
inletValue uniform 368;
|
||||
value uniform 368;
|
||||
inletValue $internalField;
|
||||
value $internalField;
|
||||
}
|
||||
wall1
|
||||
wall
|
||||
{
|
||||
type copiedFixedValue;
|
||||
sourceFieldName T.liquid;
|
||||
value uniform 368;
|
||||
value $internalField;
|
||||
}
|
||||
wall2
|
||||
front
|
||||
{
|
||||
type copiedFixedValue;
|
||||
sourceFieldName T.liquid;
|
||||
value uniform 368;
|
||||
type wedge;
|
||||
}
|
||||
defaultFaces
|
||||
back
|
||||
{
|
||||
type empty;
|
||||
type wedge;
|
||||
}
|
||||
}
|
||||
|
||||
@ -11,43 +11,41 @@ FoamFile
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
location "5";
|
||||
object T.gas;
|
||||
object T.gas2;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dimensions [0 0 0 1 0 0 0];
|
||||
|
||||
internalField uniform 368;
|
||||
internalField uniform 341.65;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
inlet
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform 368;
|
||||
value $internalField;
|
||||
}
|
||||
outlet
|
||||
{
|
||||
type inletOutlet;
|
||||
phi phi.gas;
|
||||
inletValue uniform 368;
|
||||
value uniform 368;
|
||||
phi phi.gas2;
|
||||
inletValue $internalField;
|
||||
value $internalField;
|
||||
}
|
||||
wall1
|
||||
wall
|
||||
{
|
||||
type copiedFixedValue;
|
||||
sourceFieldName T.liquid;
|
||||
value uniform 368;
|
||||
value $internalField;
|
||||
}
|
||||
wall2
|
||||
front
|
||||
{
|
||||
type copiedFixedValue;
|
||||
sourceFieldName T.liquid;
|
||||
value uniform 368;
|
||||
type wedge;
|
||||
}
|
||||
defaultFaces
|
||||
back
|
||||
{
|
||||
type empty;
|
||||
type wedge;
|
||||
}
|
||||
}
|
||||
|
||||
@ -10,48 +10,44 @@ FoamFile
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
location "5";
|
||||
location "0";
|
||||
object T.liquid;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dimensions [0 0 0 1 0 0 0];
|
||||
dimensions [ 0 0 0 1 0 0 0 ];
|
||||
|
||||
internalField uniform 368;
|
||||
internalField uniform 341.65;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
inlet
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform 368;
|
||||
value $internalField;
|
||||
}
|
||||
outlet
|
||||
{
|
||||
type inletOutlet;
|
||||
phi phi.liquid;
|
||||
inletValue uniform 368;
|
||||
value uniform 368;
|
||||
inletValue $internalField;
|
||||
value $internalField;
|
||||
}
|
||||
wall1
|
||||
wall
|
||||
{
|
||||
type fixedMultiPhaseHeatFlux;
|
||||
relax 0.5;
|
||||
relax 0.1;
|
||||
q uniform 0;
|
||||
phase "liquid";
|
||||
value uniform 368;
|
||||
value $internalField;
|
||||
}
|
||||
wall2
|
||||
front
|
||||
{
|
||||
type fixedMultiPhaseHeatFlux;
|
||||
relax 0.5;
|
||||
q uniform 0;
|
||||
phase "liquid";
|
||||
value uniform 368;
|
||||
type wedge;
|
||||
}
|
||||
defaultFaces
|
||||
back
|
||||
{
|
||||
type empty;
|
||||
type wedge;
|
||||
}
|
||||
}
|
||||
|
||||
@ -17,7 +17,7 @@ FoamFile
|
||||
|
||||
dimensions [0 1 -1 0 0 0 0];
|
||||
|
||||
internalField uniform (0 1 0);
|
||||
internalField uniform (1.96244 0 0);
|
||||
|
||||
boundaryField
|
||||
{
|
||||
@ -25,28 +25,28 @@ boundaryField
|
||||
{
|
||||
type mapped;
|
||||
field U.gas;
|
||||
setAverage 1;
|
||||
average (0 1 0);
|
||||
setAverage 0;
|
||||
average (1.96244 0 0);
|
||||
interpolationScheme cell;
|
||||
value uniform (0 1 0);
|
||||
value uniform (1.96244 0 0);
|
||||
}
|
||||
outlet
|
||||
{
|
||||
type pressureInletOutletVelocity;
|
||||
phi phi.gas;
|
||||
value uniform (0 1 0);
|
||||
value uniform (1.96244 0 0);
|
||||
}
|
||||
wall1
|
||||
wall
|
||||
{
|
||||
type slip;
|
||||
}
|
||||
wall2
|
||||
front
|
||||
{
|
||||
type slip;
|
||||
type wedge;
|
||||
}
|
||||
defaultFaces
|
||||
back
|
||||
{
|
||||
type empty;
|
||||
type wedge;
|
||||
}
|
||||
}
|
||||
|
||||
@ -11,42 +11,42 @@ FoamFile
|
||||
format ascii;
|
||||
class volVectorField;
|
||||
location "0";
|
||||
object U.gas;
|
||||
object U.gas2;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dimensions [0 1 -1 0 0 0 0];
|
||||
|
||||
internalField uniform (0 1 0);
|
||||
internalField uniform (1.96244 0 0);
|
||||
|
||||
boundaryField
|
||||
{
|
||||
inlet
|
||||
{
|
||||
type mapped;
|
||||
field U.gas;
|
||||
setAverage 1;
|
||||
average (0 1 0);
|
||||
field U.gas2;
|
||||
setAverage 0;
|
||||
average (1.96244 0 0);
|
||||
interpolationScheme cell;
|
||||
value uniform (0 1 0);
|
||||
value uniform (1.96244 0 0);
|
||||
}
|
||||
outlet
|
||||
{
|
||||
type pressureInletOutletVelocity;
|
||||
phi phi.gas;
|
||||
value uniform (0 1 0);
|
||||
phi phi.gas2;
|
||||
value uniform (1.96244 0 0);
|
||||
}
|
||||
wall1
|
||||
wall
|
||||
{
|
||||
type slip;
|
||||
}
|
||||
wall2
|
||||
front
|
||||
{
|
||||
type slip;
|
||||
type wedge;
|
||||
}
|
||||
defaultFaces
|
||||
back
|
||||
{
|
||||
type empty;
|
||||
type wedge;
|
||||
}
|
||||
}
|
||||
|
||||
@ -17,7 +17,7 @@ FoamFile
|
||||
|
||||
dimensions [0 1 -1 0 0 0 0];
|
||||
|
||||
internalField uniform (0 1 0);
|
||||
internalField uniform (1.96244 0 0);
|
||||
|
||||
boundaryField
|
||||
{
|
||||
@ -26,27 +26,27 @@ boundaryField
|
||||
type mapped;
|
||||
field U.liquid;
|
||||
setAverage 1;
|
||||
average (0 1 0);
|
||||
average (1.96244 0 0);
|
||||
interpolationScheme cell;
|
||||
value uniform (0 1 0);
|
||||
value uniform (1.96244 0 0);
|
||||
}
|
||||
outlet
|
||||
{
|
||||
type pressureInletOutletVelocity;
|
||||
phi phi.liquid;
|
||||
value uniform (0 1 0);
|
||||
value uniform (1.96244 0 0);
|
||||
}
|
||||
wall1
|
||||
wall
|
||||
{
|
||||
type noSlip;
|
||||
}
|
||||
wall2
|
||||
front
|
||||
{
|
||||
type noSlip;
|
||||
type wedge;
|
||||
}
|
||||
defaultFaces
|
||||
back
|
||||
{
|
||||
type empty;
|
||||
type wedge;
|
||||
}
|
||||
}
|
||||
|
||||
@ -33,17 +33,17 @@ boundaryField
|
||||
inletValue uniform 0;
|
||||
value uniform 0;
|
||||
}
|
||||
wall1
|
||||
wall
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
wall2
|
||||
front
|
||||
{
|
||||
type zeroGradient;
|
||||
type wedge;
|
||||
}
|
||||
defaultFaces
|
||||
back
|
||||
{
|
||||
type empty;
|
||||
type wedge;
|
||||
}
|
||||
}
|
||||
|
||||
@ -11,7 +11,7 @@ FoamFile
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
location "0";
|
||||
object alpha.gas;
|
||||
object alpha.gas2;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -29,21 +29,21 @@ boundaryField
|
||||
outlet
|
||||
{
|
||||
type inletOutlet;
|
||||
phi phi.gas;
|
||||
phi phi.gas2;
|
||||
inletValue uniform 0;
|
||||
value uniform 0;
|
||||
}
|
||||
wall1
|
||||
wall
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
wall2
|
||||
front
|
||||
{
|
||||
type zeroGradient;
|
||||
type wedge;
|
||||
}
|
||||
defaultFaces
|
||||
back
|
||||
{
|
||||
type empty;
|
||||
type wedge;
|
||||
}
|
||||
}
|
||||
|
||||
@ -23,27 +23,27 @@ boundaryField
|
||||
{
|
||||
inlet
|
||||
{
|
||||
type calculated;
|
||||
type fixedValue;
|
||||
value uniform 1;
|
||||
}
|
||||
outlet
|
||||
{
|
||||
type calculated;
|
||||
type inletOutlet;
|
||||
phi phi.liquid;
|
||||
inletValue uniform 1;
|
||||
value uniform 1;
|
||||
}
|
||||
wall1
|
||||
wall
|
||||
{
|
||||
type calculated;
|
||||
value uniform 1;
|
||||
type zeroGradient;
|
||||
}
|
||||
wall2
|
||||
front
|
||||
{
|
||||
type calculated;
|
||||
value uniform 1;
|
||||
type wedge;
|
||||
}
|
||||
defaultFaces
|
||||
back
|
||||
{
|
||||
type empty;
|
||||
type wedge;
|
||||
}
|
||||
}
|
||||
|
||||
@ -31,16 +31,7 @@ boundaryField
|
||||
type calculated;
|
||||
value uniform 1e-8;
|
||||
}
|
||||
wall1
|
||||
{
|
||||
type compressible::alphatPhaseChangeJayatillekeWallFunction;
|
||||
Prt 0.85;
|
||||
Cmu 0.09;
|
||||
kappa 0.41;
|
||||
E 9.8;
|
||||
value uniform 0;
|
||||
}
|
||||
wall2
|
||||
wall
|
||||
{
|
||||
type compressible::alphatWallBoilingWallFunction;
|
||||
otherPhase liquid;
|
||||
@ -51,13 +42,18 @@ boundaryField
|
||||
E 9.8;
|
||||
partitioningModel
|
||||
{
|
||||
type phaseFraction;
|
||||
type Lavieville;
|
||||
alphaCrit 0.2;
|
||||
}
|
||||
value uniform 0;
|
||||
}
|
||||
defaultFaces
|
||||
front
|
||||
{
|
||||
type empty;
|
||||
type wedge;
|
||||
}
|
||||
back
|
||||
{
|
||||
type wedge;
|
||||
}
|
||||
}
|
||||
|
||||
@ -31,7 +31,7 @@ boundaryField
|
||||
type calculated;
|
||||
value uniform 1e-8;
|
||||
}
|
||||
wall1
|
||||
wall
|
||||
{
|
||||
type compressible::alphatWallBoilingWallFunction;
|
||||
otherPhase liquid;
|
||||
@ -42,23 +42,18 @@ boundaryField
|
||||
E 9.8;
|
||||
partitioningModel
|
||||
{
|
||||
type phaseFraction;
|
||||
type Lavieville;
|
||||
alphaCrit 0.2;
|
||||
}
|
||||
value uniform 0;
|
||||
}
|
||||
wall2
|
||||
front
|
||||
{
|
||||
type compressible::alphatPhaseChangeJayatillekeWallFunction;
|
||||
Prt 0.85;
|
||||
Cmu 0.09;
|
||||
kappa 0.41;
|
||||
E 9.8;
|
||||
value uniform 0;
|
||||
type wedge;
|
||||
}
|
||||
|
||||
defaultFaces
|
||||
back
|
||||
{
|
||||
type empty;
|
||||
type wedge;
|
||||
}
|
||||
}
|
||||
|
||||
@ -15,83 +15,66 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dimensions [1 -1 -1 0 0 0 0];
|
||||
dimensions [ 1 -1 -1 0 0 0 0 ];
|
||||
|
||||
internalField uniform 1e-8;
|
||||
internalField uniform 1e-08;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
inlet
|
||||
{
|
||||
type calculated;
|
||||
value uniform 1e-8;
|
||||
type fixedValue;
|
||||
value uniform 0;
|
||||
}
|
||||
outlet
|
||||
{
|
||||
type calculated;
|
||||
value uniform 1e-8;
|
||||
value uniform 1e-08;
|
||||
}
|
||||
wall1
|
||||
wall
|
||||
{
|
||||
type compressible::alphatWallBoilingWallFunction;
|
||||
otherPhase gas2;
|
||||
phaseType liquid;
|
||||
Prt 0.85;
|
||||
Cmu 0.09;
|
||||
kappa 0.41;
|
||||
E 9.8;
|
||||
relax 0.01;
|
||||
relax 0.2;
|
||||
dmdt uniform 0;
|
||||
partitioningModel
|
||||
{
|
||||
type phaseFraction;
|
||||
}
|
||||
nucleationSiteModel
|
||||
{
|
||||
type LemmertChawla;
|
||||
}
|
||||
departureDiamModel
|
||||
{
|
||||
type TolubinskiKostanchuk;
|
||||
}
|
||||
departureFreqModel
|
||||
{
|
||||
type Cole;
|
||||
}
|
||||
value uniform 0.01;
|
||||
}
|
||||
wall2
|
||||
{
|
||||
type compressible::alphatWallBoilingWallFunction;
|
||||
otherPhase gas;
|
||||
phaseType liquid;
|
||||
Prt 0.85;
|
||||
Cmu 0.09;
|
||||
kappa 0.41;
|
||||
E 9.8;
|
||||
relax 0.01;
|
||||
dmdt uniform 0;
|
||||
partitioningModel
|
||||
{
|
||||
type phaseFraction;
|
||||
type Lavieville;
|
||||
alphaCrit 0.2;
|
||||
}
|
||||
nucleationSiteModel
|
||||
{
|
||||
type LemmertChawla;
|
||||
Cn 1;
|
||||
NRef 30000000;
|
||||
deltaTRef 10;
|
||||
}
|
||||
departureDiamModel
|
||||
{
|
||||
type TolubinskiKostanchuk;
|
||||
dRef 0.00024;
|
||||
dMax 0.0014;
|
||||
dMin 1e-06;
|
||||
}
|
||||
departureFreqModel
|
||||
{
|
||||
type Cole;
|
||||
type KocamustafaogullariIshii;
|
||||
Cf 1.18;
|
||||
}
|
||||
value uniform 0.01;
|
||||
}
|
||||
defaultFaces
|
||||
front
|
||||
{
|
||||
type empty;
|
||||
type wedge;
|
||||
}
|
||||
back
|
||||
{
|
||||
type wedge;
|
||||
}
|
||||
}
|
||||
|
||||
@ -36,7 +36,7 @@ boundaryField
|
||||
phi phi.gas;
|
||||
inletValue uniform 0.001;
|
||||
}
|
||||
wall1
|
||||
wall
|
||||
{
|
||||
type epsilonWallFunction;
|
||||
Cmu 0.09;
|
||||
@ -44,17 +44,13 @@ boundaryField
|
||||
E 9.8;
|
||||
value uniform 0.001;
|
||||
}
|
||||
wall2
|
||||
front
|
||||
{
|
||||
type epsilonWallFunction;
|
||||
Cmu 0.09;
|
||||
kappa 0.41;
|
||||
E 9.8;
|
||||
value uniform 0.001;
|
||||
type wedge;
|
||||
}
|
||||
defaultFaces
|
||||
back
|
||||
{
|
||||
type empty;
|
||||
type wedge;
|
||||
}
|
||||
}
|
||||
|
||||
@ -11,7 +11,7 @@ FoamFile
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
location "0";
|
||||
object epsilon.gas;
|
||||
object epsilon.gas2;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -24,7 +24,7 @@ boundaryField
|
||||
inlet
|
||||
{
|
||||
type mapped;
|
||||
field epsilon.gas;
|
||||
field epsilon.gas2;
|
||||
setAverage 0;
|
||||
average 0;
|
||||
interpolationScheme cell;
|
||||
@ -33,10 +33,10 @@ boundaryField
|
||||
outlet
|
||||
{
|
||||
type inletOutlet;
|
||||
phi phi.gas;
|
||||
phi phi.gas2;
|
||||
inletValue uniform 0.001;
|
||||
}
|
||||
wall1
|
||||
wall
|
||||
{
|
||||
type epsilonWallFunction;
|
||||
Cmu 0.09;
|
||||
@ -44,17 +44,13 @@ boundaryField
|
||||
E 9.8;
|
||||
value uniform 0.001;
|
||||
}
|
||||
wall2
|
||||
front
|
||||
{
|
||||
type epsilonWallFunction;
|
||||
Cmu 0.09;
|
||||
kappa 0.41;
|
||||
E 9.8;
|
||||
value uniform 0.001;
|
||||
type wedge;
|
||||
}
|
||||
defaultFaces
|
||||
back
|
||||
{
|
||||
type empty;
|
||||
type wedge;
|
||||
}
|
||||
}
|
||||
|
||||
@ -37,7 +37,7 @@ boundaryField
|
||||
inletValue uniform 0.00015;
|
||||
value uniform 0.001;
|
||||
}
|
||||
wall1
|
||||
wall
|
||||
{
|
||||
type epsilonWallFunction;
|
||||
Cmu 0.09;
|
||||
@ -45,17 +45,13 @@ boundaryField
|
||||
E 9.8;
|
||||
value uniform 0.001;
|
||||
}
|
||||
wall2
|
||||
front
|
||||
{
|
||||
type epsilonWallFunction;
|
||||
Cmu 0.09;
|
||||
kappa 0.41;
|
||||
E 9.8;
|
||||
value uniform 0.001;
|
||||
type wedge;
|
||||
}
|
||||
defaultFaces
|
||||
back
|
||||
{
|
||||
type empty;
|
||||
type wedge;
|
||||
}
|
||||
}
|
||||
|
||||
@ -11,41 +11,37 @@ FoamFile
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
location "0";
|
||||
object alpha.gas;
|
||||
object f.gas.bubbles;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dimensions [0 0 0 0 0 0 0];
|
||||
|
||||
internalField uniform 0;
|
||||
internalField uniform 1.0;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
inlet
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform 0;
|
||||
value uniform 1.0;
|
||||
}
|
||||
outlet
|
||||
{
|
||||
type inletOutlet;
|
||||
phi phi.gas;
|
||||
inletValue uniform 0;
|
||||
value uniform 0;
|
||||
type zeroGradient;
|
||||
}
|
||||
wall1
|
||||
wall
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
wall2
|
||||
front
|
||||
{
|
||||
type zeroGradient;
|
||||
type wedge;
|
||||
}
|
||||
defaultFaces
|
||||
back
|
||||
{
|
||||
type empty;
|
||||
type wedge;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -11,41 +11,37 @@ FoamFile
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
location "0";
|
||||
object alpha.gas;
|
||||
object f.gas.bubbles;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dimensions [0 0 0 0 0 0 0];
|
||||
|
||||
internalField uniform 0;
|
||||
internalField uniform 1.0;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
inlet
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform 0;
|
||||
value uniform 1.0;
|
||||
}
|
||||
outlet
|
||||
{
|
||||
type inletOutlet;
|
||||
phi phi.gas;
|
||||
inletValue uniform 0;
|
||||
value uniform 0;
|
||||
type zeroGradient;
|
||||
}
|
||||
wall1
|
||||
wall
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
wall2
|
||||
front
|
||||
{
|
||||
type zeroGradient;
|
||||
type wedge;
|
||||
}
|
||||
defaultFaces
|
||||
back
|
||||
{
|
||||
type empty;
|
||||
type wedge;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -37,19 +37,18 @@ boundaryField
|
||||
inletValue uniform 0.01;
|
||||
value uniform 0.01;
|
||||
}
|
||||
wall1
|
||||
wall
|
||||
{
|
||||
type kqRWallFunction;
|
||||
value uniform 0.01;
|
||||
}
|
||||
wall2
|
||||
front
|
||||
{
|
||||
type kqRWallFunction;
|
||||
value uniform 0.01;
|
||||
type wedge;
|
||||
}
|
||||
defaultFaces
|
||||
back
|
||||
{
|
||||
type empty;
|
||||
type wedge;
|
||||
}
|
||||
}
|
||||
|
||||
@ -11,7 +11,7 @@ FoamFile
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
location "0";
|
||||
object k.gas;
|
||||
object k.gas2;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -24,7 +24,7 @@ boundaryField
|
||||
inlet
|
||||
{
|
||||
type mapped;
|
||||
field k.gas;
|
||||
field k.gas2;
|
||||
setAverage 0;
|
||||
average 0;
|
||||
interpolationScheme cell;
|
||||
@ -33,23 +33,22 @@ boundaryField
|
||||
outlet
|
||||
{
|
||||
type inletOutlet;
|
||||
phi phi.gas;
|
||||
phi phi.gas2;
|
||||
inletValue uniform 0.01;
|
||||
value uniform 0.01;
|
||||
}
|
||||
wall1
|
||||
wall
|
||||
{
|
||||
type kqRWallFunction;
|
||||
value uniform 0.01;
|
||||
}
|
||||
wall2
|
||||
front
|
||||
{
|
||||
type kqRWallFunction;
|
||||
value uniform 0.01;
|
||||
type wedge;
|
||||
}
|
||||
defaultFaces
|
||||
back
|
||||
{
|
||||
type empty;
|
||||
type wedge;
|
||||
}
|
||||
}
|
||||
|
||||
@ -37,19 +37,18 @@ boundaryField
|
||||
inletValue uniform 3.75e-05;
|
||||
value uniform 0.01;
|
||||
}
|
||||
wall1
|
||||
wall
|
||||
{
|
||||
type kqRWallFunction;
|
||||
value uniform 0.01;
|
||||
}
|
||||
wall2
|
||||
front
|
||||
{
|
||||
type kqRWallFunction;
|
||||
value uniform 0.01;
|
||||
type wedge;
|
||||
}
|
||||
defaultFaces
|
||||
back
|
||||
{
|
||||
type empty;
|
||||
type wedge;
|
||||
}
|
||||
}
|
||||
|
||||
@ -31,7 +31,7 @@ boundaryField
|
||||
type calculated;
|
||||
value uniform 0.0001;
|
||||
}
|
||||
wall1
|
||||
wall
|
||||
{
|
||||
type nutkWallFunction;
|
||||
Cmu 0.09;
|
||||
@ -39,17 +39,13 @@ boundaryField
|
||||
E 9.8;
|
||||
value uniform 0;
|
||||
}
|
||||
wall2
|
||||
front
|
||||
{
|
||||
type nutkWallFunction;
|
||||
Cmu 0.09;
|
||||
kappa 0.41;
|
||||
E 9.8;
|
||||
value uniform 0;
|
||||
type wedge;
|
||||
}
|
||||
defaultFaces
|
||||
back
|
||||
{
|
||||
type empty;
|
||||
type wedge;
|
||||
}
|
||||
}
|
||||
|
||||
@ -31,7 +31,7 @@ boundaryField
|
||||
type calculated;
|
||||
value uniform 0.0001;
|
||||
}
|
||||
wall1
|
||||
wall
|
||||
{
|
||||
type nutkWallFunction;
|
||||
Cmu 0.09;
|
||||
@ -39,17 +39,13 @@ boundaryField
|
||||
E 9.8;
|
||||
value uniform 0;
|
||||
}
|
||||
wall2
|
||||
front
|
||||
{
|
||||
type nutkWallFunction;
|
||||
Cmu 0.09;
|
||||
kappa 0.41;
|
||||
E 9.8;
|
||||
value uniform 0;
|
||||
type wedge;
|
||||
}
|
||||
defaultFaces
|
||||
back
|
||||
{
|
||||
type empty;
|
||||
type wedge;
|
||||
}
|
||||
}
|
||||
|
||||
@ -11,7 +11,7 @@ FoamFile
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
location "0";
|
||||
object nut.gas;
|
||||
object nut.liquid;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -31,7 +31,7 @@ boundaryField
|
||||
type calculated;
|
||||
value uniform 0.0001;
|
||||
}
|
||||
wall1
|
||||
wall
|
||||
{
|
||||
type nutkWallFunction;
|
||||
Cmu 0.09;
|
||||
@ -39,17 +39,13 @@ boundaryField
|
||||
E 9.8;
|
||||
value uniform 0;
|
||||
}
|
||||
wall2
|
||||
front
|
||||
{
|
||||
type nutkWallFunction;
|
||||
Cmu 0.09;
|
||||
kappa 0.41;
|
||||
E 9.8;
|
||||
value uniform 0;
|
||||
type wedge;
|
||||
}
|
||||
defaultFaces
|
||||
back
|
||||
{
|
||||
type empty;
|
||||
type wedge;
|
||||
}
|
||||
}
|
||||
|
||||
@ -11,11 +11,11 @@ FoamFile
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
location "0";
|
||||
object k.liquid;
|
||||
object omega.liquid;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dimensions [0 2 -2 0 0 0 0];
|
||||
dimensions [0 0 -1 0 0 0 0];
|
||||
|
||||
internalField uniform 0.01;
|
||||
|
||||
@ -24,7 +24,7 @@ boundaryField
|
||||
inlet
|
||||
{
|
||||
type mapped;
|
||||
field k.liquid;
|
||||
field omega.liquid;
|
||||
setAverage 0;
|
||||
average 0;
|
||||
interpolationScheme cell;
|
||||
@ -34,22 +34,24 @@ boundaryField
|
||||
{
|
||||
type inletOutlet;
|
||||
phi phi.liquid;
|
||||
inletValue uniform 3.75e-05;
|
||||
inletValue uniform 0.0015;
|
||||
value uniform 0.01;
|
||||
}
|
||||
wall1
|
||||
wall
|
||||
{
|
||||
type kqRWallFunction;
|
||||
value uniform 0.01;
|
||||
type omegaWallFunction;
|
||||
Cmu 0.09;
|
||||
kappa 0.41;
|
||||
E 9.8;
|
||||
value uniform 0.001;
|
||||
}
|
||||
wall2
|
||||
front
|
||||
{
|
||||
type kqRWallFunction;
|
||||
value uniform 0.01;
|
||||
type wedge;
|
||||
}
|
||||
defaultFaces
|
||||
back
|
||||
{
|
||||
type empty;
|
||||
type wedge;
|
||||
}
|
||||
}
|
||||
|
||||
@ -15,35 +15,34 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dimensions [1 -1 -2 0 0 0 0];
|
||||
dimensions [ 1 -1 -2 0 0 0 0 ];
|
||||
|
||||
internalField uniform 100000;
|
||||
internalField uniform 2.62e+06;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
inlet
|
||||
{
|
||||
type calculated;
|
||||
value uniform 100000;
|
||||
value $internalField;
|
||||
}
|
||||
outlet
|
||||
{
|
||||
type calculated;
|
||||
value uniform 100000;
|
||||
value $internalField;
|
||||
}
|
||||
wall1
|
||||
wall
|
||||
{
|
||||
type calculated;
|
||||
value uniform 100000;
|
||||
value $internalField;
|
||||
}
|
||||
wall2
|
||||
front
|
||||
{
|
||||
type calculated;
|
||||
value uniform 100000;
|
||||
type wedge;
|
||||
}
|
||||
defaultFaces
|
||||
back
|
||||
{
|
||||
type empty;
|
||||
type wedge;
|
||||
}
|
||||
}
|
||||
|
||||
@ -17,7 +17,7 @@ FoamFile
|
||||
|
||||
dimensions [1 -1 -2 0 0 0 0];
|
||||
|
||||
internalField uniform 100000;
|
||||
internalField uniform 2.62e6;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
@ -28,20 +28,20 @@ boundaryField
|
||||
outlet
|
||||
{
|
||||
type prghPressure;
|
||||
p uniform 100000;
|
||||
value uniform 100000;
|
||||
p $internalField;
|
||||
value $internalField;
|
||||
}
|
||||
wall1
|
||||
wall
|
||||
{
|
||||
type fixedFluxPressure;
|
||||
}
|
||||
wall2
|
||||
front
|
||||
{
|
||||
type fixedFluxPressure;
|
||||
type wedge;
|
||||
}
|
||||
defaultFaces
|
||||
back
|
||||
{
|
||||
type empty;
|
||||
type wedge;
|
||||
}
|
||||
}
|
||||
|
||||
@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
cd ${0%/*} || exit 1 # run from this directory
|
||||
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
cleanCase
|
||||
foamDictionary system/controlDict -entry endTime -set 0.5
|
||||
foamDictionary system/controlDict -entry startTime -set 0
|
||||
@ -0,0 +1,27 @@
|
||||
#!/bin/sh
|
||||
cd ${0%/*} || exit 1 # run from this directory
|
||||
|
||||
# Source tutorial run functions
|
||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||
|
||||
application=`getApplication`
|
||||
|
||||
runApplication blockMesh
|
||||
runApplication extrudeMesh
|
||||
runApplication topoSet
|
||||
runApplication decomposePar
|
||||
|
||||
runParallel $application
|
||||
|
||||
if ! isTest $@
|
||||
then
|
||||
foamDictionary system/controlDict -entry endTime -set 4
|
||||
foamDictionary system/controlDict -entry startTime -set 0.5
|
||||
runParallel -a foamDictionary 0.5/T.liquid -entry boundaryField.wall.q -set "uniform 73900"
|
||||
runParallel -a foamDictionary 0.5/U.liquid -entry boundaryField.inlet.type -set "fixedValue"
|
||||
runParallel -a $application
|
||||
fi
|
||||
|
||||
runApplication -a reconstructPar -latestTime
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
@ -0,0 +1,182 @@
|
||||
Temperature (K);Pressure (MPa);Density (l. kg/m3);Viscosity (l. Pa*s);Therm. Cond. (l. W/m*K);Surf. Tension (l. N/m);Density (v. kg/m3);Viscosity (v. Pa*s);Therm. Cond. (v. W/m*K)
|
||||
329.351;1.4;1185.7;0.000134252;0.0564358;0.00485756;81.1532;1.33E-05;0.0128043
|
||||
329.671;1.41;1184.24;0.000133755;0.0563258;0.00482213;81.7861;1.33E-05;0.0128369
|
||||
329.99;1.42;1182.79;0.000133263;0.0562162;0.00478694;82.4205;1.33E-05;0.0128695
|
||||
330.307;1.43;1181.34;0.000132773;0.0561073;0.00475199;83.0561;1.33E-05;0.0129022
|
||||
330.623;1.44;1179.9;0.000132287;0.0559988;0.00471727;83.6932;1.34E-05;0.0129349
|
||||
330.937;1.45;1178.45;0.000131805;0.0558909;0.00468278;84.3316;1.34E-05;0.0129677
|
||||
331.249;1.46;1177.01;0.000131325;0.0557834;0.00464852;84.9714;1.34E-05;0.0130006
|
||||
331.56;1.47;1175.57;0.000130849;0.0556765;0.00461448;85.6126;1.34E-05;0.0130335
|
||||
331.869;1.48;1174.14;0.000130376;0.0555701;0.00458067;86.2552;1.34E-05;0.0130665
|
||||
332.177;1.49;1172.71;0.000129906;0.0554642;0.00454708;86.8993;1.35E-05;0.0130995
|
||||
332.483;1.5;1171.28;0.000129439;0.0553588;0.0045137;87.5447;1.35E-05;0.0131326
|
||||
332.788;1.51;1169.85;0.000128976;0.0552538;0.00448054;88.1917;1.35E-05;0.0131658
|
||||
333.091;1.52;1168.43;0.000128515;0.0551493;0.00444759;88.84;1.35E-05;0.013199
|
||||
333.393;1.53;1167;0.000128057;0.0550453;0.00441486;89.4899;1.36E-05;0.0132323
|
||||
333.693;1.54;1165.58;0.000127602;0.0549418;0.00438233;90.1412;1.36E-05;0.0132657
|
||||
333.992;1.55;1164.17;0.00012715;0.0548387;0.00435;90.794;1.36E-05;0.0132992
|
||||
334.29;1.56;1162.75;0.000126701;0.054736;0.00431788;91.4484;1.36E-05;0.0133327
|
||||
334.586;1.57;1161.34;0.000126255;0.0546338;0.00428597;92.1042;1.36E-05;0.0133663
|
||||
334.881;1.58;1159.93;0.000125811;0.0545321;0.00425425;92.7616;1.37E-05;0.0134
|
||||
335.174;1.59;1158.52;0.00012537;0.0544307;0.00422272;93.4205;1.37E-05;0.0134338
|
||||
335.466;1.6;1157.11;0.000124932;0.0543299;0.0041914;94.0809;1.37E-05;0.0134677
|
||||
335.756;1.61;1155.71;0.000124496;0.0542294;0.00416026;94.743;1.37E-05;0.0135016
|
||||
336.046;1.62;1154.31;0.000124063;0.0541293;0.00412932;95.4066;1.38E-05;0.0135357
|
||||
336.334;1.63;1152.9;0.000123632;0.0540297;0.00409857;96.0717;1.38E-05;0.0135698
|
||||
336.621;1.64;1151.51;0.000123204;0.0539305;0.004068;96.7385;1.38E-05;0.013604
|
||||
336.906;1.65;1150.11;0.000122778;0.0538317;0.00403762;97.4069;1.38E-05;0.0136384
|
||||
337.19;1.66;1148.71;0.000122355;0.0537333;0.00400743;98.0769;1.38E-05;0.0136728
|
||||
337.473;1.67;1147.32;0.000121935;0.0536353;0.00397741;98.7486;1.39E-05;0.0137073
|
||||
337.755;1.68;1145.93;0.000121516;0.0535376;0.00394758;99.4219;1.39E-05;0.0137419
|
||||
338.035;1.69;1144.54;0.0001211;0.0534404;0.00391792;100.097;1.39E-05;0.0137766
|
||||
338.314;1.7;1143.15;0.000120686;0.0533435;0.00388844;100.774;1.39E-05;0.0138114
|
||||
338.592;1.71;1141.76;0.000120275;0.0532471;0.00385913;101.452;1.40E-05;0.0138464
|
||||
338.869;1.72;1140.38;0.000119866;0.053151;0.00383;102.132;1.40E-05;0.0138814
|
||||
339.145;1.73;1138.99;0.000119459;0.0530552;0.00380104;102.814;1.40E-05;0.0139165
|
||||
339.419;1.74;1137.61;0.000119054;0.0529599;0.00377224;103.497;1.40E-05;0.0139518
|
||||
339.692;1.75;1136.23;0.000118652;0.0528649;0.00374362;104.182;1.40E-05;0.0139872
|
||||
339.964;1.76;1134.85;0.000118251;0.0527702;0.00371516;104.869;1.41E-05;0.0140227
|
||||
340.235;1.77;1133.47;0.000117853;0.0526759;0.00368687;105.558;1.41E-05;0.0140583
|
||||
340.505;1.78;1132.09;0.000117456;0.052582;0.00365874;106.249;1.41E-05;0.014094
|
||||
340.774;1.79;1130.71;0.000117062;0.0524884;0.00363078;106.941;1.41E-05;0.0141298
|
||||
341.042;1.8;1129.34;0.00011667;0.0523951;0.00360297;107.635;1.42E-05;0.0141658
|
||||
341.308;1.81;1127.96;0.000116279;0.0523022;0.00357532;108.331;1.42E-05;0.0142019
|
||||
341.574;1.82;1126.59;0.000115891;0.0522097;0.00354784;109.029;1.42E-05;0.0142381
|
||||
341.838;1.83;1125.21;0.000115505;0.0521174;0.0035205;109.729;1.42E-05;0.0142745
|
||||
342.101;1.84;1123.84;0.00011512;0.0520255;0.00349332;110.43;1.43E-05;0.0143109
|
||||
342.364;1.85;1122.47;0.000114738;0.0519339;0.0034663;111.134;1.43E-05;0.0143476
|
||||
342.625;1.86;1121.1;0.000114357;0.0518427;0.00343943;111.839;1.43E-05;0.0143843
|
||||
342.885;1.87;1119.73;0.000113978;0.0517517;0.00341271;112.546;1.43E-05;0.0144212
|
||||
343.144;1.88;1118.36;0.000113601;0.0516611;0.00338614;113.256;1.44E-05;0.0144582
|
||||
343.402;1.89;1117;0.000113226;0.0515708;0.00335971;113.967;1.44E-05;0.0144954
|
||||
343.659;1.9;1115.63;0.000112852;0.0514808;0.00333344;114.68;1.44E-05;0.0145327
|
||||
343.915;1.91;1114.26;0.000112481;0.0513911;0.00330731;115.395;1.44E-05;0.0145702
|
||||
344.171;1.92;1112.9;0.000112111;0.0513017;0.00328132;116.112;1.44E-05;0.0146078
|
||||
344.425;1.93;1111.53;0.000111742;0.0512126;0.00325548;116.831;1.45E-05;0.0146456
|
||||
344.678;1.94;1110.17;0.000111376;0.0511238;0.00322978;117.552;1.45E-05;0.0146835
|
||||
344.93;1.95;1108.8;0.000111011;0.0510353;0.00320423;118.276;1.45E-05;0.0147216
|
||||
345.181;1.96;1107.44;0.000110647;0.0509471;0.00317881;119.001;1.45E-05;0.0147598
|
||||
345.432;1.97;1106.08;0.000110285;0.0508592;0.00315353;119.728;1.46E-05;0.0147982
|
||||
345.681;1.98;1104.71;0.000109925;0.0507715;0.00312839;120.458;1.46E-05;0.0148368
|
||||
345.929;1.99;1103.35;0.000109567;0.0506842;0.00310338;121.189;1.46E-05;0.0148755
|
||||
346.177;2;1101.99;0.00010921;0.0505971;0.00307852;121.923;1.46E-05;0.0149144
|
||||
346.424;2.01;1100.63;0.000108854;0.0505103;0.00305378;122.659;1.47E-05;0.0149534
|
||||
346.669;2.02;1099.26;0.0001085;0.0504238;0.00302918;123.397;1.47E-05;0.0149926
|
||||
346.914;2.03;1097.9;0.000108148;0.0503376;0.00300471;124.137;1.47E-05;0.015032
|
||||
347.158;2.04;1096.54;0.000107796;0.0502516;0.00298038;124.88;1.47E-05;0.0150716
|
||||
347.401;2.05;1095.18;0.000107447;0.0501659;0.00295617;125.624;1.48E-05;0.0151114
|
||||
347.643;2.06;1093.82;0.000107099;0.0500805;0.00293209;126.371;1.48E-05;0.0151513
|
||||
347.884;2.07;1092.46;0.000106752;0.0499953;0.00290815;127.121;1.48E-05;0.0151914
|
||||
348.124;2.08;1091.09;0.000106407;0.0499104;0.00288433;127.872;1.48E-05;0.0152317
|
||||
348.364;2.09;1089.73;0.000106063;0.0498258;0.00286063;128.626;1.49E-05;0.0152722
|
||||
348.603;2.1;1088.37;0.00010572;0.0497414;0.00283707;129.382;1.49E-05;0.0153129
|
||||
348.84;2.11;1087.01;0.000105379;0.0496573;0.00281362;130.141;1.49E-05;0.0153538
|
||||
349.077;2.12;1085.65;0.000105039;0.0495734;0.0027903;130.901;1.49E-05;0.0153949
|
||||
349.314;2.13;1084.28;0.0001047;0.0494898;0.00276711;131.665;1.50E-05;0.0154362
|
||||
349.549;2.14;1082.92;0.000104363;0.0494064;0.00274403;132.43;1.50E-05;0.0154777
|
||||
349.783;2.15;1081.56;0.000104027;0.0493233;0.00272108;133.198;1.50E-05;0.0155193
|
||||
350.017;2.16;1080.19;0.000103692;0.0492405;0.00269825;133.969;1.50E-05;0.0155612
|
||||
350.25;2.17;1078.83;0.000103358;0.0491578;0.00267554;134.742;1.51E-05;0.0156033
|
||||
350.482;2.18;1077.47;0.000103026;0.0490754;0.00265294;135.517;1.51E-05;0.0156457
|
||||
350.713;2.19;1076.1;0.000102695;0.0489933;0.00263047;136.295;1.51E-05;0.0156882
|
||||
350.944;2.2;1074.74;0.000102365;0.0489114;0.00260811;137.076;1.52E-05;0.0157309
|
||||
351.173;2.21;1073.37;0.000102036;0.0488297;0.00258587;137.859;1.52E-05;0.0157739
|
||||
351.402;2.22;1072.01;0.000101709;0.0487483;0.00256374;138.645;1.52E-05;0.0158171
|
||||
351.63;2.23;1070.64;0.000101382;0.0486671;0.00254173;139.433;1.52E-05;0.0158605
|
||||
351.858;2.24;1069.27;0.000101057;0.0485861;0.00251983;140.224;1.53E-05;0.0159042
|
||||
352.085;2.25;1067.9;0.000100733;0.0485054;0.00249805;141.018;1.53E-05;0.0159481
|
||||
352.31;2.26;1066.53;0.00010041;0.0484248;0.00247638;141.814;1.53E-05;0.0159922
|
||||
352.536;2.27;1065.16;0.000100088;0.0483446;0.00245482;142.613;1.53E-05;0.0160365
|
||||
352.76;2.28;1063.79;9.98E-05;0.0482645;0.00243337;143.415;1.54E-05;0.0160812
|
||||
352.984;2.29;1062.42;9.94E-05;0.0481847;0.00241203;144.22;1.54E-05;0.016126
|
||||
353.206;2.3;1061.05;9.91E-05;0.0481051;0.0023908;145.027;1.54E-05;0.0161711
|
||||
353.429;2.31;1059.68;9.88E-05;0.0480257;0.00236968;145.837;1.55E-05;0.0162165
|
||||
353.65;2.32;1058.3;9.85E-05;0.0479465;0.00234867;146.65;1.55E-05;0.0162621
|
||||
353.871;2.33;1056.93;9.82E-05;0.0478676;0.00232777;147.466;1.55E-05;0.0163079
|
||||
354.091;2.34;1055.55;9.79E-05;0.0477888;0.00230697;148.285;1.55E-05;0.0163541
|
||||
354.31;2.35;1054.17;9.75E-05;0.0477103;0.00228628;149.106;1.56E-05;0.0164005
|
||||
354.529;2.36;1052.79;9.72E-05;0.047632;0.0022657;149.931;1.56E-05;0.0164471
|
||||
354.747;2.37;1051.41;9.69E-05;0.047554;0.00224522;150.759;1.56E-05;0.0164941
|
||||
354.964;2.38;1050.03;9.66E-05;0.0474761;0.00222484;151.589;1.57E-05;0.0165413
|
||||
355.181;2.39;1048.65;9.63E-05;0.0473984;0.00220457;152.423;1.57E-05;0.0165888
|
||||
355.396;2.4;1047.27;9.60E-05;0.047321;0.00218441;153.26;1.57E-05;0.0166365
|
||||
355.612;2.41;1045.88;9.57E-05;0.0472438;0.00216434;154.1;1.57E-05;0.0166846
|
||||
355.826;2.42;1044.49;9.54E-05;0.0471668;0.00214438;154.943;1.58E-05;0.016733
|
||||
356.04;2.43;1043.11;9.51E-05;0.04709;0.00212452;155.789;1.58E-05;0.0167816
|
||||
356.253;2.44;1041.72;9.48E-05;0.0470134;0.00210476;156.638;1.58E-05;0.0168306
|
||||
356.466;2.45;1040.33;9.45E-05;0.046937;0.0020851;157.491;1.59E-05;0.0168798
|
||||
356.678;2.46;1038.93;9.42E-05;0.0468608;0.00206554;158.347;1.59E-05;0.0169294
|
||||
356.889;2.47;1037.54;9.39E-05;0.0467848;0.00204608;159.206;1.59E-05;0.0169793
|
||||
357.099;2.48;1036.14;9.36E-05;0.0467091;0.00202672;160.068;1.59E-05;0.0170295
|
||||
357.309;2.49;1034.75;9.33E-05;0.0466335;0.00200745;160.934;1.60E-05;0.01708
|
||||
357.519;2.5;1033.35;9.30E-05;0.0465582;0.00198829;161.803;1.60E-05;0.0171308
|
||||
357.727;2.51;1031.95;9.27E-05;0.046483;0.00196922;162.676;1.60E-05;0.017182
|
||||
357.935;2.52;1030.54;9.24E-05;0.0464081;0.00195025;163.552;1.61E-05;0.0172335
|
||||
358.143;2.53;1029.14;9.21E-05;0.0463333;0.00193137;164.432;1.61E-05;0.0172853
|
||||
358.349;2.54;1027.73;9.18E-05;0.0462588;0.00191259;165.315;1.61E-05;0.0173375
|
||||
358.555;2.55;1026.32;9.15E-05;0.0461845;0.00189391;166.202;1.62E-05;0.01739
|
||||
358.761;2.56;1024.91;9.12E-05;0.0461103;0.00187532;167.092;1.62E-05;0.0174429
|
||||
358.966;2.57;1023.5;9.09E-05;0.0460364;0.00185682;167.986;1.62E-05;0.0174961
|
||||
359.17;2.58;1022.09;9.06E-05;0.0459627;0.00183842;168.884;1.63E-05;0.0175497
|
||||
359.374;2.59;1020.67;9.03E-05;0.0458892;0.00182011;169.786;1.63E-05;0.0176037
|
||||
359.577;2.6;1019.25;9.00E-05;0.0458159;0.00180189;170.691;1.63E-05;0.017658
|
||||
359.78;2.61;1017.83;8.97E-05;0.0457428;0.00178377;171.6;1.64E-05;0.0177128
|
||||
359.981;2.62;1016.41;8.94E-05;0.0456699;0.00176574;172.513;1.64E-05;0.0177679
|
||||
360.183;2.63;1014.98;8.91E-05;0.0455972;0.0017478;173.43;1.64E-05;0.0178233
|
||||
360.384;2.64;1013.55;8.88E-05;0.0455247;0.00172995;174.351;1.65E-05;0.0178792
|
||||
360.584;2.65;1012.12;8.85E-05;0.0454524;0.00171219;175.276;1.65E-05;0.0179355
|
||||
360.783;2.66;1010.69;8.82E-05;0.0453804;0.00169452;176.205;1.65E-05;0.0179922
|
||||
360.982;2.67;1009.25;8.79E-05;0.0453085;0.00167695;177.138;1.66E-05;0.0180493
|
||||
361.181;2.68;1007.81;8.77E-05;0.0452369;0.00165946;178.075;1.66E-05;0.0181068
|
||||
361.379;2.69;1006.37;8.74E-05;0.0451654;0.00164206;179.017;1.66E-05;0.0181647
|
||||
361.576;2.7;1004.93;8.71E-05;0.0450942;0.00162475;179.962;1.67E-05;0.0182231
|
||||
361.773;2.71;1003.48;8.68E-05;0.0450231;0.00160752;180.912;1.67E-05;0.0182819
|
||||
361.969;2.72;1002.03;8.65E-05;0.0449523;0.00159039;181.866;1.67E-05;0.0183411
|
||||
362.164;2.73;1000.58;8.62E-05;0.0448817;0.00157334;182.825;1.68E-05;0.0184008
|
||||
362.359;2.74;999.123;8.59E-05;0.0448113;0.00155638;183.788;1.68E-05;0.018461
|
||||
362.554;2.75;997.665;8.57E-05;0.0447412;0.00153951;184.756;1.68E-05;0.0185216
|
||||
362.748;2.76;996.203;8.54E-05;0.0446712;0.00152272;185.728;1.69E-05;0.0185827
|
||||
362.941;2.77;994.739;8.51E-05;0.0446015;0.00150602;186.705;1.69E-05;0.0186442
|
||||
363.134;2.78;993.271;8.48E-05;0.044532;0.00148941;187.686;1.69E-05;0.0187063
|
||||
363.327;2.79;991.801;8.45E-05;0.0444627;0.00147288;188.673;1.70E-05;0.0187688
|
||||
363.518;2.8;990.327;8.42E-05;0.0443936;0.00145643;189.663;1.70E-05;0.0188318
|
||||
363.71;2.81;988.849;8.40E-05;0.0443248;0.00144007;190.659;1.71E-05;0.0188954
|
||||
363.901;2.82;987.368;8.37E-05;0.0442561;0.0014238;191.66;1.71E-05;0.0189594
|
||||
364.091;2.83;985.884;8.34E-05;0.0441878;0.00140761;192.666;1.71E-05;0.019024
|
||||
364.28;2.84;984.397;8.31E-05;0.0441196;0.0013915;193.677;1.72E-05;0.0190891
|
||||
364.47;2.85;982.905;8.28E-05;0.0440517;0.00137548;194.692;1.72E-05;0.0191547
|
||||
364.658;2.86;981.41;8.25E-05;0.043984;0.00135954;195.713;1.72E-05;0.0192209
|
||||
364.846;2.87;979.912;8.23E-05;0.0439165;0.00134368;196.74;1.73E-05;0.0192877
|
||||
365.034;2.88;978.409;8.20E-05;0.0438493;0.0013279;197.771;1.73E-05;0.019355
|
||||
365.221;2.89;976.903;8.17E-05;0.0437824;0.00131221;198.808;1.74E-05;0.0194229
|
||||
365.408;2.9;975.393;8.14E-05;0.0437157;0.0012966;199.851;1.74E-05;0.0194914
|
||||
365.594;2.91;973.878;8.12E-05;0.0436492;0.00128107;200.899;1.74E-05;0.0195604
|
||||
365.78;2.92;972.36;8.09E-05;0.043583;0.00126563;201.952;1.75E-05;0.0196301
|
||||
365.965;2.93;970.838;8.06E-05;0.0435171;0.00125026;203.011;1.75E-05;0.0197004
|
||||
366.149;2.94;969.311;8.03E-05;0.0434514;0.00123498;204.076;1.76E-05;0.0197714
|
||||
366.334;2.95;967.78;8.00E-05;0.043386;0.00121977;205.147;1.76E-05;0.0198429
|
||||
366.517;2.96;966.245;7.98E-05;0.0433208;0.00120465;206.224;1.76E-05;0.0199151
|
||||
366.7;2.97;964.706;7.95E-05;0.043256;0.00118961;207.307;1.77E-05;0.019988
|
||||
366.883;2.98;963.161;7.92E-05;0.0431914;0.00117465;208.396;1.77E-05;0.0200615
|
||||
367.065;2.99;961.613;7.89E-05;0.0431271;0.00115976;209.491;1.78E-05;0.0201358
|
||||
367.247;3;960.059;7.87E-05;0.0430631;0.00114496;210.592;1.78E-05;0.0202107
|
||||
367.428;3.01;958.501;7.84E-05;0.0429994;0.00113024;211.7;1.78E-05;0.0202863
|
||||
367.609;3.02;956.938;7.81E-05;0.0429359;0.0011156;212.814;1.79E-05;0.0203627
|
||||
367.789;3.03;955.371;7.78E-05;0.0428728;0.00110103;213.935;1.79E-05;0.0204397
|
||||
367.969;3.04;953.798;7.76E-05;0.04281;0.00108655;215.062;1.80E-05;0.0205176
|
||||
368.148;3.05;952.22;7.73E-05;0.0427476;0.00107214;216.196;1.80E-05;0.0205962
|
||||
368.327;3.06;950.637;7.70E-05;0.0426854;0.00105781;217.337;1.81E-05;0.0206755
|
||||
368.505;3.07;949.048;7.67E-05;0.0426236;0.00104356;218.485;1.81E-05;0.0207557
|
||||
368.683;3.08;947.455;7.65E-05;0.0425621;0.00102939;219.64;1.82E-05;0.0208367
|
||||
368.861;3.09;945.855;7.62E-05;0.042501;0.0010153;220.802;1.82E-05;0.0209185
|
||||
369.038;3.1;944.251;7.59E-05;0.0424402;0.00100128;221.972;1.82E-05;0.0210011
|
||||
369.214;3.11;942.64;7.56E-05;0.0423798;0.000987344;223.149;1.83E-05;0.0210846
|
||||
369.39;3.12;941.024;7.54E-05;0.0423198;0.000973483;224.333;1.83E-05;0.021169
|
||||
369.566;3.13;939.402;7.51E-05;0.0422601;0.000959701;225.526;1.84E-05;0.0212542
|
||||
369.741;3.14;937.774;7.48E-05;0.0422008;0.000945995;226.726;1.84E-05;0.0213404
|
||||
369.916;3.15;936.139;7.45E-05;0.042142;0.000932367;227.934;1.85E-05;0.0214275
|
||||
370.09;3.16;934.499;7.43E-05;0.0420835;0.000918816;229.15;1.85E-05;0.0215155
|
||||
370.264;3.17;932.852;7.40E-05;0.0420255;0.000905342;230.374;1.86E-05;0.0216045
|
||||
370.437;3.18;931.199;7.37E-05;0.0419679;0.000891945;231.606;1.86E-05;0.0216945
|
||||
370.61;3.19;929.539;7.35E-05;0.0419107;0.000878624;232.848;1.87E-05;0.0217855
|
||||
370.783;3.2;927.873;7.32E-05;0.041854;0.00086538;234.097;1.87E-05;0.0218776
|
||||
|
@ -16,6 +16,6 @@ FoamFile
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dimensions [0 1 -2 0 0 0 0];
|
||||
value ( 0 -9.81 0 );
|
||||
value ( -9.81 0 0 );
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,361 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Version: dev
|
||||
\\/ M anipulation |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "constant";
|
||||
object phaseProperties;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
type thermalPhaseChangePopulationBalanceMultiphaseSystem;
|
||||
|
||||
phases (gas gas2 liquid);
|
||||
|
||||
phaseChange on;
|
||||
|
||||
populationBalances (bubbles);
|
||||
|
||||
gas
|
||||
{
|
||||
type purePhaseModel;
|
||||
diameterModel velocityGroup;
|
||||
|
||||
velocityGroupCoeffs
|
||||
{
|
||||
populationBalance bubbles;
|
||||
|
||||
formFactor 0.5235987756;
|
||||
|
||||
sizeGroups
|
||||
(
|
||||
f1 {d 1.0e-4; value 0 ;}
|
||||
f2 {d 1.2e-4; value 0 ;}
|
||||
f3 {d 1.44e-4; value 0 ;}
|
||||
f4 {d 1.728e-4; value 0 ;}
|
||||
f5 {d 2.074e-4; value 0 ;}
|
||||
f6 {d 2.49e-4; value 0 ;}
|
||||
f7 {d 2.99e-4; value 0 ;}
|
||||
f8 {d 3.6e-4; value 0 ;}
|
||||
f9 {d 4.3e-4; value 0 ;}
|
||||
f10 {d 5.16e-4; value 1 ;}
|
||||
);
|
||||
}
|
||||
|
||||
residualAlpha 1e-6;
|
||||
}
|
||||
|
||||
gas2
|
||||
{
|
||||
type purePhaseModel;
|
||||
diameterModel velocityGroup;
|
||||
|
||||
constantCoeffs
|
||||
{
|
||||
d 0.00045;
|
||||
}
|
||||
|
||||
velocityGroupCoeffs
|
||||
{
|
||||
populationBalance bubbles;
|
||||
|
||||
formFactor 0.5235987756;
|
||||
|
||||
sizeGroups
|
||||
(
|
||||
f11 {d 6.19e-4; value 1 ;}
|
||||
f12 {d 7.43e-4; value 0 ;}
|
||||
f13 {d 8.92e-4; value 0 ;}
|
||||
f14 {d 1.07e-3; value 0 ;}
|
||||
f15 {d 1.28e-3; value 0 ;}
|
||||
f16 {d 1.54e-3; value 0 ;}
|
||||
f17 {d 1.85e-3; value 0 ;}
|
||||
f18 {d 2.22e-3; value 0 ;}
|
||||
f19 {d 2.67e-3; value 0 ;}
|
||||
f20 {d 3.19e-3; value 0 ;}
|
||||
f21 {d 3.85e-3; value 0 ;}
|
||||
f22 {d 4.6e-3; value 0 ;}
|
||||
f23 {d 5.52e-3; value 0 ;}
|
||||
f24 {d 6.62e-3; value 0 ;}
|
||||
f25 {d 7.95e-3; value 0 ;}
|
||||
f26 {d 9.54e-3; value 0 ;}
|
||||
f27 {d 1.14e-2; value 0 ;}
|
||||
);
|
||||
}
|
||||
|
||||
residualAlpha 1e-6;
|
||||
}
|
||||
|
||||
liquid
|
||||
{
|
||||
type purePhaseModel;
|
||||
diameterModel constant;
|
||||
constantCoeffs
|
||||
{
|
||||
d 0.00045;
|
||||
}
|
||||
Sc 0.7;
|
||||
|
||||
residualAlpha 1e-6;
|
||||
}
|
||||
|
||||
populationBalanceCoeffs
|
||||
{
|
||||
bubbles
|
||||
{
|
||||
continuousPhase liquid;
|
||||
|
||||
coalescenceModels
|
||||
(
|
||||
PrinceBlanch
|
||||
{
|
||||
turbulence on;
|
||||
buoyancy on;
|
||||
laminarShear off;
|
||||
C1 0.1;
|
||||
}
|
||||
);
|
||||
|
||||
binaryBreakupModels
|
||||
(
|
||||
LehrMilliesMewes{}
|
||||
);
|
||||
|
||||
breakupModels
|
||||
();
|
||||
|
||||
driftModels
|
||||
(
|
||||
phaseChange
|
||||
{
|
||||
pairs ( (gas and liquid) (gas2 and liquid) );
|
||||
}
|
||||
|
||||
densityChange{}
|
||||
);
|
||||
|
||||
nucleationModels
|
||||
(
|
||||
wallBoiling
|
||||
{
|
||||
velocityGroup gas;
|
||||
}
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
interfaceCompression
|
||||
();
|
||||
|
||||
drag
|
||||
(
|
||||
(gas in liquid)
|
||||
{
|
||||
type IshiiZuber;
|
||||
|
||||
swarmCorrection
|
||||
{
|
||||
type none;
|
||||
}
|
||||
}
|
||||
|
||||
(gas2 in liquid)
|
||||
{
|
||||
type IshiiZuber;
|
||||
|
||||
swarmCorrection
|
||||
{
|
||||
type none;
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
virtualMass
|
||||
(
|
||||
(gas in liquid)
|
||||
{
|
||||
type constantCoefficient;
|
||||
Cvm 0.5;
|
||||
}
|
||||
|
||||
(gas2 in liquid)
|
||||
{
|
||||
type constantCoefficient;
|
||||
Cvm 0.5;
|
||||
}
|
||||
);
|
||||
|
||||
heatTransfer.gas
|
||||
(
|
||||
(gas in liquid)
|
||||
{
|
||||
type constantNu;
|
||||
Nu 1e1;
|
||||
residualAlpha 1e-4;
|
||||
}
|
||||
);
|
||||
|
||||
heatTransfer.gas2
|
||||
(
|
||||
(gas2 in liquid)
|
||||
{
|
||||
type constantNu;
|
||||
Nu 1e1;
|
||||
residualAlpha 1e-4;
|
||||
}
|
||||
);
|
||||
|
||||
heatTransfer.liquid
|
||||
(
|
||||
(gas in liquid)
|
||||
{
|
||||
type RanzMarshall;
|
||||
residualAlpha 1e-4;
|
||||
}
|
||||
|
||||
(gas2 in liquid)
|
||||
{
|
||||
type RanzMarshall;
|
||||
residualAlpha 1e-4;
|
||||
}
|
||||
);
|
||||
|
||||
lift
|
||||
(
|
||||
(gas in liquid)
|
||||
{
|
||||
type wallDamped;
|
||||
|
||||
lift
|
||||
{
|
||||
type Tomiyama;
|
||||
Cl 0.288;
|
||||
}
|
||||
|
||||
wallDamping
|
||||
{
|
||||
type cosine;
|
||||
Cd 1.0;
|
||||
y0 0.0002;
|
||||
}
|
||||
}
|
||||
|
||||
(gas2 in liquid)
|
||||
{
|
||||
type wallDamped;
|
||||
|
||||
lift
|
||||
{
|
||||
type Tomiyama;
|
||||
Cl 0.288;
|
||||
}
|
||||
|
||||
wallDamping
|
||||
{
|
||||
type cosine;
|
||||
Cd 1.0;
|
||||
y0 0.0002;
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
wallLubrication
|
||||
(
|
||||
(gas in liquid)
|
||||
{
|
||||
type Antal;
|
||||
Cw1 -0.01;
|
||||
Cw2 0.05;
|
||||
}
|
||||
|
||||
(gas2 in liquid)
|
||||
{
|
||||
type Antal;
|
||||
Cw1 -0.01;
|
||||
Cw2 0.05;
|
||||
}
|
||||
);
|
||||
|
||||
turbulentDispersion
|
||||
(
|
||||
(gas in liquid)
|
||||
{
|
||||
type LopezDeBertodano;
|
||||
Ctd 1.0;
|
||||
residualAlpha 1e-3;
|
||||
}
|
||||
|
||||
(gas2 in liquid)
|
||||
{
|
||||
type LopezDeBertodano;
|
||||
Ctd 1.0;
|
||||
residualAlpha 1e-3;
|
||||
}
|
||||
);
|
||||
|
||||
blending
|
||||
{
|
||||
default
|
||||
{
|
||||
type none;
|
||||
continuousPhase liquid;
|
||||
}
|
||||
}
|
||||
|
||||
aspectRatio
|
||||
();
|
||||
|
||||
saturationModel
|
||||
{
|
||||
type function1;
|
||||
|
||||
function scale;
|
||||
functionCoeffs
|
||||
{
|
||||
xScale 1e-6;
|
||||
scale 1;
|
||||
value
|
||||
{
|
||||
type csvFile;
|
||||
nHeaderLine 1;
|
||||
refColumn 1;
|
||||
componentColumns (0);
|
||||
separator ";";
|
||||
mergeSeparators no;
|
||||
file "R12.csv";
|
||||
outOfBounds clamp;
|
||||
interpolationScheme linear;
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
surfaceTension
|
||||
(
|
||||
(gas and liquid)
|
||||
{
|
||||
type constant;
|
||||
sigma 0.00176574;
|
||||
}
|
||||
|
||||
(gas2 and liquid)
|
||||
{
|
||||
type constant;
|
||||
sigma 0.00176574;
|
||||
}
|
||||
);
|
||||
|
||||
phaseTransfer
|
||||
();
|
||||
|
||||
// Minimum allowable pressure
|
||||
pMin 10000;
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -21,7 +21,7 @@ thermoType
|
||||
mixture pureMixture;
|
||||
transport const;
|
||||
thermo eRefConst;
|
||||
equationOfState rhoConst;
|
||||
equationOfState perfectGas;
|
||||
specie specie;
|
||||
energy sensibleInternalEnergy;
|
||||
}
|
||||
@ -30,24 +30,20 @@ mixture
|
||||
{
|
||||
specie
|
||||
{
|
||||
molWeight 18.0153;
|
||||
}
|
||||
equationOfState
|
||||
{
|
||||
rho 1;
|
||||
nMoles 1;
|
||||
molWeight 195; //Adjusted to match density to reference data
|
||||
}
|
||||
thermodynamics
|
||||
{
|
||||
Hf 0;
|
||||
Cv 12078.4;
|
||||
Tref 373.55;
|
||||
Eref 2675500;
|
||||
Cv 1252;
|
||||
Tref 359.981;
|
||||
Eref 363410;
|
||||
}
|
||||
transport
|
||||
{
|
||||
mu 1.2256e-5;
|
||||
Pr 2.289;
|
||||
mu 1.6374e-5;
|
||||
Pr 1.19;
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -21,7 +21,7 @@ thermoType
|
||||
mixture pureMixture;
|
||||
transport const;
|
||||
thermo eRefConst;
|
||||
equationOfState rhoConst;
|
||||
equationOfState perfectGas;
|
||||
specie specie;
|
||||
energy sensibleInternalEnergy;
|
||||
}
|
||||
@ -30,24 +30,20 @@ mixture
|
||||
{
|
||||
specie
|
||||
{
|
||||
molWeight 18.0153;
|
||||
}
|
||||
equationOfState
|
||||
{
|
||||
rho 1;
|
||||
nMoles 1;
|
||||
molWeight 195; //Adjusted to match density to reference data
|
||||
}
|
||||
thermodynamics
|
||||
{
|
||||
Hf 0;
|
||||
Cv 12078.4;
|
||||
Tref 373.55;
|
||||
Eref 2675500;
|
||||
Cv 1252;
|
||||
Tref 359.981;
|
||||
Eref 363410;
|
||||
}
|
||||
transport
|
||||
{
|
||||
mu 1.2256e-5;
|
||||
Pr 2.289;
|
||||
mu 1.6374e-5;
|
||||
Pr 1.19;
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -30,26 +30,24 @@ mixture
|
||||
{
|
||||
specie
|
||||
{
|
||||
molWeight 18.0153;
|
||||
nMoles 1;
|
||||
molWeight 120.914;
|
||||
}
|
||||
equationOfState
|
||||
{
|
||||
rho 959;
|
||||
rho 1017.1;
|
||||
}
|
||||
thermodynamics
|
||||
{
|
||||
Hf 0;
|
||||
Cv 4195;
|
||||
Tref 373.55;
|
||||
Eref 417500;
|
||||
Cv 1394.5;
|
||||
Tref 359.981;
|
||||
Eref 290090;
|
||||
}
|
||||
transport
|
||||
{
|
||||
mu 2.8291e-4;
|
||||
Pr 2.289;
|
||||
mu 8.9e-5;
|
||||
Pr 2.8;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -15,11 +15,11 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
simulationType laminar;//RAS;
|
||||
simulationType laminar;
|
||||
|
||||
RAS
|
||||
{
|
||||
RASModel kEpsilon;
|
||||
RASModel continuousGasKEpsilon;
|
||||
|
||||
turbulence on;
|
||||
printCoeffs on;
|
||||
@ -15,11 +15,11 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
simulationType laminar;//RAS;
|
||||
simulationType laminar;
|
||||
|
||||
RAS
|
||||
{
|
||||
RASModel kEpsilon;
|
||||
RASModel continuousGasKEpsilon;
|
||||
|
||||
turbulence on;
|
||||
printCoeffs on;
|
||||
@ -11,7 +11,7 @@ FoamFile
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "constant";
|
||||
object turbulenceProperties.water;
|
||||
object turbulenceProperties.liquid;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -19,7 +19,7 @@ simulationType RAS;
|
||||
|
||||
RAS
|
||||
{
|
||||
RASModel kEpsilon;
|
||||
RASModel kOmegaSST;
|
||||
|
||||
turbulence on;
|
||||
printCoeffs on;
|
||||
@ -14,23 +14,39 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
backgroundMesh
|
||||
{
|
||||
length 3.5;
|
||||
rA 0.0096;
|
||||
lengthCells 350;
|
||||
rAcells 40;
|
||||
}
|
||||
|
||||
convertToMeters 1;
|
||||
|
||||
vertices
|
||||
(
|
||||
(0 0 0)
|
||||
(0.05 0 0)
|
||||
(0.05 2 0)
|
||||
(0 2 0)
|
||||
(0 0 0.1)
|
||||
(0.05 0 0.1)
|
||||
(0.05 2 0.1)
|
||||
(0 2 0.1)
|
||||
( 0 0 -1)
|
||||
($:backgroundMesh.length 0 -1)
|
||||
( 0 $:backgroundMesh.rA -1)
|
||||
($:backgroundMesh.length $:backgroundMesh.rA -1)
|
||||
|
||||
( 0 0 0)
|
||||
($:backgroundMesh.length 0 0)
|
||||
( 0 $:backgroundMesh.rA 0)
|
||||
($:backgroundMesh.length $:backgroundMesh.rA 0)
|
||||
);
|
||||
|
||||
blocks
|
||||
(
|
||||
hex (0 1 2 3 4 5 6 7) (1 75 1) simpleGrading (1 1 1)
|
||||
hex (0 1 3 2 4 5 7 6)
|
||||
($:backgroundMesh.lengthCells $:backgroundMesh.rAcells 1)
|
||||
simpleGrading (1 0.5 1)
|
||||
|
||||
);
|
||||
|
||||
edges
|
||||
(
|
||||
);
|
||||
|
||||
boundary
|
||||
@ -38,43 +54,54 @@ boundary
|
||||
inlet
|
||||
{
|
||||
type mappedPatch;
|
||||
offset (0 0.1 0);
|
||||
sampleRegion region0;
|
||||
sampleMode nearestCell;
|
||||
sampleRegion region0;
|
||||
samplePatch none;
|
||||
|
||||
offset (0.05 0 0);
|
||||
faces
|
||||
(
|
||||
(1 5 4 0)
|
||||
(0 4 6 2)
|
||||
);
|
||||
}
|
||||
|
||||
outlet
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(3 7 6 2)
|
||||
(1 5 7 3)
|
||||
);
|
||||
}
|
||||
front
|
||||
{
|
||||
type symmetry;
|
||||
faces
|
||||
(
|
||||
(4 5 7 6)
|
||||
);
|
||||
}
|
||||
|
||||
wall1
|
||||
back
|
||||
{
|
||||
type symmetry;
|
||||
faces
|
||||
(
|
||||
(0 1 3 2)
|
||||
);
|
||||
}
|
||||
|
||||
wall
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
(0 4 7 3)
|
||||
);
|
||||
}
|
||||
|
||||
wall2
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
(2 6 5 1)
|
||||
(3 2 6 7)
|
||||
(1 0 4 5)
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
mergePatchPairs
|
||||
(
|
||||
);
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,120 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Version: dev
|
||||
\\/ M anipulation |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "system";
|
||||
object controlDict;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
application reactingMultiphaseEulerFoam;
|
||||
|
||||
startFrom startTime;
|
||||
|
||||
startTime 0;
|
||||
|
||||
stopAt endTime;
|
||||
|
||||
endTime 0.5;
|
||||
|
||||
deltaT 0.0001;
|
||||
|
||||
writeControl adjustableRunTime;
|
||||
|
||||
writeInterval 0.5;
|
||||
|
||||
purgeWrite 0;
|
||||
|
||||
writeFormat ascii;
|
||||
|
||||
writePrecision 9;
|
||||
|
||||
writeCompression off;
|
||||
|
||||
timeFormat general;
|
||||
|
||||
timePrecision 6;
|
||||
|
||||
runTimeModifiable yes;
|
||||
|
||||
adjustTimeStep yes;
|
||||
|
||||
maxCo 0.5;
|
||||
|
||||
maxDeltaT 0.001;
|
||||
|
||||
functions
|
||||
{
|
||||
volumeDensity.diameter.bubbles
|
||||
{
|
||||
type sizeDistribution;
|
||||
functionObjectLibs ( "libreactingEulerFoamFunctionObjects.so" );
|
||||
writeControl runTime;
|
||||
writeInterval 0.5;
|
||||
log yes;
|
||||
functionType volumeDensity;
|
||||
abszissaType diameter;
|
||||
selectionMode cellZone;
|
||||
cellZone x349;
|
||||
populationBalance bubbles;
|
||||
}
|
||||
volumeDensity_bulk.diameter.bubbles
|
||||
{
|
||||
type sizeDistribution;
|
||||
functionObjectLibs ( "libreactingEulerFoamFunctionObjects.so" );
|
||||
writeControl runTime;
|
||||
writeInterval 0.5;
|
||||
log yes;
|
||||
functionType volumeDensity;
|
||||
abszissaType diameter;
|
||||
selectionMode cellZone;
|
||||
cellZone x349_bulk;
|
||||
populationBalance bubbles;
|
||||
}
|
||||
volumeDensity_wall.diameter.bubbles
|
||||
{
|
||||
type sizeDistribution;
|
||||
functionObjectLibs ( "libreactingEulerFoamFunctionObjects.so" );
|
||||
writeControl runTime;
|
||||
writeInterval 0.5;
|
||||
log yes;
|
||||
functionType volumeDensity;
|
||||
abszissaType diameter;
|
||||
selectionMode cellZone;
|
||||
cellZone x349_wall;
|
||||
populationBalance bubbles;
|
||||
}
|
||||
outflow
|
||||
{
|
||||
type surfaceFieldValue;
|
||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
||||
log yes;
|
||||
writeFields false;
|
||||
regionType patch;
|
||||
name outlet;
|
||||
operation sum;
|
||||
fields ( alphaRhoPhi.gas alphaRhoPhi.gas2 alphaRhoPhi.liquid );
|
||||
}
|
||||
inflow
|
||||
{
|
||||
type surfaceFieldValue;
|
||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
||||
log yes;
|
||||
writeFields false;
|
||||
regionType patch;
|
||||
name inlet;
|
||||
operation sum;
|
||||
fields ( alphaRhoPhi.gas alphaRhoPhi.gas2 alphaRhoPhi.liquid );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,41 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Version: dev
|
||||
\\/ M anipulation |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object decomposeParDict;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
numberOfSubdomains 4;
|
||||
|
||||
method scotch;
|
||||
|
||||
simpleCoeffs
|
||||
{
|
||||
n (1 1 24);
|
||||
delta 0.001;
|
||||
}
|
||||
|
||||
hierarchicalCoeffs
|
||||
{
|
||||
n (1 1 1);
|
||||
delta 0.001;
|
||||
order xyz;
|
||||
}
|
||||
|
||||
distributed no;
|
||||
|
||||
roots
|
||||
(
|
||||
);
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -10,19 +10,26 @@ FoamFile
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "constant";
|
||||
object turbulenceProperties.water;
|
||||
object extrudeProperties;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
simulationType RAS;
|
||||
constructFrom patch;
|
||||
sourceCase "$FOAM_CASE";
|
||||
|
||||
RAS
|
||||
sourcePatches (front);
|
||||
exposedPatchName back;
|
||||
|
||||
extrudeModel wedge;
|
||||
|
||||
sectorCoeffs
|
||||
{
|
||||
RASModel kEpsilon;
|
||||
|
||||
turbulence on;
|
||||
printCoeffs on;
|
||||
axisPt (0 0 0);
|
||||
axis (1 0 0);
|
||||
angle 1;
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
flipNormals false;
|
||||
mergeFaces false;
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
@ -23,6 +23,7 @@ ddtSchemes
|
||||
gradSchemes
|
||||
{
|
||||
default Gauss linear;
|
||||
limited cellLimited Gauss linear 1;
|
||||
}
|
||||
|
||||
divSchemes
|
||||
@ -32,15 +33,16 @@ divSchemes
|
||||
"div\(phi,alpha.*\)" Gauss vanLeer;
|
||||
"div\(phir,alpha.*\)" Gauss vanLeer;
|
||||
|
||||
"div\(alphaRhoPhi.*,U.*\)" Gauss limitedLinearV 1;
|
||||
"div\(phi.*,U.*\)" Gauss limitedLinearV 1;
|
||||
"div\(alphaRhoPhi.*,U.*\)" Gauss linearUpwind limited;
|
||||
"div\(phi.*,U.*\)" Gauss linearUpwind limited;
|
||||
|
||||
"div\(alphaRhoPhi.*,Yi\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,(h|e).*\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,K.*\)" Gauss limitedLinear 1;
|
||||
"div\(alphaPhi.*,p\)" Gauss limitedLinear 1;
|
||||
|
||||
"div\(alphaRhoPhi.*,(k|epsilon).*\)" Gauss upwind;
|
||||
"div\(alphaRhoPhi.*,Yi\)" Gauss linearUpwind limited;
|
||||
"div\(alphaRhoPhi.*,(h|e).*\)" Gauss linearUpwind limited;
|
||||
"div\(alphaRhoPhi.*,f.*\)" Gauss upwind;
|
||||
"div\(alphaRhoPhi.*,K.*\)" Gauss linearUpwind limited;
|
||||
"div\(alphaPhi.*,p\)" Gauss linearUpwind limited;
|
||||
"div\(phi.*,kappai.*\)" Gauss linearUpwind limited;
|
||||
"div\(alphaRhoPhi.*,(k|epsilon|omega).*\)" Gauss upwind;
|
||||
"div\(phim,(k|epsilon)m\)" Gauss upwind;
|
||||
|
||||
"div\(\(\(\(alpha.*\*thermo:rho.*\)\*nuEff.*\)\*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
||||
@ -48,7 +50,7 @@ divSchemes
|
||||
|
||||
laplacianSchemes
|
||||
{
|
||||
default Gauss linear uncorrected;
|
||||
default Gauss linear corrected;
|
||||
}
|
||||
|
||||
interpolationSchemes
|
||||
@ -58,7 +60,7 @@ interpolationSchemes
|
||||
|
||||
snGradSchemes
|
||||
{
|
||||
default uncorrected;
|
||||
default corrected;
|
||||
}
|
||||
|
||||
fluxRequired
|
||||
@ -20,7 +20,16 @@ solvers
|
||||
"alpha.*"
|
||||
{
|
||||
nAlphaCorr 1;
|
||||
nAlphaSubCycles 3;
|
||||
nAlphaSubCycles 1;
|
||||
}
|
||||
|
||||
bubbles
|
||||
{
|
||||
nCorr 1;
|
||||
tolerance 1e-4;
|
||||
scale true;
|
||||
solveOnFinalIterOnly true;
|
||||
sourceUpdateInterval 20;
|
||||
}
|
||||
|
||||
p_rgh
|
||||
@ -29,7 +38,7 @@ solvers
|
||||
smoother DIC;
|
||||
tolerance 1e-8;
|
||||
relTol 0.01;
|
||||
maxIter 100;
|
||||
maxIter 20;
|
||||
minIter 2;
|
||||
}
|
||||
|
||||
@ -58,7 +67,7 @@ solvers
|
||||
maxIter 20;
|
||||
}
|
||||
|
||||
"(k|epsilon|Theta).*"
|
||||
"(k|epsilon|omega|Theta).*"
|
||||
{
|
||||
solver smoothSolver;
|
||||
smoother symGaussSeidel;
|
||||
@ -67,7 +76,15 @@ solvers
|
||||
minIter 1;
|
||||
}
|
||||
|
||||
"Yi.*"
|
||||
"f.*"
|
||||
{
|
||||
solver PBiCGStab;
|
||||
preconditioner DILU;
|
||||
tolerance 1e-6;
|
||||
relTol 0;
|
||||
}
|
||||
|
||||
Yi
|
||||
{
|
||||
solver smoothSolver;
|
||||
smoother symGaussSeidel;
|
||||
@ -80,10 +97,10 @@ solvers
|
||||
|
||||
PIMPLE
|
||||
{
|
||||
nOuterCorrectors 3;
|
||||
nOuterCorrectors 1;
|
||||
nCorrectors 1;
|
||||
nNonOrthogonalCorrectors 0;
|
||||
nEnergyCorrectors 2;
|
||||
nEnergyCorrectors 1;
|
||||
faceMomentum yes;
|
||||
}
|
||||
|
||||
@ -91,13 +108,13 @@ relaxationFactors
|
||||
{
|
||||
fields
|
||||
{
|
||||
iDmdt 0.1;
|
||||
iDmdt 0.8;
|
||||
}
|
||||
|
||||
equations
|
||||
{
|
||||
".*" 1;
|
||||
"e.*" 0.5;
|
||||
"e\..*" 0.8;
|
||||
}
|
||||
}
|
||||
|
||||
@ -0,0 +1,96 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Version: dev
|
||||
\\/ M anipulation |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object topoSetDict;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
actions
|
||||
(
|
||||
{
|
||||
name x349;
|
||||
type cellSet;
|
||||
action new;
|
||||
source boxToCell;
|
||||
sourceInfo
|
||||
{
|
||||
boxes
|
||||
(
|
||||
(3.48 -0.1 -0.1) (3.5 0.1 0.1)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
{
|
||||
name x349;
|
||||
type cellZoneSet;
|
||||
action new;
|
||||
source setToCellZone;
|
||||
sourceInfo
|
||||
{
|
||||
set x349;
|
||||
}
|
||||
}
|
||||
|
||||
{
|
||||
name x349_wall;
|
||||
type cellSet;
|
||||
action new;
|
||||
source boxToCell;
|
||||
sourceInfo
|
||||
{
|
||||
boxes
|
||||
(
|
||||
(3.48 0.0093 -0.1) (3.5 0.1 0.1)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
{
|
||||
name x349_wall;
|
||||
type cellZoneSet;
|
||||
action new;
|
||||
source setToCellZone;
|
||||
sourceInfo
|
||||
{
|
||||
set x349_wall;
|
||||
}
|
||||
}
|
||||
|
||||
{
|
||||
name x349_bulk;
|
||||
type cellSet;
|
||||
action new;
|
||||
source boxToCell;
|
||||
sourceInfo
|
||||
{
|
||||
boxes
|
||||
(
|
||||
(3.48 0.0 -0.1) (3.5 0.005 0.1)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
{
|
||||
name x349_bulk;
|
||||
type cellZoneSet;
|
||||
action new;
|
||||
source setToCellZone;
|
||||
sourceInfo
|
||||
{
|
||||
set x349_bulk;
|
||||
}
|
||||
}
|
||||
|
||||
);
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -17,35 +17,35 @@ FoamFile
|
||||
|
||||
dimensions [0 0 0 1 0 0 0];
|
||||
|
||||
internalField uniform 368;
|
||||
internalField uniform 341.65;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
inlet
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform 368;
|
||||
value $internalField;
|
||||
}
|
||||
outlet
|
||||
{
|
||||
type inletOutlet;
|
||||
phi phi.gas;
|
||||
inletValue uniform 368;
|
||||
value uniform 368;
|
||||
inletValue $internalField;
|
||||
value $internalField;
|
||||
}
|
||||
wall1
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
wall2
|
||||
wall
|
||||
{
|
||||
type copiedFixedValue;
|
||||
sourceFieldName T.liquid;
|
||||
value uniform 368;
|
||||
value $internalField;
|
||||
}
|
||||
defaultFaces
|
||||
front
|
||||
{
|
||||
type empty;
|
||||
type wedge;
|
||||
}
|
||||
back
|
||||
{
|
||||
type wedge;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -10,44 +10,44 @@ FoamFile
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
location "5";
|
||||
location "0";
|
||||
object T.liquid;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dimensions [0 0 0 1 0 0 0];
|
||||
dimensions [ 0 0 0 1 0 0 0 ];
|
||||
|
||||
internalField uniform 368;
|
||||
internalField uniform 341.65;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
inlet
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform 368;
|
||||
value $internalField;
|
||||
}
|
||||
outlet
|
||||
{
|
||||
type inletOutlet;
|
||||
phi phi.liquid;
|
||||
inletValue uniform 368;
|
||||
value uniform 368;
|
||||
inletValue $internalField;
|
||||
value $internalField;
|
||||
}
|
||||
wall1
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
wall2
|
||||
wall
|
||||
{
|
||||
type fixedMultiPhaseHeatFlux;
|
||||
relax 0.5;
|
||||
relax 0.1;
|
||||
q uniform 0;
|
||||
phase "liquid";
|
||||
value uniform 368;
|
||||
value $internalField;
|
||||
}
|
||||
defaultFaces
|
||||
front
|
||||
{
|
||||
type empty;
|
||||
type wedge;
|
||||
}
|
||||
back
|
||||
{
|
||||
type wedge;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -17,7 +17,7 @@ FoamFile
|
||||
|
||||
dimensions [0 1 -1 0 0 0 0];
|
||||
|
||||
internalField uniform (0 1 0);
|
||||
internalField uniform (1.96244 0 0);
|
||||
|
||||
boundaryField
|
||||
{
|
||||
@ -25,28 +25,28 @@ boundaryField
|
||||
{
|
||||
type mapped;
|
||||
field U.gas;
|
||||
setAverage 1;
|
||||
average (0 1 0);
|
||||
setAverage 0;
|
||||
average (1.96244 0 0);
|
||||
interpolationScheme cell;
|
||||
value uniform (0 1 0);
|
||||
value uniform (1.96244 0 0);
|
||||
}
|
||||
outlet
|
||||
{
|
||||
type pressureInletOutletVelocity;
|
||||
phi phi.gas;
|
||||
value uniform (0 1 0);
|
||||
value uniform (1.96244 0 0);
|
||||
}
|
||||
wall1
|
||||
wall
|
||||
{
|
||||
type slip;
|
||||
}
|
||||
wall2
|
||||
front
|
||||
{
|
||||
type slip;
|
||||
type wedge;
|
||||
}
|
||||
defaultFaces
|
||||
back
|
||||
{
|
||||
type empty;
|
||||
type wedge;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -17,7 +17,7 @@ FoamFile
|
||||
|
||||
dimensions [0 1 -1 0 0 0 0];
|
||||
|
||||
internalField uniform (0 1 0);
|
||||
internalField uniform (1.96244 0 0);
|
||||
|
||||
boundaryField
|
||||
{
|
||||
@ -26,27 +26,27 @@ boundaryField
|
||||
type mapped;
|
||||
field U.liquid;
|
||||
setAverage 1;
|
||||
average (0 1 0);
|
||||
average (1.96244 0 0);
|
||||
interpolationScheme cell;
|
||||
value uniform (0 1 0);
|
||||
value uniform (1.96244 0 0);
|
||||
}
|
||||
outlet
|
||||
{
|
||||
type pressureInletOutletVelocity;
|
||||
phi phi.liquid;
|
||||
value uniform (0 1 0);
|
||||
value uniform (1.96244 0 0);
|
||||
}
|
||||
wall1
|
||||
wall
|
||||
{
|
||||
type noSlip;
|
||||
}
|
||||
wall2
|
||||
front
|
||||
{
|
||||
type noSlip;
|
||||
type wedge;
|
||||
}
|
||||
defaultFaces
|
||||
back
|
||||
{
|
||||
type empty;
|
||||
type wedge;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -33,17 +33,17 @@ boundaryField
|
||||
inletValue uniform 0;
|
||||
value uniform 0;
|
||||
}
|
||||
wall1
|
||||
wall
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
wall2
|
||||
front
|
||||
{
|
||||
type zeroGradient;
|
||||
type wedge;
|
||||
}
|
||||
defaultFaces
|
||||
back
|
||||
{
|
||||
type empty;
|
||||
type wedge;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -23,27 +23,27 @@ boundaryField
|
||||
{
|
||||
inlet
|
||||
{
|
||||
type calculated;
|
||||
type fixedValue;
|
||||
value uniform 1;
|
||||
}
|
||||
outlet
|
||||
{
|
||||
type calculated;
|
||||
type inletOutlet;
|
||||
phi phi.liquid;
|
||||
inletValue uniform 1;
|
||||
value uniform 1;
|
||||
}
|
||||
wall1
|
||||
wall
|
||||
{
|
||||
type calculated;
|
||||
value uniform 1;
|
||||
type zeroGradient;
|
||||
}
|
||||
wall2
|
||||
front
|
||||
{
|
||||
type calculated;
|
||||
value uniform 1;
|
||||
type wedge;
|
||||
}
|
||||
defaultFaces
|
||||
back
|
||||
{
|
||||
type empty;
|
||||
type wedge;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -31,16 +31,7 @@ boundaryField
|
||||
type calculated;
|
||||
value uniform 1e-8;
|
||||
}
|
||||
wall1
|
||||
{
|
||||
type compressible::alphatPhaseChangeJayatillekeWallFunction;
|
||||
Prt 0.85;
|
||||
Cmu 0.09;
|
||||
kappa 0.41;
|
||||
E 9.8;
|
||||
value uniform 0;
|
||||
}
|
||||
wall2
|
||||
wall
|
||||
{
|
||||
type compressible::alphatWallBoilingWallFunction;
|
||||
otherPhase liquid;
|
||||
@ -56,9 +47,13 @@ boundaryField
|
||||
}
|
||||
value uniform 0;
|
||||
}
|
||||
defaultFaces
|
||||
front
|
||||
{
|
||||
type empty;
|
||||
type wedge;
|
||||
}
|
||||
back
|
||||
{
|
||||
type wedge;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -15,43 +15,33 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dimensions [1 -1 -1 0 0 0 0];
|
||||
dimensions [ 1 -1 -1 0 0 0 0 ];
|
||||
|
||||
internalField uniform 1e-8;
|
||||
internalField uniform 1e-08;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
inlet
|
||||
{
|
||||
type calculated;
|
||||
value uniform 1e-8;
|
||||
type fixedValue;
|
||||
value uniform 0;
|
||||
}
|
||||
outlet
|
||||
{
|
||||
type calculated;
|
||||
value uniform 1e-8;
|
||||
value uniform 1e-08;
|
||||
}
|
||||
wall1
|
||||
{
|
||||
type compressible::alphatPhaseChangeJayatillekeWallFunction;
|
||||
Prt 0.85;
|
||||
Cmu 0.09;
|
||||
kappa 0.41;
|
||||
E 9.8;
|
||||
|
||||
value uniform 1e-8;
|
||||
}
|
||||
wall2
|
||||
wall
|
||||
{
|
||||
type compressible::alphatWallBoilingWallFunction;
|
||||
otherPhase gas;
|
||||
phaseType liquid;
|
||||
Prt 0.85;
|
||||
Cmu 0.09;
|
||||
kappa 0.41;
|
||||
E 9.8;
|
||||
relax 0.01;
|
||||
relax 0.2;
|
||||
dmdt uniform 0;
|
||||
otherPhase gas;
|
||||
phaseType liquid;
|
||||
partitioningModel
|
||||
{
|
||||
type Lavieville;
|
||||
@ -60,20 +50,31 @@ boundaryField
|
||||
nucleationSiteModel
|
||||
{
|
||||
type LemmertChawla;
|
||||
Cn 1;
|
||||
NRef 30000000;
|
||||
deltaTRef 10;
|
||||
}
|
||||
departureDiamModel
|
||||
{
|
||||
type TolubinskiKostanchuk;
|
||||
dRef 0.00024;
|
||||
dMax 0.0014;
|
||||
dMin 1e-06;
|
||||
}
|
||||
departureFreqModel
|
||||
{
|
||||
type Cole;
|
||||
type KocamustafaogullariIshii;
|
||||
Cf 1.18;
|
||||
}
|
||||
value uniform 0.01;
|
||||
}
|
||||
defaultFaces
|
||||
front
|
||||
{
|
||||
type empty;
|
||||
type wedge;
|
||||
}
|
||||
back
|
||||
{
|
||||
type wedge;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -36,7 +36,7 @@ boundaryField
|
||||
phi phi.gas;
|
||||
inletValue uniform 0.001;
|
||||
}
|
||||
wall1
|
||||
wall
|
||||
{
|
||||
type epsilonWallFunction;
|
||||
Cmu 0.09;
|
||||
@ -44,17 +44,13 @@ boundaryField
|
||||
E 9.8;
|
||||
value uniform 0.001;
|
||||
}
|
||||
wall2
|
||||
front
|
||||
{
|
||||
type epsilonWallFunction;
|
||||
Cmu 0.09;
|
||||
kappa 0.41;
|
||||
E 9.8;
|
||||
value uniform 0.001;
|
||||
type wedge;
|
||||
}
|
||||
defaultFaces
|
||||
back
|
||||
{
|
||||
type empty;
|
||||
type wedge;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -37,7 +37,7 @@ boundaryField
|
||||
inletValue uniform 0.00015;
|
||||
value uniform 0.001;
|
||||
}
|
||||
wall1
|
||||
wall
|
||||
{
|
||||
type epsilonWallFunction;
|
||||
Cmu 0.09;
|
||||
@ -45,17 +45,13 @@ boundaryField
|
||||
E 9.8;
|
||||
value uniform 0.001;
|
||||
}
|
||||
wall2
|
||||
front
|
||||
{
|
||||
type epsilonWallFunction;
|
||||
Cmu 0.09;
|
||||
kappa 0.41;
|
||||
E 9.8;
|
||||
value uniform 0.001;
|
||||
type wedge;
|
||||
}
|
||||
defaultFaces
|
||||
back
|
||||
{
|
||||
type empty;
|
||||
type wedge;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -37,19 +37,18 @@ boundaryField
|
||||
inletValue uniform 0.01;
|
||||
value uniform 0.01;
|
||||
}
|
||||
wall1
|
||||
wall
|
||||
{
|
||||
type kqRWallFunction;
|
||||
value uniform 0.01;
|
||||
}
|
||||
wall2
|
||||
front
|
||||
{
|
||||
type kqRWallFunction;
|
||||
value uniform 0.01;
|
||||
type wedge;
|
||||
}
|
||||
defaultFaces
|
||||
back
|
||||
{
|
||||
type empty;
|
||||
type wedge;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -37,19 +37,18 @@ boundaryField
|
||||
inletValue uniform 3.75e-05;
|
||||
value uniform 0.01;
|
||||
}
|
||||
wall1
|
||||
wall
|
||||
{
|
||||
type kqRWallFunction;
|
||||
value uniform 0.01;
|
||||
}
|
||||
wall2
|
||||
front
|
||||
{
|
||||
type kqRWallFunction;
|
||||
value uniform 0.01;
|
||||
type wedge;
|
||||
}
|
||||
defaultFaces
|
||||
back
|
||||
{
|
||||
type empty;
|
||||
type wedge;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -31,7 +31,7 @@ boundaryField
|
||||
type calculated;
|
||||
value uniform 0.0001;
|
||||
}
|
||||
wall1
|
||||
wall
|
||||
{
|
||||
type nutkWallFunction;
|
||||
Cmu 0.09;
|
||||
@ -39,17 +39,13 @@ boundaryField
|
||||
E 9.8;
|
||||
value uniform 0;
|
||||
}
|
||||
wall2
|
||||
front
|
||||
{
|
||||
type nutkWallFunction;
|
||||
Cmu 0.09;
|
||||
kappa 0.41;
|
||||
E 9.8;
|
||||
value uniform 0;
|
||||
type wedge;
|
||||
}
|
||||
defaultFaces
|
||||
back
|
||||
{
|
||||
type empty;
|
||||
type wedge;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -31,25 +31,21 @@ boundaryField
|
||||
type calculated;
|
||||
value uniform 0.0001;
|
||||
}
|
||||
wall1
|
||||
wall
|
||||
{
|
||||
type nutkWallFunction;
|
||||
Cmu 0.09;
|
||||
kappa 0.41;
|
||||
E 9.8;
|
||||
value uniform 0.0001;
|
||||
value uniform 0;
|
||||
}
|
||||
wall2
|
||||
front
|
||||
{
|
||||
type nutkWallFunction;
|
||||
Cmu 0.09;
|
||||
kappa 0.41;
|
||||
E 9.8;
|
||||
value uniform 0.0001;
|
||||
type wedge;
|
||||
}
|
||||
defaultFaces
|
||||
back
|
||||
{
|
||||
type empty;
|
||||
type wedge;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -11,11 +11,11 @@ FoamFile
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
location "0";
|
||||
object k.liquid;
|
||||
object omega.liquid;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dimensions [0 2 -2 0 0 0 0];
|
||||
dimensions [0 0 -1 0 0 0 0];
|
||||
|
||||
internalField uniform 0.01;
|
||||
|
||||
@ -24,7 +24,7 @@ boundaryField
|
||||
inlet
|
||||
{
|
||||
type mapped;
|
||||
field k.liquid;
|
||||
field omega.liquid;
|
||||
setAverage 0;
|
||||
average 0;
|
||||
interpolationScheme cell;
|
||||
@ -34,22 +34,24 @@ boundaryField
|
||||
{
|
||||
type inletOutlet;
|
||||
phi phi.liquid;
|
||||
inletValue uniform 3.75e-05;
|
||||
inletValue uniform 0.0015;
|
||||
value uniform 0.01;
|
||||
}
|
||||
wall1
|
||||
wall
|
||||
{
|
||||
type kqRWallFunction;
|
||||
value uniform 0.01;
|
||||
type omegaWallFunction;
|
||||
Cmu 0.09;
|
||||
kappa 0.41;
|
||||
E 9.8;
|
||||
value uniform 0.001;
|
||||
}
|
||||
wall2
|
||||
front
|
||||
{
|
||||
type kqRWallFunction;
|
||||
value uniform 0.01;
|
||||
type wedge;
|
||||
}
|
||||
defaultFaces
|
||||
back
|
||||
{
|
||||
type empty;
|
||||
type wedge;
|
||||
}
|
||||
}
|
||||
|
||||
@ -15,35 +15,34 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dimensions [1 -1 -2 0 0 0 0];
|
||||
dimensions [ 1 -1 -2 0 0 0 0 ];
|
||||
|
||||
internalField uniform 100000;
|
||||
internalField uniform 2.62e+06;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
inlet
|
||||
{
|
||||
type calculated;
|
||||
value uniform 100000;
|
||||
value $internalField;
|
||||
}
|
||||
outlet
|
||||
{
|
||||
type calculated;
|
||||
value uniform 100000;
|
||||
value $internalField;
|
||||
}
|
||||
wall1
|
||||
wall
|
||||
{
|
||||
type calculated;
|
||||
value uniform 100000;
|
||||
value $internalField;
|
||||
}
|
||||
wall2
|
||||
front
|
||||
{
|
||||
type calculated;
|
||||
value uniform 100000;
|
||||
type wedge;
|
||||
}
|
||||
defaultFaces
|
||||
back
|
||||
{
|
||||
type empty;
|
||||
type wedge;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -17,7 +17,7 @@ FoamFile
|
||||
|
||||
dimensions [1 -1 -2 0 0 0 0];
|
||||
|
||||
internalField uniform 100000;
|
||||
internalField uniform 2.62e6;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
@ -28,20 +28,20 @@ boundaryField
|
||||
outlet
|
||||
{
|
||||
type prghPressure;
|
||||
p uniform 100000;
|
||||
value uniform 100000;
|
||||
p $internalField;
|
||||
value $internalField;
|
||||
}
|
||||
wall1
|
||||
wall
|
||||
{
|
||||
type fixedFluxPressure;
|
||||
}
|
||||
wall2
|
||||
front
|
||||
{
|
||||
type fixedFluxPressure;
|
||||
type wedge;
|
||||
}
|
||||
defaultFaces
|
||||
back
|
||||
{
|
||||
type empty;
|
||||
type wedge;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -1,21 +1,26 @@
|
||||
#!/bin/sh
|
||||
cd ${0%/*} || exit 1 # Run from this directory
|
||||
cd ${0%/*} || exit 1 # run from this directory
|
||||
|
||||
# Source tutorial run functions
|
||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||
|
||||
application=$(getApplication)
|
||||
application=`getApplication`
|
||||
|
||||
runApplication blockMesh
|
||||
runApplication $application
|
||||
runApplication extrudeMesh
|
||||
runApplication decomposePar
|
||||
|
||||
runParallel $application
|
||||
|
||||
if ! isTest $@
|
||||
then
|
||||
foamDictionary system/controlDict -entry endTime -set 4
|
||||
foamDictionary system/controlDict -entry startTime -set 0.5
|
||||
foamDictionary 0.5/T.liquid -entry boundaryField/wall2/q -set 'uniform 1e5'
|
||||
foamDictionary 0.5/U.liquid -entry boundaryField/inlet/type -set 'fixedValue'
|
||||
runApplication -a $application
|
||||
runParallel -a foamDictionary 0.5/T.liquid -entry boundaryField.wall.q -set "uniform 73900"
|
||||
runParallel -a foamDictionary 0.5/U.liquid -entry boundaryField.inlet.type -set "fixedValue"
|
||||
runParallel -a $application
|
||||
fi
|
||||
|
||||
runApplication -a reconstructPar -latestTime
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -0,0 +1,182 @@
|
||||
Temperature (K);Pressure (MPa);Density (l. kg/m3);Viscosity (l. Pa*s);Therm. Cond. (l. W/m*K);Surf. Tension (l. N/m);Density (v. kg/m3);Viscosity (v. Pa*s);Therm. Cond. (v. W/m*K)
|
||||
329.351;1.4;1185.7;0.000134252;0.0564358;0.00485756;81.1532;1.33E-05;0.0128043
|
||||
329.671;1.41;1184.24;0.000133755;0.0563258;0.00482213;81.7861;1.33E-05;0.0128369
|
||||
329.99;1.42;1182.79;0.000133263;0.0562162;0.00478694;82.4205;1.33E-05;0.0128695
|
||||
330.307;1.43;1181.34;0.000132773;0.0561073;0.00475199;83.0561;1.33E-05;0.0129022
|
||||
330.623;1.44;1179.9;0.000132287;0.0559988;0.00471727;83.6932;1.34E-05;0.0129349
|
||||
330.937;1.45;1178.45;0.000131805;0.0558909;0.00468278;84.3316;1.34E-05;0.0129677
|
||||
331.249;1.46;1177.01;0.000131325;0.0557834;0.00464852;84.9714;1.34E-05;0.0130006
|
||||
331.56;1.47;1175.57;0.000130849;0.0556765;0.00461448;85.6126;1.34E-05;0.0130335
|
||||
331.869;1.48;1174.14;0.000130376;0.0555701;0.00458067;86.2552;1.34E-05;0.0130665
|
||||
332.177;1.49;1172.71;0.000129906;0.0554642;0.00454708;86.8993;1.35E-05;0.0130995
|
||||
332.483;1.5;1171.28;0.000129439;0.0553588;0.0045137;87.5447;1.35E-05;0.0131326
|
||||
332.788;1.51;1169.85;0.000128976;0.0552538;0.00448054;88.1917;1.35E-05;0.0131658
|
||||
333.091;1.52;1168.43;0.000128515;0.0551493;0.00444759;88.84;1.35E-05;0.013199
|
||||
333.393;1.53;1167;0.000128057;0.0550453;0.00441486;89.4899;1.36E-05;0.0132323
|
||||
333.693;1.54;1165.58;0.000127602;0.0549418;0.00438233;90.1412;1.36E-05;0.0132657
|
||||
333.992;1.55;1164.17;0.00012715;0.0548387;0.00435;90.794;1.36E-05;0.0132992
|
||||
334.29;1.56;1162.75;0.000126701;0.054736;0.00431788;91.4484;1.36E-05;0.0133327
|
||||
334.586;1.57;1161.34;0.000126255;0.0546338;0.00428597;92.1042;1.36E-05;0.0133663
|
||||
334.881;1.58;1159.93;0.000125811;0.0545321;0.00425425;92.7616;1.37E-05;0.0134
|
||||
335.174;1.59;1158.52;0.00012537;0.0544307;0.00422272;93.4205;1.37E-05;0.0134338
|
||||
335.466;1.6;1157.11;0.000124932;0.0543299;0.0041914;94.0809;1.37E-05;0.0134677
|
||||
335.756;1.61;1155.71;0.000124496;0.0542294;0.00416026;94.743;1.37E-05;0.0135016
|
||||
336.046;1.62;1154.31;0.000124063;0.0541293;0.00412932;95.4066;1.38E-05;0.0135357
|
||||
336.334;1.63;1152.9;0.000123632;0.0540297;0.00409857;96.0717;1.38E-05;0.0135698
|
||||
336.621;1.64;1151.51;0.000123204;0.0539305;0.004068;96.7385;1.38E-05;0.013604
|
||||
336.906;1.65;1150.11;0.000122778;0.0538317;0.00403762;97.4069;1.38E-05;0.0136384
|
||||
337.19;1.66;1148.71;0.000122355;0.0537333;0.00400743;98.0769;1.38E-05;0.0136728
|
||||
337.473;1.67;1147.32;0.000121935;0.0536353;0.00397741;98.7486;1.39E-05;0.0137073
|
||||
337.755;1.68;1145.93;0.000121516;0.0535376;0.00394758;99.4219;1.39E-05;0.0137419
|
||||
338.035;1.69;1144.54;0.0001211;0.0534404;0.00391792;100.097;1.39E-05;0.0137766
|
||||
338.314;1.7;1143.15;0.000120686;0.0533435;0.00388844;100.774;1.39E-05;0.0138114
|
||||
338.592;1.71;1141.76;0.000120275;0.0532471;0.00385913;101.452;1.40E-05;0.0138464
|
||||
338.869;1.72;1140.38;0.000119866;0.053151;0.00383;102.132;1.40E-05;0.0138814
|
||||
339.145;1.73;1138.99;0.000119459;0.0530552;0.00380104;102.814;1.40E-05;0.0139165
|
||||
339.419;1.74;1137.61;0.000119054;0.0529599;0.00377224;103.497;1.40E-05;0.0139518
|
||||
339.692;1.75;1136.23;0.000118652;0.0528649;0.00374362;104.182;1.40E-05;0.0139872
|
||||
339.964;1.76;1134.85;0.000118251;0.0527702;0.00371516;104.869;1.41E-05;0.0140227
|
||||
340.235;1.77;1133.47;0.000117853;0.0526759;0.00368687;105.558;1.41E-05;0.0140583
|
||||
340.505;1.78;1132.09;0.000117456;0.052582;0.00365874;106.249;1.41E-05;0.014094
|
||||
340.774;1.79;1130.71;0.000117062;0.0524884;0.00363078;106.941;1.41E-05;0.0141298
|
||||
341.042;1.8;1129.34;0.00011667;0.0523951;0.00360297;107.635;1.42E-05;0.0141658
|
||||
341.308;1.81;1127.96;0.000116279;0.0523022;0.00357532;108.331;1.42E-05;0.0142019
|
||||
341.574;1.82;1126.59;0.000115891;0.0522097;0.00354784;109.029;1.42E-05;0.0142381
|
||||
341.838;1.83;1125.21;0.000115505;0.0521174;0.0035205;109.729;1.42E-05;0.0142745
|
||||
342.101;1.84;1123.84;0.00011512;0.0520255;0.00349332;110.43;1.43E-05;0.0143109
|
||||
342.364;1.85;1122.47;0.000114738;0.0519339;0.0034663;111.134;1.43E-05;0.0143476
|
||||
342.625;1.86;1121.1;0.000114357;0.0518427;0.00343943;111.839;1.43E-05;0.0143843
|
||||
342.885;1.87;1119.73;0.000113978;0.0517517;0.00341271;112.546;1.43E-05;0.0144212
|
||||
343.144;1.88;1118.36;0.000113601;0.0516611;0.00338614;113.256;1.44E-05;0.0144582
|
||||
343.402;1.89;1117;0.000113226;0.0515708;0.00335971;113.967;1.44E-05;0.0144954
|
||||
343.659;1.9;1115.63;0.000112852;0.0514808;0.00333344;114.68;1.44E-05;0.0145327
|
||||
343.915;1.91;1114.26;0.000112481;0.0513911;0.00330731;115.395;1.44E-05;0.0145702
|
||||
344.171;1.92;1112.9;0.000112111;0.0513017;0.00328132;116.112;1.44E-05;0.0146078
|
||||
344.425;1.93;1111.53;0.000111742;0.0512126;0.00325548;116.831;1.45E-05;0.0146456
|
||||
344.678;1.94;1110.17;0.000111376;0.0511238;0.00322978;117.552;1.45E-05;0.0146835
|
||||
344.93;1.95;1108.8;0.000111011;0.0510353;0.00320423;118.276;1.45E-05;0.0147216
|
||||
345.181;1.96;1107.44;0.000110647;0.0509471;0.00317881;119.001;1.45E-05;0.0147598
|
||||
345.432;1.97;1106.08;0.000110285;0.0508592;0.00315353;119.728;1.46E-05;0.0147982
|
||||
345.681;1.98;1104.71;0.000109925;0.0507715;0.00312839;120.458;1.46E-05;0.0148368
|
||||
345.929;1.99;1103.35;0.000109567;0.0506842;0.00310338;121.189;1.46E-05;0.0148755
|
||||
346.177;2;1101.99;0.00010921;0.0505971;0.00307852;121.923;1.46E-05;0.0149144
|
||||
346.424;2.01;1100.63;0.000108854;0.0505103;0.00305378;122.659;1.47E-05;0.0149534
|
||||
346.669;2.02;1099.26;0.0001085;0.0504238;0.00302918;123.397;1.47E-05;0.0149926
|
||||
346.914;2.03;1097.9;0.000108148;0.0503376;0.00300471;124.137;1.47E-05;0.015032
|
||||
347.158;2.04;1096.54;0.000107796;0.0502516;0.00298038;124.88;1.47E-05;0.0150716
|
||||
347.401;2.05;1095.18;0.000107447;0.0501659;0.00295617;125.624;1.48E-05;0.0151114
|
||||
347.643;2.06;1093.82;0.000107099;0.0500805;0.00293209;126.371;1.48E-05;0.0151513
|
||||
347.884;2.07;1092.46;0.000106752;0.0499953;0.00290815;127.121;1.48E-05;0.0151914
|
||||
348.124;2.08;1091.09;0.000106407;0.0499104;0.00288433;127.872;1.48E-05;0.0152317
|
||||
348.364;2.09;1089.73;0.000106063;0.0498258;0.00286063;128.626;1.49E-05;0.0152722
|
||||
348.603;2.1;1088.37;0.00010572;0.0497414;0.00283707;129.382;1.49E-05;0.0153129
|
||||
348.84;2.11;1087.01;0.000105379;0.0496573;0.00281362;130.141;1.49E-05;0.0153538
|
||||
349.077;2.12;1085.65;0.000105039;0.0495734;0.0027903;130.901;1.49E-05;0.0153949
|
||||
349.314;2.13;1084.28;0.0001047;0.0494898;0.00276711;131.665;1.50E-05;0.0154362
|
||||
349.549;2.14;1082.92;0.000104363;0.0494064;0.00274403;132.43;1.50E-05;0.0154777
|
||||
349.783;2.15;1081.56;0.000104027;0.0493233;0.00272108;133.198;1.50E-05;0.0155193
|
||||
350.017;2.16;1080.19;0.000103692;0.0492405;0.00269825;133.969;1.50E-05;0.0155612
|
||||
350.25;2.17;1078.83;0.000103358;0.0491578;0.00267554;134.742;1.51E-05;0.0156033
|
||||
350.482;2.18;1077.47;0.000103026;0.0490754;0.00265294;135.517;1.51E-05;0.0156457
|
||||
350.713;2.19;1076.1;0.000102695;0.0489933;0.00263047;136.295;1.51E-05;0.0156882
|
||||
350.944;2.2;1074.74;0.000102365;0.0489114;0.00260811;137.076;1.52E-05;0.0157309
|
||||
351.173;2.21;1073.37;0.000102036;0.0488297;0.00258587;137.859;1.52E-05;0.0157739
|
||||
351.402;2.22;1072.01;0.000101709;0.0487483;0.00256374;138.645;1.52E-05;0.0158171
|
||||
351.63;2.23;1070.64;0.000101382;0.0486671;0.00254173;139.433;1.52E-05;0.0158605
|
||||
351.858;2.24;1069.27;0.000101057;0.0485861;0.00251983;140.224;1.53E-05;0.0159042
|
||||
352.085;2.25;1067.9;0.000100733;0.0485054;0.00249805;141.018;1.53E-05;0.0159481
|
||||
352.31;2.26;1066.53;0.00010041;0.0484248;0.00247638;141.814;1.53E-05;0.0159922
|
||||
352.536;2.27;1065.16;0.000100088;0.0483446;0.00245482;142.613;1.53E-05;0.0160365
|
||||
352.76;2.28;1063.79;9.98E-05;0.0482645;0.00243337;143.415;1.54E-05;0.0160812
|
||||
352.984;2.29;1062.42;9.94E-05;0.0481847;0.00241203;144.22;1.54E-05;0.016126
|
||||
353.206;2.3;1061.05;9.91E-05;0.0481051;0.0023908;145.027;1.54E-05;0.0161711
|
||||
353.429;2.31;1059.68;9.88E-05;0.0480257;0.00236968;145.837;1.55E-05;0.0162165
|
||||
353.65;2.32;1058.3;9.85E-05;0.0479465;0.00234867;146.65;1.55E-05;0.0162621
|
||||
353.871;2.33;1056.93;9.82E-05;0.0478676;0.00232777;147.466;1.55E-05;0.0163079
|
||||
354.091;2.34;1055.55;9.79E-05;0.0477888;0.00230697;148.285;1.55E-05;0.0163541
|
||||
354.31;2.35;1054.17;9.75E-05;0.0477103;0.00228628;149.106;1.56E-05;0.0164005
|
||||
354.529;2.36;1052.79;9.72E-05;0.047632;0.0022657;149.931;1.56E-05;0.0164471
|
||||
354.747;2.37;1051.41;9.69E-05;0.047554;0.00224522;150.759;1.56E-05;0.0164941
|
||||
354.964;2.38;1050.03;9.66E-05;0.0474761;0.00222484;151.589;1.57E-05;0.0165413
|
||||
355.181;2.39;1048.65;9.63E-05;0.0473984;0.00220457;152.423;1.57E-05;0.0165888
|
||||
355.396;2.4;1047.27;9.60E-05;0.047321;0.00218441;153.26;1.57E-05;0.0166365
|
||||
355.612;2.41;1045.88;9.57E-05;0.0472438;0.00216434;154.1;1.57E-05;0.0166846
|
||||
355.826;2.42;1044.49;9.54E-05;0.0471668;0.00214438;154.943;1.58E-05;0.016733
|
||||
356.04;2.43;1043.11;9.51E-05;0.04709;0.00212452;155.789;1.58E-05;0.0167816
|
||||
356.253;2.44;1041.72;9.48E-05;0.0470134;0.00210476;156.638;1.58E-05;0.0168306
|
||||
356.466;2.45;1040.33;9.45E-05;0.046937;0.0020851;157.491;1.59E-05;0.0168798
|
||||
356.678;2.46;1038.93;9.42E-05;0.0468608;0.00206554;158.347;1.59E-05;0.0169294
|
||||
356.889;2.47;1037.54;9.39E-05;0.0467848;0.00204608;159.206;1.59E-05;0.0169793
|
||||
357.099;2.48;1036.14;9.36E-05;0.0467091;0.00202672;160.068;1.59E-05;0.0170295
|
||||
357.309;2.49;1034.75;9.33E-05;0.0466335;0.00200745;160.934;1.60E-05;0.01708
|
||||
357.519;2.5;1033.35;9.30E-05;0.0465582;0.00198829;161.803;1.60E-05;0.0171308
|
||||
357.727;2.51;1031.95;9.27E-05;0.046483;0.00196922;162.676;1.60E-05;0.017182
|
||||
357.935;2.52;1030.54;9.24E-05;0.0464081;0.00195025;163.552;1.61E-05;0.0172335
|
||||
358.143;2.53;1029.14;9.21E-05;0.0463333;0.00193137;164.432;1.61E-05;0.0172853
|
||||
358.349;2.54;1027.73;9.18E-05;0.0462588;0.00191259;165.315;1.61E-05;0.0173375
|
||||
358.555;2.55;1026.32;9.15E-05;0.0461845;0.00189391;166.202;1.62E-05;0.01739
|
||||
358.761;2.56;1024.91;9.12E-05;0.0461103;0.00187532;167.092;1.62E-05;0.0174429
|
||||
358.966;2.57;1023.5;9.09E-05;0.0460364;0.00185682;167.986;1.62E-05;0.0174961
|
||||
359.17;2.58;1022.09;9.06E-05;0.0459627;0.00183842;168.884;1.63E-05;0.0175497
|
||||
359.374;2.59;1020.67;9.03E-05;0.0458892;0.00182011;169.786;1.63E-05;0.0176037
|
||||
359.577;2.6;1019.25;9.00E-05;0.0458159;0.00180189;170.691;1.63E-05;0.017658
|
||||
359.78;2.61;1017.83;8.97E-05;0.0457428;0.00178377;171.6;1.64E-05;0.0177128
|
||||
359.981;2.62;1016.41;8.94E-05;0.0456699;0.00176574;172.513;1.64E-05;0.0177679
|
||||
360.183;2.63;1014.98;8.91E-05;0.0455972;0.0017478;173.43;1.64E-05;0.0178233
|
||||
360.384;2.64;1013.55;8.88E-05;0.0455247;0.00172995;174.351;1.65E-05;0.0178792
|
||||
360.584;2.65;1012.12;8.85E-05;0.0454524;0.00171219;175.276;1.65E-05;0.0179355
|
||||
360.783;2.66;1010.69;8.82E-05;0.0453804;0.00169452;176.205;1.65E-05;0.0179922
|
||||
360.982;2.67;1009.25;8.79E-05;0.0453085;0.00167695;177.138;1.66E-05;0.0180493
|
||||
361.181;2.68;1007.81;8.77E-05;0.0452369;0.00165946;178.075;1.66E-05;0.0181068
|
||||
361.379;2.69;1006.37;8.74E-05;0.0451654;0.00164206;179.017;1.66E-05;0.0181647
|
||||
361.576;2.7;1004.93;8.71E-05;0.0450942;0.00162475;179.962;1.67E-05;0.0182231
|
||||
361.773;2.71;1003.48;8.68E-05;0.0450231;0.00160752;180.912;1.67E-05;0.0182819
|
||||
361.969;2.72;1002.03;8.65E-05;0.0449523;0.00159039;181.866;1.67E-05;0.0183411
|
||||
362.164;2.73;1000.58;8.62E-05;0.0448817;0.00157334;182.825;1.68E-05;0.0184008
|
||||
362.359;2.74;999.123;8.59E-05;0.0448113;0.00155638;183.788;1.68E-05;0.018461
|
||||
362.554;2.75;997.665;8.57E-05;0.0447412;0.00153951;184.756;1.68E-05;0.0185216
|
||||
362.748;2.76;996.203;8.54E-05;0.0446712;0.00152272;185.728;1.69E-05;0.0185827
|
||||
362.941;2.77;994.739;8.51E-05;0.0446015;0.00150602;186.705;1.69E-05;0.0186442
|
||||
363.134;2.78;993.271;8.48E-05;0.044532;0.00148941;187.686;1.69E-05;0.0187063
|
||||
363.327;2.79;991.801;8.45E-05;0.0444627;0.00147288;188.673;1.70E-05;0.0187688
|
||||
363.518;2.8;990.327;8.42E-05;0.0443936;0.00145643;189.663;1.70E-05;0.0188318
|
||||
363.71;2.81;988.849;8.40E-05;0.0443248;0.00144007;190.659;1.71E-05;0.0188954
|
||||
363.901;2.82;987.368;8.37E-05;0.0442561;0.0014238;191.66;1.71E-05;0.0189594
|
||||
364.091;2.83;985.884;8.34E-05;0.0441878;0.00140761;192.666;1.71E-05;0.019024
|
||||
364.28;2.84;984.397;8.31E-05;0.0441196;0.0013915;193.677;1.72E-05;0.0190891
|
||||
364.47;2.85;982.905;8.28E-05;0.0440517;0.00137548;194.692;1.72E-05;0.0191547
|
||||
364.658;2.86;981.41;8.25E-05;0.043984;0.00135954;195.713;1.72E-05;0.0192209
|
||||
364.846;2.87;979.912;8.23E-05;0.0439165;0.00134368;196.74;1.73E-05;0.0192877
|
||||
365.034;2.88;978.409;8.20E-05;0.0438493;0.0013279;197.771;1.73E-05;0.019355
|
||||
365.221;2.89;976.903;8.17E-05;0.0437824;0.00131221;198.808;1.74E-05;0.0194229
|
||||
365.408;2.9;975.393;8.14E-05;0.0437157;0.0012966;199.851;1.74E-05;0.0194914
|
||||
365.594;2.91;973.878;8.12E-05;0.0436492;0.00128107;200.899;1.74E-05;0.0195604
|
||||
365.78;2.92;972.36;8.09E-05;0.043583;0.00126563;201.952;1.75E-05;0.0196301
|
||||
365.965;2.93;970.838;8.06E-05;0.0435171;0.00125026;203.011;1.75E-05;0.0197004
|
||||
366.149;2.94;969.311;8.03E-05;0.0434514;0.00123498;204.076;1.76E-05;0.0197714
|
||||
366.334;2.95;967.78;8.00E-05;0.043386;0.00121977;205.147;1.76E-05;0.0198429
|
||||
366.517;2.96;966.245;7.98E-05;0.0433208;0.00120465;206.224;1.76E-05;0.0199151
|
||||
366.7;2.97;964.706;7.95E-05;0.043256;0.00118961;207.307;1.77E-05;0.019988
|
||||
366.883;2.98;963.161;7.92E-05;0.0431914;0.00117465;208.396;1.77E-05;0.0200615
|
||||
367.065;2.99;961.613;7.89E-05;0.0431271;0.00115976;209.491;1.78E-05;0.0201358
|
||||
367.247;3;960.059;7.87E-05;0.0430631;0.00114496;210.592;1.78E-05;0.0202107
|
||||
367.428;3.01;958.501;7.84E-05;0.0429994;0.00113024;211.7;1.78E-05;0.0202863
|
||||
367.609;3.02;956.938;7.81E-05;0.0429359;0.0011156;212.814;1.79E-05;0.0203627
|
||||
367.789;3.03;955.371;7.78E-05;0.0428728;0.00110103;213.935;1.79E-05;0.0204397
|
||||
367.969;3.04;953.798;7.76E-05;0.04281;0.00108655;215.062;1.80E-05;0.0205176
|
||||
368.148;3.05;952.22;7.73E-05;0.0427476;0.00107214;216.196;1.80E-05;0.0205962
|
||||
368.327;3.06;950.637;7.70E-05;0.0426854;0.00105781;217.337;1.81E-05;0.0206755
|
||||
368.505;3.07;949.048;7.67E-05;0.0426236;0.00104356;218.485;1.81E-05;0.0207557
|
||||
368.683;3.08;947.455;7.65E-05;0.0425621;0.00102939;219.64;1.82E-05;0.0208367
|
||||
368.861;3.09;945.855;7.62E-05;0.042501;0.0010153;220.802;1.82E-05;0.0209185
|
||||
369.038;3.1;944.251;7.59E-05;0.0424402;0.00100128;221.972;1.82E-05;0.0210011
|
||||
369.214;3.11;942.64;7.56E-05;0.0423798;0.000987344;223.149;1.83E-05;0.0210846
|
||||
369.39;3.12;941.024;7.54E-05;0.0423198;0.000973483;224.333;1.83E-05;0.021169
|
||||
369.566;3.13;939.402;7.51E-05;0.0422601;0.000959701;225.526;1.84E-05;0.0212542
|
||||
369.741;3.14;937.774;7.48E-05;0.0422008;0.000945995;226.726;1.84E-05;0.0213404
|
||||
369.916;3.15;936.139;7.45E-05;0.042142;0.000932367;227.934;1.85E-05;0.0214275
|
||||
370.09;3.16;934.499;7.43E-05;0.0420835;0.000918816;229.15;1.85E-05;0.0215155
|
||||
370.264;3.17;932.852;7.40E-05;0.0420255;0.000905342;230.374;1.86E-05;0.0216045
|
||||
370.437;3.18;931.199;7.37E-05;0.0419679;0.000891945;231.606;1.86E-05;0.0216945
|
||||
370.61;3.19;929.539;7.35E-05;0.0419107;0.000878624;232.848;1.87E-05;0.0217855
|
||||
370.783;3.2;927.873;7.32E-05;0.041854;0.00086538;234.097;1.87E-05;0.0218776
|
||||
|
@ -1,66 +0,0 @@
|
||||
p,Tsat
|
||||
99083.3,372.499
|
||||
100667,372.942
|
||||
102250,373.379
|
||||
103833,373.811
|
||||
105417,374.237
|
||||
107000,374.658
|
||||
108583,375.074
|
||||
110167,375.485
|
||||
111750,375.891
|
||||
113333,376.293
|
||||
114917,376.689
|
||||
116500,377.082
|
||||
118083,377.47
|
||||
119667,377.853
|
||||
121250,378.233
|
||||
122833,378.608
|
||||
124417,378.98
|
||||
126000,379.347
|
||||
127583,379.711
|
||||
129167,380.071
|
||||
130750,380.427
|
||||
132333,380.78
|
||||
133917,381.13
|
||||
135500,381.476
|
||||
137083,381.819
|
||||
138667,382.158
|
||||
140250,382.494
|
||||
141833,382.828
|
||||
143417,383.158
|
||||
145000,383.485
|
||||
146583,383.809
|
||||
148167,384.131
|
||||
149750,384.449
|
||||
151333,384.765
|
||||
152917,385.078
|
||||
154500,385.389
|
||||
156083,385.697
|
||||
157667,386.002
|
||||
159250,386.305
|
||||
160833,386.605
|
||||
162417,386.903
|
||||
164000,387.199
|
||||
165583,387.492
|
||||
167167,387.783
|
||||
168750,388.072
|
||||
170333,388.358
|
||||
171917,388.642
|
||||
173500,388.925
|
||||
175083,389.205
|
||||
176667,389.483
|
||||
178250,389.759
|
||||
179833,390.033
|
||||
181417,390.305
|
||||
183000,390.575
|
||||
184583,390.843
|
||||
186167,391.109
|
||||
187750,391.374
|
||||
189333,391.636
|
||||
190917,391.897
|
||||
192500,392.156
|
||||
194083,392.413
|
||||
195667,392.669
|
||||
197250,392.923
|
||||
198833,393.175
|
||||
200417,393.426
|
||||
|
@ -16,6 +16,6 @@ FoamFile
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dimensions [0 1 -2 0 0 0 0];
|
||||
value ( 0 -9.81 0 );
|
||||
value ( -9.81 0 0 );
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -24,20 +24,14 @@ phaseChange on;
|
||||
gas
|
||||
{
|
||||
type purePhaseModel;
|
||||
diameterModel isothermal;
|
||||
diameterModel constant;
|
||||
|
||||
constantCoeffs
|
||||
{
|
||||
d 0.00045;
|
||||
}
|
||||
|
||||
isothermalCoeffs
|
||||
{
|
||||
d0 0.00045;
|
||||
p0 1e5;
|
||||
}
|
||||
Sct 0.7;
|
||||
|
||||
residualAlpha 1e-4;
|
||||
residualAlpha 1e-6;
|
||||
}
|
||||
|
||||
liquid
|
||||
@ -48,50 +42,17 @@ liquid
|
||||
{
|
||||
d 0.00045;
|
||||
}
|
||||
Sct 0.7;
|
||||
Sc 0.7;
|
||||
|
||||
residualAlpha 1e-4;
|
||||
residualAlpha 1e-6;
|
||||
}
|
||||
|
||||
blending
|
||||
{
|
||||
default
|
||||
{
|
||||
type none;
|
||||
continuousPhase liquid;
|
||||
}
|
||||
}
|
||||
|
||||
surfaceTension
|
||||
();
|
||||
|
||||
saturationModel
|
||||
{
|
||||
type function1;
|
||||
|
||||
function csvFile;
|
||||
functionCoeffs
|
||||
{
|
||||
nHeaderLine 1;
|
||||
refColumn 0;
|
||||
componentColumns (1);
|
||||
separator ",";
|
||||
mergeSeparators no;
|
||||
file "Tsat_water_1_2bar.csv";
|
||||
outOfBounds clamp;
|
||||
interpolationScheme linear;
|
||||
};
|
||||
};
|
||||
|
||||
aspectRatio
|
||||
();
|
||||
|
||||
drag
|
||||
(
|
||||
(gas in liquid)
|
||||
{
|
||||
type SchillerNaumann;
|
||||
residualRe 1e-3;
|
||||
type IshiiZuber;
|
||||
|
||||
swarmCorrection
|
||||
{
|
||||
type none;
|
||||
@ -112,8 +73,9 @@ heatTransfer.gas
|
||||
(
|
||||
(gas in liquid)
|
||||
{
|
||||
type spherical;
|
||||
residualAlpha 1e-3;
|
||||
type constantNu;
|
||||
Nu 1e1;
|
||||
residualAlpha 1e-4;
|
||||
}
|
||||
);
|
||||
|
||||
@ -122,30 +84,99 @@ heatTransfer.liquid
|
||||
(gas in liquid)
|
||||
{
|
||||
type RanzMarshall;
|
||||
residualAlpha 1e-3;
|
||||
residualAlpha 1e-4;
|
||||
}
|
||||
);
|
||||
|
||||
lift
|
||||
(
|
||||
(gas in liquid)
|
||||
{
|
||||
type wallDamped;
|
||||
|
||||
lift
|
||||
{
|
||||
type Tomiyama;
|
||||
Cl 0.288;
|
||||
}
|
||||
|
||||
wallDamping
|
||||
{
|
||||
type cosine;
|
||||
Cd 1.0;
|
||||
y0 0.0002;
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
wallLubrication
|
||||
(
|
||||
(gas in liquid)
|
||||
{
|
||||
type Antal;
|
||||
Cw1 -0.01;
|
||||
Cw2 0.05;
|
||||
}
|
||||
);
|
||||
|
||||
turbulentDispersion
|
||||
(
|
||||
(gas in liquid)
|
||||
{
|
||||
type LopezDeBertodano;
|
||||
Ctd 1.0;
|
||||
residualAlpha 1e-3;
|
||||
}
|
||||
);
|
||||
|
||||
blending
|
||||
{
|
||||
default
|
||||
{
|
||||
type none;
|
||||
continuousPhase liquid;
|
||||
}
|
||||
}
|
||||
|
||||
aspectRatio
|
||||
();
|
||||
|
||||
saturationModel
|
||||
{
|
||||
type function1;
|
||||
|
||||
function scale;
|
||||
functionCoeffs
|
||||
{
|
||||
xScale 1e-6;
|
||||
scale 1;
|
||||
value
|
||||
{
|
||||
type csvFile;
|
||||
nHeaderLine 1;
|
||||
refColumn 1;
|
||||
componentColumns (0);
|
||||
separator ";";
|
||||
mergeSeparators no;
|
||||
file "R12.csv";
|
||||
outOfBounds clamp;
|
||||
interpolationScheme linear;
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
surfaceTension
|
||||
(
|
||||
(gas and liquid)
|
||||
{
|
||||
type constant;
|
||||
sigma 0.00176574;
|
||||
}
|
||||
);
|
||||
|
||||
phaseTransfer
|
||||
();
|
||||
|
||||
lift
|
||||
();
|
||||
|
||||
wallLubrication
|
||||
();
|
||||
|
||||
turbulentDispersion
|
||||
(
|
||||
(gas in liquid)
|
||||
{
|
||||
type Burns;
|
||||
sigma 0.7;
|
||||
Ctd 1.0;
|
||||
residualAlpha 1e-3;
|
||||
}
|
||||
);
|
||||
|
||||
// Minimum allowable pressure
|
||||
pMin 10000;
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user