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
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -30,7 +30,7 @@ License
|
|||||||
template<class CloudType>
|
template<class CloudType>
|
||||||
Foam::CollisionModel<CloudType>::CollisionModel(CloudType& owner)
|
Foam::CollisionModel<CloudType>::CollisionModel(CloudType& owner)
|
||||||
:
|
:
|
||||||
SubModelBase<CloudType>(owner)
|
CloudSubModelBase<CloudType>(owner)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
@ -42,14 +42,14 @@ Foam::CollisionModel<CloudType>::CollisionModel
|
|||||||
const word& type
|
const word& type
|
||||||
)
|
)
|
||||||
:
|
:
|
||||||
SubModelBase<CloudType>(owner, dict, typeName, type)
|
CloudSubModelBase<CloudType>(owner, dict, typeName, type)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
template<class CloudType>
|
template<class CloudType>
|
||||||
Foam::CollisionModel<CloudType>::CollisionModel(CollisionModel<CloudType>& cm)
|
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
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -39,7 +39,7 @@ SourceFiles
|
|||||||
#include "IOdictionary.H"
|
#include "IOdictionary.H"
|
||||||
#include "autoPtr.H"
|
#include "autoPtr.H"
|
||||||
#include "runTimeSelectionTables.H"
|
#include "runTimeSelectionTables.H"
|
||||||
#include "SubModelBase.H"
|
#include "CloudSubModelBase.H"
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
@ -53,7 +53,7 @@ namespace Foam
|
|||||||
template<class CloudType>
|
template<class CloudType>
|
||||||
class CollisionModel
|
class CollisionModel
|
||||||
:
|
:
|
||||||
public SubModelBase<CloudType>
|
public CloudSubModelBase<CloudType>
|
||||||
{
|
{
|
||||||
// Protected data
|
// Protected data
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -30,7 +30,7 @@ License
|
|||||||
template<class CloudType>
|
template<class CloudType>
|
||||||
Foam::DispersionModel<CloudType>::DispersionModel(CloudType& owner)
|
Foam::DispersionModel<CloudType>::DispersionModel(CloudType& owner)
|
||||||
:
|
:
|
||||||
SubModelBase<CloudType>(owner)
|
CloudSubModelBase<CloudType>(owner)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
@ -42,7 +42,7 @@ Foam::DispersionModel<CloudType>::DispersionModel
|
|||||||
const word& type
|
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
|
DispersionModel<CloudType>& dm
|
||||||
)
|
)
|
||||||
:
|
:
|
||||||
SubModelBase<CloudType>(dm)
|
CloudSubModelBase<CloudType>(dm)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -34,7 +34,7 @@ Description
|
|||||||
#include "IOdictionary.H"
|
#include "IOdictionary.H"
|
||||||
#include "autoPtr.H"
|
#include "autoPtr.H"
|
||||||
#include "runTimeSelectionTables.H"
|
#include "runTimeSelectionTables.H"
|
||||||
#include "SubModelBase.H"
|
#include "CloudSubModelBase.H"
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
@ -48,7 +48,7 @@ namespace Foam
|
|||||||
template<class CloudType>
|
template<class CloudType>
|
||||||
class DispersionModel
|
class DispersionModel
|
||||||
:
|
:
|
||||||
public SubModelBase<CloudType>
|
public CloudSubModelBase<CloudType>
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
|||||||
@ -282,7 +282,7 @@ void Foam::InjectionModel<CloudType>::postInjectCheck
|
|||||||
template<class CloudType>
|
template<class CloudType>
|
||||||
Foam::InjectionModel<CloudType>::InjectionModel(CloudType& owner)
|
Foam::InjectionModel<CloudType>::InjectionModel(CloudType& owner)
|
||||||
:
|
:
|
||||||
SubModelBase<CloudType>(owner),
|
CloudSubModelBase<CloudType>(owner),
|
||||||
SOI_(0.0),
|
SOI_(0.0),
|
||||||
volumeTotal_(0.0),
|
volumeTotal_(0.0),
|
||||||
massTotal_(0.0),
|
massTotal_(0.0),
|
||||||
@ -310,7 +310,7 @@ Foam::InjectionModel<CloudType>::InjectionModel
|
|||||||
const word& modelType
|
const word& modelType
|
||||||
)
|
)
|
||||||
:
|
:
|
||||||
SubModelBase<CloudType>(modelName, owner, dict, typeName, modelType),
|
CloudSubModelBase<CloudType>(modelName, owner, dict, typeName, modelType),
|
||||||
SOI_(0.0),
|
SOI_(0.0),
|
||||||
volumeTotal_(0.0),
|
volumeTotal_(0.0),
|
||||||
massTotal_(0.0),
|
massTotal_(0.0),
|
||||||
@ -387,7 +387,7 @@ Foam::InjectionModel<CloudType>::InjectionModel
|
|||||||
const InjectionModel<CloudType>& im
|
const InjectionModel<CloudType>& im
|
||||||
)
|
)
|
||||||
:
|
:
|
||||||
SubModelBase<CloudType>(im),
|
CloudSubModelBase<CloudType>(im),
|
||||||
SOI_(im.SOI_),
|
SOI_(im.SOI_),
|
||||||
volumeTotal_(im.volumeTotal_),
|
volumeTotal_(im.volumeTotal_),
|
||||||
massTotal_(im.massTotal_),
|
massTotal_(im.massTotal_),
|
||||||
|
|||||||
@ -51,7 +51,7 @@ SourceFiles
|
|||||||
#include "IOdictionary.H"
|
#include "IOdictionary.H"
|
||||||
#include "autoPtr.H"
|
#include "autoPtr.H"
|
||||||
#include "runTimeSelectionTables.H"
|
#include "runTimeSelectionTables.H"
|
||||||
#include "SubModelBase.H"
|
#include "CloudSubModelBase.H"
|
||||||
#include "vector.H"
|
#include "vector.H"
|
||||||
#include "TimeDataEntry.H"
|
#include "TimeDataEntry.H"
|
||||||
|
|
||||||
@ -67,7 +67,7 @@ namespace Foam
|
|||||||
template<class CloudType>
|
template<class CloudType>
|
||||||
class InjectionModel
|
class InjectionModel
|
||||||
:
|
:
|
||||||
public SubModelBase<CloudType>
|
public CloudSubModelBase<CloudType>
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
|||||||
@ -109,7 +109,7 @@ Foam::PatchInteractionModel<CloudType>::PatchInteractionModel
|
|||||||
CloudType& owner
|
CloudType& owner
|
||||||
)
|
)
|
||||||
:
|
:
|
||||||
SubModelBase<CloudType>(owner),
|
CloudSubModelBase<CloudType>(owner),
|
||||||
UName_("unknown_UName")
|
UName_("unknown_UName")
|
||||||
{}
|
{}
|
||||||
|
|
||||||
@ -122,7 +122,7 @@ Foam::PatchInteractionModel<CloudType>::PatchInteractionModel
|
|||||||
const word& type
|
const word& type
|
||||||
)
|
)
|
||||||
:
|
:
|
||||||
SubModelBase<CloudType>(owner, dict, typeName, type),
|
CloudSubModelBase<CloudType>(owner, dict, typeName, type),
|
||||||
UName_(this->coeffDict().lookupOrDefault("UName", word("U")))
|
UName_(this->coeffDict().lookupOrDefault("UName", word("U")))
|
||||||
{}
|
{}
|
||||||
|
|
||||||
@ -133,7 +133,7 @@ Foam::PatchInteractionModel<CloudType>::PatchInteractionModel
|
|||||||
const PatchInteractionModel<CloudType>& pim
|
const PatchInteractionModel<CloudType>& pim
|
||||||
)
|
)
|
||||||
:
|
:
|
||||||
SubModelBase<CloudType>(pim),
|
CloudSubModelBase<CloudType>(pim),
|
||||||
UName_(pim.UName_)
|
UName_(pim.UName_)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|||||||
@ -42,7 +42,7 @@ SourceFiles
|
|||||||
#include "polyPatch.H"
|
#include "polyPatch.H"
|
||||||
#include "wallPolyPatch.H"
|
#include "wallPolyPatch.H"
|
||||||
#include "tetIndices.H"
|
#include "tetIndices.H"
|
||||||
#include "SubModelBase.H"
|
#include "CloudSubModelBase.H"
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
@ -56,7 +56,7 @@ namespace Foam
|
|||||||
template<class CloudType>
|
template<class CloudType>
|
||||||
class PatchInteractionModel
|
class PatchInteractionModel
|
||||||
:
|
:
|
||||||
public SubModelBase<CloudType>
|
public CloudSubModelBase<CloudType>
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
|||||||
@ -45,7 +45,7 @@ Foam::StochasticCollisionModel<CloudType>::StochasticCollisionModel
|
|||||||
CloudType& owner
|
CloudType& owner
|
||||||
)
|
)
|
||||||
:
|
:
|
||||||
SubModelBase<CloudType>(owner)
|
CloudSubModelBase<CloudType>(owner)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
@ -55,7 +55,7 @@ Foam::StochasticCollisionModel<CloudType>::StochasticCollisionModel
|
|||||||
const StochasticCollisionModel<CloudType>& cm
|
const StochasticCollisionModel<CloudType>& cm
|
||||||
)
|
)
|
||||||
:
|
:
|
||||||
SubModelBase<CloudType>(cm)
|
CloudSubModelBase<CloudType>(cm)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
@ -67,7 +67,7 @@ Foam::StochasticCollisionModel<CloudType>::StochasticCollisionModel
|
|||||||
const word& type
|
const word& type
|
||||||
)
|
)
|
||||||
:
|
:
|
||||||
SubModelBase<CloudType>(owner, dict, typeName, type)
|
CloudSubModelBase<CloudType>(owner, dict, typeName, type)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -39,7 +39,7 @@ SourceFiles
|
|||||||
#include "IOdictionary.H"
|
#include "IOdictionary.H"
|
||||||
#include "autoPtr.H"
|
#include "autoPtr.H"
|
||||||
#include "runTimeSelectionTables.H"
|
#include "runTimeSelectionTables.H"
|
||||||
#include "SubModelBase.H"
|
#include "CloudSubModelBase.H"
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
@ -53,7 +53,7 @@ namespace Foam
|
|||||||
template<class CloudType>
|
template<class CloudType>
|
||||||
class StochasticCollisionModel
|
class StochasticCollisionModel
|
||||||
:
|
:
|
||||||
public SubModelBase<CloudType>
|
public CloudSubModelBase<CloudType>
|
||||||
{
|
{
|
||||||
protected:
|
protected:
|
||||||
|
|
||||||
|
|||||||
@ -35,7 +35,7 @@ using namespace Foam::constant;
|
|||||||
template<class CloudType>
|
template<class CloudType>
|
||||||
Foam::SurfaceFilmModel<CloudType>::SurfaceFilmModel(CloudType& owner)
|
Foam::SurfaceFilmModel<CloudType>::SurfaceFilmModel(CloudType& owner)
|
||||||
:
|
:
|
||||||
SubModelBase<CloudType>(owner),
|
CloudSubModelBase<CloudType>(owner),
|
||||||
g_(owner.g()),
|
g_(owner.g()),
|
||||||
ejectedParcelType_(0),
|
ejectedParcelType_(0),
|
||||||
massParcelPatch_(0),
|
massParcelPatch_(0),
|
||||||
@ -56,7 +56,7 @@ Foam::SurfaceFilmModel<CloudType>::SurfaceFilmModel
|
|||||||
const word& type
|
const word& type
|
||||||
)
|
)
|
||||||
:
|
:
|
||||||
SubModelBase<CloudType>(owner, dict, typeName, type),
|
CloudSubModelBase<CloudType>(owner, dict, typeName, type),
|
||||||
g_(owner.g()),
|
g_(owner.g()),
|
||||||
ejectedParcelType_
|
ejectedParcelType_
|
||||||
(
|
(
|
||||||
@ -78,7 +78,7 @@ Foam::SurfaceFilmModel<CloudType>::SurfaceFilmModel
|
|||||||
const SurfaceFilmModel<CloudType>& sfm
|
const SurfaceFilmModel<CloudType>& sfm
|
||||||
)
|
)
|
||||||
:
|
:
|
||||||
SubModelBase<CloudType>(sfm),
|
CloudSubModelBase<CloudType>(sfm),
|
||||||
g_(sfm.g_),
|
g_(sfm.g_),
|
||||||
ejectedParcelType_(sfm.ejectedParcelType_),
|
ejectedParcelType_(sfm.ejectedParcelType_),
|
||||||
massParcelPatch_(sfm.massParcelPatch_),
|
massParcelPatch_(sfm.massParcelPatch_),
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -39,7 +39,7 @@ SourceFiles
|
|||||||
#include "IOdictionary.H"
|
#include "IOdictionary.H"
|
||||||
#include "autoPtr.H"
|
#include "autoPtr.H"
|
||||||
#include "runTimeSelectionTables.H"
|
#include "runTimeSelectionTables.H"
|
||||||
#include "SubModelBase.H"
|
#include "CloudSubModelBase.H"
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
@ -64,7 +64,7 @@ class mappedPatchBase;
|
|||||||
template<class CloudType>
|
template<class CloudType>
|
||||||
class SurfaceFilmModel
|
class SurfaceFilmModel
|
||||||
:
|
:
|
||||||
public SubModelBase<CloudType>
|
public CloudSubModelBase<CloudType>
|
||||||
{
|
{
|
||||||
protected:
|
protected:
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -30,7 +30,7 @@ License
|
|||||||
template<class CloudType>
|
template<class CloudType>
|
||||||
Foam::CompositionModel<CloudType>::CompositionModel(CloudType& owner)
|
Foam::CompositionModel<CloudType>::CompositionModel(CloudType& owner)
|
||||||
:
|
:
|
||||||
SubModelBase<CloudType>(owner),
|
CloudSubModelBase<CloudType>(owner),
|
||||||
thermo_(owner.thermo()),
|
thermo_(owner.thermo()),
|
||||||
phaseProps_()
|
phaseProps_()
|
||||||
{}
|
{}
|
||||||
@ -44,7 +44,7 @@ Foam::CompositionModel<CloudType>::CompositionModel
|
|||||||
const word& type
|
const word& type
|
||||||
)
|
)
|
||||||
:
|
:
|
||||||
SubModelBase<CloudType>(owner, dict, typeName, type),
|
CloudSubModelBase<CloudType>(owner, dict, typeName, type),
|
||||||
thermo_(owner.thermo()),
|
thermo_(owner.thermo()),
|
||||||
phaseProps_
|
phaseProps_
|
||||||
(
|
(
|
||||||
@ -62,7 +62,7 @@ Foam::CompositionModel<CloudType>::CompositionModel
|
|||||||
const CompositionModel<CloudType>& cm
|
const CompositionModel<CloudType>& cm
|
||||||
)
|
)
|
||||||
:
|
:
|
||||||
SubModelBase<CloudType>(cm),
|
CloudSubModelBase<CloudType>(cm),
|
||||||
thermo_(cm.thermo_),
|
thermo_(cm.thermo_),
|
||||||
phaseProps_(cm.phaseProps_)
|
phaseProps_(cm.phaseProps_)
|
||||||
{}
|
{}
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -38,7 +38,7 @@ SourceFiles
|
|||||||
#ifndef CompositionModel_H
|
#ifndef CompositionModel_H
|
||||||
#define CompositionModel_H
|
#define CompositionModel_H
|
||||||
|
|
||||||
#include "SubModelBase.H"
|
#include "CloudSubModelBase.H"
|
||||||
#include "IOdictionary.H"
|
#include "IOdictionary.H"
|
||||||
#include "autoPtr.H"
|
#include "autoPtr.H"
|
||||||
#include "runTimeSelectionTables.H"
|
#include "runTimeSelectionTables.H"
|
||||||
@ -60,7 +60,7 @@ namespace Foam
|
|||||||
template<class CloudType>
|
template<class CloudType>
|
||||||
class CompositionModel
|
class CompositionModel
|
||||||
:
|
:
|
||||||
public SubModelBase<CloudType>
|
public CloudSubModelBase<CloudType>
|
||||||
{
|
{
|
||||||
// Private data
|
// Private data
|
||||||
//- Reference to the thermo database
|
//- Reference to the thermo database
|
||||||
|
|||||||
@ -75,7 +75,7 @@ Foam::PhaseChangeModel<CloudType>::PhaseChangeModel
|
|||||||
CloudType& owner
|
CloudType& owner
|
||||||
)
|
)
|
||||||
:
|
:
|
||||||
SubModelBase<CloudType>(owner),
|
CloudSubModelBase<CloudType>(owner),
|
||||||
enthalpyTransfer_(etLatentHeat),
|
enthalpyTransfer_(etLatentHeat),
|
||||||
dMass_(0.0)
|
dMass_(0.0)
|
||||||
{}
|
{}
|
||||||
@ -87,7 +87,7 @@ Foam::PhaseChangeModel<CloudType>::PhaseChangeModel
|
|||||||
const PhaseChangeModel<CloudType>& pcm
|
const PhaseChangeModel<CloudType>& pcm
|
||||||
)
|
)
|
||||||
:
|
:
|
||||||
SubModelBase<CloudType>(pcm),
|
CloudSubModelBase<CloudType>(pcm),
|
||||||
enthalpyTransfer_(pcm.enthalpyTransfer_),
|
enthalpyTransfer_(pcm.enthalpyTransfer_),
|
||||||
dMass_(pcm.dMass_)
|
dMass_(pcm.dMass_)
|
||||||
{}
|
{}
|
||||||
@ -101,7 +101,7 @@ Foam::PhaseChangeModel<CloudType>::PhaseChangeModel
|
|||||||
const word& type
|
const word& type
|
||||||
)
|
)
|
||||||
:
|
:
|
||||||
SubModelBase<CloudType>(owner, dict, typeName, type),
|
CloudSubModelBase<CloudType>(owner, dict, typeName, type),
|
||||||
enthalpyTransfer_
|
enthalpyTransfer_
|
||||||
(
|
(
|
||||||
wordToEnthalpyTransfer(this->coeffDict().lookup("enthalpyTransfer"))
|
wordToEnthalpyTransfer(this->coeffDict().lookup("enthalpyTransfer"))
|
||||||
|
|||||||
@ -39,7 +39,7 @@ SourceFiles
|
|||||||
#include "IOdictionary.H"
|
#include "IOdictionary.H"
|
||||||
#include "autoPtr.H"
|
#include "autoPtr.H"
|
||||||
#include "runTimeSelectionTables.H"
|
#include "runTimeSelectionTables.H"
|
||||||
#include "SubModelBase.H"
|
#include "CloudSubModelBase.H"
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
@ -53,7 +53,7 @@ namespace Foam
|
|||||||
template<class CloudType>
|
template<class CloudType>
|
||||||
class PhaseChangeModel
|
class PhaseChangeModel
|
||||||
:
|
:
|
||||||
public SubModelBase<CloudType>
|
public CloudSubModelBase<CloudType>
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
|||||||
@ -33,7 +33,7 @@ Foam::DevolatilisationModel<CloudType>::DevolatilisationModel
|
|||||||
CloudType& owner
|
CloudType& owner
|
||||||
)
|
)
|
||||||
:
|
:
|
||||||
SubModelBase<CloudType>(owner),
|
CloudSubModelBase<CloudType>(owner),
|
||||||
dMass_(0.0)
|
dMass_(0.0)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
@ -46,7 +46,7 @@ Foam::DevolatilisationModel<CloudType>::DevolatilisationModel
|
|||||||
const word& type
|
const word& type
|
||||||
)
|
)
|
||||||
:
|
:
|
||||||
SubModelBase<CloudType>(owner, dict, typeName, type),
|
CloudSubModelBase<CloudType>(owner, dict, typeName, type),
|
||||||
dMass_(0.0)
|
dMass_(0.0)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
@ -57,7 +57,7 @@ Foam::DevolatilisationModel<CloudType>::DevolatilisationModel
|
|||||||
const DevolatilisationModel<CloudType>& dm
|
const DevolatilisationModel<CloudType>& dm
|
||||||
)
|
)
|
||||||
:
|
:
|
||||||
SubModelBase<CloudType>(dm),
|
CloudSubModelBase<CloudType>(dm),
|
||||||
dMass_(dm.dMass_)
|
dMass_(dm.dMass_)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|||||||
@ -39,7 +39,7 @@ SourceFiles
|
|||||||
#include "IOdictionary.H"
|
#include "IOdictionary.H"
|
||||||
#include "autoPtr.H"
|
#include "autoPtr.H"
|
||||||
#include "runTimeSelectionTables.H"
|
#include "runTimeSelectionTables.H"
|
||||||
#include "SubModelBase.H"
|
#include "CloudSubModelBase.H"
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
@ -53,7 +53,7 @@ namespace Foam
|
|||||||
template<class CloudType>
|
template<class CloudType>
|
||||||
class DevolatilisationModel
|
class DevolatilisationModel
|
||||||
:
|
:
|
||||||
public SubModelBase<CloudType>
|
public CloudSubModelBase<CloudType>
|
||||||
{
|
{
|
||||||
protected:
|
protected:
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -33,7 +33,7 @@ Foam::SurfaceReactionModel<CloudType>::SurfaceReactionModel
|
|||||||
CloudType& owner
|
CloudType& owner
|
||||||
)
|
)
|
||||||
:
|
:
|
||||||
SubModelBase<CloudType>(owner),
|
CloudSubModelBase<CloudType>(owner),
|
||||||
dMass_(0.0)
|
dMass_(0.0)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
@ -46,7 +46,7 @@ Foam::SurfaceReactionModel<CloudType>::SurfaceReactionModel
|
|||||||
const word& type
|
const word& type
|
||||||
)
|
)
|
||||||
:
|
:
|
||||||
SubModelBase<CloudType>(owner, dict, typeName, type),
|
CloudSubModelBase<CloudType>(owner, dict, typeName, type),
|
||||||
dMass_(0.0)
|
dMass_(0.0)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
@ -57,7 +57,7 @@ Foam::SurfaceReactionModel<CloudType>::SurfaceReactionModel
|
|||||||
const SurfaceReactionModel<CloudType>& srm
|
const SurfaceReactionModel<CloudType>& srm
|
||||||
)
|
)
|
||||||
:
|
:
|
||||||
SubModelBase<CloudType>(srm),
|
CloudSubModelBase<CloudType>(srm),
|
||||||
dMass_(srm.dMass_)
|
dMass_(srm.dMass_)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -39,7 +39,7 @@ SourceFiles
|
|||||||
#include "IOdictionary.H"
|
#include "IOdictionary.H"
|
||||||
#include "autoPtr.H"
|
#include "autoPtr.H"
|
||||||
#include "runTimeSelectionTables.H"
|
#include "runTimeSelectionTables.H"
|
||||||
#include "SubModelBase.H"
|
#include "CloudSubModelBase.H"
|
||||||
#include "scalarField.H"
|
#include "scalarField.H"
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
@ -54,7 +54,7 @@ namespace Foam
|
|||||||
template<class CloudType>
|
template<class CloudType>
|
||||||
class SurfaceReactionModel
|
class SurfaceReactionModel
|
||||||
:
|
:
|
||||||
public SubModelBase<CloudType>
|
public CloudSubModelBase<CloudType>
|
||||||
{
|
{
|
||||||
protected:
|
protected:
|
||||||
|
|
||||||
|
|||||||
@ -30,7 +30,7 @@ License
|
|||||||
template<class CloudType>
|
template<class CloudType>
|
||||||
Foam::HeatTransferModel<CloudType>::HeatTransferModel(CloudType& owner)
|
Foam::HeatTransferModel<CloudType>::HeatTransferModel(CloudType& owner)
|
||||||
:
|
:
|
||||||
SubModelBase<CloudType>(owner),
|
CloudSubModelBase<CloudType>(owner),
|
||||||
BirdCorrection_(false)
|
BirdCorrection_(false)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
@ -43,7 +43,7 @@ Foam::HeatTransferModel<CloudType>::HeatTransferModel
|
|||||||
const word& type
|
const word& type
|
||||||
)
|
)
|
||||||
:
|
:
|
||||||
SubModelBase<CloudType>(owner, dict, typeName, type),
|
CloudSubModelBase<CloudType>(owner, dict, typeName, type),
|
||||||
BirdCorrection_(this->coeffDict().lookup("BirdCorrection"))
|
BirdCorrection_(this->coeffDict().lookup("BirdCorrection"))
|
||||||
{}
|
{}
|
||||||
|
|
||||||
@ -54,7 +54,7 @@ Foam::HeatTransferModel<CloudType>::HeatTransferModel
|
|||||||
const HeatTransferModel<CloudType>& htm
|
const HeatTransferModel<CloudType>& htm
|
||||||
)
|
)
|
||||||
:
|
:
|
||||||
SubModelBase<CloudType>(htm),
|
CloudSubModelBase<CloudType>(htm),
|
||||||
BirdCorrection_(htm.BirdCorrection_)
|
BirdCorrection_(htm.BirdCorrection_)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -39,7 +39,7 @@ SourceFiles
|
|||||||
#include "IOdictionary.H"
|
#include "IOdictionary.H"
|
||||||
#include "autoPtr.H"
|
#include "autoPtr.H"
|
||||||
#include "runTimeSelectionTables.H"
|
#include "runTimeSelectionTables.H"
|
||||||
#include "SubModelBase.H"
|
#include "CloudSubModelBase.H"
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
@ -53,7 +53,7 @@ namespace Foam
|
|||||||
template<class CloudType>
|
template<class CloudType>
|
||||||
class HeatTransferModel
|
class HeatTransferModel
|
||||||
:
|
:
|
||||||
public SubModelBase<CloudType>
|
public CloudSubModelBase<CloudType>
|
||||||
{
|
{
|
||||||
// Private data
|
// Private data
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user