mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Updated cloud sub-models to use new base class
This commit is contained in:
@ -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
|
||||
@ -30,7 +30,7 @@ License
|
||||
template<class CloudType>
|
||||
Foam::CollisionModel<CloudType>::CollisionModel(CloudType& owner)
|
||||
:
|
||||
SubModelBase<CloudType>(owner)
|
||||
CloudSubModelBase<CloudType>(owner)
|
||||
{}
|
||||
|
||||
|
||||
@ -42,14 +42,14 @@ Foam::CollisionModel<CloudType>::CollisionModel
|
||||
const word& type
|
||||
)
|
||||
:
|
||||
SubModelBase<CloudType>(owner, dict, typeName, type)
|
||||
CloudSubModelBase<CloudType>(owner, dict, typeName, type)
|
||||
{}
|
||||
|
||||
|
||||
template<class CloudType>
|
||||
Foam::CollisionModel<CloudType>::CollisionModel(CollisionModel<CloudType>& cm)
|
||||
:
|
||||
SubModelBase<CloudType>(cm)
|
||||
CloudSubModelBase<CloudType>(cm)
|
||||
{}
|
||||
|
||||
|
||||
|
||||
@ -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
|
||||
@ -39,7 +39,7 @@ SourceFiles
|
||||
#include "IOdictionary.H"
|
||||
#include "autoPtr.H"
|
||||
#include "runTimeSelectionTables.H"
|
||||
#include "SubModelBase.H"
|
||||
#include "CloudSubModelBase.H"
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -53,7 +53,7 @@ namespace Foam
|
||||
template<class CloudType>
|
||||
class CollisionModel
|
||||
:
|
||||
public SubModelBase<CloudType>
|
||||
public CloudSubModelBase<CloudType>
|
||||
{
|
||||
// Protected data
|
||||
|
||||
|
||||
@ -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
|
||||
@ -30,7 +30,7 @@ License
|
||||
template<class CloudType>
|
||||
Foam::DispersionModel<CloudType>::DispersionModel(CloudType& owner)
|
||||
:
|
||||
SubModelBase<CloudType>(owner)
|
||||
CloudSubModelBase<CloudType>(owner)
|
||||
{}
|
||||
|
||||
|
||||
@ -42,7 +42,7 @@ Foam::DispersionModel<CloudType>::DispersionModel
|
||||
const word& type
|
||||
)
|
||||
:
|
||||
SubModelBase<CloudType>(owner, dict, typeName, type)
|
||||
CloudSubModelBase<CloudType>(owner, dict, typeName, type)
|
||||
{}
|
||||
|
||||
|
||||
@ -52,7 +52,7 @@ Foam::DispersionModel<CloudType>::DispersionModel
|
||||
DispersionModel<CloudType>& dm
|
||||
)
|
||||
:
|
||||
SubModelBase<CloudType>(dm)
|
||||
CloudSubModelBase<CloudType>(dm)
|
||||
{}
|
||||
|
||||
|
||||
|
||||
@ -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
|
||||
@ -34,7 +34,7 @@ Description
|
||||
#include "IOdictionary.H"
|
||||
#include "autoPtr.H"
|
||||
#include "runTimeSelectionTables.H"
|
||||
#include "SubModelBase.H"
|
||||
#include "CloudSubModelBase.H"
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -48,7 +48,7 @@ namespace Foam
|
||||
template<class CloudType>
|
||||
class DispersionModel
|
||||
:
|
||||
public SubModelBase<CloudType>
|
||||
public CloudSubModelBase<CloudType>
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
@ -282,7 +282,7 @@ void Foam::InjectionModel<CloudType>::postInjectCheck
|
||||
template<class CloudType>
|
||||
Foam::InjectionModel<CloudType>::InjectionModel(CloudType& owner)
|
||||
:
|
||||
SubModelBase<CloudType>(owner),
|
||||
CloudSubModelBase<CloudType>(owner),
|
||||
SOI_(0.0),
|
||||
volumeTotal_(0.0),
|
||||
massTotal_(0.0),
|
||||
@ -310,7 +310,7 @@ Foam::InjectionModel<CloudType>::InjectionModel
|
||||
const word& modelType
|
||||
)
|
||||
:
|
||||
SubModelBase<CloudType>(modelName, owner, dict, typeName, modelType),
|
||||
CloudSubModelBase<CloudType>(modelName, owner, dict, typeName, modelType),
|
||||
SOI_(0.0),
|
||||
volumeTotal_(0.0),
|
||||
massTotal_(0.0),
|
||||
@ -387,7 +387,7 @@ Foam::InjectionModel<CloudType>::InjectionModel
|
||||
const InjectionModel<CloudType>& im
|
||||
)
|
||||
:
|
||||
SubModelBase<CloudType>(im),
|
||||
CloudSubModelBase<CloudType>(im),
|
||||
SOI_(im.SOI_),
|
||||
volumeTotal_(im.volumeTotal_),
|
||||
massTotal_(im.massTotal_),
|
||||
|
||||
@ -51,7 +51,7 @@ SourceFiles
|
||||
#include "IOdictionary.H"
|
||||
#include "autoPtr.H"
|
||||
#include "runTimeSelectionTables.H"
|
||||
#include "SubModelBase.H"
|
||||
#include "CloudSubModelBase.H"
|
||||
#include "vector.H"
|
||||
#include "TimeDataEntry.H"
|
||||
|
||||
@ -67,7 +67,7 @@ namespace Foam
|
||||
template<class CloudType>
|
||||
class InjectionModel
|
||||
:
|
||||
public SubModelBase<CloudType>
|
||||
public CloudSubModelBase<CloudType>
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
@ -109,7 +109,7 @@ Foam::PatchInteractionModel<CloudType>::PatchInteractionModel
|
||||
CloudType& owner
|
||||
)
|
||||
:
|
||||
SubModelBase<CloudType>(owner),
|
||||
CloudSubModelBase<CloudType>(owner),
|
||||
UName_("unknown_UName")
|
||||
{}
|
||||
|
||||
@ -122,7 +122,7 @@ Foam::PatchInteractionModel<CloudType>::PatchInteractionModel
|
||||
const word& type
|
||||
)
|
||||
:
|
||||
SubModelBase<CloudType>(owner, dict, typeName, type),
|
||||
CloudSubModelBase<CloudType>(owner, dict, typeName, type),
|
||||
UName_(this->coeffDict().lookupOrDefault("UName", word("U")))
|
||||
{}
|
||||
|
||||
@ -133,7 +133,7 @@ Foam::PatchInteractionModel<CloudType>::PatchInteractionModel
|
||||
const PatchInteractionModel<CloudType>& pim
|
||||
)
|
||||
:
|
||||
SubModelBase<CloudType>(pim),
|
||||
CloudSubModelBase<CloudType>(pim),
|
||||
UName_(pim.UName_)
|
||||
{}
|
||||
|
||||
|
||||
@ -42,7 +42,7 @@ SourceFiles
|
||||
#include "polyPatch.H"
|
||||
#include "wallPolyPatch.H"
|
||||
#include "tetIndices.H"
|
||||
#include "SubModelBase.H"
|
||||
#include "CloudSubModelBase.H"
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -56,7 +56,7 @@ namespace Foam
|
||||
template<class CloudType>
|
||||
class PatchInteractionModel
|
||||
:
|
||||
public SubModelBase<CloudType>
|
||||
public CloudSubModelBase<CloudType>
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
@ -45,7 +45,7 @@ Foam::StochasticCollisionModel<CloudType>::StochasticCollisionModel
|
||||
CloudType& owner
|
||||
)
|
||||
:
|
||||
SubModelBase<CloudType>(owner)
|
||||
CloudSubModelBase<CloudType>(owner)
|
||||
{}
|
||||
|
||||
|
||||
@ -55,7 +55,7 @@ Foam::StochasticCollisionModel<CloudType>::StochasticCollisionModel
|
||||
const StochasticCollisionModel<CloudType>& cm
|
||||
)
|
||||
:
|
||||
SubModelBase<CloudType>(cm)
|
||||
CloudSubModelBase<CloudType>(cm)
|
||||
{}
|
||||
|
||||
|
||||
@ -67,7 +67,7 @@ Foam::StochasticCollisionModel<CloudType>::StochasticCollisionModel
|
||||
const word& type
|
||||
)
|
||||
:
|
||||
SubModelBase<CloudType>(owner, dict, typeName, type)
|
||||
CloudSubModelBase<CloudType>(owner, dict, typeName, type)
|
||||
{}
|
||||
|
||||
|
||||
|
||||
@ -39,7 +39,7 @@ SourceFiles
|
||||
#include "IOdictionary.H"
|
||||
#include "autoPtr.H"
|
||||
#include "runTimeSelectionTables.H"
|
||||
#include "SubModelBase.H"
|
||||
#include "CloudSubModelBase.H"
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -53,7 +53,7 @@ namespace Foam
|
||||
template<class CloudType>
|
||||
class StochasticCollisionModel
|
||||
:
|
||||
public SubModelBase<CloudType>
|
||||
public CloudSubModelBase<CloudType>
|
||||
{
|
||||
protected:
|
||||
|
||||
|
||||
@ -35,7 +35,7 @@ using namespace Foam::constant;
|
||||
template<class CloudType>
|
||||
Foam::SurfaceFilmModel<CloudType>::SurfaceFilmModel(CloudType& owner)
|
||||
:
|
||||
SubModelBase<CloudType>(owner),
|
||||
CloudSubModelBase<CloudType>(owner),
|
||||
g_(owner.g()),
|
||||
ejectedParcelType_(0),
|
||||
massParcelPatch_(0),
|
||||
@ -56,7 +56,7 @@ Foam::SurfaceFilmModel<CloudType>::SurfaceFilmModel
|
||||
const word& type
|
||||
)
|
||||
:
|
||||
SubModelBase<CloudType>(owner, dict, typeName, type),
|
||||
CloudSubModelBase<CloudType>(owner, dict, typeName, type),
|
||||
g_(owner.g()),
|
||||
ejectedParcelType_
|
||||
(
|
||||
@ -78,7 +78,7 @@ Foam::SurfaceFilmModel<CloudType>::SurfaceFilmModel
|
||||
const SurfaceFilmModel<CloudType>& sfm
|
||||
)
|
||||
:
|
||||
SubModelBase<CloudType>(sfm),
|
||||
CloudSubModelBase<CloudType>(sfm),
|
||||
g_(sfm.g_),
|
||||
ejectedParcelType_(sfm.ejectedParcelType_),
|
||||
massParcelPatch_(sfm.massParcelPatch_),
|
||||
|
||||
@ -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
|
||||
@ -39,7 +39,7 @@ SourceFiles
|
||||
#include "IOdictionary.H"
|
||||
#include "autoPtr.H"
|
||||
#include "runTimeSelectionTables.H"
|
||||
#include "SubModelBase.H"
|
||||
#include "CloudSubModelBase.H"
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -64,7 +64,7 @@ class mappedPatchBase;
|
||||
template<class CloudType>
|
||||
class SurfaceFilmModel
|
||||
:
|
||||
public SubModelBase<CloudType>
|
||||
public CloudSubModelBase<CloudType>
|
||||
{
|
||||
protected:
|
||||
|
||||
|
||||
@ -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
|
||||
@ -30,7 +30,7 @@ License
|
||||
template<class CloudType>
|
||||
Foam::CompositionModel<CloudType>::CompositionModel(CloudType& owner)
|
||||
:
|
||||
SubModelBase<CloudType>(owner),
|
||||
CloudSubModelBase<CloudType>(owner),
|
||||
thermo_(owner.thermo()),
|
||||
phaseProps_()
|
||||
{}
|
||||
@ -44,7 +44,7 @@ Foam::CompositionModel<CloudType>::CompositionModel
|
||||
const word& type
|
||||
)
|
||||
:
|
||||
SubModelBase<CloudType>(owner, dict, typeName, type),
|
||||
CloudSubModelBase<CloudType>(owner, dict, typeName, type),
|
||||
thermo_(owner.thermo()),
|
||||
phaseProps_
|
||||
(
|
||||
@ -62,7 +62,7 @@ Foam::CompositionModel<CloudType>::CompositionModel
|
||||
const CompositionModel<CloudType>& cm
|
||||
)
|
||||
:
|
||||
SubModelBase<CloudType>(cm),
|
||||
CloudSubModelBase<CloudType>(cm),
|
||||
thermo_(cm.thermo_),
|
||||
phaseProps_(cm.phaseProps_)
|
||||
{}
|
||||
|
||||
@ -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
|
||||
@ -38,7 +38,7 @@ SourceFiles
|
||||
#ifndef CompositionModel_H
|
||||
#define CompositionModel_H
|
||||
|
||||
#include "SubModelBase.H"
|
||||
#include "CloudSubModelBase.H"
|
||||
#include "IOdictionary.H"
|
||||
#include "autoPtr.H"
|
||||
#include "runTimeSelectionTables.H"
|
||||
@ -60,7 +60,7 @@ namespace Foam
|
||||
template<class CloudType>
|
||||
class CompositionModel
|
||||
:
|
||||
public SubModelBase<CloudType>
|
||||
public CloudSubModelBase<CloudType>
|
||||
{
|
||||
// Private data
|
||||
//- Reference to the thermo database
|
||||
|
||||
@ -75,7 +75,7 @@ Foam::PhaseChangeModel<CloudType>::PhaseChangeModel
|
||||
CloudType& owner
|
||||
)
|
||||
:
|
||||
SubModelBase<CloudType>(owner),
|
||||
CloudSubModelBase<CloudType>(owner),
|
||||
enthalpyTransfer_(etLatentHeat),
|
||||
dMass_(0.0)
|
||||
{}
|
||||
@ -87,7 +87,7 @@ Foam::PhaseChangeModel<CloudType>::PhaseChangeModel
|
||||
const PhaseChangeModel<CloudType>& pcm
|
||||
)
|
||||
:
|
||||
SubModelBase<CloudType>(pcm),
|
||||
CloudSubModelBase<CloudType>(pcm),
|
||||
enthalpyTransfer_(pcm.enthalpyTransfer_),
|
||||
dMass_(pcm.dMass_)
|
||||
{}
|
||||
@ -101,7 +101,7 @@ Foam::PhaseChangeModel<CloudType>::PhaseChangeModel
|
||||
const word& type
|
||||
)
|
||||
:
|
||||
SubModelBase<CloudType>(owner, dict, typeName, type),
|
||||
CloudSubModelBase<CloudType>(owner, dict, typeName, type),
|
||||
enthalpyTransfer_
|
||||
(
|
||||
wordToEnthalpyTransfer(this->coeffDict().lookup("enthalpyTransfer"))
|
||||
|
||||
@ -39,7 +39,7 @@ SourceFiles
|
||||
#include "IOdictionary.H"
|
||||
#include "autoPtr.H"
|
||||
#include "runTimeSelectionTables.H"
|
||||
#include "SubModelBase.H"
|
||||
#include "CloudSubModelBase.H"
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -53,7 +53,7 @@ namespace Foam
|
||||
template<class CloudType>
|
||||
class PhaseChangeModel
|
||||
:
|
||||
public SubModelBase<CloudType>
|
||||
public CloudSubModelBase<CloudType>
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
@ -33,7 +33,7 @@ Foam::DevolatilisationModel<CloudType>::DevolatilisationModel
|
||||
CloudType& owner
|
||||
)
|
||||
:
|
||||
SubModelBase<CloudType>(owner),
|
||||
CloudSubModelBase<CloudType>(owner),
|
||||
dMass_(0.0)
|
||||
{}
|
||||
|
||||
@ -46,7 +46,7 @@ Foam::DevolatilisationModel<CloudType>::DevolatilisationModel
|
||||
const word& type
|
||||
)
|
||||
:
|
||||
SubModelBase<CloudType>(owner, dict, typeName, type),
|
||||
CloudSubModelBase<CloudType>(owner, dict, typeName, type),
|
||||
dMass_(0.0)
|
||||
{}
|
||||
|
||||
@ -57,7 +57,7 @@ Foam::DevolatilisationModel<CloudType>::DevolatilisationModel
|
||||
const DevolatilisationModel<CloudType>& dm
|
||||
)
|
||||
:
|
||||
SubModelBase<CloudType>(dm),
|
||||
CloudSubModelBase<CloudType>(dm),
|
||||
dMass_(dm.dMass_)
|
||||
{}
|
||||
|
||||
|
||||
@ -39,7 +39,7 @@ SourceFiles
|
||||
#include "IOdictionary.H"
|
||||
#include "autoPtr.H"
|
||||
#include "runTimeSelectionTables.H"
|
||||
#include "SubModelBase.H"
|
||||
#include "CloudSubModelBase.H"
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -53,7 +53,7 @@ namespace Foam
|
||||
template<class CloudType>
|
||||
class DevolatilisationModel
|
||||
:
|
||||
public SubModelBase<CloudType>
|
||||
public CloudSubModelBase<CloudType>
|
||||
{
|
||||
protected:
|
||||
|
||||
|
||||
@ -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
|
||||
@ -33,7 +33,7 @@ Foam::SurfaceReactionModel<CloudType>::SurfaceReactionModel
|
||||
CloudType& owner
|
||||
)
|
||||
:
|
||||
SubModelBase<CloudType>(owner),
|
||||
CloudSubModelBase<CloudType>(owner),
|
||||
dMass_(0.0)
|
||||
{}
|
||||
|
||||
@ -46,7 +46,7 @@ Foam::SurfaceReactionModel<CloudType>::SurfaceReactionModel
|
||||
const word& type
|
||||
)
|
||||
:
|
||||
SubModelBase<CloudType>(owner, dict, typeName, type),
|
||||
CloudSubModelBase<CloudType>(owner, dict, typeName, type),
|
||||
dMass_(0.0)
|
||||
{}
|
||||
|
||||
@ -57,7 +57,7 @@ Foam::SurfaceReactionModel<CloudType>::SurfaceReactionModel
|
||||
const SurfaceReactionModel<CloudType>& srm
|
||||
)
|
||||
:
|
||||
SubModelBase<CloudType>(srm),
|
||||
CloudSubModelBase<CloudType>(srm),
|
||||
dMass_(srm.dMass_)
|
||||
{}
|
||||
|
||||
|
||||
@ -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
|
||||
@ -39,7 +39,7 @@ SourceFiles
|
||||
#include "IOdictionary.H"
|
||||
#include "autoPtr.H"
|
||||
#include "runTimeSelectionTables.H"
|
||||
#include "SubModelBase.H"
|
||||
#include "CloudSubModelBase.H"
|
||||
#include "scalarField.H"
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
@ -54,7 +54,7 @@ namespace Foam
|
||||
template<class CloudType>
|
||||
class SurfaceReactionModel
|
||||
:
|
||||
public SubModelBase<CloudType>
|
||||
public CloudSubModelBase<CloudType>
|
||||
{
|
||||
protected:
|
||||
|
||||
|
||||
@ -30,7 +30,7 @@ License
|
||||
template<class CloudType>
|
||||
Foam::HeatTransferModel<CloudType>::HeatTransferModel(CloudType& owner)
|
||||
:
|
||||
SubModelBase<CloudType>(owner),
|
||||
CloudSubModelBase<CloudType>(owner),
|
||||
BirdCorrection_(false)
|
||||
{}
|
||||
|
||||
@ -43,7 +43,7 @@ Foam::HeatTransferModel<CloudType>::HeatTransferModel
|
||||
const word& type
|
||||
)
|
||||
:
|
||||
SubModelBase<CloudType>(owner, dict, typeName, type),
|
||||
CloudSubModelBase<CloudType>(owner, dict, typeName, type),
|
||||
BirdCorrection_(this->coeffDict().lookup("BirdCorrection"))
|
||||
{}
|
||||
|
||||
@ -54,7 +54,7 @@ Foam::HeatTransferModel<CloudType>::HeatTransferModel
|
||||
const HeatTransferModel<CloudType>& htm
|
||||
)
|
||||
:
|
||||
SubModelBase<CloudType>(htm),
|
||||
CloudSubModelBase<CloudType>(htm),
|
||||
BirdCorrection_(htm.BirdCorrection_)
|
||||
{}
|
||||
|
||||
|
||||
@ -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
|
||||
@ -39,7 +39,7 @@ SourceFiles
|
||||
#include "IOdictionary.H"
|
||||
#include "autoPtr.H"
|
||||
#include "runTimeSelectionTables.H"
|
||||
#include "SubModelBase.H"
|
||||
#include "CloudSubModelBase.H"
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -53,7 +53,7 @@ namespace Foam
|
||||
template<class CloudType>
|
||||
class HeatTransferModel
|
||||
:
|
||||
public SubModelBase<CloudType>
|
||||
public CloudSubModelBase<CloudType>
|
||||
{
|
||||
// Private data
|
||||
|
||||
|
||||
Reference in New Issue
Block a user