mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Updated spray 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
|
||||
@ -33,7 +33,7 @@ Foam::AtomizationModel<CloudType>::AtomizationModel
|
||||
CloudType& owner
|
||||
)
|
||||
:
|
||||
SubModelBase<CloudType>(owner)
|
||||
CloudSubModelBase<CloudType>(owner)
|
||||
{}
|
||||
|
||||
|
||||
@ -43,7 +43,7 @@ Foam::AtomizationModel<CloudType>::AtomizationModel
|
||||
const AtomizationModel<CloudType>& am
|
||||
)
|
||||
:
|
||||
SubModelBase<CloudType>(am)
|
||||
CloudSubModelBase<CloudType>(am)
|
||||
{}
|
||||
|
||||
|
||||
@ -55,7 +55,7 @@ Foam::AtomizationModel<CloudType>::AtomizationModel
|
||||
const word& type
|
||||
)
|
||||
:
|
||||
SubModelBase<CloudType>(owner, dict, typeName, type)
|
||||
CloudSubModelBase<CloudType>(owner, dict, typeName, type)
|
||||
{}
|
||||
|
||||
|
||||
|
||||
@ -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 AtomizationModel
|
||||
:
|
||||
public SubModelBase<CloudType>
|
||||
public CloudSubModelBase<CloudType>
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
@ -33,7 +33,7 @@ Foam::BreakupModel<CloudType>::BreakupModel
|
||||
CloudType& owner
|
||||
)
|
||||
:
|
||||
SubModelBase<CloudType>(owner),
|
||||
CloudSubModelBase<CloudType>(owner),
|
||||
solveOscillationEq_(false),
|
||||
y0_(0.0),
|
||||
yDot0_(0.0),
|
||||
@ -49,7 +49,7 @@ Foam::BreakupModel<CloudType>::BreakupModel
|
||||
const BreakupModel<CloudType>& bum
|
||||
)
|
||||
:
|
||||
SubModelBase<CloudType>(bum),
|
||||
CloudSubModelBase<CloudType>(bum),
|
||||
solveOscillationEq_(bum.solveOscillationEq_),
|
||||
y0_(bum.y0_),
|
||||
yDot0_(bum.yDot0_),
|
||||
@ -68,7 +68,7 @@ Foam::BreakupModel<CloudType>::BreakupModel
|
||||
bool solveOscillationEq
|
||||
)
|
||||
:
|
||||
SubModelBase<CloudType>(owner, dict, typeName, type),
|
||||
CloudSubModelBase<CloudType>(owner, dict, typeName, type),
|
||||
solveOscillationEq_(solveOscillationEq),
|
||||
y0_(0.0),
|
||||
yDot0_(0.0),
|
||||
|
||||
@ -52,7 +52,7 @@ namespace Foam
|
||||
template<class CloudType>
|
||||
class BreakupModel
|
||||
:
|
||||
public SubModelBase<CloudType>
|
||||
public CloudSubModelBase<CloudType>
|
||||
{
|
||||
|
||||
protected:
|
||||
|
||||
Reference in New Issue
Block a user