mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
GIT: Initial state after latest Foundation merge
This commit is contained in:
@ -175,7 +175,7 @@ Foam::MovingPhaseModel<BasePhaseModel>::MovingPhaseModel
|
||||
fluid.mesh(),
|
||||
dimensionedVector("0", dimAcceleration, Zero)
|
||||
),
|
||||
divU_(NULL),
|
||||
divU_(nullptr),
|
||||
turbulence_
|
||||
(
|
||||
phaseCompressibleTurbulenceModel::New
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2015 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2015-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -135,11 +135,19 @@ Foam::MultiComponentPhaseModel<BasePhaseModel>::YiEqn
|
||||
(
|
||||
(inertIndex_ != -1)
|
||||
&& (
|
||||
Yi.name()
|
||||
== IOobject::groupName
|
||||
(
|
||||
this->thermo_->composition().species()[inertIndex_],
|
||||
this->name()
|
||||
Yi.name()
|
||||
== IOobject::groupName
|
||||
(
|
||||
this->thermo_->composition().species()[inertIndex_],
|
||||
this->name()
|
||||
)
|
||||
)
|
||||
|| (
|
||||
!this->thermo_->composition().active
|
||||
(
|
||||
this->thermo_->composition().species()[Yi.member()]
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2015 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2015-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -77,7 +77,7 @@ Foam::phaseModel::phaseModel
|
||||
Foam::autoPtr<Foam::phaseModel> Foam::phaseModel::clone() const
|
||||
{
|
||||
NotImplemented;
|
||||
return autoPtr<phaseModel>(NULL);
|
||||
return autoPtr<phaseModel>(nullptr);
|
||||
}
|
||||
|
||||
|
||||
@ -168,7 +168,7 @@ bool Foam::phaseModel::compressible() const
|
||||
const Foam::tmp<Foam::volScalarField>& Foam::phaseModel::divU() const
|
||||
{
|
||||
NotImplemented;
|
||||
static tmp<Foam::volScalarField> divU_(NULL);
|
||||
static tmp<Foam::volScalarField> divU_(nullptr);
|
||||
return divU_;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user