mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Renaming temperatureThermoBaffle to thermoBaffle
thermoBaffle2D to thermoBaffle
temperatureThermoBaffle1D to thermoBaffle1D
This commit is contained in:
@ -1,9 +1,9 @@
|
|||||||
thermoBaffleModel/thermoBaffleModel.C
|
thermoBaffleModel/thermoBaffleModel.C
|
||||||
thermoBaffleModel/thermoBaffleModelNew.C
|
thermoBaffleModel/thermoBaffleModelNew.C
|
||||||
thermoBaffle2D/thermoBaffle2D.C
|
thermoBaffle/thermoBaffle.C
|
||||||
noThermo/noThermo.C
|
noThermo/noThermo.C
|
||||||
|
|
||||||
derivedFvPatchFields/temperatureThermoBaffle/temperatureThermoBaffleFvPatchScalarField.C
|
derivedFvPatchFields/thermoBaffle/thermoBaffleFvPatchScalarField.C
|
||||||
|
|
||||||
|
|
||||||
LIB = $(FOAM_LIBBIN)/libthermoBaffleModels
|
LIB = $(FOAM_LIBBIN)/libthermoBaffleModels
|
||||||
|
|||||||
@ -23,7 +23,7 @@ License
|
|||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#include "temperatureThermoBaffleFvPatchScalarField.H"
|
#include "thermoBaffleFvPatchScalarField.H"
|
||||||
#include "addToRunTimeSelectionTable.H"
|
#include "addToRunTimeSelectionTable.H"
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
@ -36,8 +36,8 @@ namespace compressible
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
temperatureThermoBaffleFvPatchScalarField::
|
thermoBaffleFvPatchScalarField::
|
||||||
temperatureThermoBaffleFvPatchScalarField
|
thermoBaffleFvPatchScalarField
|
||||||
(
|
(
|
||||||
const fvPatch& p,
|
const fvPatch& p,
|
||||||
const DimensionedField<scalar, volMesh>& iF
|
const DimensionedField<scalar, volMesh>& iF
|
||||||
@ -50,10 +50,10 @@ temperatureThermoBaffleFvPatchScalarField
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
temperatureThermoBaffleFvPatchScalarField::
|
thermoBaffleFvPatchScalarField::
|
||||||
temperatureThermoBaffleFvPatchScalarField
|
thermoBaffleFvPatchScalarField
|
||||||
(
|
(
|
||||||
const temperatureThermoBaffleFvPatchScalarField& ptf,
|
const thermoBaffleFvPatchScalarField& ptf,
|
||||||
const fvPatch& p,
|
const fvPatch& p,
|
||||||
const DimensionedField<scalar, volMesh>& iF,
|
const DimensionedField<scalar, volMesh>& iF,
|
||||||
const fvPatchFieldMapper& mapper
|
const fvPatchFieldMapper& mapper
|
||||||
@ -72,8 +72,8 @@ temperatureThermoBaffleFvPatchScalarField
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
temperatureThermoBaffleFvPatchScalarField::
|
thermoBaffleFvPatchScalarField::
|
||||||
temperatureThermoBaffleFvPatchScalarField
|
thermoBaffleFvPatchScalarField
|
||||||
(
|
(
|
||||||
const fvPatch& p,
|
const fvPatch& p,
|
||||||
const DimensionedField<scalar, volMesh>& iF,
|
const DimensionedField<scalar, volMesh>& iF,
|
||||||
@ -89,8 +89,8 @@ temperatureThermoBaffleFvPatchScalarField
|
|||||||
{
|
{
|
||||||
FatalErrorIn
|
FatalErrorIn
|
||||||
(
|
(
|
||||||
"temperatureThermoBaffleFvPatchScalarField::"
|
"thermoBaffleFvPatchScalarField::"
|
||||||
"temperatureThermoBaffleFvPatchScalarField\n"
|
"thermoBaffleFvPatchScalarField\n"
|
||||||
"(\n"
|
"(\n"
|
||||||
" const fvPatch& p,\n"
|
" const fvPatch& p,\n"
|
||||||
" const DimensionedField<scalar, volMesh>& iF,\n"
|
" const DimensionedField<scalar, volMesh>& iF,\n"
|
||||||
@ -128,10 +128,10 @@ temperatureThermoBaffleFvPatchScalarField
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
temperatureThermoBaffleFvPatchScalarField::
|
thermoBaffleFvPatchScalarField::
|
||||||
temperatureThermoBaffleFvPatchScalarField
|
thermoBaffleFvPatchScalarField
|
||||||
(
|
(
|
||||||
const temperatureThermoBaffleFvPatchScalarField& ptf,
|
const thermoBaffleFvPatchScalarField& ptf,
|
||||||
const DimensionedField<scalar, volMesh>& iF
|
const DimensionedField<scalar, volMesh>& iF
|
||||||
)
|
)
|
||||||
:
|
:
|
||||||
@ -145,7 +145,7 @@ temperatureThermoBaffleFvPatchScalarField
|
|||||||
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
|
||||||
void temperatureThermoBaffleFvPatchScalarField::autoMap
|
void thermoBaffleFvPatchScalarField::autoMap
|
||||||
(
|
(
|
||||||
const fvPatchFieldMapper& m
|
const fvPatchFieldMapper& m
|
||||||
)
|
)
|
||||||
@ -154,7 +154,7 @@ void temperatureThermoBaffleFvPatchScalarField::autoMap
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void temperatureThermoBaffleFvPatchScalarField::rmap
|
void thermoBaffleFvPatchScalarField::rmap
|
||||||
(
|
(
|
||||||
const fvPatchScalarField& ptf,
|
const fvPatchScalarField& ptf,
|
||||||
const labelList& addr
|
const labelList& addr
|
||||||
@ -164,7 +164,7 @@ void temperatureThermoBaffleFvPatchScalarField::rmap
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void temperatureThermoBaffleFvPatchScalarField::updateCoeffs()
|
void thermoBaffleFvPatchScalarField::updateCoeffs()
|
||||||
{
|
{
|
||||||
if (this->updated())
|
if (this->updated())
|
||||||
{
|
{
|
||||||
@ -186,7 +186,7 @@ void temperatureThermoBaffleFvPatchScalarField::updateCoeffs()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void temperatureThermoBaffleFvPatchScalarField::write(Ostream& os) const
|
void thermoBaffleFvPatchScalarField::write(Ostream& os) const
|
||||||
{
|
{
|
||||||
turbulentTemperatureCoupledBaffleMixedFvPatchScalarField::write(os);
|
turbulentTemperatureCoupledBaffleMixedFvPatchScalarField::write(os);
|
||||||
|
|
||||||
@ -232,7 +232,7 @@ void temperatureThermoBaffleFvPatchScalarField::write(Ostream& os) const
|
|||||||
makePatchTypeField
|
makePatchTypeField
|
||||||
(
|
(
|
||||||
fvPatchScalarField,
|
fvPatchScalarField,
|
||||||
temperatureThermoBaffleFvPatchScalarField
|
thermoBaffleFvPatchScalarField
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
@ -22,7 +22,7 @@ License
|
|||||||
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
Class
|
Class
|
||||||
Foam::temperatureThermoBaffleFvPatchScalarField
|
Foam::thermoBaffleFvPatchScalarField
|
||||||
|
|
||||||
Group
|
Group
|
||||||
grpThermoBoundaryConditions
|
grpThermoBoundaryConditions
|
||||||
@ -56,11 +56,11 @@ Description
|
|||||||
|
|
||||||
|
|
||||||
// Thermo baffle model
|
// Thermo baffle model
|
||||||
thermoBaffleModel thermoBaffle2D;
|
thermoBaffleModel thermoBaffle;
|
||||||
regionName baffleRegion;
|
regionName baffleRegion;
|
||||||
infoOutput yes;
|
infoOutput yes;
|
||||||
active yes;
|
active yes;
|
||||||
thermoBaffle2DCoeffs
|
thermoBaffleCoeffs
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -115,12 +115,12 @@ SeeAlso
|
|||||||
Foam::regionModels::thermoBaffleModels::thermoBaffleModel
|
Foam::regionModels::thermoBaffleModels::thermoBaffleModel
|
||||||
|
|
||||||
SourceFiles
|
SourceFiles
|
||||||
temperatureThermoBaffleFvPatchScalarField.C
|
thermoBaffleFvPatchScalarField.C
|
||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#ifndef temperatureThermoBaffleFvPatchScalarField_H
|
#ifndef thermoBaffleFvPatchScalarField_H
|
||||||
#define temperatureThermoBaffleFvPatchScalarField_H
|
#define thermoBaffleFvPatchScalarField_H
|
||||||
|
|
||||||
|
|
||||||
#include "autoPtr.H"
|
#include "autoPtr.H"
|
||||||
@ -137,10 +137,10 @@ namespace compressible
|
|||||||
{
|
{
|
||||||
|
|
||||||
/*---------------------------------------------------------------------------*\
|
/*---------------------------------------------------------------------------*\
|
||||||
Class temperatureThermoBaffleFvPatchScalarField Declaration
|
Class thermoBaffleFvPatchScalarField Declaration
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
class temperatureThermoBaffleFvPatchScalarField
|
class thermoBaffleFvPatchScalarField
|
||||||
:
|
:
|
||||||
public turbulentTemperatureCoupledBaffleMixedFvPatchScalarField
|
public turbulentTemperatureCoupledBaffleMixedFvPatchScalarField
|
||||||
{
|
{
|
||||||
@ -159,20 +159,20 @@ class temperatureThermoBaffleFvPatchScalarField
|
|||||||
public:
|
public:
|
||||||
|
|
||||||
//- Runtime type information
|
//- Runtime type information
|
||||||
TypeName("compressible::temperatureThermoBaffle");
|
TypeName("compressible::thermoBaffle");
|
||||||
|
|
||||||
|
|
||||||
// Constructors
|
// Constructors
|
||||||
|
|
||||||
//- Construct from patch and internal field
|
//- Construct from patch and internal field
|
||||||
temperatureThermoBaffleFvPatchScalarField
|
thermoBaffleFvPatchScalarField
|
||||||
(
|
(
|
||||||
const fvPatch&,
|
const fvPatch&,
|
||||||
const DimensionedField<scalar, volMesh>&
|
const DimensionedField<scalar, volMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
//- Construct from patch, internal field and dictionary
|
//- Construct from patch, internal field and dictionary
|
||||||
temperatureThermoBaffleFvPatchScalarField
|
thermoBaffleFvPatchScalarField
|
||||||
(
|
(
|
||||||
const fvPatch&,
|
const fvPatch&,
|
||||||
const DimensionedField<scalar, volMesh>&,
|
const DimensionedField<scalar, volMesh>&,
|
||||||
@ -180,10 +180,10 @@ public:
|
|||||||
);
|
);
|
||||||
|
|
||||||
//- Construct by mapping given
|
//- Construct by mapping given
|
||||||
// temperatureThermoBaffleFvPatchScalarField onto a new patch
|
// thermoBaffleFvPatchScalarField onto a new patch
|
||||||
temperatureThermoBaffleFvPatchScalarField
|
thermoBaffleFvPatchScalarField
|
||||||
(
|
(
|
||||||
const temperatureThermoBaffleFvPatchScalarField&,
|
const thermoBaffleFvPatchScalarField&,
|
||||||
const fvPatch&,
|
const fvPatch&,
|
||||||
const DimensionedField<scalar, volMesh>&,
|
const DimensionedField<scalar, volMesh>&,
|
||||||
const fvPatchFieldMapper&
|
const fvPatchFieldMapper&
|
||||||
@ -195,14 +195,14 @@ public:
|
|||||||
{
|
{
|
||||||
return tmp<fvPatchScalarField>
|
return tmp<fvPatchScalarField>
|
||||||
(
|
(
|
||||||
new temperatureThermoBaffleFvPatchScalarField(*this)
|
new thermoBaffleFvPatchScalarField(*this)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
//- Construct as copy setting internal field reference
|
//- Construct as copy setting internal field reference
|
||||||
temperatureThermoBaffleFvPatchScalarField
|
thermoBaffleFvPatchScalarField
|
||||||
(
|
(
|
||||||
const temperatureThermoBaffleFvPatchScalarField&,
|
const thermoBaffleFvPatchScalarField&,
|
||||||
const DimensionedField<scalar, volMesh>&
|
const DimensionedField<scalar, volMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -214,7 +214,7 @@ public:
|
|||||||
{
|
{
|
||||||
return tmp<fvPatchScalarField>
|
return tmp<fvPatchScalarField>
|
||||||
(
|
(
|
||||||
new temperatureThermoBaffleFvPatchScalarField(*this, iF)
|
new thermoBaffleFvPatchScalarField(*this, iF)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -24,7 +24,7 @@ License
|
|||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#include "thermoBaffle2D.H"
|
#include "thermoBaffle.H"
|
||||||
|
|
||||||
#include "fvm.H"
|
#include "fvm.H"
|
||||||
#include "fvcDiv.H"
|
#include "fvcDiv.H"
|
||||||
@ -44,32 +44,32 @@ namespace thermoBaffleModels
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
|
||||||
|
|
||||||
defineTypeNameAndDebug(thermoBaffle2D, 0);
|
defineTypeNameAndDebug(thermoBaffle, 0);
|
||||||
|
|
||||||
addToRunTimeSelectionTable(thermoBaffleModel, thermoBaffle2D, mesh);
|
addToRunTimeSelectionTable(thermoBaffleModel, thermoBaffle, mesh);
|
||||||
addToRunTimeSelectionTable(thermoBaffleModel, thermoBaffle2D, dictionary);
|
addToRunTimeSelectionTable(thermoBaffleModel, thermoBaffle, dictionary);
|
||||||
|
|
||||||
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
|
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
bool thermoBaffle2D::read()
|
bool thermoBaffle::read()
|
||||||
{
|
{
|
||||||
this->solution().lookup("nNonOrthCorr") >> nNonOrthCorr_;
|
this->solution().lookup("nNonOrthCorr") >> nNonOrthCorr_;
|
||||||
return regionModel1D::read();
|
return regionModel1D::read();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool thermoBaffle2D::read(const dictionary& dict)
|
bool thermoBaffle::read(const dictionary& dict)
|
||||||
{
|
{
|
||||||
this->solution().lookup("nNonOrthCorr") >> nNonOrthCorr_;
|
this->solution().lookup("nNonOrthCorr") >> nNonOrthCorr_;
|
||||||
return regionModel1D::read(dict);
|
return regionModel1D::read(dict);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void thermoBaffle2D::solveEnergy()
|
void thermoBaffle::solveEnergy()
|
||||||
{
|
{
|
||||||
if (debug)
|
if (debug)
|
||||||
{
|
{
|
||||||
Info<< "thermoBaffle2D::solveEnergy()" << endl;
|
Info<< "thermoBaffle::solveEnergy()" << endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
const polyBoundaryMesh& rbm = regionMesh().boundaryMesh();
|
const polyBoundaryMesh& rbm = regionMesh().boundaryMesh();
|
||||||
@ -157,7 +157,7 @@ void thermoBaffle2D::solveEnergy()
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
thermoBaffle2D::thermoBaffle2D
|
thermoBaffle::thermoBaffle
|
||||||
(
|
(
|
||||||
const word& modelType,
|
const word& modelType,
|
||||||
const fvMesh& mesh,
|
const fvMesh& mesh,
|
||||||
@ -218,7 +218,7 @@ thermoBaffle2D::thermoBaffle2D
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
thermoBaffle2D::thermoBaffle2D
|
thermoBaffle::thermoBaffle
|
||||||
(
|
(
|
||||||
const word& modelType,
|
const word& modelType,
|
||||||
const fvMesh& mesh
|
const fvMesh& mesh
|
||||||
@ -279,13 +279,13 @@ thermoBaffle2D::thermoBaffle2D
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
thermoBaffle2D::~thermoBaffle2D()
|
thermoBaffle::~thermoBaffle()
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
void thermoBaffle2D::init()
|
void thermoBaffle::init()
|
||||||
{
|
{
|
||||||
if (oneD_ && !constantThickness_)
|
if (oneD_ && !constantThickness_)
|
||||||
{
|
{
|
||||||
@ -294,7 +294,7 @@ void thermoBaffle2D::init()
|
|||||||
|
|
||||||
if (Qsb!= thickness_.size())
|
if (Qsb!= thickness_.size())
|
||||||
{
|
{
|
||||||
FatalErrorIn("thermoBaffle2D::init()")
|
FatalErrorIn("thermoBaffle::init()")
|
||||||
<< "the boundary field of Qs is "
|
<< "the boundary field of Qs is "
|
||||||
<< Qsb << " and " << nl
|
<< Qsb << " and " << nl
|
||||||
<< "the field 'thickness' is " << thickness_.size() << nl
|
<< "the field 'thickness' is " << thickness_.size() << nl
|
||||||
@ -304,11 +304,11 @@ void thermoBaffle2D::init()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void thermoBaffle2D::preEvolveRegion()
|
void thermoBaffle::preEvolveRegion()
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
void thermoBaffle2D::evolveRegion()
|
void thermoBaffle::evolveRegion()
|
||||||
{
|
{
|
||||||
for (int nonOrth=0; nonOrth<=nNonOrthCorr_; nonOrth++)
|
for (int nonOrth=0; nonOrth<=nNonOrthCorr_; nonOrth++)
|
||||||
{
|
{
|
||||||
@ -317,43 +317,43 @@ void thermoBaffle2D::evolveRegion()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
const tmp<volScalarField> thermoBaffle2D::Cp() const
|
const tmp<volScalarField> thermoBaffle::Cp() const
|
||||||
{
|
{
|
||||||
return thermo_->Cp();
|
return thermo_->Cp();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
const volScalarField& thermoBaffle2D::kappaRad() const
|
const volScalarField& thermoBaffle::kappaRad() const
|
||||||
{
|
{
|
||||||
return radiation_->absorptionEmission().a();
|
return radiation_->absorptionEmission().a();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
const volScalarField& thermoBaffle2D::rho() const
|
const volScalarField& thermoBaffle::rho() const
|
||||||
{
|
{
|
||||||
return thermo_->rho();
|
return thermo_->rho();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
const volScalarField& thermoBaffle2D::kappa() const
|
const volScalarField& thermoBaffle::kappa() const
|
||||||
{
|
{
|
||||||
return thermo_->kappa();
|
return thermo_->kappa();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
const volScalarField& thermoBaffle2D::T() const
|
const volScalarField& thermoBaffle::T() const
|
||||||
{
|
{
|
||||||
return thermo_->T();
|
return thermo_->T();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
const solidThermo& thermoBaffle2D::thermo() const
|
const solidThermo& thermoBaffle::thermo() const
|
||||||
{
|
{
|
||||||
return thermo_;
|
return thermo_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void thermoBaffle2D::info() const
|
void thermoBaffle::info() const
|
||||||
{
|
{
|
||||||
const labelList& coupledPatches = intCoupledPatchIDs();
|
const labelList& coupledPatches = intCoupledPatchIDs();
|
||||||
|
|
||||||
@ -22,19 +22,19 @@ License
|
|||||||
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
Class
|
Class
|
||||||
Foam::thermoBaffle2D
|
Foam::thermoBaffle
|
||||||
|
|
||||||
Description
|
Description
|
||||||
2D thermal baffle
|
2D thermal baffle
|
||||||
|
|
||||||
SourceFiles
|
SourceFiles
|
||||||
thermoBaffle2D.C
|
thermoBaffle.C
|
||||||
thermoBaffle2DI.H
|
thermoBaffleI.H
|
||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#ifndef thermoBaffle2D_H
|
#ifndef thermoBaffle_H
|
||||||
#define thermoBaffle2D_H
|
#define thermoBaffle_H
|
||||||
|
|
||||||
#include "thermoBaffleModel.H"
|
#include "thermoBaffleModel.H"
|
||||||
#include "volFieldsFwd.H"
|
#include "volFieldsFwd.H"
|
||||||
@ -51,10 +51,10 @@ namespace thermoBaffleModels
|
|||||||
|
|
||||||
|
|
||||||
/*---------------------------------------------------------------------------*\
|
/*---------------------------------------------------------------------------*\
|
||||||
Class thermoBaffle2D Declaration
|
Class thermoBaffle Declaration
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
class thermoBaffle2D
|
class thermoBaffle
|
||||||
:
|
:
|
||||||
public thermoBaffleModel
|
public thermoBaffleModel
|
||||||
{
|
{
|
||||||
@ -63,12 +63,12 @@ private:
|
|||||||
// Private member functions
|
// Private member functions
|
||||||
|
|
||||||
//- Disallow default bitwise copy construct
|
//- Disallow default bitwise copy construct
|
||||||
thermoBaffle2D(const thermoBaffle2D&);
|
thermoBaffle(const thermoBaffle&);
|
||||||
|
|
||||||
//- Disallow default bitwise assignment
|
//- Disallow default bitwise assignment
|
||||||
void operator=(const thermoBaffle2D&);
|
void operator=(const thermoBaffle&);
|
||||||
|
|
||||||
//- Initialize thermoBaffle2D
|
//- Initialize thermoBaffle
|
||||||
void init();
|
void init();
|
||||||
|
|
||||||
|
|
||||||
@ -124,16 +124,16 @@ protected:
|
|||||||
public:
|
public:
|
||||||
|
|
||||||
//- Runtime type information
|
//- Runtime type information
|
||||||
TypeName("thermoBaffle2D");
|
TypeName("thermoBaffle");
|
||||||
|
|
||||||
|
|
||||||
// Constructors
|
// Constructors
|
||||||
|
|
||||||
//- Construct from components
|
//- Construct from components
|
||||||
thermoBaffle2D(const word& modelType, const fvMesh& mesh);
|
thermoBaffle(const word& modelType, const fvMesh& mesh);
|
||||||
|
|
||||||
//- Construct from components and dict
|
//- Construct from components and dict
|
||||||
thermoBaffle2D
|
thermoBaffle
|
||||||
(
|
(
|
||||||
const word& modelType,
|
const word& modelType,
|
||||||
const fvMesh& mesh,
|
const fvMesh& mesh,
|
||||||
@ -142,7 +142,7 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
//- Destructor
|
//- Destructor
|
||||||
virtual ~thermoBaffle2D();
|
virtual ~thermoBaffle();
|
||||||
|
|
||||||
|
|
||||||
// Member Functions
|
// Member Functions
|
||||||
@ -211,7 +211,7 @@ public:
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
#include "thermoBaffle2DI.H"
|
#include "thermoBaffleI.H"
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
@ -24,7 +24,7 @@ License
|
|||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#include "thermoBaffle2D.H"
|
#include "thermoBaffle.H"
|
||||||
#include "zeroGradientFvPatchFields.H"
|
#include "zeroGradientFvPatchFields.H"
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
@ -38,7 +38,7 @@ namespace thermoBaffleModels
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
inline tmp<scalarField> thermoBaffle2D::he
|
inline tmp<scalarField> thermoBaffle::he
|
||||||
(
|
(
|
||||||
const scalarField& p,
|
const scalarField& p,
|
||||||
const scalarField& T,
|
const scalarField& T,
|
||||||
@ -49,7 +49,7 @@ inline tmp<scalarField> thermoBaffle2D::he
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
inline tmp<volScalarField> thermoBaffle2D::he() const
|
inline tmp<volScalarField> thermoBaffle::he() const
|
||||||
{
|
{
|
||||||
return thermo_->he();
|
return thermo_->he();
|
||||||
}
|
}
|
||||||
@ -4,7 +4,7 @@ laminar/laminar.C
|
|||||||
derivedFvPatchFields/turbulentHeatFluxTemperature/turbulentHeatFluxTemperatureFvPatchScalarField.C
|
derivedFvPatchFields/turbulentHeatFluxTemperature/turbulentHeatFluxTemperatureFvPatchScalarField.C
|
||||||
derivedFvPatchFields/temperatureCoupledBase/temperatureCoupledBase.C
|
derivedFvPatchFields/temperatureCoupledBase/temperatureCoupledBase.C
|
||||||
derivedFvPatchFields/turbulentTemperatureCoupledBaffleMixed/turbulentTemperatureCoupledBaffleMixedFvPatchScalarField.C
|
derivedFvPatchFields/turbulentTemperatureCoupledBaffleMixed/turbulentTemperatureCoupledBaffleMixedFvPatchScalarField.C
|
||||||
derivedFvPatchFields/temperatureThermoBaffle1D/temperatureThermoBaffle1DFvPatchScalarFields.C
|
derivedFvPatchFields/thermoBaffle1D/thermoBaffle1DFvPatchScalarFields.C
|
||||||
derivedFvPatchFields/totalFlowRateAdvectiveDiffusive/totalFlowRateAdvectiveDiffusiveFvPatchScalarField.C
|
derivedFvPatchFields/totalFlowRateAdvectiveDiffusive/totalFlowRateAdvectiveDiffusiveFvPatchScalarField.C
|
||||||
derivedFvPatchFields/turbulentTemperatureRadCoupledMixed/turbulentTemperatureRadCoupledMixedFvPatchScalarField.C
|
derivedFvPatchFields/turbulentTemperatureRadCoupledMixed/turbulentTemperatureRadCoupledMixedFvPatchScalarField.C
|
||||||
derivedFvPatchFields/externalWallHeatFluxTemperature/externalWallHeatFluxTemperatureFvPatchScalarField.C
|
derivedFvPatchFields/externalWallHeatFluxTemperature/externalWallHeatFluxTemperatureFvPatchScalarField.C
|
||||||
|
|||||||
@ -39,8 +39,8 @@ namespace compressible
|
|||||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
template<class solidType>
|
template<class solidType>
|
||||||
temperatureThermoBaffle1DFvPatchScalarField<solidType>::
|
thermoBaffle1DFvPatchScalarField<solidType>::
|
||||||
temperatureThermoBaffle1DFvPatchScalarField
|
thermoBaffle1DFvPatchScalarField
|
||||||
(
|
(
|
||||||
const fvPatch& p,
|
const fvPatch& p,
|
||||||
const DimensionedField<scalar, volMesh>& iF
|
const DimensionedField<scalar, volMesh>& iF
|
||||||
@ -56,10 +56,10 @@ temperatureThermoBaffle1DFvPatchScalarField
|
|||||||
|
|
||||||
|
|
||||||
template<class solidType>
|
template<class solidType>
|
||||||
temperatureThermoBaffle1DFvPatchScalarField<solidType>::
|
thermoBaffle1DFvPatchScalarField<solidType>::
|
||||||
temperatureThermoBaffle1DFvPatchScalarField
|
thermoBaffle1DFvPatchScalarField
|
||||||
(
|
(
|
||||||
const temperatureThermoBaffle1DFvPatchScalarField& ptf,
|
const thermoBaffle1DFvPatchScalarField& ptf,
|
||||||
const fvPatch& p,
|
const fvPatch& p,
|
||||||
const DimensionedField<scalar, volMesh>& iF,
|
const DimensionedField<scalar, volMesh>& iF,
|
||||||
const fvPatchFieldMapper& mapper
|
const fvPatchFieldMapper& mapper
|
||||||
@ -75,8 +75,8 @@ temperatureThermoBaffle1DFvPatchScalarField
|
|||||||
|
|
||||||
|
|
||||||
template<class solidType>
|
template<class solidType>
|
||||||
temperatureThermoBaffle1DFvPatchScalarField<solidType>::
|
thermoBaffle1DFvPatchScalarField<solidType>::
|
||||||
temperatureThermoBaffle1DFvPatchScalarField
|
thermoBaffle1DFvPatchScalarField
|
||||||
(
|
(
|
||||||
const fvPatch& p,
|
const fvPatch& p,
|
||||||
const DimensionedField<scalar, volMesh>& iF,
|
const DimensionedField<scalar, volMesh>& iF,
|
||||||
@ -94,8 +94,8 @@ temperatureThermoBaffle1DFvPatchScalarField
|
|||||||
{
|
{
|
||||||
FatalErrorIn
|
FatalErrorIn
|
||||||
(
|
(
|
||||||
"temperatureThermoBaffle1DFvPatchScalarField::"
|
"thermoBaffle1DFvPatchScalarField::"
|
||||||
"temperatureThermoBaffle1DFvPatchScalarField"
|
"thermoBaffle1DFvPatchScalarField"
|
||||||
"("
|
"("
|
||||||
"const fvPatch&,\n"
|
"const fvPatch&,\n"
|
||||||
"const DimensionedField<scalar, volMesh>&, "
|
"const DimensionedField<scalar, volMesh>&, "
|
||||||
@ -130,10 +130,10 @@ temperatureThermoBaffle1DFvPatchScalarField
|
|||||||
|
|
||||||
|
|
||||||
template<class solidType>
|
template<class solidType>
|
||||||
temperatureThermoBaffle1DFvPatchScalarField<solidType>::
|
thermoBaffle1DFvPatchScalarField<solidType>::
|
||||||
temperatureThermoBaffle1DFvPatchScalarField
|
thermoBaffle1DFvPatchScalarField
|
||||||
(
|
(
|
||||||
const temperatureThermoBaffle1DFvPatchScalarField& ptf
|
const thermoBaffle1DFvPatchScalarField& ptf
|
||||||
)
|
)
|
||||||
:
|
:
|
||||||
mixedFvPatchScalarField(ptf),
|
mixedFvPatchScalarField(ptf),
|
||||||
@ -146,10 +146,10 @@ temperatureThermoBaffle1DFvPatchScalarField
|
|||||||
|
|
||||||
|
|
||||||
template<class solidType>
|
template<class solidType>
|
||||||
temperatureThermoBaffle1DFvPatchScalarField<solidType>::
|
thermoBaffle1DFvPatchScalarField<solidType>::
|
||||||
temperatureThermoBaffle1DFvPatchScalarField
|
thermoBaffle1DFvPatchScalarField
|
||||||
(
|
(
|
||||||
const temperatureThermoBaffle1DFvPatchScalarField& ptf,
|
const thermoBaffle1DFvPatchScalarField& ptf,
|
||||||
const DimensionedField<scalar, volMesh>& iF
|
const DimensionedField<scalar, volMesh>& iF
|
||||||
)
|
)
|
||||||
:
|
:
|
||||||
@ -165,7 +165,7 @@ temperatureThermoBaffle1DFvPatchScalarField
|
|||||||
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
|
||||||
|
|
||||||
template<class solidType>
|
template<class solidType>
|
||||||
void temperatureThermoBaffle1DFvPatchScalarField<solidType>::autoMap
|
void thermoBaffle1DFvPatchScalarField<solidType>::autoMap
|
||||||
(
|
(
|
||||||
const fvPatchFieldMapper& m
|
const fvPatchFieldMapper& m
|
||||||
)
|
)
|
||||||
@ -174,7 +174,7 @@ void temperatureThermoBaffle1DFvPatchScalarField<solidType>::autoMap
|
|||||||
}
|
}
|
||||||
|
|
||||||
template<class solidType>
|
template<class solidType>
|
||||||
void temperatureThermoBaffle1DFvPatchScalarField<solidType>::rmap
|
void thermoBaffle1DFvPatchScalarField<solidType>::rmap
|
||||||
(
|
(
|
||||||
const fvPatchScalarField& ptf,
|
const fvPatchScalarField& ptf,
|
||||||
const labelList& addr
|
const labelList& addr
|
||||||
@ -185,7 +185,7 @@ void temperatureThermoBaffle1DFvPatchScalarField<solidType>::rmap
|
|||||||
|
|
||||||
|
|
||||||
template<class solidType>
|
template<class solidType>
|
||||||
void temperatureThermoBaffle1DFvPatchScalarField<solidType>::updateCoeffs()
|
void thermoBaffle1DFvPatchScalarField<solidType>::updateCoeffs()
|
||||||
{
|
{
|
||||||
if (updated())
|
if (updated())
|
||||||
{
|
{
|
||||||
@ -242,8 +242,8 @@ void temperatureThermoBaffle1DFvPatchScalarField<solidType>::updateCoeffs()
|
|||||||
);
|
);
|
||||||
mpp.map().distribute(nbrQDot);
|
mpp.map().distribute(nbrQDot);
|
||||||
|
|
||||||
const temperatureThermoBaffle1DFvPatchScalarField& nbrField =
|
const thermoBaffle1DFvPatchScalarField& nbrField =
|
||||||
refCast<const temperatureThermoBaffle1DFvPatchScalarField>
|
refCast<const thermoBaffle1DFvPatchScalarField>
|
||||||
(
|
(
|
||||||
nbrPatch.template lookupPatchField<volScalarField, scalar>(TName_)
|
nbrPatch.template lookupPatchField<volScalarField, scalar>(TName_)
|
||||||
);
|
);
|
||||||
@ -347,7 +347,7 @@ void temperatureThermoBaffle1DFvPatchScalarField<solidType>::updateCoeffs()
|
|||||||
}
|
}
|
||||||
|
|
||||||
template <class solidType>
|
template <class solidType>
|
||||||
void temperatureThermoBaffle1DFvPatchScalarField<solidType>::
|
void thermoBaffle1DFvPatchScalarField<solidType>::
|
||||||
write(Ostream& os) const
|
write(Ostream& os) const
|
||||||
{
|
{
|
||||||
mixedFvPatchScalarField::write(os);
|
mixedFvPatchScalarField::write(os);
|
||||||
@ -22,19 +22,19 @@ License
|
|||||||
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
Class
|
Class
|
||||||
Foam::temperatureThermoBaffle1DFvPatchScalarField
|
Foam::thermoBaffle1DFvPatchScalarField
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Boundary which solves the 1D steady state heat transfer equation
|
Boundary which solves the 1D steady state heat transfer equation
|
||||||
through a baffle.
|
through a baffle.
|
||||||
|
|
||||||
SourceFiles
|
SourceFiles
|
||||||
temperatureThermoBaffle1DFvPatchScalarField.C
|
thermoBaffle1DFvPatchScalarField.C
|
||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#ifndef temperatureThermoBaffle1DFvPatchScalarField_H
|
#ifndef thermoBaffle1DFvPatchScalarField_H
|
||||||
#define temperatureThermoBaffle1DFvPatchScalarField_H
|
#define thermoBaffle1DFvPatchScalarField_H
|
||||||
|
|
||||||
#include "mixedFvPatchFields.H"
|
#include "mixedFvPatchFields.H"
|
||||||
#include "autoPtr.H"
|
#include "autoPtr.H"
|
||||||
@ -48,11 +48,11 @@ namespace compressible
|
|||||||
{
|
{
|
||||||
|
|
||||||
/*---------------------------------------------------------------------------*\
|
/*---------------------------------------------------------------------------*\
|
||||||
Class temperatureThermoBaffle1DFvPatchScalarField Declaration
|
Class thermoBaffle1DFvPatchScalarField Declaration
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
template<class solidType>
|
template<class solidType>
|
||||||
class temperatureThermoBaffle1DFvPatchScalarField
|
class thermoBaffle1DFvPatchScalarField
|
||||||
:
|
:
|
||||||
public mixedFvPatchScalarField
|
public mixedFvPatchScalarField
|
||||||
{
|
{
|
||||||
@ -77,20 +77,20 @@ class temperatureThermoBaffle1DFvPatchScalarField
|
|||||||
public:
|
public:
|
||||||
|
|
||||||
//- Runtime type information
|
//- Runtime type information
|
||||||
TypeName("compressible::temperatureThermoBaffle1D");
|
TypeName("compressible::thermoBaffle1D");
|
||||||
|
|
||||||
|
|
||||||
// Constructors
|
// Constructors
|
||||||
|
|
||||||
//- Construct from patch and internal field
|
//- Construct from patch and internal field
|
||||||
temperatureThermoBaffle1DFvPatchScalarField
|
thermoBaffle1DFvPatchScalarField
|
||||||
(
|
(
|
||||||
const fvPatch&,
|
const fvPatch&,
|
||||||
const DimensionedField<scalar, volMesh>&
|
const DimensionedField<scalar, volMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
//- Construct from patch, internal field and dictionary
|
//- Construct from patch, internal field and dictionary
|
||||||
temperatureThermoBaffle1DFvPatchScalarField
|
thermoBaffle1DFvPatchScalarField
|
||||||
(
|
(
|
||||||
const fvPatch&,
|
const fvPatch&,
|
||||||
const DimensionedField<scalar, volMesh>&,
|
const DimensionedField<scalar, volMesh>&,
|
||||||
@ -98,19 +98,19 @@ public:
|
|||||||
);
|
);
|
||||||
|
|
||||||
//- Construct by mapping given
|
//- Construct by mapping given
|
||||||
// temperatureThermoBaffle1DFvPatchScalarField onto a new patch
|
// thermoBaffle1DFvPatchScalarField onto a new patch
|
||||||
temperatureThermoBaffle1DFvPatchScalarField
|
thermoBaffle1DFvPatchScalarField
|
||||||
(
|
(
|
||||||
const temperatureThermoBaffle1DFvPatchScalarField&,
|
const thermoBaffle1DFvPatchScalarField&,
|
||||||
const fvPatch&,
|
const fvPatch&,
|
||||||
const DimensionedField<scalar, volMesh>&,
|
const DimensionedField<scalar, volMesh>&,
|
||||||
const fvPatchFieldMapper&
|
const fvPatchFieldMapper&
|
||||||
);
|
);
|
||||||
|
|
||||||
//- Construct as copy
|
//- Construct as copy
|
||||||
temperatureThermoBaffle1DFvPatchScalarField
|
thermoBaffle1DFvPatchScalarField
|
||||||
(
|
(
|
||||||
const temperatureThermoBaffle1DFvPatchScalarField&
|
const thermoBaffle1DFvPatchScalarField&
|
||||||
);
|
);
|
||||||
|
|
||||||
//- Construct and return a clone
|
//- Construct and return a clone
|
||||||
@ -118,14 +118,14 @@ public:
|
|||||||
{
|
{
|
||||||
return tmp<fvPatchScalarField>
|
return tmp<fvPatchScalarField>
|
||||||
(
|
(
|
||||||
new temperatureThermoBaffle1DFvPatchScalarField(*this)
|
new thermoBaffle1DFvPatchScalarField(*this)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
//- Construct as copy setting internal field reference
|
//- Construct as copy setting internal field reference
|
||||||
temperatureThermoBaffle1DFvPatchScalarField
|
thermoBaffle1DFvPatchScalarField
|
||||||
(
|
(
|
||||||
const temperatureThermoBaffle1DFvPatchScalarField&,
|
const thermoBaffle1DFvPatchScalarField&,
|
||||||
const DimensionedField<scalar, volMesh>&
|
const DimensionedField<scalar, volMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -137,7 +137,7 @@ public:
|
|||||||
{
|
{
|
||||||
return tmp<fvPatchScalarField>
|
return tmp<fvPatchScalarField>
|
||||||
(
|
(
|
||||||
new temperatureThermoBaffle1DFvPatchScalarField(*this, iF)
|
new thermoBaffle1DFvPatchScalarField(*this, iF)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -176,7 +176,7 @@ public:
|
|||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
#ifdef NoRepository
|
#ifdef NoRepository
|
||||||
# include "temperatureThermoBaffle1DFvPatchScalarField.C"
|
# include "thermoBaffle1DFvPatchScalarField.C"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
@ -23,7 +23,7 @@ License
|
|||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#include "temperatureThermoBaffle1DFvPatchScalarFields.H"
|
#include "thermoBaffle1DFvPatchScalarFields.H"
|
||||||
#include "addToRunTimeSelectionTable.H"
|
#include "addToRunTimeSelectionTable.H"
|
||||||
|
|
||||||
|
|
||||||
@ -38,28 +38,28 @@ namespace compressible
|
|||||||
|
|
||||||
defineTemplateTypeNameAndDebugWithName
|
defineTemplateTypeNameAndDebugWithName
|
||||||
(
|
(
|
||||||
constSolid_temperatureThermoBaffle1DFvPatchScalarField,
|
constSolid_thermoBaffle1DFvPatchScalarField,
|
||||||
"compressible::temperatureThermoBaffle1D<hConstSolidThermoPhysics>",
|
"compressible::thermoBaffle1D<hConstSolidThermoPhysics>",
|
||||||
0
|
0
|
||||||
);
|
);
|
||||||
|
|
||||||
addToPatchFieldRunTimeSelection
|
addToPatchFieldRunTimeSelection
|
||||||
(
|
(
|
||||||
fvPatchScalarField,
|
fvPatchScalarField,
|
||||||
constSolid_temperatureThermoBaffle1DFvPatchScalarField
|
constSolid_thermoBaffle1DFvPatchScalarField
|
||||||
);
|
);
|
||||||
|
|
||||||
defineTemplateTypeNameAndDebugWithName
|
defineTemplateTypeNameAndDebugWithName
|
||||||
(
|
(
|
||||||
expoSolid_temperatureThermoBaffle1DFvPatchScalarField,
|
expoSolid_thermoBaffle1DFvPatchScalarField,
|
||||||
"compressible::temperatureThermoBaffle1D<hExponentialSolidThermoPhysics>",
|
"compressible::thermoBaffle1D<hExponentialSolidThermoPhysics>",
|
||||||
0
|
0
|
||||||
);
|
);
|
||||||
|
|
||||||
addToPatchFieldRunTimeSelection
|
addToPatchFieldRunTimeSelection
|
||||||
(
|
(
|
||||||
fvPatchScalarField,
|
fvPatchScalarField,
|
||||||
expoSolid_temperatureThermoBaffle1DFvPatchScalarField
|
expoSolid_thermoBaffle1DFvPatchScalarField
|
||||||
);
|
);
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
@ -23,10 +23,10 @@ License
|
|||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#ifndef temperatureThermoBaffle1DFvPatchScalarFields_H
|
#ifndef thermoBaffle1DFvPatchScalarFields_H
|
||||||
#define temperatureThermoBaffle1DFvPatchScalarFields_H
|
#define thermoBaffle1DFvPatchScalarFields_H
|
||||||
|
|
||||||
#include "temperatureThermoBaffle1DFvPatchScalarField.H"
|
#include "thermoBaffle1DFvPatchScalarField.H"
|
||||||
#include "solidThermoPhysicsTypes.H"
|
#include "solidThermoPhysicsTypes.H"
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
@ -38,15 +38,15 @@ namespace compressible
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
typedef temperatureThermoBaffle1DFvPatchScalarField
|
typedef thermoBaffle1DFvPatchScalarField
|
||||||
<
|
<
|
||||||
hConstSolidThermoPhysics
|
hConstSolidThermoPhysics
|
||||||
>constSolid_temperatureThermoBaffle1DFvPatchScalarField;
|
>constSolid_thermoBaffle1DFvPatchScalarField;
|
||||||
|
|
||||||
typedef temperatureThermoBaffle1DFvPatchScalarField
|
typedef thermoBaffle1DFvPatchScalarField
|
||||||
<
|
<
|
||||||
hExponentialSolidThermoPhysics
|
hExponentialSolidThermoPhysics
|
||||||
>expoSolid_temperatureThermoBaffle1DFvPatchScalarField;
|
>expoSolid_thermoBaffle1DFvPatchScalarField;
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
@ -21,7 +21,7 @@ active no;
|
|||||||
|
|
||||||
regionName none;
|
regionName none;
|
||||||
|
|
||||||
thermoBaffle2DCoeffs
|
thermoBaffleCoeffs
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -22,7 +22,7 @@ dictionaryReplacement
|
|||||||
{
|
{
|
||||||
"region0_to.*"
|
"region0_to.*"
|
||||||
{
|
{
|
||||||
type compressible::temperatureThermoBaffle;
|
type compressible::thermoBaffle;
|
||||||
neighbourFieldName T;
|
neighbourFieldName T;
|
||||||
kappa solidThermo;
|
kappa solidThermo;
|
||||||
kappaName none;
|
kappaName none;
|
||||||
|
|||||||
@ -88,7 +88,7 @@ dictionaryReplacement
|
|||||||
{
|
{
|
||||||
"baffle.*"
|
"baffle.*"
|
||||||
{
|
{
|
||||||
type compressible::temperatureThermoBaffle1D<hConstSolidThermoPhysics>;
|
type compressible::thermoBaffle1D<hConstSolidThermoPhysics>;
|
||||||
baffleActivated yes;
|
baffleActivated yes;
|
||||||
thickness uniform 0.005; // thickness [m]
|
thickness uniform 0.005; // thickness [m]
|
||||||
Qs uniform 100; // heat flux [W/m2]
|
Qs uniform 100; // heat flux [W/m2]
|
||||||
|
|||||||
@ -88,7 +88,7 @@ dictionaryReplacement
|
|||||||
{
|
{
|
||||||
"baffle1Wall.*"
|
"baffle1Wall.*"
|
||||||
{
|
{
|
||||||
type compressible::temperatureThermoBaffle1D<hConstSolidThermoPhysics>;
|
type compressible::thermoBaffle1D<hConstSolidThermoPhysics>;
|
||||||
baffleActivated yes;
|
baffleActivated yes;
|
||||||
thickness uniform 0.005; // thickness [m]
|
thickness uniform 0.005; // thickness [m]
|
||||||
Qs uniform 100; // heat flux [W/m2]
|
Qs uniform 100; // heat flux [W/m2]
|
||||||
|
|||||||
@ -91,7 +91,7 @@ dictionaryReplacement
|
|||||||
|
|
||||||
"region0_to.*"
|
"region0_to.*"
|
||||||
{
|
{
|
||||||
type compressible::temperatureThermoBaffle;
|
type compressible::thermoBaffle;
|
||||||
|
|
||||||
// Coupled BC.
|
// Coupled BC.
|
||||||
neighbourFieldName T;
|
neighbourFieldName T;
|
||||||
@ -99,11 +99,11 @@ dictionaryReplacement
|
|||||||
kappaName none;
|
kappaName none;
|
||||||
|
|
||||||
// Thermo baffle model
|
// Thermo baffle model
|
||||||
thermoBaffleModel thermoBaffle2D;
|
thermoBaffleModel thermoBaffle;
|
||||||
regionName baffleRegion;
|
regionName baffleRegion;
|
||||||
infoOutput no;
|
infoOutput no;
|
||||||
active yes;
|
active yes;
|
||||||
thermoBaffle2DCoeffs
|
thermoBaffleCoeffs
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user