mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
transportModel: Constructor does not need any arguments
This commit is contained in:
@ -62,8 +62,6 @@ Foam::threePhaseMixture::threePhaseMixture
|
|||||||
)
|
)
|
||||||
),
|
),
|
||||||
|
|
||||||
transportModel(U, phi),
|
|
||||||
|
|
||||||
phase1Name_("phase1"),
|
phase1Name_("phase1"),
|
||||||
phase2Name_("phase2"),
|
phase2Name_("phase2"),
|
||||||
phase3Name_("phase3"),
|
phase3Name_("phase3"),
|
||||||
|
|||||||
@ -383,8 +383,6 @@ Foam::multiphaseSystem::multiphaseSystem
|
|||||||
)
|
)
|
||||||
),
|
),
|
||||||
|
|
||||||
transportModel(U, phi),
|
|
||||||
|
|
||||||
phases_(lookup("phases"), phaseModel::iNew(U.mesh())),
|
phases_(lookup("phases"), phaseModel::iNew(U.mesh())),
|
||||||
|
|
||||||
mesh_(U.mesh()),
|
mesh_(U.mesh()),
|
||||||
|
|||||||
@ -77,7 +77,6 @@ Foam::multiphaseMixture::multiphaseMixture
|
|||||||
)
|
)
|
||||||
),
|
),
|
||||||
|
|
||||||
transportModel(U, phi),
|
|
||||||
phases_(lookup("phases"), phase::iNew(U, phi)),
|
phases_(lookup("phases"), phase::iNew(U, phi)),
|
||||||
|
|
||||||
mesh_(U.mesh()),
|
mesh_(U.mesh()),
|
||||||
|
|||||||
@ -69,7 +69,6 @@ Foam::incompressibleTwoPhaseMixture::incompressibleTwoPhaseMixture
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
transportModel(U, phi),
|
|
||||||
twoPhaseMixture(U.mesh(), *this, alpha1Name, alpha2Name),
|
twoPhaseMixture(U.mesh(), *this, alpha1Name, alpha2Name),
|
||||||
|
|
||||||
nuModel1_
|
nuModel1_
|
||||||
|
|||||||
@ -47,7 +47,6 @@ Foam::singlePhaseTransportModel::singlePhaseTransportModel
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
transportModel(U, phi),
|
|
||||||
viscosityModelPtr_(viscosityModel::New("nu", *this, U, phi))
|
viscosityModelPtr_(viscosityModel::New("nu", *this, U, phi))
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|||||||
@ -36,10 +36,7 @@ namespace Foam
|
|||||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
Foam::transportModel::transportModel
|
Foam::transportModel::transportModel
|
||||||
(
|
()
|
||||||
const volVectorField&,
|
|
||||||
const surfaceScalarField&
|
|
||||||
)
|
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -70,10 +70,7 @@ public:
|
|||||||
|
|
||||||
//- Construct from components
|
//- Construct from components
|
||||||
transportModel
|
transportModel
|
||||||
(
|
();
|
||||||
const volVectorField& U,
|
|
||||||
const surfaceScalarField& phi
|
|
||||||
);\
|
|
||||||
|
|
||||||
|
|
||||||
//- Destructor
|
//- Destructor
|
||||||
|
|||||||
Reference in New Issue
Block a user