mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Updated film sub-models to use new base class
This commit is contained in:
@ -49,7 +49,7 @@ addToRunTimeSelectionTable
|
||||
|
||||
void constantFilmThermo::init(thermoData& td)
|
||||
{
|
||||
if (coeffs_.readIfPresent(td.name_, td.value_))
|
||||
if (coeffDict_.readIfPresent(td.name_, td.value_))
|
||||
{
|
||||
td.set_ = true;
|
||||
}
|
||||
@ -60,12 +60,12 @@ void constantFilmThermo::init(thermoData& td)
|
||||
|
||||
constantFilmThermo::constantFilmThermo
|
||||
(
|
||||
const surfaceFilmModel& owner,
|
||||
surfaceFilmModel& owner,
|
||||
const dictionary& dict
|
||||
)
|
||||
:
|
||||
filmThermoModel(typeName, owner, dict),
|
||||
name_(coeffs_.lookup("specieName")),
|
||||
name_(coeffDict_.lookup("specieName")),
|
||||
rho0_("rho0"),
|
||||
mu0_("mu0"),
|
||||
sigma0_("sigma0"),
|
||||
@ -110,7 +110,7 @@ scalar constantFilmThermo::rho
|
||||
{
|
||||
if (!rho0_.set_)
|
||||
{
|
||||
coeffs_.lookup(rho0_.name_) >> rho0_.value_;
|
||||
coeffDict_.lookup(rho0_.name_) >> rho0_.value_;
|
||||
rho0_.set_ = true;
|
||||
}
|
||||
|
||||
@ -126,7 +126,7 @@ scalar constantFilmThermo::mu
|
||||
{
|
||||
if (!mu0_.set_)
|
||||
{
|
||||
coeffs_.lookup(mu0_.name_) >> mu0_.value_;
|
||||
coeffDict_.lookup(mu0_.name_) >> mu0_.value_;
|
||||
mu0_.set_ = true;
|
||||
}
|
||||
|
||||
@ -142,7 +142,7 @@ scalar constantFilmThermo::sigma
|
||||
{
|
||||
if (!sigma0_.set_)
|
||||
{
|
||||
coeffs_.lookup(sigma0_.name_) >> sigma0_.value_;
|
||||
coeffDict_.lookup(sigma0_.name_) >> sigma0_.value_;
|
||||
sigma0_.set_ = true;
|
||||
}
|
||||
|
||||
@ -158,7 +158,7 @@ scalar constantFilmThermo::Cp
|
||||
{
|
||||
if (!Cp0_.set_)
|
||||
{
|
||||
coeffs_.lookup(Cp0_.name_) >> Cp0_.value_;
|
||||
coeffDict_.lookup(Cp0_.name_) >> Cp0_.value_;
|
||||
Cp0_.set_ = true;
|
||||
}
|
||||
|
||||
@ -174,7 +174,7 @@ scalar constantFilmThermo::kappa
|
||||
{
|
||||
if (!kappa0_.set_)
|
||||
{
|
||||
coeffs_.lookup(kappa0_.name_) >> kappa0_.value_;
|
||||
coeffDict_.lookup(kappa0_.name_) >> kappa0_.value_;
|
||||
kappa0_.set_ = true;
|
||||
}
|
||||
|
||||
@ -190,7 +190,7 @@ scalar constantFilmThermo::D
|
||||
{
|
||||
if (!D0_.set_)
|
||||
{
|
||||
coeffs_.lookup(D0_.name_) >> D0_.value_;
|
||||
coeffDict_.lookup(D0_.name_) >> D0_.value_;
|
||||
D0_.set_ = true;
|
||||
}
|
||||
|
||||
@ -206,7 +206,7 @@ scalar constantFilmThermo::hl
|
||||
{
|
||||
if (!hl0_.set_)
|
||||
{
|
||||
coeffs_.lookup(hl0_.name_) >> hl0_.value_;
|
||||
coeffDict_.lookup(hl0_.name_) >> hl0_.value_;
|
||||
hl0_.set_ = true;
|
||||
}
|
||||
|
||||
@ -222,7 +222,7 @@ scalar constantFilmThermo::pv
|
||||
{
|
||||
if (!pv0_.set_)
|
||||
{
|
||||
coeffs_.lookup(pv0_.name_) >> pv0_.value_;
|
||||
coeffDict_.lookup(pv0_.name_) >> pv0_.value_;
|
||||
pv0_.set_ = true;
|
||||
}
|
||||
|
||||
@ -234,7 +234,7 @@ scalar constantFilmThermo::W() const
|
||||
{
|
||||
if (!W0_.set_)
|
||||
{
|
||||
coeffs_.lookup(W0_.name_) >> W0_.value_;
|
||||
coeffDict_.lookup(W0_.name_) >> W0_.value_;
|
||||
W0_.set_ = true;
|
||||
}
|
||||
|
||||
@ -246,7 +246,7 @@ scalar constantFilmThermo::Tb(const scalar p) const
|
||||
{
|
||||
if (!Tb0_.set_)
|
||||
{
|
||||
coeffs_.lookup(Tb0_.name_) >> Tb0_.value_;
|
||||
coeffDict_.lookup(Tb0_.name_) >> Tb0_.value_;
|
||||
Tb0_.set_ = true;
|
||||
}
|
||||
|
||||
|
||||
@ -144,7 +144,7 @@ public:
|
||||
//- Construct from surface film model and dictionary
|
||||
constantFilmThermo
|
||||
(
|
||||
const surfaceFilmModel& owner,
|
||||
surfaceFilmModel& owner,
|
||||
const dictionary& dict
|
||||
);
|
||||
|
||||
|
||||
@ -43,21 +43,21 @@ defineRunTimeSelectionTable(filmThermoModel, dictionary);
|
||||
|
||||
filmThermoModel::filmThermoModel
|
||||
(
|
||||
const surfaceFilmModel& owner
|
||||
surfaceFilmModel& owner
|
||||
)
|
||||
:
|
||||
subModelBase(owner)
|
||||
filmSubModelBase(owner)
|
||||
{}
|
||||
|
||||
|
||||
filmThermoModel::filmThermoModel
|
||||
(
|
||||
const word& type,
|
||||
const surfaceFilmModel& owner,
|
||||
const word& modelType,
|
||||
surfaceFilmModel& owner,
|
||||
const dictionary& dict
|
||||
)
|
||||
:
|
||||
subModelBase(type, owner, dict)
|
||||
filmSubModelBase(owner, dict, typeName, modelType)
|
||||
{}
|
||||
|
||||
|
||||
|
||||
@ -36,7 +36,7 @@ SourceFiles
|
||||
#ifndef filmThermoModel_H
|
||||
#define filmThermoModel_H
|
||||
|
||||
#include "subModelBase.H"
|
||||
#include "filmSubModelBase.H"
|
||||
#include "runTimeSelectionTables.H"
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
@ -54,7 +54,7 @@ namespace surfaceFilmModels
|
||||
|
||||
class filmThermoModel
|
||||
:
|
||||
public subModelBase
|
||||
public filmSubModelBase
|
||||
{
|
||||
private:
|
||||
|
||||
@ -81,7 +81,7 @@ public:
|
||||
filmThermoModel,
|
||||
dictionary,
|
||||
(
|
||||
const surfaceFilmModel& owner,
|
||||
surfaceFilmModel& owner,
|
||||
const dictionary& dict
|
||||
),
|
||||
(owner, dict)
|
||||
@ -90,13 +90,13 @@ public:
|
||||
// Constructors
|
||||
|
||||
//- Construct null
|
||||
filmThermoModel(const surfaceFilmModel& owner);
|
||||
filmThermoModel(surfaceFilmModel& owner);
|
||||
|
||||
//- Construct from type name, dictionary and surface film model
|
||||
filmThermoModel
|
||||
(
|
||||
const word& type,
|
||||
const surfaceFilmModel& owner,
|
||||
const word& modelType,
|
||||
surfaceFilmModel& owner,
|
||||
const dictionary& dict
|
||||
);
|
||||
|
||||
@ -106,7 +106,7 @@ public:
|
||||
//- Return a reference to the selected phase change model
|
||||
static autoPtr<filmThermoModel> New
|
||||
(
|
||||
const surfaceFilmModel& owner,
|
||||
surfaceFilmModel& owner,
|
||||
const dictionary& dict
|
||||
);
|
||||
|
||||
|
||||
@ -38,7 +38,7 @@ namespace surfaceFilmModels
|
||||
|
||||
autoPtr<filmThermoModel> filmThermoModel::New
|
||||
(
|
||||
const surfaceFilmModel& model,
|
||||
surfaceFilmModel& model,
|
||||
const dictionary& dict
|
||||
)
|
||||
{
|
||||
@ -53,7 +53,7 @@ autoPtr<filmThermoModel> filmThermoModel::New
|
||||
{
|
||||
FatalErrorIn
|
||||
(
|
||||
"filmThermoModel::New(const surfaceFilmModel&, const dictionary&)"
|
||||
"filmThermoModel::New(surfaceFilmModel&, const dictionary&)"
|
||||
) << "Unknown filmThermoModel type " << modelType << nl << nl
|
||||
<< "Valid filmThermoModel types are:" << nl
|
||||
<< dictionaryConstructorTablePtr_->toc()
|
||||
|
||||
@ -104,7 +104,7 @@ void liquidFilmThermo::initLiquid(const dictionary& dict)
|
||||
|
||||
liquidFilmThermo::liquidFilmThermo
|
||||
(
|
||||
const surfaceFilmModel& owner,
|
||||
surfaceFilmModel& owner,
|
||||
const dictionary& dict
|
||||
)
|
||||
:
|
||||
@ -112,16 +112,16 @@ liquidFilmThermo::liquidFilmThermo
|
||||
name_("unknown_liquid"),
|
||||
liquidPtr_(NULL),
|
||||
ownLiquid_(false),
|
||||
useReferenceValues_(readBool(coeffs_.lookup("useReferenceValues"))),
|
||||
useReferenceValues_(readBool(coeffDict_.lookup("useReferenceValues"))),
|
||||
pRef_(0.0),
|
||||
TRef_(0.0)
|
||||
{
|
||||
initLiquid(coeffs_);
|
||||
initLiquid(coeffDict_);
|
||||
|
||||
if (useReferenceValues_)
|
||||
{
|
||||
coeffs_.lookup("pRef") >> pRef_;
|
||||
coeffs_.lookup("TRef") >> TRef_;
|
||||
coeffDict_.lookup("pRef") >> pRef_;
|
||||
coeffDict_.lookup("TRef") >> TRef_;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -107,7 +107,7 @@ public:
|
||||
//- Construct from surface film model and dictionary
|
||||
liquidFilmThermo
|
||||
(
|
||||
const surfaceFilmModel& owner,
|
||||
surfaceFilmModel& owner,
|
||||
const dictionary& dict
|
||||
);
|
||||
|
||||
|
||||
@ -41,20 +41,20 @@ defineRunTimeSelectionTable(filmTurbulenceModel, dictionary);
|
||||
|
||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||
|
||||
filmTurbulenceModel::filmTurbulenceModel(const surfaceFilmModel& owner)
|
||||
filmTurbulenceModel::filmTurbulenceModel(surfaceFilmModel& owner)
|
||||
:
|
||||
subModelBase(owner)
|
||||
filmSubModelBase(owner)
|
||||
{}
|
||||
|
||||
|
||||
filmTurbulenceModel::filmTurbulenceModel
|
||||
(
|
||||
const word& type,
|
||||
const surfaceFilmModel& owner,
|
||||
const word& modelType,
|
||||
surfaceFilmModel& owner,
|
||||
const dictionary& dict
|
||||
)
|
||||
:
|
||||
subModelBase(type, owner, dict)
|
||||
filmSubModelBase(owner, dict, typeName, modelType)
|
||||
{}
|
||||
|
||||
|
||||
|
||||
@ -36,7 +36,7 @@ SourceFiles
|
||||
#ifndef filmTurbulenceModel_H
|
||||
#define filmTurbulenceModel_H
|
||||
|
||||
#include "subModelBase.H"
|
||||
#include "filmSubModelBase.H"
|
||||
#include "runTimeSelectionTables.H"
|
||||
#include "fvMatricesFwd.H"
|
||||
#include "volFieldsFwd.H"
|
||||
@ -56,7 +56,7 @@ namespace surfaceFilmModels
|
||||
|
||||
class filmTurbulenceModel
|
||||
:
|
||||
public subModelBase
|
||||
public filmSubModelBase
|
||||
{
|
||||
private:
|
||||
|
||||
@ -83,7 +83,7 @@ public:
|
||||
filmTurbulenceModel,
|
||||
dictionary,
|
||||
(
|
||||
const surfaceFilmModel& owner,
|
||||
surfaceFilmModel& owner,
|
||||
const dictionary& dict
|
||||
),
|
||||
(owner, dict)
|
||||
@ -92,13 +92,13 @@ public:
|
||||
// Constructors
|
||||
|
||||
//- Construct null
|
||||
filmTurbulenceModel(const surfaceFilmModel& owner);
|
||||
filmTurbulenceModel(surfaceFilmModel& owner);
|
||||
|
||||
//- Construct from type name, dictionary and surface film model
|
||||
filmTurbulenceModel
|
||||
(
|
||||
const word& type,
|
||||
const surfaceFilmModel& owner,
|
||||
const word& modelType,
|
||||
surfaceFilmModel& owner,
|
||||
const dictionary& dict
|
||||
);
|
||||
|
||||
@ -108,7 +108,7 @@ public:
|
||||
//- Return a reference to the selected injection model
|
||||
static autoPtr<filmTurbulenceModel> New
|
||||
(
|
||||
const surfaceFilmModel& owner,
|
||||
surfaceFilmModel& owner,
|
||||
const dictionary& dict
|
||||
);
|
||||
|
||||
|
||||
@ -38,7 +38,7 @@ namespace surfaceFilmModels
|
||||
|
||||
autoPtr<filmTurbulenceModel> filmTurbulenceModel::New
|
||||
(
|
||||
const surfaceFilmModel& model,
|
||||
surfaceFilmModel& model,
|
||||
const dictionary& dict
|
||||
)
|
||||
{
|
||||
@ -55,7 +55,7 @@ autoPtr<filmTurbulenceModel> filmTurbulenceModel::New
|
||||
(
|
||||
"filmTurbulenceModel::New"
|
||||
"("
|
||||
"const surfaceFilmModel&, "
|
||||
"surfaceFilmModel&, "
|
||||
"const dictionary&"
|
||||
")"
|
||||
) << "Unknown filmTurbulenceModel type " << modelType
|
||||
|
||||
@ -51,12 +51,12 @@ addToRunTimeSelectionTable(filmTurbulenceModel, laminar, dictionary);
|
||||
|
||||
laminar::laminar
|
||||
(
|
||||
const surfaceFilmModel& owner,
|
||||
surfaceFilmModel& owner,
|
||||
const dictionary& dict
|
||||
)
|
||||
:
|
||||
filmTurbulenceModel(type(), owner, dict),
|
||||
Cf_(readScalar(coeffs_.lookup("Cf")))
|
||||
Cf_(readScalar(coeffDict_.lookup("Cf")))
|
||||
{}
|
||||
|
||||
|
||||
|
||||
@ -80,7 +80,7 @@ public:
|
||||
// Constructors
|
||||
|
||||
//- Construct from surface film model
|
||||
laminar(const surfaceFilmModel& owner, const dictionary& dict);
|
||||
laminar(surfaceFilmModel& owner, const dictionary& dict);
|
||||
|
||||
|
||||
//- Destructor
|
||||
|
||||
@ -48,12 +48,12 @@ addToRunTimeSelectionTable(force, contactAngleForce, dictionary);
|
||||
|
||||
void contactAngleForce::initialise()
|
||||
{
|
||||
const wordReList zeroForcePatches(coeffs_.lookup("zeroForcePatches"));
|
||||
const wordReList zeroForcePatches(coeffDict_.lookup("zeroForcePatches"));
|
||||
|
||||
if (zeroForcePatches.size())
|
||||
{
|
||||
const polyBoundaryMesh& pbm = owner_.regionMesh().boundaryMesh();
|
||||
scalar dLim = readScalar(coeffs_.lookup("zeroForceDistance"));
|
||||
scalar dLim = readScalar(coeffDict_.lookup("zeroForceDistance"));
|
||||
|
||||
Info<< " Assigning zero contact force within " << dLim
|
||||
<< " of patches:" << endl;
|
||||
@ -77,18 +77,18 @@ void contactAngleForce::initialise()
|
||||
|
||||
contactAngleForce::contactAngleForce
|
||||
(
|
||||
const surfaceFilmModel& owner,
|
||||
surfaceFilmModel& owner,
|
||||
const dictionary& dict
|
||||
)
|
||||
:
|
||||
force(typeName, owner, dict),
|
||||
Ccf_(readScalar(coeffs_.lookup("Ccf"))),
|
||||
Ccf_(readScalar(coeffDict_.lookup("Ccf"))),
|
||||
rndGen_(label(0), -1),
|
||||
distribution_
|
||||
(
|
||||
distributionModels::distributionModel::New
|
||||
(
|
||||
coeffs_.subDict("contactAngleDistribution"),
|
||||
coeffDict_.subDict("contactAngleDistribution"),
|
||||
rndGen_
|
||||
)
|
||||
),
|
||||
|
||||
@ -99,7 +99,7 @@ public:
|
||||
//- Construct from surface film model
|
||||
contactAngleForce
|
||||
(
|
||||
const surfaceFilmModel& owner,
|
||||
surfaceFilmModel& owner,
|
||||
const dictionary& dict
|
||||
);
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -41,20 +41,20 @@ defineRunTimeSelectionTable(force, dictionary);
|
||||
|
||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||
|
||||
force::force(const surfaceFilmModel& owner)
|
||||
force::force(surfaceFilmModel& owner)
|
||||
:
|
||||
subModelBase(owner)
|
||||
filmSubModelBase(owner)
|
||||
{}
|
||||
|
||||
|
||||
force::force
|
||||
(
|
||||
const word& type,
|
||||
const surfaceFilmModel& owner,
|
||||
const word& modelType,
|
||||
surfaceFilmModel& owner,
|
||||
const dictionary& dict
|
||||
)
|
||||
:
|
||||
subModelBase(type, owner, dict)
|
||||
filmSubModelBase(owner, dict, typeName, modelType)
|
||||
{}
|
||||
|
||||
|
||||
|
||||
@ -35,7 +35,7 @@ SourceFiles
|
||||
#ifndef force_H
|
||||
#define force_H
|
||||
|
||||
#include "subModelBase.H"
|
||||
#include "filmSubModelBase.H"
|
||||
#include "runTimeSelectionTables.H"
|
||||
#include "fvMatrices.H"
|
||||
|
||||
@ -54,7 +54,7 @@ namespace surfaceFilmModels
|
||||
|
||||
class force
|
||||
:
|
||||
public subModelBase
|
||||
public filmSubModelBase
|
||||
{
|
||||
private:
|
||||
|
||||
@ -81,7 +81,7 @@ public:
|
||||
force,
|
||||
dictionary,
|
||||
(
|
||||
const surfaceFilmModel& owner,
|
||||
surfaceFilmModel& owner,
|
||||
const dictionary& dict
|
||||
),
|
||||
(owner, dict)
|
||||
@ -90,13 +90,13 @@ public:
|
||||
// Constructors
|
||||
|
||||
//- Construct null
|
||||
force(const surfaceFilmModel& owner);
|
||||
force(surfaceFilmModel& owner);
|
||||
|
||||
//- Construct from type name, dictionary and surface film model
|
||||
force
|
||||
(
|
||||
const word& type,
|
||||
const surfaceFilmModel& owner,
|
||||
const word& modelType,
|
||||
surfaceFilmModel& owner,
|
||||
const dictionary& dict
|
||||
);
|
||||
|
||||
@ -106,7 +106,7 @@ public:
|
||||
//- Return a reference to the selected force model
|
||||
static autoPtr<force> New
|
||||
(
|
||||
const surfaceFilmModel& owner,
|
||||
surfaceFilmModel& owner,
|
||||
const dictionary& dict,
|
||||
const word& modelType
|
||||
);
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -38,7 +38,7 @@ namespace surfaceFilmModels
|
||||
|
||||
autoPtr<force> force::New
|
||||
(
|
||||
const surfaceFilmModel& model,
|
||||
surfaceFilmModel& model,
|
||||
const dictionary& dict,
|
||||
const word& modelType
|
||||
)
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -36,7 +36,7 @@ namespace surfaceFilmModels
|
||||
|
||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||
|
||||
forceList::forceList(const surfaceFilmModel& owner)
|
||||
forceList::forceList(surfaceFilmModel& owner)
|
||||
:
|
||||
PtrList<force>()
|
||||
{}
|
||||
@ -44,7 +44,7 @@ forceList::forceList(const surfaceFilmModel& owner)
|
||||
|
||||
forceList::forceList
|
||||
(
|
||||
const surfaceFilmModel& owner,
|
||||
surfaceFilmModel& owner,
|
||||
const dictionary& dict
|
||||
)
|
||||
:
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -60,12 +60,12 @@ public:
|
||||
// Constructors
|
||||
|
||||
//- Construct null
|
||||
forceList(const surfaceFilmModel& owner);
|
||||
forceList(surfaceFilmModel& owner);
|
||||
|
||||
//- Construct from type name, dictionary and surface film model
|
||||
forceList
|
||||
(
|
||||
const surfaceFilmModel& owner,
|
||||
surfaceFilmModel& owner,
|
||||
const dictionary& dict
|
||||
);
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -45,7 +45,7 @@ addToRunTimeSelectionTable(force, thermocapillaryForce, dictionary);
|
||||
|
||||
thermocapillaryForce::thermocapillaryForce
|
||||
(
|
||||
const surfaceFilmModel& owner,
|
||||
surfaceFilmModel& owner,
|
||||
const dictionary& dict
|
||||
)
|
||||
:
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -76,7 +76,7 @@ public:
|
||||
//- Construct from surface film model
|
||||
thermocapillaryForce
|
||||
(
|
||||
const surfaceFilmModel& owner,
|
||||
surfaceFilmModel& owner,
|
||||
const dictionary& dict
|
||||
);
|
||||
|
||||
|
||||
@ -220,13 +220,13 @@ tmp<scalarField> curvatureSeparation::calcCosAngle
|
||||
|
||||
curvatureSeparation::curvatureSeparation
|
||||
(
|
||||
const surfaceFilmModel& owner,
|
||||
surfaceFilmModel& owner,
|
||||
const dictionary& dict
|
||||
)
|
||||
:
|
||||
injectionModel(type(), owner, dict),
|
||||
gradNHat_(fvc::grad(owner.nHat())),
|
||||
deltaByR1Min_(coeffs().lookupOrDefault<scalar>("deltaByR1Min", 0.0)),
|
||||
deltaByR1Min_(coeffDict_.lookupOrDefault<scalar>("deltaByR1Min", 0.0)),
|
||||
definedPatchRadii_(),
|
||||
magG_(mag(owner.g().value())),
|
||||
gHat_(vector::zero)
|
||||
@ -247,7 +247,7 @@ curvatureSeparation::curvatureSeparation
|
||||
|
||||
gHat_ = owner.g().value()/magG_;
|
||||
|
||||
List<Tuple2<word, scalar> > prIn(coeffs().lookup("definedPatchRadii"));
|
||||
List<Tuple2<word, scalar> > prIn(coeffDict_.lookup("definedPatchRadii"));
|
||||
const wordList& allPatchNames = owner.regionMesh().boundaryMesh().names();
|
||||
|
||||
DynamicList<Tuple2<label, scalar> > prData(allPatchNames.size());
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -121,7 +121,7 @@ public:
|
||||
//- Construct from surface film model
|
||||
curvatureSeparation
|
||||
(
|
||||
const surfaceFilmModel& owner,
|
||||
surfaceFilmModel& owner,
|
||||
const dictionary& dict
|
||||
);
|
||||
|
||||
|
||||
@ -50,19 +50,19 @@ addToRunTimeSelectionTable(injectionModel, drippingInjection, dictionary);
|
||||
|
||||
drippingInjection::drippingInjection
|
||||
(
|
||||
const surfaceFilmModel& owner,
|
||||
surfaceFilmModel& owner,
|
||||
const dictionary& dict
|
||||
)
|
||||
:
|
||||
injectionModel(type(), owner, dict),
|
||||
deltaStable_(readScalar(coeffs_.lookup("deltaStable"))),
|
||||
particlesPerParcel_(readScalar(coeffs_.lookup("particlesPerParcel"))),
|
||||
deltaStable_(readScalar(coeffDict_.lookup("deltaStable"))),
|
||||
particlesPerParcel_(readScalar(coeffDict_.lookup("particlesPerParcel"))),
|
||||
rndGen_(label(0), -1),
|
||||
parcelDistribution_
|
||||
(
|
||||
distributionModels::distributionModel::New
|
||||
(
|
||||
coeffs_.subDict("parcelDistribution"),
|
||||
coeffDict_.subDict("parcelDistribution"),
|
||||
rndGen_
|
||||
)
|
||||
),
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -105,7 +105,7 @@ public:
|
||||
//- Construct from surface film model
|
||||
drippingInjection
|
||||
(
|
||||
const surfaceFilmModel& owner,
|
||||
surfaceFilmModel& owner,
|
||||
const dictionary& dict
|
||||
);
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -41,20 +41,20 @@ defineRunTimeSelectionTable(injectionModel, dictionary);
|
||||
|
||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||
|
||||
injectionModel::injectionModel(const surfaceFilmModel& owner)
|
||||
injectionModel::injectionModel(surfaceFilmModel& owner)
|
||||
:
|
||||
subModelBase(owner)
|
||||
filmSubModelBase(owner)
|
||||
{}
|
||||
|
||||
|
||||
injectionModel::injectionModel
|
||||
(
|
||||
const word& type,
|
||||
const surfaceFilmModel& owner,
|
||||
const word& modelType,
|
||||
surfaceFilmModel& owner,
|
||||
const dictionary& dict
|
||||
)
|
||||
:
|
||||
subModelBase(type, owner, dict)
|
||||
filmSubModelBase(owner, dict, typeName, modelType)
|
||||
{}
|
||||
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -36,7 +36,7 @@ SourceFiles
|
||||
#ifndef injectionModel_H
|
||||
#define injectionModel_H
|
||||
|
||||
#include "subModelBase.H"
|
||||
#include "filmSubModelBase.H"
|
||||
#include "runTimeSelectionTables.H"
|
||||
#include "scalarField.H"
|
||||
|
||||
@ -55,7 +55,7 @@ namespace surfaceFilmModels
|
||||
|
||||
class injectionModel
|
||||
:
|
||||
public subModelBase
|
||||
public filmSubModelBase
|
||||
{
|
||||
private:
|
||||
|
||||
@ -82,7 +82,7 @@ public:
|
||||
injectionModel,
|
||||
dictionary,
|
||||
(
|
||||
const surfaceFilmModel& owner,
|
||||
surfaceFilmModel& owner,
|
||||
const dictionary& dict
|
||||
),
|
||||
(owner, dict)
|
||||
@ -91,13 +91,13 @@ public:
|
||||
// Constructors
|
||||
|
||||
//- Construct null
|
||||
injectionModel(const surfaceFilmModel& owner);
|
||||
injectionModel(surfaceFilmModel& owner);
|
||||
|
||||
//- Construct from type name, dictionary and surface film model
|
||||
injectionModel
|
||||
(
|
||||
const word& type,
|
||||
const surfaceFilmModel& owner,
|
||||
const word& modelType,
|
||||
surfaceFilmModel& owner,
|
||||
const dictionary& dict
|
||||
);
|
||||
|
||||
@ -107,7 +107,7 @@ public:
|
||||
//- Return a reference to the selected injection model
|
||||
static autoPtr<injectionModel> New
|
||||
(
|
||||
const surfaceFilmModel& owner,
|
||||
surfaceFilmModel& owner,
|
||||
const dictionary& dict,
|
||||
const word& mdoelType
|
||||
);
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -38,7 +38,7 @@ namespace surfaceFilmModels
|
||||
|
||||
autoPtr<injectionModel> injectionModel::New
|
||||
(
|
||||
const surfaceFilmModel& model,
|
||||
surfaceFilmModel& model,
|
||||
const dictionary& dict,
|
||||
const word& modelType
|
||||
)
|
||||
@ -52,7 +52,12 @@ autoPtr<injectionModel> injectionModel::New
|
||||
{
|
||||
FatalErrorIn
|
||||
(
|
||||
"injectionModel::New(const surfaceFilmModel&, const dictionary&)"
|
||||
"injectionModel::New"
|
||||
"("
|
||||
"surfaceFilmModel&, "
|
||||
"const dictionary&, "
|
||||
"const word&"
|
||||
")"
|
||||
) << "Unknown injectionModel type " << modelType
|
||||
<< nl << nl << "Valid injectionModel types are:" << nl
|
||||
<< dictionaryConstructorTablePtr_->toc()
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -36,7 +36,7 @@ namespace surfaceFilmModels
|
||||
|
||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||
|
||||
injectionModelList::injectionModelList(const surfaceFilmModel& owner)
|
||||
injectionModelList::injectionModelList(surfaceFilmModel& owner)
|
||||
:
|
||||
PtrList<injectionModel>(),
|
||||
owner_(owner),
|
||||
@ -47,7 +47,7 @@ injectionModelList::injectionModelList(const surfaceFilmModel& owner)
|
||||
|
||||
injectionModelList::injectionModelList
|
||||
(
|
||||
const surfaceFilmModel& owner,
|
||||
surfaceFilmModel& owner,
|
||||
const dictionary& dict
|
||||
)
|
||||
:
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -60,7 +60,7 @@ private:
|
||||
// Private data
|
||||
|
||||
//- Reference to the owner surface film model
|
||||
const surfaceFilmModel& owner_;
|
||||
surfaceFilmModel& owner_;
|
||||
|
||||
//- Dictionary
|
||||
dictionary dict_;
|
||||
@ -83,12 +83,12 @@ public:
|
||||
// Constructors
|
||||
|
||||
//- Construct null
|
||||
injectionModelList(const surfaceFilmModel& owner);
|
||||
injectionModelList(surfaceFilmModel& owner);
|
||||
|
||||
//- Construct from type name, dictionary and surface film model
|
||||
injectionModelList
|
||||
(
|
||||
const surfaceFilmModel& owner,
|
||||
surfaceFilmModel& owner,
|
||||
const dictionary& dict
|
||||
);
|
||||
|
||||
|
||||
@ -44,16 +44,16 @@ addToRunTimeSelectionTable(injectionModel, removeInjection, dictionary);
|
||||
|
||||
removeInjection::removeInjection
|
||||
(
|
||||
const surfaceFilmModel& owner,
|
||||
surfaceFilmModel& owner,
|
||||
const dictionary& dict
|
||||
)
|
||||
:
|
||||
injectionModel(type(), owner, dict),
|
||||
deltaStable_(coeffs_.lookupOrDefault<scalar>("deltaStable", 0.0)),
|
||||
deltaStable_(coeffDict_.lookupOrDefault<scalar>("deltaStable", 0.0)),
|
||||
mask_(owner.regionMesh().nCells(), -1)
|
||||
{
|
||||
wordReList patches;
|
||||
if (coeffs_.readIfPresent("patches", patches))
|
||||
if (coeffDict_.readIfPresent("patches", patches))
|
||||
{
|
||||
Info<< " applying to patches:" << nl;
|
||||
const polyBoundaryMesh& pbm = owner.regionMesh().boundaryMesh();
|
||||
|
||||
@ -84,7 +84,7 @@ public:
|
||||
// Constructors
|
||||
|
||||
//- Construct from surface film model
|
||||
removeInjection(const surfaceFilmModel& owner, const dictionary& dict);
|
||||
removeInjection(surfaceFilmModel& owner, const dictionary& dict);
|
||||
|
||||
|
||||
//- Destructor
|
||||
|
||||
@ -52,7 +52,7 @@ addToRunTimeSelectionTable
|
||||
|
||||
constantRadiation::constantRadiation
|
||||
(
|
||||
const surfaceFilmModel& owner,
|
||||
surfaceFilmModel& owner,
|
||||
const dictionary& dict
|
||||
)
|
||||
:
|
||||
@ -82,9 +82,9 @@ constantRadiation::constantRadiation
|
||||
owner.regionMesh(),
|
||||
dimensionedScalar("one", dimless, 1.0)
|
||||
),
|
||||
absorptivity_(readScalar(coeffs_.lookup("absorptivity"))),
|
||||
timeStart_(readScalar(coeffs_.lookup("timeStart"))),
|
||||
duration_(readScalar(coeffs_.lookup("duration")))
|
||||
absorptivity_(readScalar(coeffDict_.lookup("absorptivity"))),
|
||||
timeStart_(readScalar(coeffDict_.lookup("timeStart"))),
|
||||
duration_(readScalar(coeffDict_.lookup("duration")))
|
||||
{
|
||||
mask_ = pos(mask_);
|
||||
}
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2012 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2012-2013 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -98,7 +98,7 @@ public:
|
||||
//- Construct from surface film model and dictionary
|
||||
constantRadiation
|
||||
(
|
||||
const surfaceFilmModel& owner,
|
||||
surfaceFilmModel& owner,
|
||||
const dictionary& dict
|
||||
);
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -41,23 +41,20 @@ defineRunTimeSelectionTable(filmRadiationModel, dictionary);
|
||||
|
||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||
|
||||
filmRadiationModel::filmRadiationModel
|
||||
(
|
||||
const surfaceFilmModel& owner
|
||||
)
|
||||
filmRadiationModel::filmRadiationModel(surfaceFilmModel& owner)
|
||||
:
|
||||
subModelBase(owner)
|
||||
filmSubModelBase(owner)
|
||||
{}
|
||||
|
||||
|
||||
filmRadiationModel::filmRadiationModel
|
||||
(
|
||||
const word& type,
|
||||
const surfaceFilmModel& owner,
|
||||
const word& modelType,
|
||||
surfaceFilmModel& owner,
|
||||
const dictionary& dict
|
||||
)
|
||||
:
|
||||
subModelBase(type, owner, dict)
|
||||
filmSubModelBase(owner, dict, typeName, modelType)
|
||||
{}
|
||||
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -36,7 +36,7 @@ SourceFiles
|
||||
#ifndef filmRadiationModel_H
|
||||
#define filmRadiationModel_H
|
||||
|
||||
#include "subModelBase.H"
|
||||
#include "filmSubModelBase.H"
|
||||
#include "runTimeSelectionTables.H"
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
@ -54,7 +54,7 @@ namespace surfaceFilmModels
|
||||
|
||||
class filmRadiationModel
|
||||
:
|
||||
public subModelBase
|
||||
public filmSubModelBase
|
||||
{
|
||||
private:
|
||||
|
||||
@ -81,7 +81,7 @@ public:
|
||||
filmRadiationModel,
|
||||
dictionary,
|
||||
(
|
||||
const surfaceFilmModel& owner,
|
||||
surfaceFilmModel& owner,
|
||||
const dictionary& dict
|
||||
),
|
||||
(owner, dict)
|
||||
@ -90,13 +90,13 @@ public:
|
||||
// Constructors
|
||||
|
||||
//- Construct null
|
||||
filmRadiationModel(const surfaceFilmModel& owner);
|
||||
filmRadiationModel(surfaceFilmModel& owner);
|
||||
|
||||
//- Construct from type name, dictionary and surface film model
|
||||
filmRadiationModel
|
||||
(
|
||||
const word& type,
|
||||
const surfaceFilmModel& owner,
|
||||
const word& modelType,
|
||||
surfaceFilmModel& owner,
|
||||
const dictionary& dict
|
||||
);
|
||||
|
||||
@ -106,7 +106,7 @@ public:
|
||||
//- Return a reference to the selected phase change model
|
||||
static autoPtr<filmRadiationModel> New
|
||||
(
|
||||
const surfaceFilmModel& owner,
|
||||
surfaceFilmModel& owner,
|
||||
const dictionary& dict
|
||||
);
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -38,7 +38,7 @@ namespace surfaceFilmModels
|
||||
|
||||
autoPtr<filmRadiationModel> filmRadiationModel::New
|
||||
(
|
||||
const surfaceFilmModel& model,
|
||||
surfaceFilmModel& model,
|
||||
const dictionary& dict
|
||||
)
|
||||
{
|
||||
@ -55,7 +55,7 @@ autoPtr<filmRadiationModel> filmRadiationModel::New
|
||||
(
|
||||
"filmRadiationModel::New"
|
||||
"("
|
||||
"const surfaceFilmModel&, "
|
||||
"surfaceFilmModel&, "
|
||||
"const dictionary&"
|
||||
")"
|
||||
) << "Unknown radiationModel type " << modelType << nl << nl
|
||||
|
||||
@ -52,7 +52,7 @@ addToRunTimeSelectionTable
|
||||
|
||||
noRadiation::noRadiation
|
||||
(
|
||||
const surfaceFilmModel& owner,
|
||||
surfaceFilmModel& owner,
|
||||
const dictionary& dict
|
||||
)
|
||||
:
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -77,7 +77,7 @@ public:
|
||||
//- Construct from surface film model and dictionary
|
||||
noRadiation
|
||||
(
|
||||
const surfaceFilmModel& owner,
|
||||
surfaceFilmModel& owner,
|
||||
const dictionary& dict
|
||||
);
|
||||
|
||||
|
||||
@ -52,7 +52,7 @@ addToRunTimeSelectionTable
|
||||
|
||||
primaryRadiation::primaryRadiation
|
||||
(
|
||||
const surfaceFilmModel& owner,
|
||||
surfaceFilmModel& owner,
|
||||
const dictionary& dict
|
||||
)
|
||||
:
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2012 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2012-2013 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -84,7 +84,7 @@ public:
|
||||
//- Construct from surface film model and dictionary
|
||||
primaryRadiation
|
||||
(
|
||||
const surfaceFilmModel& owner,
|
||||
surfaceFilmModel& owner,
|
||||
const dictionary& dict
|
||||
);
|
||||
|
||||
|
||||
@ -52,7 +52,7 @@ addToRunTimeSelectionTable
|
||||
|
||||
standardRadiation::standardRadiation
|
||||
(
|
||||
const surfaceFilmModel& owner,
|
||||
surfaceFilmModel& owner,
|
||||
const dictionary& dict
|
||||
)
|
||||
:
|
||||
@ -85,8 +85,8 @@ standardRadiation::standardRadiation
|
||||
dimensionedScalar("zero", dimMass/pow3(dimTime), 0.0),
|
||||
zeroGradientFvPatchScalarField::typeName
|
||||
),
|
||||
beta_(readScalar(coeffs_.lookup("beta"))),
|
||||
kappaBar_(readScalar(coeffs_.lookup("kappaBar")))
|
||||
beta_(readScalar(coeffDict_.lookup("beta"))),
|
||||
kappaBar_(readScalar(coeffDict_.lookup("kappaBar")))
|
||||
{}
|
||||
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -95,7 +95,7 @@ public:
|
||||
//- Construct from surface film model and dictionary
|
||||
standardRadiation
|
||||
(
|
||||
const surfaceFilmModel& owner,
|
||||
surfaceFilmModel& owner,
|
||||
const dictionary& dict
|
||||
);
|
||||
|
||||
|
||||
@ -50,13 +50,13 @@ addToRunTimeSelectionTable
|
||||
|
||||
constantViscosity::constantViscosity
|
||||
(
|
||||
const surfaceFilmModel& owner,
|
||||
surfaceFilmModel& owner,
|
||||
const dictionary& dict,
|
||||
volScalarField& mu
|
||||
)
|
||||
:
|
||||
filmViscosityModel(typeName, owner, dict, mu),
|
||||
mu0_(readScalar(coeffs().lookup("mu0")))
|
||||
mu0_(readScalar(coeffDict_.lookup("mu0")))
|
||||
{
|
||||
mu_.internalField() = mu0_;
|
||||
mu_.correctBoundaryConditions();
|
||||
|
||||
@ -85,7 +85,7 @@ public:
|
||||
//- Construct from surface film model
|
||||
constantViscosity
|
||||
(
|
||||
const surfaceFilmModel& owner,
|
||||
surfaceFilmModel& owner,
|
||||
const dictionary& dict,
|
||||
volScalarField& mu
|
||||
);
|
||||
|
||||
@ -43,13 +43,13 @@ defineRunTimeSelectionTable(filmViscosityModel, dictionary);
|
||||
|
||||
filmViscosityModel::filmViscosityModel
|
||||
(
|
||||
const word& type,
|
||||
const surfaceFilmModel& owner,
|
||||
const word& modelType,
|
||||
surfaceFilmModel& owner,
|
||||
const dictionary& dict,
|
||||
volScalarField& mu
|
||||
)
|
||||
:
|
||||
subModelBase(type, owner, dict),
|
||||
filmSubModelBase(owner, dict, typeName, modelType),
|
||||
mu_(mu)
|
||||
{}
|
||||
|
||||
|
||||
@ -36,7 +36,7 @@ SourceFiles
|
||||
#ifndef filmViscosityModel_H
|
||||
#define filmViscosityModel_H
|
||||
|
||||
#include "subModelBase.H"
|
||||
#include "filmSubModelBase.H"
|
||||
#include "runTimeSelectionTables.H"
|
||||
#include "scalarField.H"
|
||||
|
||||
@ -55,7 +55,7 @@ namespace surfaceFilmModels
|
||||
|
||||
class filmViscosityModel
|
||||
:
|
||||
public subModelBase
|
||||
public filmSubModelBase
|
||||
{
|
||||
private:
|
||||
|
||||
@ -90,7 +90,7 @@ public:
|
||||
filmViscosityModel,
|
||||
dictionary,
|
||||
(
|
||||
const surfaceFilmModel& owner,
|
||||
surfaceFilmModel& owner,
|
||||
const dictionary& dict,
|
||||
volScalarField& mu
|
||||
),
|
||||
@ -102,8 +102,8 @@ public:
|
||||
//- Construct from type name, dictionary and surface film model
|
||||
filmViscosityModel
|
||||
(
|
||||
const word& type,
|
||||
const surfaceFilmModel& owner,
|
||||
const word& modelType,
|
||||
surfaceFilmModel& owner,
|
||||
const dictionary& dict,
|
||||
volScalarField& mu
|
||||
);
|
||||
@ -114,7 +114,7 @@ public:
|
||||
//- Return a reference to the selected phase change model
|
||||
static autoPtr<filmViscosityModel> New
|
||||
(
|
||||
const surfaceFilmModel& owner,
|
||||
surfaceFilmModel& owner,
|
||||
const dictionary& dict,
|
||||
volScalarField& mu
|
||||
);
|
||||
|
||||
@ -38,7 +38,7 @@ namespace surfaceFilmModels
|
||||
|
||||
autoPtr<filmViscosityModel> filmViscosityModel::New
|
||||
(
|
||||
const surfaceFilmModel& model,
|
||||
surfaceFilmModel& model,
|
||||
const dictionary& dict,
|
||||
volScalarField& mu
|
||||
)
|
||||
@ -56,7 +56,7 @@ autoPtr<filmViscosityModel> filmViscosityModel::New
|
||||
(
|
||||
"filmViscosityModel::New"
|
||||
"("
|
||||
"const surfaceFilmModel&, "
|
||||
"surfaceFilmModel&, "
|
||||
"const dictionary&, "
|
||||
"volScalarField&"
|
||||
")"
|
||||
|
||||
@ -51,7 +51,7 @@ addToRunTimeSelectionTable
|
||||
|
||||
liquidViscosity::liquidViscosity
|
||||
(
|
||||
const surfaceFilmModel& owner,
|
||||
surfaceFilmModel& owner,
|
||||
const dictionary& dict,
|
||||
volScalarField& mu
|
||||
)
|
||||
|
||||
@ -82,7 +82,7 @@ public:
|
||||
//- Construct from surface film model
|
||||
liquidViscosity
|
||||
(
|
||||
const surfaceFilmModel& owner,
|
||||
surfaceFilmModel& owner,
|
||||
const dictionary& dict,
|
||||
volScalarField& mu
|
||||
);
|
||||
|
||||
@ -85,18 +85,18 @@ void thixotropicViscosity::updateMu()
|
||||
|
||||
thixotropicViscosity::thixotropicViscosity
|
||||
(
|
||||
const surfaceFilmModel& owner,
|
||||
surfaceFilmModel& owner,
|
||||
const dictionary& dict,
|
||||
volScalarField& mu
|
||||
)
|
||||
:
|
||||
filmViscosityModel(typeName, owner, dict, mu),
|
||||
a_(coeffs().lookup("a")),
|
||||
b_(coeffs().lookup("b")),
|
||||
c_(coeffs().lookup("c")),
|
||||
d_(coeffs().lookup("d")),
|
||||
mu0_(coeffs().lookup("mu0")),
|
||||
muInf_(coeffs().lookup("muInf")),
|
||||
a_(coeffDict_.lookup("a")),
|
||||
b_(coeffDict_.lookup("b")),
|
||||
c_(coeffDict_.lookup("c")),
|
||||
d_(coeffDict_.lookup("d")),
|
||||
mu0_(coeffDict_.lookup("mu0")),
|
||||
muInf_(coeffDict_.lookup("muInf")),
|
||||
K_(1.0 - Foam::sqrt(muInf_/mu0_)),
|
||||
lambda_
|
||||
(
|
||||
|
||||
@ -169,7 +169,7 @@ public:
|
||||
//- Construct from surface film model
|
||||
thixotropicViscosity
|
||||
(
|
||||
const surfaceFilmModel& owner,
|
||||
surfaceFilmModel& owner,
|
||||
const dictionary& dict,
|
||||
volScalarField& mu
|
||||
);
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -52,12 +52,12 @@ addToRunTimeSelectionTable
|
||||
|
||||
constantHeatTransfer::constantHeatTransfer
|
||||
(
|
||||
const surfaceFilmModel& owner,
|
||||
surfaceFilmModel& owner,
|
||||
const dictionary& dict
|
||||
)
|
||||
:
|
||||
heatTransferModel(typeName, owner, dict),
|
||||
c0_(readScalar(coeffs_.lookup("c0")))
|
||||
c0_(readScalar(coeffDict_.lookup("c0")))
|
||||
{}
|
||||
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -83,7 +83,7 @@ public:
|
||||
//- Construct from surface film model and dictionary
|
||||
constantHeatTransfer
|
||||
(
|
||||
const surfaceFilmModel& owner,
|
||||
surfaceFilmModel& owner,
|
||||
const dictionary& dict
|
||||
);
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -43,21 +43,21 @@ defineRunTimeSelectionTable(heatTransferModel, dictionary);
|
||||
|
||||
heatTransferModel::heatTransferModel
|
||||
(
|
||||
const surfaceFilmModel& owner
|
||||
surfaceFilmModel& owner
|
||||
)
|
||||
:
|
||||
subModelBase(owner)
|
||||
filmSubModelBase(owner)
|
||||
{}
|
||||
|
||||
|
||||
heatTransferModel::heatTransferModel
|
||||
(
|
||||
const word& type,
|
||||
const surfaceFilmModel& owner,
|
||||
const word& modelType,
|
||||
surfaceFilmModel& owner,
|
||||
const dictionary& dict
|
||||
)
|
||||
:
|
||||
subModelBase(type, owner, dict)
|
||||
filmSubModelBase(owner, dict, typeName, modelType)
|
||||
{}
|
||||
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -36,7 +36,7 @@ SourceFiles
|
||||
#ifndef heatTransferModel_H
|
||||
#define heatTransferModel_H
|
||||
|
||||
#include "subModelBase.H"
|
||||
#include "filmSubModelBase.H"
|
||||
#include "runTimeSelectionTables.H"
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
@ -54,7 +54,7 @@ namespace surfaceFilmModels
|
||||
|
||||
class heatTransferModel
|
||||
:
|
||||
public subModelBase
|
||||
public filmSubModelBase
|
||||
{
|
||||
private:
|
||||
|
||||
@ -81,7 +81,7 @@ public:
|
||||
heatTransferModel,
|
||||
dictionary,
|
||||
(
|
||||
const surfaceFilmModel& owner,
|
||||
surfaceFilmModel& owner,
|
||||
const dictionary& dict
|
||||
),
|
||||
(owner, dict)
|
||||
@ -90,13 +90,13 @@ public:
|
||||
// Constructors
|
||||
|
||||
//- Construct null
|
||||
heatTransferModel(const surfaceFilmModel& owner);
|
||||
heatTransferModel(surfaceFilmModel& owner);
|
||||
|
||||
//- Construct from type name, dictionary and surface film model
|
||||
heatTransferModel
|
||||
(
|
||||
const word& type,
|
||||
const surfaceFilmModel& owner,
|
||||
const word& modelType,
|
||||
surfaceFilmModel& owner,
|
||||
const dictionary& dict
|
||||
);
|
||||
|
||||
@ -106,7 +106,7 @@ public:
|
||||
//- Return a reference to the selected phase change model
|
||||
static autoPtr<heatTransferModel> New
|
||||
(
|
||||
const surfaceFilmModel& owner,
|
||||
surfaceFilmModel& owner,
|
||||
const dictionary& dict
|
||||
);
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -38,7 +38,7 @@ namespace surfaceFilmModels
|
||||
|
||||
autoPtr<heatTransferModel> heatTransferModel::New
|
||||
(
|
||||
const surfaceFilmModel& model,
|
||||
surfaceFilmModel& model,
|
||||
const dictionary& dict
|
||||
)
|
||||
{
|
||||
@ -53,7 +53,7 @@ autoPtr<heatTransferModel> heatTransferModel::New
|
||||
{
|
||||
FatalErrorIn
|
||||
(
|
||||
"heatTransferModel::New(const surfaceFilmModel&, const dictionary&)"
|
||||
"heatTransferModel::New(surfaceFilmModel&, const dictionary&)"
|
||||
) << "Unknown heatTransferModel type " << modelType << nl << nl
|
||||
<< "Valid heatTransferModel types are:" << nl
|
||||
<< dictionaryConstructorTablePtr_->toc()
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -52,7 +52,7 @@ addToRunTimeSelectionTable
|
||||
|
||||
mappedConvectiveHeatTransfer::mappedConvectiveHeatTransfer
|
||||
(
|
||||
const surfaceFilmModel& owner,
|
||||
surfaceFilmModel& owner,
|
||||
const dictionary& dict
|
||||
)
|
||||
:
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -89,7 +89,7 @@ public:
|
||||
//- Construct from surface film model and dictionary
|
||||
mappedConvectiveHeatTransfer
|
||||
(
|
||||
const surfaceFilmModel& owner,
|
||||
surfaceFilmModel& owner,
|
||||
const dictionary& dict
|
||||
);
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -44,7 +44,7 @@ addToRunTimeSelectionTable(phaseChangeModel, noPhaseChange, dictionary);
|
||||
|
||||
noPhaseChange::noPhaseChange
|
||||
(
|
||||
const surfaceFilmModel& owner,
|
||||
surfaceFilmModel& owner,
|
||||
const dictionary&
|
||||
)
|
||||
:
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -74,7 +74,7 @@ public:
|
||||
// Constructors
|
||||
|
||||
//- Construct from surface film model
|
||||
noPhaseChange(const surfaceFilmModel& owner, const dictionary& dict);
|
||||
noPhaseChange(surfaceFilmModel& owner, const dictionary& dict);
|
||||
|
||||
|
||||
//- Destructor
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -43,10 +43,10 @@ defineRunTimeSelectionTable(phaseChangeModel, dictionary);
|
||||
|
||||
phaseChangeModel::phaseChangeModel
|
||||
(
|
||||
const surfaceFilmModel& owner
|
||||
surfaceFilmModel& owner
|
||||
)
|
||||
:
|
||||
subModelBase(owner),
|
||||
filmSubModelBase(owner),
|
||||
latestMassPC_(0.0),
|
||||
totalMassPC_(0.0)
|
||||
{}
|
||||
@ -54,12 +54,12 @@ phaseChangeModel::phaseChangeModel
|
||||
|
||||
phaseChangeModel::phaseChangeModel
|
||||
(
|
||||
const word& type,
|
||||
const surfaceFilmModel& owner,
|
||||
const word& modelType,
|
||||
surfaceFilmModel& owner,
|
||||
const dictionary& dict
|
||||
)
|
||||
:
|
||||
subModelBase(type, owner, dict),
|
||||
filmSubModelBase(owner, dict, typeName, modelType),
|
||||
latestMassPC_(0.0),
|
||||
totalMassPC_(0.0)
|
||||
{}
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -36,7 +36,7 @@ SourceFiles
|
||||
#ifndef phaseChangeModel_H
|
||||
#define phaseChangeModel_H
|
||||
|
||||
#include "subModelBase.H"
|
||||
#include "filmSubModelBase.H"
|
||||
#include "runTimeSelectionTables.H"
|
||||
#include "scalarField.H"
|
||||
|
||||
@ -55,7 +55,7 @@ namespace surfaceFilmModels
|
||||
|
||||
class phaseChangeModel
|
||||
:
|
||||
public subModelBase
|
||||
public filmSubModelBase
|
||||
{
|
||||
private:
|
||||
|
||||
@ -93,7 +93,7 @@ public:
|
||||
phaseChangeModel,
|
||||
dictionary,
|
||||
(
|
||||
const surfaceFilmModel& owner,
|
||||
surfaceFilmModel& owner,
|
||||
const dictionary& dict
|
||||
),
|
||||
(owner, dict)
|
||||
@ -102,13 +102,13 @@ public:
|
||||
// Constructors
|
||||
|
||||
//- Construct null
|
||||
phaseChangeModel(const surfaceFilmModel& owner);
|
||||
phaseChangeModel(surfaceFilmModel& owner);
|
||||
|
||||
//- Construct from type name, dictionary and surface film model
|
||||
phaseChangeModel
|
||||
(
|
||||
const word& type,
|
||||
const surfaceFilmModel& owner,
|
||||
const word& modelType,
|
||||
surfaceFilmModel& owner,
|
||||
const dictionary& dict
|
||||
);
|
||||
|
||||
@ -118,7 +118,7 @@ public:
|
||||
//- Return a reference to the selected phase change model
|
||||
static autoPtr<phaseChangeModel> New
|
||||
(
|
||||
const surfaceFilmModel& owner,
|
||||
surfaceFilmModel& owner,
|
||||
const dictionary& dict
|
||||
);
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -38,7 +38,7 @@ namespace surfaceFilmModels
|
||||
|
||||
autoPtr<phaseChangeModel> phaseChangeModel::New
|
||||
(
|
||||
const surfaceFilmModel& model,
|
||||
surfaceFilmModel& model,
|
||||
const dictionary& dict
|
||||
)
|
||||
{
|
||||
@ -53,7 +53,7 @@ autoPtr<phaseChangeModel> phaseChangeModel::New
|
||||
{
|
||||
FatalErrorIn
|
||||
(
|
||||
"phaseChangeModel::New(const surfaceFilmModel&, const dictionary&)"
|
||||
"phaseChangeModel::New(surfaceFilmModel&, const dictionary&)"
|
||||
) << "Unknown phaseChangeModel type " << modelType
|
||||
<< nl << nl << "Valid phaseChangeModel types are:" << nl
|
||||
<< dictionaryConstructorTablePtr_->toc()
|
||||
|
||||
@ -51,14 +51,14 @@ addToRunTimeSelectionTable
|
||||
|
||||
solidification::solidification
|
||||
(
|
||||
const surfaceFilmModel& owner,
|
||||
surfaceFilmModel& owner,
|
||||
const dictionary& dict
|
||||
)
|
||||
:
|
||||
phaseChangeModel(typeName, owner, dict),
|
||||
T0_(readScalar(coeffs_.lookup("T0"))),
|
||||
L_(readScalar(coeffs_.lookup("L"))),
|
||||
alpha_(readScalar(coeffs_.lookup("alpha"))),
|
||||
T0_(readScalar(coeffDict_.lookup("T0"))),
|
||||
L_(readScalar(coeffDict_.lookup("L"))),
|
||||
alpha_(readScalar(coeffDict_.lookup("alpha"))),
|
||||
mass_
|
||||
(
|
||||
IOobject
|
||||
|
||||
@ -95,7 +95,7 @@ public:
|
||||
// Constructors
|
||||
|
||||
//- Construct from surface film model
|
||||
solidification(const surfaceFilmModel& owner, const dictionary& dict);
|
||||
solidification(surfaceFilmModel& owner, const dictionary& dict);
|
||||
|
||||
|
||||
//- Destructor
|
||||
|
||||
@ -70,14 +70,14 @@ scalar standardPhaseChange::Sh
|
||||
|
||||
standardPhaseChange::standardPhaseChange
|
||||
(
|
||||
const surfaceFilmModel& owner,
|
||||
surfaceFilmModel& owner,
|
||||
const dictionary& dict
|
||||
)
|
||||
:
|
||||
phaseChangeModel(typeName, owner, dict),
|
||||
deltaMin_(readScalar(coeffs_.lookup("deltaMin"))),
|
||||
L_(readScalar(coeffs_.lookup("L"))),
|
||||
TbFactor_(coeffs_.lookupOrDefault<scalar>("TbFactor", 1.1))
|
||||
deltaMin_(readScalar(coeffDict_.lookup("deltaMin"))),
|
||||
L_(readScalar(coeffDict_.lookup("L"))),
|
||||
TbFactor_(coeffDict_.lookupOrDefault<scalar>("TbFactor", 1.1))
|
||||
{}
|
||||
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -97,7 +97,7 @@ public:
|
||||
//- Construct from surface film model
|
||||
standardPhaseChange
|
||||
(
|
||||
const surfaceFilmModel& owner,
|
||||
surfaceFilmModel& owner,
|
||||
const dictionary& dict
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user