Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev
This commit is contained in:
commit
2ba20360ea
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -68,7 +68,7 @@ Description
|
|||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#include "fvCFD.H"
|
#include "fvCFD.H"
|
||||||
#include "hhuCombustionThermo.H"
|
#include "psiuReactionThermo.H"
|
||||||
#include "RASModel.H"
|
#include "RASModel.H"
|
||||||
#include "laminarFlameSpeed.H"
|
#include "laminarFlameSpeed.H"
|
||||||
#include "XiModel.H"
|
#include "XiModel.H"
|
||||||
@ -123,12 +123,12 @@ int main(int argc, char *argv[])
|
|||||||
{
|
{
|
||||||
#include "bEqn.H"
|
#include "bEqn.H"
|
||||||
#include "ftEqn.H"
|
#include "ftEqn.H"
|
||||||
#include "huEqn.H"
|
#include "hauEqn.H"
|
||||||
#include "hEqn.H"
|
#include "haEqn.H"
|
||||||
|
|
||||||
if (!ign.ignited())
|
if (!ign.ignited())
|
||||||
{
|
{
|
||||||
hu == h;
|
hau == ha;
|
||||||
}
|
}
|
||||||
|
|
||||||
#include "pEqn.H"
|
#include "pEqn.H"
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -57,7 +57,7 @@ Description
|
|||||||
|
|
||||||
#include "fvCFD.H"
|
#include "fvCFD.H"
|
||||||
#include "dynamicFvMesh.H"
|
#include "dynamicFvMesh.H"
|
||||||
#include "hhuCombustionThermo.H"
|
#include "psiuReactionThermo.H"
|
||||||
#include "RASModel.H"
|
#include "RASModel.H"
|
||||||
#include "laminarFlameSpeed.H"
|
#include "laminarFlameSpeed.H"
|
||||||
#include "XiModel.H"
|
#include "XiModel.H"
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -43,7 +43,7 @@ namespace XiEqModels
|
|||||||
Foam::XiEqModels::basicSubGrid::basicSubGrid
|
Foam::XiEqModels::basicSubGrid::basicSubGrid
|
||||||
(
|
(
|
||||||
const dictionary& XiEqProperties,
|
const dictionary& XiEqProperties,
|
||||||
const hhuCombustionThermo& thermo,
|
const psiuReactionThermo& thermo,
|
||||||
const compressible::RASModel& turbulence,
|
const compressible::RASModel& turbulence,
|
||||||
const volScalarField& Su
|
const volScalarField& Su
|
||||||
)
|
)
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -113,7 +113,7 @@ public:
|
|||||||
basicSubGrid
|
basicSubGrid
|
||||||
(
|
(
|
||||||
const dictionary& XiEqProperties,
|
const dictionary& XiEqProperties,
|
||||||
const hhuCombustionThermo& thermo,
|
const psiuReactionThermo& thermo,
|
||||||
const compressible::RASModel& turbulence,
|
const compressible::RASModel& turbulence,
|
||||||
const volScalarField& Su
|
const volScalarField& Su
|
||||||
);
|
);
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -43,7 +43,7 @@ namespace XiGModels
|
|||||||
Foam::XiGModels::basicSubGrid::basicSubGrid
|
Foam::XiGModels::basicSubGrid::basicSubGrid
|
||||||
(
|
(
|
||||||
const dictionary& XiGProperties,
|
const dictionary& XiGProperties,
|
||||||
const hhuCombustionThermo& thermo,
|
const psiuReactionThermo& thermo,
|
||||||
const compressible::RASModel& turbulence,
|
const compressible::RASModel& turbulence,
|
||||||
const volScalarField& Su
|
const volScalarField& Su
|
||||||
)
|
)
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -101,7 +101,7 @@ public:
|
|||||||
basicSubGrid
|
basicSubGrid
|
||||||
(
|
(
|
||||||
const dictionary& XiGProperties,
|
const dictionary& XiGProperties,
|
||||||
const hhuCombustionThermo& thermo,
|
const psiuReactionThermo& thermo,
|
||||||
const compressible::RASModel& turbulence,
|
const compressible::RASModel& turbulence,
|
||||||
const volScalarField& Su
|
const volScalarField& Su
|
||||||
);
|
);
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -37,7 +37,7 @@ SourceFiles
|
|||||||
#define PDRDragModel_H
|
#define PDRDragModel_H
|
||||||
|
|
||||||
#include "IOdictionary.H"
|
#include "IOdictionary.H"
|
||||||
#include "hhuCombustionThermo.H"
|
#include "psiuReactionThermo.H"
|
||||||
#include "RASModel.H"
|
#include "RASModel.H"
|
||||||
#include "multivariateSurfaceInterpolationScheme.H"
|
#include "multivariateSurfaceInterpolationScheme.H"
|
||||||
#include "runTimeSelectionTables.H"
|
#include "runTimeSelectionTables.H"
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -43,7 +43,7 @@ namespace XiEqModels
|
|||||||
Foam::XiEqModels::Gulder::Gulder
|
Foam::XiEqModels::Gulder::Gulder
|
||||||
(
|
(
|
||||||
const dictionary& XiEqProperties,
|
const dictionary& XiEqProperties,
|
||||||
const hhuCombustionThermo& thermo,
|
const psiuReactionThermo& thermo,
|
||||||
const compressible::RASModel& turbulence,
|
const compressible::RASModel& turbulence,
|
||||||
const volScalarField& Su
|
const volScalarField& Su
|
||||||
)
|
)
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -89,7 +89,7 @@ public:
|
|||||||
Gulder
|
Gulder
|
||||||
(
|
(
|
||||||
const dictionary& XiEqProperties,
|
const dictionary& XiEqProperties,
|
||||||
const hhuCombustionThermo& thermo,
|
const psiuReactionThermo& thermo,
|
||||||
const compressible::RASModel& turbulence,
|
const compressible::RASModel& turbulence,
|
||||||
const volScalarField& Su
|
const volScalarField& Su
|
||||||
);
|
);
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -43,7 +43,7 @@ namespace XiEqModels
|
|||||||
Foam::XiEqModels::SCOPEBlend::SCOPEBlend
|
Foam::XiEqModels::SCOPEBlend::SCOPEBlend
|
||||||
(
|
(
|
||||||
const dictionary& XiEqProperties,
|
const dictionary& XiEqProperties,
|
||||||
const hhuCombustionThermo& thermo,
|
const psiuReactionThermo& thermo,
|
||||||
const compressible::RASModel& turbulence,
|
const compressible::RASModel& turbulence,
|
||||||
const volScalarField& Su
|
const volScalarField& Su
|
||||||
)
|
)
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -85,7 +85,7 @@ public:
|
|||||||
SCOPEBlend
|
SCOPEBlend
|
||||||
(
|
(
|
||||||
const dictionary& XiEqProperties,
|
const dictionary& XiEqProperties,
|
||||||
const hhuCombustionThermo& thermo,
|
const psiuReactionThermo& thermo,
|
||||||
const compressible::RASModel& turbulence,
|
const compressible::RASModel& turbulence,
|
||||||
const volScalarField& Su
|
const volScalarField& Su
|
||||||
);
|
);
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -43,7 +43,7 @@ namespace XiEqModels
|
|||||||
Foam::XiEqModels::SCOPEXiEq::SCOPEXiEq
|
Foam::XiEqModels::SCOPEXiEq::SCOPEXiEq
|
||||||
(
|
(
|
||||||
const dictionary& XiEqProperties,
|
const dictionary& XiEqProperties,
|
||||||
const hhuCombustionThermo& thermo,
|
const psiuReactionThermo& thermo,
|
||||||
const compressible::RASModel& turbulence,
|
const compressible::RASModel& turbulence,
|
||||||
const volScalarField& Su
|
const volScalarField& Su
|
||||||
)
|
)
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -103,7 +103,7 @@ public:
|
|||||||
SCOPEXiEq
|
SCOPEXiEq
|
||||||
(
|
(
|
||||||
const dictionary& XiEqProperties,
|
const dictionary& XiEqProperties,
|
||||||
const hhuCombustionThermo& thermo,
|
const psiuReactionThermo& thermo,
|
||||||
const compressible::RASModel& turbulence,
|
const compressible::RASModel& turbulence,
|
||||||
const volScalarField& Su
|
const volScalarField& Su
|
||||||
);
|
);
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -39,7 +39,7 @@ namespace Foam
|
|||||||
Foam::XiEqModel::XiEqModel
|
Foam::XiEqModel::XiEqModel
|
||||||
(
|
(
|
||||||
const dictionary& XiEqProperties,
|
const dictionary& XiEqProperties,
|
||||||
const hhuCombustionThermo& thermo,
|
const psiuReactionThermo& thermo,
|
||||||
const compressible::RASModel& turbulence,
|
const compressible::RASModel& turbulence,
|
||||||
const volScalarField& Su
|
const volScalarField& Su
|
||||||
)
|
)
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -42,7 +42,7 @@ SourceFiles
|
|||||||
#define XiEqModel_H
|
#define XiEqModel_H
|
||||||
|
|
||||||
#include "IOdictionary.H"
|
#include "IOdictionary.H"
|
||||||
#include "hhuCombustionThermo.H"
|
#include "psiuReactionThermo.H"
|
||||||
#include "RASModel.H"
|
#include "RASModel.H"
|
||||||
#include "runTimeSelectionTables.H"
|
#include "runTimeSelectionTables.H"
|
||||||
|
|
||||||
@ -66,7 +66,7 @@ protected:
|
|||||||
dictionary XiEqModelCoeffs_;
|
dictionary XiEqModelCoeffs_;
|
||||||
|
|
||||||
//- Thermo
|
//- Thermo
|
||||||
const hhuCombustionThermo& thermo_;
|
const psiuReactionThermo& thermo_;
|
||||||
|
|
||||||
//- Turbulence
|
//- Turbulence
|
||||||
const compressible::RASModel& turbulence_;
|
const compressible::RASModel& turbulence_;
|
||||||
@ -107,7 +107,7 @@ public:
|
|||||||
dictionary,
|
dictionary,
|
||||||
(
|
(
|
||||||
const dictionary& XiEqProperties,
|
const dictionary& XiEqProperties,
|
||||||
const hhuCombustionThermo& thermo,
|
const psiuReactionThermo& thermo,
|
||||||
const compressible::RASModel& turbulence,
|
const compressible::RASModel& turbulence,
|
||||||
const volScalarField& Su
|
const volScalarField& Su
|
||||||
),
|
),
|
||||||
@ -126,7 +126,7 @@ public:
|
|||||||
static autoPtr<XiEqModel> New
|
static autoPtr<XiEqModel> New
|
||||||
(
|
(
|
||||||
const dictionary& XiEqProperties,
|
const dictionary& XiEqProperties,
|
||||||
const hhuCombustionThermo& thermo,
|
const psiuReactionThermo& thermo,
|
||||||
const compressible::RASModel& turbulence,
|
const compressible::RASModel& turbulence,
|
||||||
const volScalarField& Su
|
const volScalarField& Su
|
||||||
);
|
);
|
||||||
@ -138,7 +138,7 @@ public:
|
|||||||
XiEqModel
|
XiEqModel
|
||||||
(
|
(
|
||||||
const dictionary& XiEqProperties,
|
const dictionary& XiEqProperties,
|
||||||
const hhuCombustionThermo& thermo,
|
const psiuReactionThermo& thermo,
|
||||||
const compressible::RASModel& turbulence,
|
const compressible::RASModel& turbulence,
|
||||||
const volScalarField& Su
|
const volScalarField& Su
|
||||||
);
|
);
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -30,7 +30,7 @@ License
|
|||||||
Foam::autoPtr<Foam::XiEqModel> Foam::XiEqModel::New
|
Foam::autoPtr<Foam::XiEqModel> Foam::XiEqModel::New
|
||||||
(
|
(
|
||||||
const dictionary& propDict,
|
const dictionary& propDict,
|
||||||
const hhuCombustionThermo& thermo,
|
const psiuReactionThermo& thermo,
|
||||||
const compressible::RASModel& turbulence,
|
const compressible::RASModel& turbulence,
|
||||||
const volScalarField& Su
|
const volScalarField& Su
|
||||||
)
|
)
|
||||||
@ -48,7 +48,7 @@ Foam::autoPtr<Foam::XiEqModel> Foam::XiEqModel::New
|
|||||||
(
|
(
|
||||||
"XiEqModel::New"
|
"XiEqModel::New"
|
||||||
"("
|
"("
|
||||||
" const hhuCombustionThermo& thermo,"
|
" const psiuReactionThermo& thermo,"
|
||||||
" const compressible::RASModel& turbulence,"
|
" const compressible::RASModel& turbulence,"
|
||||||
" const volScalarField& Su"
|
" const volScalarField& Su"
|
||||||
")"
|
")"
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -43,7 +43,7 @@ namespace XiEqModels
|
|||||||
Foam::XiEqModels::instability::instability
|
Foam::XiEqModels::instability::instability
|
||||||
(
|
(
|
||||||
const dictionary& XiEqProperties,
|
const dictionary& XiEqProperties,
|
||||||
const hhuCombustionThermo& thermo,
|
const psiuReactionThermo& thermo,
|
||||||
const compressible::RASModel& turbulence,
|
const compressible::RASModel& turbulence,
|
||||||
const volScalarField& Su
|
const volScalarField& Su
|
||||||
)
|
)
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -84,7 +84,7 @@ public:
|
|||||||
instability
|
instability
|
||||||
(
|
(
|
||||||
const dictionary& XiEqProperties,
|
const dictionary& XiEqProperties,
|
||||||
const hhuCombustionThermo& thermo,
|
const psiuReactionThermo& thermo,
|
||||||
const compressible::RASModel& turbulence,
|
const compressible::RASModel& turbulence,
|
||||||
const volScalarField& Su
|
const volScalarField& Su
|
||||||
);
|
);
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -43,7 +43,7 @@ namespace XiGModels
|
|||||||
Foam::XiGModels::KTS::KTS
|
Foam::XiGModels::KTS::KTS
|
||||||
(
|
(
|
||||||
const dictionary& XiGProperties,
|
const dictionary& XiGProperties,
|
||||||
const hhuCombustionThermo& thermo,
|
const psiuReactionThermo& thermo,
|
||||||
const compressible::RASModel& turbulence,
|
const compressible::RASModel& turbulence,
|
||||||
const volScalarField& Su
|
const volScalarField& Su
|
||||||
)
|
)
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -79,7 +79,7 @@ public:
|
|||||||
KTS
|
KTS
|
||||||
(
|
(
|
||||||
const dictionary& XiGProperties,
|
const dictionary& XiGProperties,
|
||||||
const hhuCombustionThermo& thermo,
|
const psiuReactionThermo& thermo,
|
||||||
const compressible::RASModel& turbulence,
|
const compressible::RASModel& turbulence,
|
||||||
const volScalarField& Su
|
const volScalarField& Su
|
||||||
);
|
);
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -39,7 +39,7 @@ namespace Foam
|
|||||||
Foam::XiGModel::XiGModel
|
Foam::XiGModel::XiGModel
|
||||||
(
|
(
|
||||||
const dictionary& XiGProperties,
|
const dictionary& XiGProperties,
|
||||||
const hhuCombustionThermo& thermo,
|
const psiuReactionThermo& thermo,
|
||||||
const compressible::RASModel& turbulence,
|
const compressible::RASModel& turbulence,
|
||||||
const volScalarField& Su
|
const volScalarField& Su
|
||||||
)
|
)
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -39,7 +39,7 @@ SourceFiles
|
|||||||
#define XiGModel_H
|
#define XiGModel_H
|
||||||
|
|
||||||
#include "IOdictionary.H"
|
#include "IOdictionary.H"
|
||||||
#include "hhuCombustionThermo.H"
|
#include "psiuReactionThermo.H"
|
||||||
#include "RASModel.H"
|
#include "RASModel.H"
|
||||||
#include "runTimeSelectionTables.H"
|
#include "runTimeSelectionTables.H"
|
||||||
|
|
||||||
@ -61,7 +61,7 @@ protected:
|
|||||||
|
|
||||||
dictionary XiGModelCoeffs_;
|
dictionary XiGModelCoeffs_;
|
||||||
|
|
||||||
const hhuCombustionThermo& thermo_;
|
const psiuReactionThermo& thermo_;
|
||||||
const compressible::RASModel& turbulence_;
|
const compressible::RASModel& turbulence_;
|
||||||
const volScalarField& Su_;
|
const volScalarField& Su_;
|
||||||
|
|
||||||
@ -92,7 +92,7 @@ public:
|
|||||||
dictionary,
|
dictionary,
|
||||||
(
|
(
|
||||||
const dictionary& XiGProperties,
|
const dictionary& XiGProperties,
|
||||||
const hhuCombustionThermo& thermo,
|
const psiuReactionThermo& thermo,
|
||||||
const compressible::RASModel& turbulence,
|
const compressible::RASModel& turbulence,
|
||||||
const volScalarField& Su
|
const volScalarField& Su
|
||||||
),
|
),
|
||||||
@ -111,7 +111,7 @@ public:
|
|||||||
static autoPtr<XiGModel> New
|
static autoPtr<XiGModel> New
|
||||||
(
|
(
|
||||||
const dictionary& XiGProperties,
|
const dictionary& XiGProperties,
|
||||||
const hhuCombustionThermo& thermo,
|
const psiuReactionThermo& thermo,
|
||||||
const compressible::RASModel& turbulence,
|
const compressible::RASModel& turbulence,
|
||||||
const volScalarField& Su
|
const volScalarField& Su
|
||||||
);
|
);
|
||||||
@ -123,7 +123,7 @@ public:
|
|||||||
XiGModel
|
XiGModel
|
||||||
(
|
(
|
||||||
const dictionary& XiGProperties,
|
const dictionary& XiGProperties,
|
||||||
const hhuCombustionThermo& thermo,
|
const psiuReactionThermo& thermo,
|
||||||
const compressible::RASModel& turbulence,
|
const compressible::RASModel& turbulence,
|
||||||
const volScalarField& Su
|
const volScalarField& Su
|
||||||
);
|
);
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -30,7 +30,7 @@ License
|
|||||||
Foam::autoPtr<Foam::XiGModel> Foam::XiGModel::New
|
Foam::autoPtr<Foam::XiGModel> Foam::XiGModel::New
|
||||||
(
|
(
|
||||||
const dictionary& propDict,
|
const dictionary& propDict,
|
||||||
const hhuCombustionThermo& thermo,
|
const psiuReactionThermo& thermo,
|
||||||
const compressible::RASModel& turbulence,
|
const compressible::RASModel& turbulence,
|
||||||
const volScalarField& Su
|
const volScalarField& Su
|
||||||
)
|
)
|
||||||
@ -48,7 +48,7 @@ Foam::autoPtr<Foam::XiGModel> Foam::XiGModel::New
|
|||||||
(
|
(
|
||||||
"XiGModel::New"
|
"XiGModel::New"
|
||||||
"("
|
"("
|
||||||
" const hhuCombustionThermo& thermo,"
|
" const psiuReactionThermo& thermo,"
|
||||||
" const compressible::RASModel& turbulence,"
|
" const compressible::RASModel& turbulence,"
|
||||||
" const volScalarField& Su"
|
" const volScalarField& Su"
|
||||||
")"
|
")"
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -43,7 +43,7 @@ namespace XiGModels
|
|||||||
Foam::XiGModels::instabilityG::instabilityG
|
Foam::XiGModels::instabilityG::instabilityG
|
||||||
(
|
(
|
||||||
const dictionary& XiGProperties,
|
const dictionary& XiGProperties,
|
||||||
const hhuCombustionThermo& thermo,
|
const psiuReactionThermo& thermo,
|
||||||
const compressible::RASModel& turbulence,
|
const compressible::RASModel& turbulence,
|
||||||
const volScalarField& Su
|
const volScalarField& Su
|
||||||
)
|
)
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -88,7 +88,7 @@ public:
|
|||||||
instabilityG
|
instabilityG
|
||||||
(
|
(
|
||||||
const dictionary& XiGProperties,
|
const dictionary& XiGProperties,
|
||||||
const hhuCombustionThermo& thermo,
|
const psiuReactionThermo& thermo,
|
||||||
const compressible::RASModel& turbulence,
|
const compressible::RASModel& turbulence,
|
||||||
const volScalarField& Su
|
const volScalarField& Su
|
||||||
);
|
);
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -39,7 +39,7 @@ namespace Foam
|
|||||||
Foam::XiModel::XiModel
|
Foam::XiModel::XiModel
|
||||||
(
|
(
|
||||||
const dictionary& XiProperties,
|
const dictionary& XiProperties,
|
||||||
const hhuCombustionThermo& thermo,
|
const psiuReactionThermo& thermo,
|
||||||
const compressible::RASModel& turbulence,
|
const compressible::RASModel& turbulence,
|
||||||
const volScalarField& Su,
|
const volScalarField& Su,
|
||||||
const volScalarField& rho,
|
const volScalarField& rho,
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -91,7 +91,7 @@ SourceFiles
|
|||||||
#define XiModel_H
|
#define XiModel_H
|
||||||
|
|
||||||
#include "IOdictionary.H"
|
#include "IOdictionary.H"
|
||||||
#include "hhuCombustionThermo.H"
|
#include "psiuReactionThermo.H"
|
||||||
#include "RASModel.H"
|
#include "RASModel.H"
|
||||||
#include "multivariateSurfaceInterpolationScheme.H"
|
#include "multivariateSurfaceInterpolationScheme.H"
|
||||||
#include "runTimeSelectionTables.H"
|
#include "runTimeSelectionTables.H"
|
||||||
@ -114,7 +114,7 @@ protected:
|
|||||||
|
|
||||||
dictionary XiModelCoeffs_;
|
dictionary XiModelCoeffs_;
|
||||||
|
|
||||||
const hhuCombustionThermo& thermo_;
|
const psiuReactionThermo& thermo_;
|
||||||
const compressible::RASModel& turbulence_;
|
const compressible::RASModel& turbulence_;
|
||||||
const volScalarField& Su_;
|
const volScalarField& Su_;
|
||||||
const volScalarField& rho_;
|
const volScalarField& rho_;
|
||||||
@ -151,7 +151,7 @@ public:
|
|||||||
dictionary,
|
dictionary,
|
||||||
(
|
(
|
||||||
const dictionary& XiProperties,
|
const dictionary& XiProperties,
|
||||||
const hhuCombustionThermo& thermo,
|
const psiuReactionThermo& thermo,
|
||||||
const compressible::RASModel& turbulence,
|
const compressible::RASModel& turbulence,
|
||||||
const volScalarField& Su,
|
const volScalarField& Su,
|
||||||
const volScalarField& rho,
|
const volScalarField& rho,
|
||||||
@ -176,7 +176,7 @@ public:
|
|||||||
static autoPtr<XiModel> New
|
static autoPtr<XiModel> New
|
||||||
(
|
(
|
||||||
const dictionary& XiProperties,
|
const dictionary& XiProperties,
|
||||||
const hhuCombustionThermo& thermo,
|
const psiuReactionThermo& thermo,
|
||||||
const compressible::RASModel& turbulence,
|
const compressible::RASModel& turbulence,
|
||||||
const volScalarField& Su,
|
const volScalarField& Su,
|
||||||
const volScalarField& rho,
|
const volScalarField& rho,
|
||||||
@ -191,7 +191,7 @@ public:
|
|||||||
XiModel
|
XiModel
|
||||||
(
|
(
|
||||||
const dictionary& XiProperties,
|
const dictionary& XiProperties,
|
||||||
const hhuCombustionThermo& thermo,
|
const psiuReactionThermo& thermo,
|
||||||
const compressible::RASModel& turbulence,
|
const compressible::RASModel& turbulence,
|
||||||
const volScalarField& Su,
|
const volScalarField& Su,
|
||||||
const volScalarField& rho,
|
const volScalarField& rho,
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -30,7 +30,7 @@ License
|
|||||||
Foam::autoPtr<Foam::XiModel> Foam::XiModel::New
|
Foam::autoPtr<Foam::XiModel> Foam::XiModel::New
|
||||||
(
|
(
|
||||||
const dictionary& propDict,
|
const dictionary& propDict,
|
||||||
const hhuCombustionThermo& thermo,
|
const psiuReactionThermo& thermo,
|
||||||
const compressible::RASModel& turbulence,
|
const compressible::RASModel& turbulence,
|
||||||
const volScalarField& Su,
|
const volScalarField& Su,
|
||||||
const volScalarField& rho,
|
const volScalarField& rho,
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -43,7 +43,7 @@ namespace XiModels
|
|||||||
Foam::XiModels::algebraic::algebraic
|
Foam::XiModels::algebraic::algebraic
|
||||||
(
|
(
|
||||||
const dictionary& XiProperties,
|
const dictionary& XiProperties,
|
||||||
const hhuCombustionThermo& thermo,
|
const psiuReactionThermo& thermo,
|
||||||
const compressible::RASModel& turbulence,
|
const compressible::RASModel& turbulence,
|
||||||
const volScalarField& Su,
|
const volScalarField& Su,
|
||||||
const volScalarField& rho,
|
const volScalarField& rho,
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -86,7 +86,7 @@ public:
|
|||||||
algebraic
|
algebraic
|
||||||
(
|
(
|
||||||
const dictionary& XiProperties,
|
const dictionary& XiProperties,
|
||||||
const hhuCombustionThermo& thermo,
|
const psiuReactionThermo& thermo,
|
||||||
const compressible::RASModel& turbulence,
|
const compressible::RASModel& turbulence,
|
||||||
const volScalarField& Su,
|
const volScalarField& Su,
|
||||||
const volScalarField& rho,
|
const volScalarField& rho,
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -43,7 +43,7 @@ namespace XiModels
|
|||||||
Foam::XiModels::fixed::fixed
|
Foam::XiModels::fixed::fixed
|
||||||
(
|
(
|
||||||
const dictionary& XiProperties,
|
const dictionary& XiProperties,
|
||||||
const hhuCombustionThermo& thermo,
|
const psiuReactionThermo& thermo,
|
||||||
const compressible::RASModel& turbulence,
|
const compressible::RASModel& turbulence,
|
||||||
const volScalarField& Su,
|
const volScalarField& Su,
|
||||||
const volScalarField& rho,
|
const volScalarField& rho,
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -74,7 +74,7 @@ public:
|
|||||||
fixed
|
fixed
|
||||||
(
|
(
|
||||||
const dictionary& XiProperties,
|
const dictionary& XiProperties,
|
||||||
const hhuCombustionThermo& thermo,
|
const psiuReactionThermo& thermo,
|
||||||
const compressible::RASModel& turbulence,
|
const compressible::RASModel& turbulence,
|
||||||
const volScalarField& Su,
|
const volScalarField& Su,
|
||||||
const volScalarField& rho,
|
const volScalarField& rho,
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -43,7 +43,7 @@ namespace XiModels
|
|||||||
Foam::XiModels::transport::transport
|
Foam::XiModels::transport::transport
|
||||||
(
|
(
|
||||||
const dictionary& XiProperties,
|
const dictionary& XiProperties,
|
||||||
const hhuCombustionThermo& thermo,
|
const psiuReactionThermo& thermo,
|
||||||
const compressible::RASModel& turbulence,
|
const compressible::RASModel& turbulence,
|
||||||
const volScalarField& Su,
|
const volScalarField& Su,
|
||||||
const volScalarField& rho,
|
const volScalarField& rho,
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -86,7 +86,7 @@ public:
|
|||||||
transport
|
transport
|
||||||
(
|
(
|
||||||
const dictionary& XiProperties,
|
const dictionary& XiProperties,
|
||||||
const hhuCombustionThermo& thermo,
|
const psiuReactionThermo& thermo,
|
||||||
const compressible::RASModel& turbulence,
|
const compressible::RASModel& turbulence,
|
||||||
const volScalarField& Su,
|
const volScalarField& Su,
|
||||||
const volScalarField& rho,
|
const volScalarField& rho,
|
||||||
|
@ -5,7 +5,7 @@ tmp<fv::convectionScheme<scalar> > mvConvection
|
|||||||
mesh,
|
mesh,
|
||||||
fields,
|
fields,
|
||||||
phi,
|
phi,
|
||||||
mesh.divScheme("div(phi,ft_b_h_hu)")
|
mesh.divScheme("div(phi,ft_b_ha_hau)")
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
Info<< "Reading thermophysical properties\n" << endl;
|
Info<< "Reading thermophysical properties\n" << endl;
|
||||||
|
|
||||||
autoPtr<hhuCombustionThermo> pThermo
|
autoPtr<psiuReactionThermo> pThermo
|
||||||
(
|
(
|
||||||
hhuCombustionThermo::New(mesh)
|
psiuReactionThermo::New(mesh)
|
||||||
);
|
);
|
||||||
hhuCombustionThermo& thermo = pThermo();
|
psiuReactionThermo& thermo = pThermo();
|
||||||
basicMultiComponentMixture& composition = thermo.composition();
|
basicMultiComponentMixture& composition = thermo.composition();
|
||||||
|
|
||||||
volScalarField rho
|
volScalarField rho
|
||||||
@ -22,8 +22,8 @@
|
|||||||
|
|
||||||
volScalarField& p = thermo.p();
|
volScalarField& p = thermo.p();
|
||||||
const volScalarField& psi = thermo.psi();
|
const volScalarField& psi = thermo.psi();
|
||||||
volScalarField& h = thermo.h();
|
volScalarField& ha = thermo.he();
|
||||||
volScalarField& hu = thermo.hu();
|
volScalarField& hau = thermo.heu();
|
||||||
|
|
||||||
volScalarField& b = composition.Y("b");
|
volScalarField& b = composition.Y("b");
|
||||||
Info<< "min(b) = " << min(b).value() << endl;
|
Info<< "min(b) = " << min(b).value() << endl;
|
||||||
@ -186,6 +186,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
fields.add(b);
|
fields.add(b);
|
||||||
fields.add(h);
|
fields.add(ha);
|
||||||
fields.add(hu);
|
fields.add(hau);
|
||||||
flameWrinkling->addXi(fields);
|
flameWrinkling->addXi(fields);
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
{
|
{
|
||||||
solve
|
solve
|
||||||
(
|
(
|
||||||
betav*fvm::ddt(rho, h)
|
betav*fvm::ddt(rho, ha)
|
||||||
+ mvConvection->fvmDiv(phi, h)
|
+ mvConvection->fvmDiv(phi, ha)
|
||||||
- fvm::laplacian(Db, h)
|
- fvm::laplacian(Db, ha)
|
||||||
==
|
==
|
||||||
betav*dpdt
|
betav*dpdt
|
||||||
- betav*(fvc::ddt(rho, K) + fvc::div(phi, K))
|
- betav*(fvc::ddt(rho, K) + fvc::div(phi, K))
|
18
applications/solvers/combustion/PDRFoam/hauEqn.H
Normal file
18
applications/solvers/combustion/PDRFoam/hauEqn.H
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
if (ign.ignited())
|
||||||
|
{
|
||||||
|
solve
|
||||||
|
(
|
||||||
|
betav*fvm::ddt(rho, hau)
|
||||||
|
+ mvConvection->fvmDiv(phi, hau)
|
||||||
|
- fvm::laplacian(Db, hau)
|
||||||
|
|
||||||
|
// These terms cannot be used in partially-premixed combustion due to
|
||||||
|
// the resultant inconsistency between ft and hau transport.
|
||||||
|
// A possible solution would be to solve for ftu as well as ft.
|
||||||
|
//- fvm::div(muEff*fvc::grad(b)/(b + 0.001), hau)
|
||||||
|
//+ fvm::Sp(fvc::div(muEff*fvc::grad(b)/(b + 0.001)), hau)
|
||||||
|
|
||||||
|
==
|
||||||
|
betav*(dpdt - (fvc::ddt(rho, K) + fvc::div(phi, K)))*rho/thermo.rhou()
|
||||||
|
);
|
||||||
|
}
|
@ -1,18 +0,0 @@
|
|||||||
if (ign.ignited())
|
|
||||||
{
|
|
||||||
solve
|
|
||||||
(
|
|
||||||
betav*fvm::ddt(rho, hu)
|
|
||||||
+ mvConvection->fvmDiv(phi, hu)
|
|
||||||
- fvm::laplacian(Db, hu)
|
|
||||||
|
|
||||||
// These terms cannot be used in partially-premixed combustion due to
|
|
||||||
// the resultant inconsistency between ft and hu transport.
|
|
||||||
// A possible solution would be to solve for ftu as well as ft.
|
|
||||||
//- fvm::div(muEff*fvc::grad(b)/(b + 0.001), hu)
|
|
||||||
//+ fvm::Sp(fvc::div(muEff*fvc::grad(b)/(b + 0.001)), hu)
|
|
||||||
|
|
||||||
==
|
|
||||||
betav*(dpdt - (fvc::ddt(rho, K) + fvc::div(phi, K)))*rho/thermo.rhou()
|
|
||||||
);
|
|
||||||
}
|
|
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -64,7 +64,7 @@ Foam::laminarFlameSpeedModels::SCOPE::polynomial::polynomial
|
|||||||
Foam::laminarFlameSpeedModels::SCOPE::SCOPE
|
Foam::laminarFlameSpeedModels::SCOPE::SCOPE
|
||||||
(
|
(
|
||||||
const dictionary& dict,
|
const dictionary& dict,
|
||||||
const hhuCombustionThermo& ct
|
const psiuReactionThermo& ct
|
||||||
)
|
)
|
||||||
:
|
:
|
||||||
laminarFlameSpeed(dict, ct),
|
laminarFlameSpeed(dict, ct),
|
||||||
@ -383,21 +383,21 @@ Foam::tmp<Foam::volScalarField> Foam::laminarFlameSpeedModels::SCOPE::Ma
|
|||||||
Foam::tmp<Foam::volScalarField>
|
Foam::tmp<Foam::volScalarField>
|
||||||
Foam::laminarFlameSpeedModels::SCOPE::Ma() const
|
Foam::laminarFlameSpeedModels::SCOPE::Ma() const
|
||||||
{
|
{
|
||||||
if (hhuCombustionThermo_.composition().contains("ft"))
|
if (psiuReactionThermo_.composition().contains("ft"))
|
||||||
{
|
{
|
||||||
const volScalarField& ft = hhuCombustionThermo_.composition().Y("ft");
|
const volScalarField& ft = psiuReactionThermo_.composition().Y("ft");
|
||||||
|
|
||||||
return Ma
|
return Ma
|
||||||
(
|
(
|
||||||
dimensionedScalar
|
dimensionedScalar
|
||||||
(
|
(
|
||||||
hhuCombustionThermo_.lookup("stoichiometricAirFuelMassRatio")
|
psiuReactionThermo_.lookup("stoichiometricAirFuelMassRatio")
|
||||||
)*ft/(scalar(1) - ft)
|
)*ft/(scalar(1) - ft)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
const fvMesh& mesh = hhuCombustionThermo_.p().mesh();
|
const fvMesh& mesh = psiuReactionThermo_.p().mesh();
|
||||||
|
|
||||||
return tmp<volScalarField>
|
return tmp<volScalarField>
|
||||||
(
|
(
|
||||||
@ -422,17 +422,17 @@ Foam::laminarFlameSpeedModels::SCOPE::Ma() const
|
|||||||
Foam::tmp<Foam::volScalarField>
|
Foam::tmp<Foam::volScalarField>
|
||||||
Foam::laminarFlameSpeedModels::SCOPE::operator()() const
|
Foam::laminarFlameSpeedModels::SCOPE::operator()() const
|
||||||
{
|
{
|
||||||
if (hhuCombustionThermo_.composition().contains("ft"))
|
if (psiuReactionThermo_.composition().contains("ft"))
|
||||||
{
|
{
|
||||||
const volScalarField& ft = hhuCombustionThermo_.composition().Y("ft");
|
const volScalarField& ft = psiuReactionThermo_.composition().Y("ft");
|
||||||
|
|
||||||
return Su0pTphi
|
return Su0pTphi
|
||||||
(
|
(
|
||||||
hhuCombustionThermo_.p(),
|
psiuReactionThermo_.p(),
|
||||||
hhuCombustionThermo_.Tu(),
|
psiuReactionThermo_.Tu(),
|
||||||
dimensionedScalar
|
dimensionedScalar
|
||||||
(
|
(
|
||||||
hhuCombustionThermo_.lookup("stoichiometricAirFuelMassRatio")
|
psiuReactionThermo_.lookup("stoichiometricAirFuelMassRatio")
|
||||||
)*ft/(scalar(1) - ft)
|
)*ft/(scalar(1) - ft)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@ -440,8 +440,8 @@ Foam::laminarFlameSpeedModels::SCOPE::operator()() const
|
|||||||
{
|
{
|
||||||
return Su0pTphi
|
return Su0pTphi
|
||||||
(
|
(
|
||||||
hhuCombustionThermo_.p(),
|
psiuReactionThermo_.p(),
|
||||||
hhuCombustionThermo_.Tu(),
|
psiuReactionThermo_.Tu(),
|
||||||
equivalenceRatio_
|
equivalenceRatio_
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -186,11 +186,11 @@ public:
|
|||||||
|
|
||||||
// Constructors
|
// Constructors
|
||||||
|
|
||||||
//- Construct from dictionary and hhuCombustionThermo
|
//- Construct from dictionary and psiuReactionThermo
|
||||||
SCOPE
|
SCOPE
|
||||||
(
|
(
|
||||||
const dictionary&,
|
const dictionary&,
|
||||||
const hhuCombustionThermo&
|
const psiuReactionThermo&
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -50,7 +50,7 @@ Description
|
|||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#include "fvCFD.H"
|
#include "fvCFD.H"
|
||||||
#include "hhuCombustionThermo.H"
|
#include "psiuReactionThermo.H"
|
||||||
#include "turbulenceModel.H"
|
#include "turbulenceModel.H"
|
||||||
#include "laminarFlameSpeed.H"
|
#include "laminarFlameSpeed.H"
|
||||||
#include "ignition.H"
|
#include "ignition.H"
|
||||||
@ -97,12 +97,12 @@ int main(int argc, char *argv[])
|
|||||||
|
|
||||||
#include "ftEqn.H"
|
#include "ftEqn.H"
|
||||||
#include "bEqn.H"
|
#include "bEqn.H"
|
||||||
#include "huEqn.H"
|
#include "hauEqn.H"
|
||||||
#include "hEqn.H"
|
#include "haEqn.H"
|
||||||
|
|
||||||
if (!ign.ignited())
|
if (!ign.ignited())
|
||||||
{
|
{
|
||||||
hu == h;
|
hau == ha;
|
||||||
}
|
}
|
||||||
|
|
||||||
// --- Pressure corrector loop
|
// --- Pressure corrector loop
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
Info<< "Reading thermophysical properties\n" << endl;
|
Info<< "Reading thermophysical properties\n" << endl;
|
||||||
|
|
||||||
autoPtr<hhuCombustionThermo> pThermo
|
autoPtr<psiuReactionThermo> pThermo
|
||||||
(
|
(
|
||||||
hhuCombustionThermo::New(mesh)
|
psiuReactionThermo::New(mesh)
|
||||||
);
|
);
|
||||||
hhuCombustionThermo& thermo = pThermo();
|
psiuReactionThermo& thermo = pThermo();
|
||||||
basicMultiComponentMixture& composition = thermo.composition();
|
basicMultiComponentMixture& composition = thermo.composition();
|
||||||
|
|
||||||
volScalarField rho
|
volScalarField rho
|
||||||
@ -22,8 +22,8 @@
|
|||||||
|
|
||||||
volScalarField& p = thermo.p();
|
volScalarField& p = thermo.p();
|
||||||
const volScalarField& psi = thermo.psi();
|
const volScalarField& psi = thermo.psi();
|
||||||
volScalarField& h = thermo.h();
|
volScalarField& ha = thermo.he();
|
||||||
volScalarField& hu = thermo.hu();
|
volScalarField& hau = thermo.heu();
|
||||||
|
|
||||||
volScalarField& b = composition.Y("b");
|
volScalarField& b = composition.Y("b");
|
||||||
Info<< "min(b) = " << min(b).value() << endl;
|
Info<< "min(b) = " << min(b).value() << endl;
|
||||||
@ -128,5 +128,5 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
fields.add(b);
|
fields.add(b);
|
||||||
fields.add(h);
|
fields.add(ha);
|
||||||
fields.add(hu);
|
fields.add(hau);
|
||||||
|
@ -5,7 +5,7 @@ tmp<fv::convectionScheme<scalar> > mvConvection
|
|||||||
mesh,
|
mesh,
|
||||||
fields,
|
fields,
|
||||||
phi,
|
phi,
|
||||||
mesh.divScheme("div(phi,ft_b_h_hu)")
|
mesh.divScheme("div(phi,ft_b_ha_hau)")
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -1,16 +0,0 @@
|
|||||||
{
|
|
||||||
fvScalarMatrix hEqn
|
|
||||||
(
|
|
||||||
fvm::ddt(rho, h)
|
|
||||||
+ mvConvection->fvmDiv(phi, h)
|
|
||||||
- fvm::laplacian(turbulence->alphaEff(), h)
|
|
||||||
==
|
|
||||||
dpdt
|
|
||||||
- (fvc::ddt(rho, K) + fvc::div(phi, K))
|
|
||||||
);
|
|
||||||
|
|
||||||
hEqn.relax();
|
|
||||||
hEqn.solve();
|
|
||||||
|
|
||||||
thermo.correct();
|
|
||||||
}
|
|
16
applications/solvers/combustion/XiFoam/haEqn.H
Normal file
16
applications/solvers/combustion/XiFoam/haEqn.H
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
fvScalarMatrix haEqn
|
||||||
|
(
|
||||||
|
fvm::ddt(rho, ha)
|
||||||
|
+ mvConvection->fvmDiv(phi, ha)
|
||||||
|
- fvm::laplacian(turbulence->alphaEff(), ha)
|
||||||
|
==
|
||||||
|
dpdt
|
||||||
|
- (fvc::ddt(rho, K) + fvc::div(phi, K))
|
||||||
|
);
|
||||||
|
|
||||||
|
haEqn.relax();
|
||||||
|
haEqn.solve();
|
||||||
|
|
||||||
|
thermo.correct();
|
||||||
|
}
|
18
applications/solvers/combustion/XiFoam/hauEqn.H
Normal file
18
applications/solvers/combustion/XiFoam/hauEqn.H
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
if (ign.ignited())
|
||||||
|
{
|
||||||
|
solve
|
||||||
|
(
|
||||||
|
fvm::ddt(rho, hau)
|
||||||
|
+ mvConvection->fvmDiv(phi, hau)
|
||||||
|
- fvm::laplacian(turbulence->alphaEff(), hau)
|
||||||
|
|
||||||
|
// These terms cannot be used in partially-premixed combustion due to
|
||||||
|
// the resultant inconsistency between ft and hau transport.
|
||||||
|
// A possible solution would be to solve for ftu as well as ft.
|
||||||
|
//- fvm::div(muEff*fvc::grad(b)/(b + 0.001), hau)
|
||||||
|
//+ fvm::Sp(fvc::div(muEff*fvc::grad(b)/(b + 0.001)), hau)
|
||||||
|
|
||||||
|
==
|
||||||
|
(dpdt - (fvc::ddt(rho, K) + fvc::div(phi, K)))*rho/thermo.rhou()
|
||||||
|
);
|
||||||
|
}
|
@ -1,18 +0,0 @@
|
|||||||
if (ign.ignited())
|
|
||||||
{
|
|
||||||
solve
|
|
||||||
(
|
|
||||||
fvm::ddt(rho, hu)
|
|
||||||
+ mvConvection->fvmDiv(phi, hu)
|
|
||||||
- fvm::laplacian(turbulence->alphaEff(), hu)
|
|
||||||
|
|
||||||
// These terms cannot be used in partially-premixed combustion due to
|
|
||||||
// the resultant inconsistency between ft and hu transport.
|
|
||||||
// A possible solution would be to solve for ftu as well as ft.
|
|
||||||
//- fvm::div(muEff*fvc::grad(b)/(b + 0.001), hu)
|
|
||||||
//+ fvm::Sp(fvc::div(muEff*fvc::grad(b)/(b + 0.001)), hu)
|
|
||||||
|
|
||||||
==
|
|
||||||
(dpdt - (fvc::ddt(rho, K) + fvc::div(phi, K)))*rho/thermo.rhou()
|
|
||||||
);
|
|
||||||
}
|
|
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -34,7 +34,7 @@ Description
|
|||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#include "fvCFD.H"
|
#include "fvCFD.H"
|
||||||
#include "hCombustionThermo.H"
|
#include "psiReactionThermo.H"
|
||||||
#include "turbulenceModel.H"
|
#include "turbulenceModel.H"
|
||||||
#include "psiChemistryModel.H"
|
#include "psiChemistryModel.H"
|
||||||
#include "chemistrySolver.H"
|
#include "chemistrySolver.H"
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
psiChemistryModel& chemistry = pChemistry();
|
psiChemistryModel& chemistry = pChemistry();
|
||||||
scalar dtChem = refCast<const psiChemistryModel>(chemistry).deltaTChem()[0];
|
scalar dtChem = refCast<const psiChemistryModel>(chemistry).deltaTChem()[0];
|
||||||
|
|
||||||
hsCombustionThermo& thermo = chemistry.thermo();
|
psiReactionThermo& thermo = chemistry.thermo();
|
||||||
basicMultiComponentMixture& composition = thermo.composition();
|
basicMultiComponentMixture& composition = thermo.composition();
|
||||||
PtrList<volScalarField>& Y = composition.Y();
|
PtrList<volScalarField>& Y = composition.Y();
|
||||||
|
|
||||||
@ -47,7 +47,7 @@
|
|||||||
);
|
);
|
||||||
|
|
||||||
volScalarField& p = thermo.p();
|
volScalarField& p = thermo.p();
|
||||||
volScalarField& hs = thermo.hs();
|
volScalarField& hs = thermo.he();
|
||||||
|
|
||||||
volScalarField Rspecific
|
volScalarField Rspecific
|
||||||
(
|
(
|
||||||
|
@ -90,7 +90,7 @@
|
|||||||
hs0 += Y0[i]*specieData[i].Hs(T0);
|
hs0 += Y0[i]*specieData[i].Hs(T0);
|
||||||
}
|
}
|
||||||
|
|
||||||
hs = dimensionedScalar("hs", dimEnergy/dimMass, hs0);
|
hs = dimensionedScalar("h", dimEnergy/dimMass, hs0);
|
||||||
|
|
||||||
thermo.correct();
|
thermo.correct();
|
||||||
|
|
||||||
@ -107,5 +107,3 @@
|
|||||||
<< " T = " << thermo.T()[0] << " [K] " << nl
|
<< " T = " << thermo.T()[0] << " [K] " << nl
|
||||||
<< " rho = " << rho[0] << " [kg/m3]" << nl
|
<< " rho = " << rho[0] << " [kg/m3]" << nl
|
||||||
<< endl;
|
<< endl;
|
||||||
|
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -32,7 +32,7 @@ Description
|
|||||||
#include "fvCFD.H"
|
#include "fvCFD.H"
|
||||||
#include "engineTime.H"
|
#include "engineTime.H"
|
||||||
#include "engineMesh.H"
|
#include "engineMesh.H"
|
||||||
#include "basicPsiThermo.H"
|
#include "psiThermo.H"
|
||||||
#include "turbulenceModel.H"
|
#include "turbulenceModel.H"
|
||||||
#include "OFstream.H"
|
#include "OFstream.H"
|
||||||
#include "pimpleControl.H"
|
#include "pimpleControl.H"
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
Info<< "Reading thermophysical properties\n" << endl;
|
Info<< "Reading thermophysical properties\n" << endl;
|
||||||
|
|
||||||
autoPtr<basicPsiThermo> pThermo
|
autoPtr<psiThermo> pThermo
|
||||||
(
|
(
|
||||||
basicPsiThermo::New(mesh)
|
psiThermo::New(mesh)
|
||||||
);
|
);
|
||||||
basicPsiThermo& thermo = pThermo();
|
psiThermo& thermo = pThermo();
|
||||||
|
|
||||||
volScalarField rho
|
volScalarField rho
|
||||||
(
|
(
|
||||||
@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
volScalarField& p = thermo.p();
|
volScalarField& p = thermo.p();
|
||||||
const volScalarField& psi = thermo.psi();
|
const volScalarField& psi = thermo.psi();
|
||||||
volScalarField& h = thermo.h();
|
volScalarField& h = thermo.he();
|
||||||
const volScalarField& T = thermo.T();
|
const volScalarField& T = thermo.T();
|
||||||
|
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -51,7 +51,7 @@ Description
|
|||||||
#include "fvCFD.H"
|
#include "fvCFD.H"
|
||||||
#include "engineTime.H"
|
#include "engineTime.H"
|
||||||
#include "engineMesh.H"
|
#include "engineMesh.H"
|
||||||
#include "hhuCombustionThermo.H"
|
#include "psiuReactionThermo.H"
|
||||||
#include "turbulenceModel.H"
|
#include "turbulenceModel.H"
|
||||||
#include "laminarFlameSpeed.H"
|
#include "laminarFlameSpeed.H"
|
||||||
#include "ignition.H"
|
#include "ignition.H"
|
||||||
@ -103,12 +103,12 @@ int main(int argc, char *argv[])
|
|||||||
|
|
||||||
#include "ftEqn.H"
|
#include "ftEqn.H"
|
||||||
#include "bEqn.H"
|
#include "bEqn.H"
|
||||||
#include "huEqn.H"
|
#include "hauEqn.H"
|
||||||
#include "hEqn.H"
|
#include "haEqn.H"
|
||||||
|
|
||||||
if (!ign.ignited())
|
if (!ign.ignited())
|
||||||
{
|
{
|
||||||
hu == h;
|
hau == ha;
|
||||||
}
|
}
|
||||||
|
|
||||||
// --- Pressure corrector loop
|
// --- Pressure corrector loop
|
||||||
|
@ -5,7 +5,7 @@ tmp<fv::convectionScheme<scalar> > mvConvection
|
|||||||
mesh,
|
mesh,
|
||||||
fields,
|
fields,
|
||||||
phi,
|
phi,
|
||||||
mesh.divScheme("div(phi,Yi_hs)")
|
mesh.divScheme("div(phi,Yi_h)")
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
{
|
{
|
||||||
@ -56,7 +56,7 @@ tmp<fv::convectionScheme<scalar> > mvConvection
|
|||||||
dpdt
|
dpdt
|
||||||
- (fvc::ddt(rho, K) + fvc::div(phi, K))
|
- (fvc::ddt(rho, K) + fvc::div(phi, K))
|
||||||
+ combustion->Sh()
|
+ combustion->Sh()
|
||||||
+ radiation->Shs(thermo)
|
+ radiation->Sh(thermo)
|
||||||
+ parcels.Sh(hs)
|
+ parcels.Sh(hs)
|
||||||
+ surfaceFilm.Sh()
|
+ surfaceFilm.Sh()
|
||||||
);
|
);
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
Info<< "Reading thermophysical properties\n" << endl;
|
Info<< "Reading thermophysical properties\n" << endl;
|
||||||
|
|
||||||
hsCombustionThermo& thermo = combustion->thermo();
|
psiReactionThermo& thermo = combustion->thermo();
|
||||||
|
|
||||||
SLGThermo slgThermo(mesh, thermo);
|
SLGThermo slgThermo(mesh, thermo);
|
||||||
|
|
||||||
@ -34,7 +34,7 @@
|
|||||||
);
|
);
|
||||||
|
|
||||||
volScalarField& p = thermo.p();
|
volScalarField& p = thermo.p();
|
||||||
volScalarField& hs = thermo.hs();
|
volScalarField& hs = thermo.he();
|
||||||
const volScalarField& T = thermo.T();
|
const volScalarField& T = thermo.T();
|
||||||
const volScalarField& psi = thermo.psi();
|
const volScalarField& psi = thermo.psi();
|
||||||
|
|
||||||
|
@ -10,8 +10,8 @@ tmp<fv::convectionScheme<scalar> > mvConvection
|
|||||||
);
|
);
|
||||||
|
|
||||||
{
|
{
|
||||||
combustion->correct();
|
reaction->correct();
|
||||||
dQ = combustion->dQ();
|
dQ = reaction->dQ();
|
||||||
label inertIndex = -1;
|
label inertIndex = -1;
|
||||||
volScalarField Yt(0.0*Y[0]);
|
volScalarField Yt(0.0*Y[0]);
|
||||||
|
|
||||||
@ -27,7 +27,7 @@ tmp<fv::convectionScheme<scalar> > mvConvection
|
|||||||
+ mvConvection->fvmDiv(phi, Yi)
|
+ mvConvection->fvmDiv(phi, Yi)
|
||||||
- fvm::laplacian(turbulence->muEff(), Yi)
|
- fvm::laplacian(turbulence->muEff(), Yi)
|
||||||
==
|
==
|
||||||
combustion->R(Yi)
|
reaction->R(Yi)
|
||||||
);
|
);
|
||||||
|
|
||||||
YiEqn.relax();
|
YiEqn.relax();
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
Info<< "Creating combustion model\n" << endl;
|
Info<< "Creating reaction model\n" << endl;
|
||||||
|
|
||||||
autoPtr<combustionModels::psiChemistryCombustionModel> combustion
|
autoPtr<combustionModels::psiChemistryCombustionModel> reaction
|
||||||
(
|
(
|
||||||
combustionModels::psiChemistryCombustionModel::New
|
combustionModels::psiChemistryCombustionModel::New
|
||||||
(
|
(
|
||||||
@ -8,9 +8,9 @@ autoPtr<combustionModels::psiChemistryCombustionModel> combustion
|
|||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
psiChemistryModel& chemistry = combustion->pChemistry();
|
psiChemistryModel& chemistry = reaction->pChemistry();
|
||||||
|
|
||||||
hsCombustionThermo& thermo = chemistry.thermo();
|
psiReactionThermo& thermo = chemistry.thermo();
|
||||||
|
|
||||||
basicMultiComponentMixture& composition = thermo.composition();
|
basicMultiComponentMixture& composition = thermo.composition();
|
||||||
PtrList<volScalarField>& Y = composition.Y();
|
PtrList<volScalarField>& Y = composition.Y();
|
||||||
@ -45,7 +45,7 @@ volVectorField U
|
|||||||
|
|
||||||
volScalarField& p = thermo.p();
|
volScalarField& p = thermo.p();
|
||||||
const volScalarField& psi = thermo.psi();
|
const volScalarField& psi = thermo.psi();
|
||||||
volScalarField& hs = thermo.hs();
|
volScalarField& hs = thermo.he();
|
||||||
const volScalarField& T = thermo.T();
|
const volScalarField& T = thermo.T();
|
||||||
|
|
||||||
#include "compressibleCreatePhi.H"
|
#include "compressibleCreatePhi.H"
|
||||||
@ -62,8 +62,8 @@ autoPtr<compressible::turbulenceModel> turbulence
|
|||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
// Set the turbulence into the combustion model
|
// Set the turbulence into the reaction model
|
||||||
combustion->setTurbulence(turbulence());
|
reaction->setTurbulence(turbulence());
|
||||||
|
|
||||||
|
|
||||||
Info<< "Creating field dpdt\n" << endl;
|
Info<< "Creating field dpdt\n" << endl;
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
==
|
==
|
||||||
dpdt
|
dpdt
|
||||||
- (fvc::ddt(rho, K) + fvc::div(phi, K))
|
- (fvc::ddt(rho, K) + fvc::div(phi, K))
|
||||||
+ combustion->Sh()
|
+ reaction->Sh()
|
||||||
);
|
);
|
||||||
|
|
||||||
hsEqn.relax();
|
hsEqn.relax();
|
||||||
|
@ -10,8 +10,8 @@ tmp<fv::convectionScheme<scalar> > mvConvection
|
|||||||
);
|
);
|
||||||
|
|
||||||
{
|
{
|
||||||
combustion->correct();
|
reaction->correct();
|
||||||
dQ = combustion->dQ();
|
dQ = reaction->dQ();
|
||||||
label inertIndex = -1;
|
label inertIndex = -1;
|
||||||
volScalarField Yt(0.0*Y[0]);
|
volScalarField Yt(0.0*Y[0]);
|
||||||
|
|
||||||
@ -27,7 +27,7 @@ tmp<fv::convectionScheme<scalar> > mvConvection
|
|||||||
+ mvConvection->fvmDiv(phi, Yi)
|
+ mvConvection->fvmDiv(phi, Yi)
|
||||||
- fvm::laplacian(turbulence->muEff(), Yi)
|
- fvm::laplacian(turbulence->muEff(), Yi)
|
||||||
==
|
==
|
||||||
combustion->R(Yi)
|
reaction->R(Yi)
|
||||||
);
|
);
|
||||||
|
|
||||||
YiEqn.relax();
|
YiEqn.relax();
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
Info<< "Creating combustion model\n" << endl;
|
Info<< "Creating reaction model\n" << endl;
|
||||||
|
|
||||||
autoPtr<combustionModels::rhoChemistryCombustionModel> combustion
|
autoPtr<combustionModels::rhoChemistryCombustionModel> reaction
|
||||||
(
|
(
|
||||||
combustionModels::rhoChemistryCombustionModel::New
|
combustionModels::rhoChemistryCombustionModel::New
|
||||||
(
|
(
|
||||||
@ -8,9 +8,9 @@ autoPtr<combustionModels::rhoChemistryCombustionModel> combustion
|
|||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
rhoChemistryModel& chemistry = combustion->pChemistry();
|
rhoChemistryModel& chemistry = reaction->pChemistry();
|
||||||
|
|
||||||
hsReactionThermo& thermo = chemistry.thermo();
|
rhoReactionThermo& thermo = chemistry.thermo();
|
||||||
|
|
||||||
basicMultiComponentMixture& composition = thermo.composition();
|
basicMultiComponentMixture& composition = thermo.composition();
|
||||||
PtrList<volScalarField>& Y = composition.Y();
|
PtrList<volScalarField>& Y = composition.Y();
|
||||||
@ -45,7 +45,7 @@ volVectorField U
|
|||||||
|
|
||||||
volScalarField& p = thermo.p();
|
volScalarField& p = thermo.p();
|
||||||
const volScalarField& psi = thermo.psi();
|
const volScalarField& psi = thermo.psi();
|
||||||
volScalarField& hs = thermo.hs();
|
volScalarField& hs = thermo.he();
|
||||||
const volScalarField& T = thermo.T();
|
const volScalarField& T = thermo.T();
|
||||||
|
|
||||||
|
|
||||||
@ -64,8 +64,8 @@ autoPtr<compressible::turbulenceModel> turbulence
|
|||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
// Set the turbulence into the combustion model
|
// Set the turbulence into the reaction model
|
||||||
combustion->setTurbulence(turbulence());
|
reaction->setTurbulence(turbulence());
|
||||||
|
|
||||||
|
|
||||||
Info<< "Creating field dpdt\n" << endl;
|
Info<< "Creating field dpdt\n" << endl;
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
==
|
==
|
||||||
dpdt
|
dpdt
|
||||||
- (fvc::ddt(rho, K) + fvc::div(phi, K))
|
- (fvc::ddt(rho, K) + fvc::div(phi, K))
|
||||||
+ combustion->Sh()
|
+ reaction->Sh()
|
||||||
);
|
);
|
||||||
|
|
||||||
hsEqn.relax();
|
hsEqn.relax();
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
Info<< "Reading thermophysical properties\n" << endl;
|
Info<< "Reading thermophysical properties\n" << endl;
|
||||||
|
|
||||||
autoPtr<basicPsiThermo> pThermo
|
autoPtr<psiThermo> pThermo
|
||||||
(
|
(
|
||||||
basicPsiThermo::New(mesh)
|
psiThermo::New(mesh)
|
||||||
);
|
);
|
||||||
basicPsiThermo& thermo = pThermo();
|
psiThermo& thermo = pThermo();
|
||||||
|
|
||||||
volScalarField& p = thermo.p();
|
volScalarField& p = thermo.p();
|
||||||
volScalarField& e = thermo.e();
|
volScalarField& e = thermo.he();
|
||||||
const volScalarField& T = thermo.T();
|
const volScalarField& T = thermo.T();
|
||||||
const volScalarField& psi = thermo.psi();
|
const volScalarField& psi = thermo.psi();
|
||||||
const volScalarField& mu = thermo.mu();
|
const volScalarField& mu = thermo.mu();
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -31,7 +31,7 @@ Description
|
|||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#include "fvCFD.H"
|
#include "fvCFD.H"
|
||||||
#include "basicPsiThermo.H"
|
#include "psiThermo.H"
|
||||||
#include "turbulenceModel.H"
|
#include "turbulenceModel.H"
|
||||||
#include "zeroGradientFvPatchFields.H"
|
#include "zeroGradientFvPatchFields.H"
|
||||||
#include "fixedRhoFvPatchScalarField.H"
|
#include "fixedRhoFvPatchScalarField.H"
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -31,7 +31,7 @@ Description
|
|||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#include "fvCFD.H"
|
#include "fvCFD.H"
|
||||||
#include "basicPsiThermo.H"
|
#include "psiThermo.H"
|
||||||
#include "turbulenceModel.H"
|
#include "turbulenceModel.H"
|
||||||
#include "zeroGradientFvPatchFields.H"
|
#include "zeroGradientFvPatchFields.H"
|
||||||
#include "fixedRhoFvPatchScalarField.H"
|
#include "fixedRhoFvPatchScalarField.H"
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
Info<< "Reading thermophysical properties\n" << endl;
|
Info<< "Reading thermophysical properties\n" << endl;
|
||||||
|
|
||||||
autoPtr<basicPsiThermo> pThermo
|
autoPtr<psiThermo> pThermo
|
||||||
(
|
(
|
||||||
basicPsiThermo::New(mesh)
|
psiThermo::New(mesh)
|
||||||
);
|
);
|
||||||
basicPsiThermo& thermo = pThermo();
|
psiThermo& thermo = pThermo();
|
||||||
|
|
||||||
volScalarField& p = thermo.p();
|
volScalarField& p = thermo.p();
|
||||||
volScalarField& h = thermo.h();
|
volScalarField& h = thermo.he();
|
||||||
const volScalarField& psi = thermo.psi();
|
const volScalarField& psi = thermo.psi();
|
||||||
|
|
||||||
volScalarField rho
|
volScalarField rho
|
||||||
|
@ -34,7 +34,7 @@ Description
|
|||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#include "fvCFD.H"
|
#include "fvCFD.H"
|
||||||
#include "basicPsiThermo.H"
|
#include "psiThermo.H"
|
||||||
#include "turbulenceModel.H"
|
#include "turbulenceModel.H"
|
||||||
#include "bound.H"
|
#include "bound.H"
|
||||||
#include "pimpleControl.H"
|
#include "pimpleControl.H"
|
||||||
|
@ -34,7 +34,7 @@ Description
|
|||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#include "fvCFD.H"
|
#include "fvCFD.H"
|
||||||
#include "basicPsiThermo.H"
|
#include "psiThermo.H"
|
||||||
#include "turbulenceModel.H"
|
#include "turbulenceModel.H"
|
||||||
#include "bound.H"
|
#include "bound.H"
|
||||||
#include "pimpleControl.H"
|
#include "pimpleControl.H"
|
||||||
|
@ -35,7 +35,7 @@ Description
|
|||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#include "fvCFD.H"
|
#include "fvCFD.H"
|
||||||
#include "basicPsiThermo.H"
|
#include "psiThermo.H"
|
||||||
#include "turbulenceModel.H"
|
#include "turbulenceModel.H"
|
||||||
#include "MRFZones.H"
|
#include "MRFZones.H"
|
||||||
#include "porousZones.H"
|
#include "porousZones.H"
|
||||||
|
@ -34,7 +34,7 @@ Description
|
|||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#include "fvCFD.H"
|
#include "fvCFD.H"
|
||||||
#include "basicPsiThermo.H"
|
#include "psiThermo.H"
|
||||||
#include "turbulenceModel.H"
|
#include "turbulenceModel.H"
|
||||||
#include "bound.H"
|
#include "bound.H"
|
||||||
#include "MRFZones.H"
|
#include "MRFZones.H"
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
Info<< "Reading thermophysical properties\n" << endl;
|
Info<< "Reading thermophysical properties\n" << endl;
|
||||||
|
|
||||||
autoPtr<basicPsiThermo> pThermo
|
autoPtr<psiThermo> pThermo
|
||||||
(
|
(
|
||||||
basicPsiThermo::New(mesh)
|
psiThermo::New(mesh)
|
||||||
);
|
);
|
||||||
basicPsiThermo& thermo = pThermo();
|
psiThermo& thermo = pThermo();
|
||||||
|
|
||||||
volScalarField rho
|
volScalarField rho
|
||||||
(
|
(
|
||||||
@ -20,7 +20,7 @@
|
|||||||
);
|
);
|
||||||
|
|
||||||
volScalarField& p = thermo.p();
|
volScalarField& p = thermo.p();
|
||||||
volScalarField& e = thermo.e();
|
volScalarField& e = thermo.he();
|
||||||
const volScalarField& psi = thermo.psi();
|
const volScalarField& psi = thermo.psi();
|
||||||
|
|
||||||
Info<< "Reading field U\n" << endl;
|
Info<< "Reading field U\n" << endl;
|
||||||
|
@ -32,7 +32,7 @@ Description
|
|||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#include "fvCFD.H"
|
#include "fvCFD.H"
|
||||||
#include "basicPsiThermo.H"
|
#include "psiThermo.H"
|
||||||
#include "RASModel.H"
|
#include "RASModel.H"
|
||||||
#include "MRFZones.H"
|
#include "MRFZones.H"
|
||||||
#include "thermalPorousZones.H"
|
#include "thermalPorousZones.H"
|
||||||
|
@ -31,7 +31,7 @@ Description
|
|||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#include "fvCFD.H"
|
#include "fvCFD.H"
|
||||||
#include "basicPsiThermo.H"
|
#include "psiThermo.H"
|
||||||
#include "RASModel.H"
|
#include "RASModel.H"
|
||||||
#include "simpleControl.H"
|
#include "simpleControl.H"
|
||||||
|
|
||||||
|
@ -31,7 +31,7 @@ Description
|
|||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#include "fvCFD.H"
|
#include "fvCFD.H"
|
||||||
#include "basicPsiThermo.H"
|
#include "psiThermo.H"
|
||||||
#include "RASModel.H"
|
#include "RASModel.H"
|
||||||
#include "mixedFvPatchFields.H"
|
#include "mixedFvPatchFields.H"
|
||||||
#include "bound.H"
|
#include "bound.H"
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
Info<< "Reading thermophysical properties\n" << endl;
|
Info<< "Reading thermophysical properties\n" << endl;
|
||||||
|
|
||||||
autoPtr<basicPsiThermo> pThermo
|
autoPtr<psiThermo> pThermo
|
||||||
(
|
(
|
||||||
basicPsiThermo::New(mesh)
|
psiThermo::New(mesh)
|
||||||
);
|
);
|
||||||
basicPsiThermo& thermo = pThermo();
|
psiThermo& thermo = pThermo();
|
||||||
|
|
||||||
volScalarField& p = thermo.p();
|
volScalarField& p = thermo.p();
|
||||||
volScalarField& e = thermo.e();
|
volScalarField& e = thermo.he();
|
||||||
const volScalarField& psi = thermo.psi();
|
const volScalarField& psi = thermo.psi();
|
||||||
|
|
||||||
volScalarField rho
|
volScalarField rho
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -31,7 +31,7 @@ Description
|
|||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#include "fvCFD.H"
|
#include "fvCFD.H"
|
||||||
#include "basicPsiThermo.H"
|
#include "psiThermo.H"
|
||||||
#include "turbulenceModel.H"
|
#include "turbulenceModel.H"
|
||||||
#include "motionSolver.H"
|
#include "motionSolver.H"
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -31,7 +31,7 @@ Description
|
|||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#include "fvCFD.H"
|
#include "fvCFD.H"
|
||||||
#include "basicPsiThermo.H"
|
#include "psiThermo.H"
|
||||||
#include "turbulenceModel.H"
|
#include "turbulenceModel.H"
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -34,7 +34,7 @@ Description
|
|||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#include "fvCFD.H"
|
#include "fvCFD.H"
|
||||||
#include "basicRhoThermo.H"
|
#include "rhoThermo.H"
|
||||||
#include "turbulenceModel.H"
|
#include "turbulenceModel.H"
|
||||||
#include "fixedGradientFvPatchFields.H"
|
#include "fixedGradientFvPatchFields.H"
|
||||||
#include "pimpleControl.H"
|
#include "pimpleControl.H"
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
Info<< "Reading thermophysical properties\n" << endl;
|
Info<< "Reading thermophysical properties\n" << endl;
|
||||||
|
|
||||||
autoPtr<basicRhoThermo> pThermo
|
autoPtr<rhoThermo> pThermo
|
||||||
(
|
(
|
||||||
basicRhoThermo::New(mesh)
|
rhoThermo::New(mesh)
|
||||||
);
|
);
|
||||||
basicRhoThermo& thermo = pThermo();
|
rhoThermo& thermo = pThermo();
|
||||||
|
|
||||||
volScalarField rho
|
volScalarField rho
|
||||||
(
|
(
|
||||||
@ -20,7 +20,7 @@
|
|||||||
);
|
);
|
||||||
|
|
||||||
volScalarField& p = thermo.p();
|
volScalarField& p = thermo.p();
|
||||||
volScalarField& h = thermo.h();
|
volScalarField& h = thermo.he();
|
||||||
const volScalarField& psi = thermo.psi();
|
const volScalarField& psi = thermo.psi();
|
||||||
|
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -30,7 +30,7 @@ Description
|
|||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#include "fvCFD.H"
|
#include "fvCFD.H"
|
||||||
#include "basicPsiThermo.H"
|
#include "psiThermo.H"
|
||||||
#include "RASModel.H"
|
#include "RASModel.H"
|
||||||
#include "fixedGradientFvPatchFields.H"
|
#include "fixedGradientFvPatchFields.H"
|
||||||
#include "simpleControl.H"
|
#include "simpleControl.H"
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
Info<< "Reading thermophysical properties\n" << endl;
|
Info<< "Reading thermophysical properties\n" << endl;
|
||||||
|
|
||||||
autoPtr<basicPsiThermo> pThermo
|
autoPtr<psiThermo> pThermo
|
||||||
(
|
(
|
||||||
basicPsiThermo::New(mesh)
|
psiThermo::New(mesh)
|
||||||
);
|
);
|
||||||
basicPsiThermo& thermo = pThermo();
|
psiThermo& thermo = pThermo();
|
||||||
|
|
||||||
volScalarField rho
|
volScalarField rho
|
||||||
(
|
(
|
||||||
@ -20,7 +20,7 @@
|
|||||||
);
|
);
|
||||||
|
|
||||||
volScalarField& p = thermo.p();
|
volScalarField& p = thermo.p();
|
||||||
volScalarField& h = thermo.h();
|
volScalarField& h = thermo.he();
|
||||||
const volScalarField& psi = thermo.psi();
|
const volScalarField& psi = thermo.psi();
|
||||||
|
|
||||||
Info<< "Reading field U\n" << endl;
|
Info<< "Reading field U\n" << endl;
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -31,7 +31,7 @@ Description
|
|||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#include "fvCFD.H"
|
#include "fvCFD.H"
|
||||||
#include "basicPsiThermo.H"
|
#include "psiThermo.H"
|
||||||
#include "RASModel.H"
|
#include "RASModel.H"
|
||||||
#include "fixedGradientFvPatchFields.H"
|
#include "fixedGradientFvPatchFields.H"
|
||||||
#include "radiationModel.H"
|
#include "radiationModel.H"
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -37,7 +37,7 @@ Description
|
|||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#include "fvCFD.H"
|
#include "fvCFD.H"
|
||||||
#include "basicRhoThermo.H"
|
#include "rhoThermo.H"
|
||||||
#include "turbulenceModel.H"
|
#include "turbulenceModel.H"
|
||||||
#include "fixedGradientFvPatchFields.H"
|
#include "fixedGradientFvPatchFields.H"
|
||||||
#include "regionProperties.H"
|
#include "regionProperties.H"
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -30,7 +30,7 @@ Description
|
|||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#include "fvCFD.H"
|
#include "fvCFD.H"
|
||||||
#include "basicRhoThermo.H"
|
#include "rhoThermo.H"
|
||||||
#include "turbulenceModel.H"
|
#include "turbulenceModel.H"
|
||||||
#include "fixedGradientFvPatchFields.H"
|
#include "fixedGradientFvPatchFields.H"
|
||||||
#include "regionProperties.H"
|
#include "regionProperties.H"
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
// Initialise fluid field pointer lists
|
// Initialise fluid field pointer lists
|
||||||
PtrList<basicRhoThermo> thermoFluid(fluidRegions.size());
|
PtrList<rhoThermo> thermoFluid(fluidRegions.size());
|
||||||
PtrList<volScalarField> rhoFluid(fluidRegions.size());
|
PtrList<volScalarField> rhoFluid(fluidRegions.size());
|
||||||
PtrList<volScalarField> kappaFluid(fluidRegions.size());
|
|
||||||
PtrList<volVectorField> UFluid(fluidRegions.size());
|
PtrList<volVectorField> UFluid(fluidRegions.size());
|
||||||
PtrList<surfaceScalarField> phiFluid(fluidRegions.size());
|
PtrList<surfaceScalarField> phiFluid(fluidRegions.size());
|
||||||
PtrList<uniformDimensionedVectorField> gFluid(fluidRegions.size());
|
PtrList<uniformDimensionedVectorField> gFluid(fluidRegions.size());
|
||||||
@ -32,7 +31,7 @@
|
|||||||
thermoFluid.set
|
thermoFluid.set
|
||||||
(
|
(
|
||||||
i,
|
i,
|
||||||
basicRhoThermo::New(fluidRegions[i]).ptr()
|
rhoThermo::New(fluidRegions[i]).ptr()
|
||||||
);
|
);
|
||||||
|
|
||||||
Info<< " Adding to rhoFluid\n" << endl;
|
Info<< " Adding to rhoFluid\n" << endl;
|
||||||
@ -53,24 +52,6 @@
|
|||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
Info<< " Adding to kappaFluid\n" << endl;
|
|
||||||
kappaFluid.set
|
|
||||||
(
|
|
||||||
i,
|
|
||||||
new volScalarField
|
|
||||||
(
|
|
||||||
IOobject
|
|
||||||
(
|
|
||||||
"kappa",
|
|
||||||
runTime.timeName(),
|
|
||||||
fluidRegions[i],
|
|
||||||
IOobject::NO_READ,
|
|
||||||
IOobject::NO_WRITE
|
|
||||||
),
|
|
||||||
thermoFluid[i].Cp()*thermoFluid[i].alpha()
|
|
||||||
)
|
|
||||||
);
|
|
||||||
|
|
||||||
Info<< " Adding to UFluid\n" << endl;
|
Info<< " Adding to UFluid\n" << endl;
|
||||||
UFluid.set
|
UFluid.set
|
||||||
(
|
(
|
||||||
|
@ -69,7 +69,4 @@
|
|||||||
|
|
||||||
Info<< "Min/max rho:" << min(rho).value() << ' '
|
Info<< "Min/max rho:" << min(rho).value() << ' '
|
||||||
<< max(rho).value() << endl;
|
<< max(rho).value() << endl;
|
||||||
|
|
||||||
// Update thermal conductivity
|
|
||||||
kappa = thermo.Cp()*turb.alphaEff();
|
|
||||||
}
|
}
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
const fvMesh& mesh = fluidRegions[i];
|
const fvMesh& mesh = fluidRegions[i];
|
||||||
|
|
||||||
basicRhoThermo& thermo = thermoFluid[i];
|
rhoThermo& thermo = thermoFluid[i];
|
||||||
volScalarField& rho = rhoFluid[i];
|
volScalarField& rho = rhoFluid[i];
|
||||||
volScalarField& kappa = kappaFluid[i];
|
|
||||||
volVectorField& U = UFluid[i];
|
volVectorField& U = UFluid[i];
|
||||||
surfaceScalarField& phi = phiFluid[i];
|
surfaceScalarField& phi = phiFluid[i];
|
||||||
|
|
||||||
@ -10,7 +9,7 @@
|
|||||||
|
|
||||||
volScalarField& p = thermo.p();
|
volScalarField& p = thermo.p();
|
||||||
const volScalarField& psi = thermo.psi();
|
const volScalarField& psi = thermo.psi();
|
||||||
volScalarField& h = thermo.h();
|
volScalarField& h = thermo.he();
|
||||||
|
|
||||||
IObasicSourceList& sources = heatSources[i];
|
IObasicSourceList& sources = heatSources[i];
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// Initialise porous field pointer lists
|
// Initialise porous field pointer lists
|
||||||
PtrList<basicRhoThermo> thermoPorous(porousFluidRegions.size());
|
PtrList<rhoThermo> thermoPorous(porousFluidRegions.size());
|
||||||
PtrList<volScalarField> rhoPorous(porousFluidRegions.size());
|
PtrList<volScalarField> rhoPorous(porousFluidRegions.size());
|
||||||
PtrList<volScalarField> kappaPorous(porousFluidRegions.size());
|
PtrList<volScalarField> kappaPorous(porousFluidRegions.size());
|
||||||
PtrList<volVectorField> UPorous(porousFluidRegions.size());
|
PtrList<volVectorField> UPorous(porousFluidRegions.size());
|
||||||
@ -32,7 +32,7 @@
|
|||||||
thermoPorous.set
|
thermoPorous.set
|
||||||
(
|
(
|
||||||
i,
|
i,
|
||||||
basicRhoThermo::New(porousFluidRegions[i]).ptr()
|
rhoThermo::New(porousFluidRegions[i]).ptr()
|
||||||
);
|
);
|
||||||
|
|
||||||
Info<< " Adding to rhoPorous\n" << endl;
|
Info<< " Adding to rhoPorous\n" << endl;
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
|
|
||||||
const fvMesh& porousMesh = porousFluidRegions[i];
|
const fvMesh& porousMesh = porousFluidRegions[i];
|
||||||
|
|
||||||
basicRhoThermo& porousThermo = thermoPorous[i];
|
rhoThermo& porousThermo = thermoPorous[i];
|
||||||
volScalarField& porousRho = rhoPorous[i];
|
volScalarField& porousRho = rhoPorous[i];
|
||||||
|
|
||||||
volVectorField& porousU = UPorous[i];
|
volVectorField& porousU = UPorous[i];
|
||||||
@ -11,7 +10,7 @@
|
|||||||
|
|
||||||
volScalarField& porousP = porousThermo.p();
|
volScalarField& porousP = porousThermo.p();
|
||||||
const volScalarField& porousPsi = porousThermo.psi();
|
const volScalarField& porousPsi = porousThermo.psi();
|
||||||
volScalarField& porousH = porousThermo.h();
|
volScalarField& porousH = porousThermo.he();
|
||||||
|
|
||||||
const dimensionedScalar initialMass
|
const dimensionedScalar initialMass
|
||||||
(
|
(
|
||||||
@ -27,5 +26,3 @@
|
|||||||
|
|
||||||
const scalar rhoMax = rhoMaxPorous[i].value();
|
const scalar rhoMax = rhoMaxPorous[i].value();
|
||||||
const scalar rhoMin = rhoMinPorous[i].value();
|
const scalar rhoMin = rhoMinPorous[i].value();
|
||||||
|
|
||||||
|
|
||||||
|
@ -15,6 +15,9 @@
|
|||||||
const volScalarField& kappa = tkappa();
|
const volScalarField& kappa = tkappa();
|
||||||
//const volSymmTensorField& K = tK();
|
//const volSymmTensorField& K = tK();
|
||||||
|
|
||||||
|
tmp<volScalarField> trhoCp = cp*rho;
|
||||||
|
const volScalarField& rhoCp = trhoCp();
|
||||||
|
|
||||||
volScalarField& T = thermo.T();
|
volScalarField& T = thermo.T();
|
||||||
|
|
||||||
IObasicSourceList& sources = solidHeatSources[i];
|
IObasicSourceList& sources = solidHeatSources[i];
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
tmp<fvScalarMatrix> TEqn
|
tmp<fvScalarMatrix> TEqn
|
||||||
(
|
(
|
||||||
- fvm::laplacian(betav*kappa, T, "laplacian(K,T)")
|
- fvm::laplacian(betav*kappa, T, "laplacian(K,T)")
|
||||||
+ sources(rho, T)
|
+ sources(rhoCp, T)
|
||||||
);
|
);
|
||||||
|
|
||||||
TEqn().relax();
|
TEqn().relax();
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
// Initialise fluid field pointer lists
|
// Initialise fluid field pointer lists
|
||||||
PtrList<basicRhoThermo> thermoFluid(fluidRegions.size());
|
PtrList<rhoThermo> thermoFluid(fluidRegions.size());
|
||||||
PtrList<volScalarField> rhoFluid(fluidRegions.size());
|
PtrList<volScalarField> rhoFluid(fluidRegions.size());
|
||||||
PtrList<volScalarField> kappaFluid(fluidRegions.size());
|
|
||||||
PtrList<volVectorField> UFluid(fluidRegions.size());
|
PtrList<volVectorField> UFluid(fluidRegions.size());
|
||||||
PtrList<surfaceScalarField> phiFluid(fluidRegions.size());
|
PtrList<surfaceScalarField> phiFluid(fluidRegions.size());
|
||||||
PtrList<uniformDimensionedVectorField> gFluid(fluidRegions.size());
|
PtrList<uniformDimensionedVectorField> gFluid(fluidRegions.size());
|
||||||
@ -29,7 +28,7 @@
|
|||||||
thermoFluid.set
|
thermoFluid.set
|
||||||
(
|
(
|
||||||
i,
|
i,
|
||||||
basicRhoThermo::New(fluidRegions[i]).ptr()
|
rhoThermo::New(fluidRegions[i]).ptr()
|
||||||
);
|
);
|
||||||
|
|
||||||
Info<< " Adding to rhoFluid\n" << endl;
|
Info<< " Adding to rhoFluid\n" << endl;
|
||||||
@ -50,24 +49,6 @@
|
|||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
Info<< " Adding to kappaFluid\n" << endl;
|
|
||||||
kappaFluid.set
|
|
||||||
(
|
|
||||||
i,
|
|
||||||
new volScalarField
|
|
||||||
(
|
|
||||||
IOobject
|
|
||||||
(
|
|
||||||
"kappa",
|
|
||||||
runTime.timeName(),
|
|
||||||
fluidRegions[i],
|
|
||||||
IOobject::NO_READ,
|
|
||||||
IOobject::NO_WRITE
|
|
||||||
),
|
|
||||||
thermoFluid[i].Cp()*thermoFluid[i].alpha()
|
|
||||||
)
|
|
||||||
);
|
|
||||||
|
|
||||||
Info<< " Adding to UFluid\n" << endl;
|
Info<< " Adding to UFluid\n" << endl;
|
||||||
UFluid.set
|
UFluid.set
|
||||||
(
|
(
|
||||||
|
@ -92,7 +92,4 @@
|
|||||||
rho = thermo.rho();
|
rho = thermo.rho();
|
||||||
p_rgh = p - rho*gh;
|
p_rgh = p - rho*gh;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Update thermal conductivity
|
|
||||||
kappa = thermoFluid[i].Cp()*turb.alphaEff();
|
|
||||||
}
|
}
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
fvMesh& mesh = fluidRegions[i];
|
fvMesh& mesh = fluidRegions[i];
|
||||||
|
|
||||||
basicRhoThermo& thermo = thermoFluid[i];
|
rhoThermo& thermo = thermoFluid[i];
|
||||||
volScalarField& rho = rhoFluid[i];
|
volScalarField& rho = rhoFluid[i];
|
||||||
volScalarField& kappa = kappaFluid[i];
|
|
||||||
volVectorField& U = UFluid[i];
|
volVectorField& U = UFluid[i];
|
||||||
surfaceScalarField& phi = phiFluid[i];
|
surfaceScalarField& phi = phiFluid[i];
|
||||||
|
|
||||||
@ -12,7 +11,7 @@
|
|||||||
|
|
||||||
volScalarField& p = thermo.p();
|
volScalarField& p = thermo.p();
|
||||||
const volScalarField& psi = thermo.psi();
|
const volScalarField& psi = thermo.psi();
|
||||||
volScalarField& h = thermo.h();
|
volScalarField& h = thermo.he();
|
||||||
|
|
||||||
volScalarField& p_rgh = p_rghFluid[i];
|
volScalarField& p_rgh = p_rghFluid[i];
|
||||||
const volScalarField& gh = ghFluid[i];
|
const volScalarField& gh = ghFluid[i];
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// Initialise porous field pointer lists
|
// Initialise porous field pointer lists
|
||||||
PtrList<basicRhoThermo> thermoPorous(porousFluidRegions.size());
|
PtrList<rhoThermo> thermoPorous(porousFluidRegions.size());
|
||||||
PtrList<volScalarField> rhoPorous(porousFluidRegions.size());
|
PtrList<volScalarField> rhoPorous(porousFluidRegions.size());
|
||||||
PtrList<volVectorField> UPorous(porousFluidRegions.size());
|
PtrList<volVectorField> UPorous(porousFluidRegions.size());
|
||||||
PtrList<surfaceScalarField> phiPorous(porousFluidRegions.size());
|
PtrList<surfaceScalarField> phiPorous(porousFluidRegions.size());
|
||||||
@ -27,7 +27,7 @@
|
|||||||
thermoPorous.set
|
thermoPorous.set
|
||||||
(
|
(
|
||||||
i,
|
i,
|
||||||
basicRhoThermo::New(porousFluidRegions[i]).ptr()
|
rhoThermo::New(porousFluidRegions[i]).ptr()
|
||||||
);
|
);
|
||||||
|
|
||||||
Info<< " Adding to rhoPorous\n" << endl;
|
Info<< " Adding to rhoPorous\n" << endl;
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
|
|
||||||
fvMesh& porousMesh = porousFluidRegions[i];
|
fvMesh& porousMesh = porousFluidRegions[i];
|
||||||
|
|
||||||
basicRhoThermo& porousThermo = thermoPorous[i];
|
rhoThermo& porousThermo = thermoPorous[i];
|
||||||
volScalarField& porousRho = rhoPorous[i];
|
volScalarField& porousRho = rhoPorous[i];
|
||||||
|
|
||||||
volVectorField& porousU = UPorous[i];
|
volVectorField& porousU = UPorous[i];
|
||||||
@ -13,6 +12,6 @@
|
|||||||
|
|
||||||
volScalarField& porousP = porousThermo.p();
|
volScalarField& porousP = porousThermo.p();
|
||||||
const volScalarField& porousPsi = porousThermo.psi();
|
const volScalarField& porousPsi = porousThermo.psi();
|
||||||
volScalarField& porousH = porousThermo.h();
|
volScalarField& porousH = porousThermo.he();
|
||||||
|
|
||||||
IObasicSourceList& porousSources = heatPorousSources[i];
|
IObasicSourceList& porousSources = heatPorousSources[i];
|
||||||
|
@ -15,6 +15,9 @@
|
|||||||
const volScalarField& kappa = tkappa();
|
const volScalarField& kappa = tkappa();
|
||||||
//const volSymmTensorField& K = tK();
|
//const volSymmTensorField& K = tK();
|
||||||
|
|
||||||
|
tmp<volScalarField> trhoCp = cp*rho;
|
||||||
|
const volScalarField& rhoCp = trhoCp();
|
||||||
|
|
||||||
volScalarField& T = thermo.T();
|
volScalarField& T = thermo.T();
|
||||||
|
|
||||||
IObasicSourceList& sources = solidHeatSources[i];
|
IObasicSourceList& sources = solidHeatSources[i];
|
||||||
|
@ -10,7 +10,7 @@ if (finalIter)
|
|||||||
(
|
(
|
||||||
fvm::ddt(betav*rho*cp, T)
|
fvm::ddt(betav*rho*cp, T)
|
||||||
- fvm::laplacian(betav*kappa, T, "laplacian(K,T)")
|
- fvm::laplacian(betav*kappa, T, "laplacian(K,T)")
|
||||||
+ sources(rho, T)
|
+ sources(rhoCp, T)
|
||||||
);
|
);
|
||||||
|
|
||||||
TEqn().relax();
|
TEqn().relax();
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
rhoChemistryModel& chemistry = combustion->pChemistry();
|
rhoChemistryModel& chemistry = combustion->pChemistry();
|
||||||
|
|
||||||
hsReactionThermo& thermo = chemistry.thermo();
|
rhoReactionThermo& thermo = chemistry.thermo();
|
||||||
|
|
||||||
SLGThermo slgThermo(mesh, thermo);
|
SLGThermo slgThermo(mesh, thermo);
|
||||||
|
|
||||||
@ -28,7 +28,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
volScalarField& p = thermo.p();
|
volScalarField& p = thermo.p();
|
||||||
volScalarField& hs = thermo.hs();
|
volScalarField& hs = thermo.he();
|
||||||
const volScalarField& T = thermo.T();
|
const volScalarField& T = thermo.T();
|
||||||
const volScalarField& psi = thermo.psi();
|
const volScalarField& psi = thermo.psi();
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
==
|
==
|
||||||
- fvc::div(phi, 0.5*magSqr(U), "div(phi,K)")
|
- fvc::div(phi, 0.5*magSqr(U), "div(phi,K)")
|
||||||
+ parcels.Sh(hs)
|
+ parcels.Sh(hs)
|
||||||
+ radiation->Shs(thermo)
|
+ radiation->Sh(thermo)
|
||||||
+ combustion->Sh()
|
+ combustion->Sh()
|
||||||
+ sources(rho, hs)
|
+ sources(rho, hs)
|
||||||
);
|
);
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user