solvers: Provided public constant access to state fields
This commit is contained in:
@ -532,7 +532,7 @@ Foam::MomentumTransferPhaseSystem<BasePhaseSystem>::KdVmfs() const
|
||||
|
||||
template<class BasePhaseSystem>
|
||||
Foam::PtrList<Foam::surfaceScalarField>
|
||||
Foam::MomentumTransferPhaseSystem<BasePhaseSystem>::Fs()
|
||||
Foam::MomentumTransferPhaseSystem<BasePhaseSystem>::Fs() const
|
||||
{
|
||||
PtrList<surfaceScalarField> Fs(this->phaseModels_.size());
|
||||
|
||||
@ -659,7 +659,7 @@ Foam::MomentumTransferPhaseSystem<BasePhaseSystem>::Fs()
|
||||
|
||||
template<class BasePhaseSystem>
|
||||
Foam::PtrList<Foam::surfaceScalarField>
|
||||
Foam::MomentumTransferPhaseSystem<BasePhaseSystem>::Ffs()
|
||||
Foam::MomentumTransferPhaseSystem<BasePhaseSystem>::Ffs() const
|
||||
{
|
||||
PtrList<surfaceScalarField> Ffs(this->phaseModels_.size());
|
||||
|
||||
|
||||
@ -200,10 +200,10 @@ public:
|
||||
// do not depend on phase mass/volume fluxes, and can therefore be
|
||||
// evaluated outside the corrector loop. This includes things like
|
||||
// lift, turbulent dispersion, and wall lubrication.
|
||||
virtual PtrList<surfaceScalarField> Fs();
|
||||
virtual PtrList<surfaceScalarField> Fs() const;
|
||||
|
||||
//- As Fs, but for the face-based algorithm
|
||||
virtual PtrList<surfaceScalarField> Ffs();
|
||||
virtual PtrList<surfaceScalarField> Ffs() const;
|
||||
|
||||
//- Return the explicit drag force fluxes for the cell-based algorithm.
|
||||
// These depend on phase mass/volume fluxes, and must therefore be
|
||||
|
||||
@ -526,10 +526,10 @@ public:
|
||||
virtual PtrList<surfaceScalarField> KdVmfs() const = 0;
|
||||
|
||||
//- Return the force fluxes for the cell-based algorithm
|
||||
virtual PtrList<surfaceScalarField> Fs() = 0;
|
||||
virtual PtrList<surfaceScalarField> Fs() const = 0;
|
||||
|
||||
//- Return the force fluxes for the face-based algorithm
|
||||
virtual PtrList<surfaceScalarField> Ffs() = 0;
|
||||
virtual PtrList<surfaceScalarField> Ffs() const = 0;
|
||||
|
||||
//- Return the force fluxes for the cell-based algorithm
|
||||
virtual PtrList<surfaceScalarField> KdPhis() const = 0;
|
||||
|
||||
Reference in New Issue
Block a user