mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
interFoam, interMixingFoam, interPhaseChangeFoam: construct rho with calculated BCs
Avoids problems with inherited complex BCs for which the controlling fields and parameters are not initialized.
This commit is contained in:
@ -49,8 +49,7 @@ volScalarField rho
|
|||||||
mesh,
|
mesh,
|
||||||
IOobject::READ_IF_PRESENT
|
IOobject::READ_IF_PRESENT
|
||||||
),
|
),
|
||||||
alpha1*rho1 + alpha2*rho2,
|
alpha1*rho1 + alpha2*rho2
|
||||||
alpha1.boundaryField().types()
|
|
||||||
);
|
);
|
||||||
rho.oldTime();
|
rho.oldTime();
|
||||||
|
|
||||||
|
|||||||
@ -50,8 +50,7 @@ volScalarField rho
|
|||||||
mesh,
|
mesh,
|
||||||
IOobject::READ_IF_PRESENT
|
IOobject::READ_IF_PRESENT
|
||||||
),
|
),
|
||||||
alpha1*rho1 + alpha2*rho2 + alpha3*rho3,
|
alpha1*rho1 + alpha2*rho2 + alpha3*rho3
|
||||||
alpha1.boundaryField().types()
|
|
||||||
);
|
);
|
||||||
rho.oldTime();
|
rho.oldTime();
|
||||||
|
|
||||||
|
|||||||
@ -51,8 +51,7 @@ volScalarField rho
|
|||||||
mesh,
|
mesh,
|
||||||
IOobject::READ_IF_PRESENT
|
IOobject::READ_IF_PRESENT
|
||||||
),
|
),
|
||||||
alpha1*rho1 + alpha2*rho2,
|
alpha1*rho1 + alpha2*rho2
|
||||||
alpha1.boundaryField().types()
|
|
||||||
);
|
);
|
||||||
rho.oldTime();
|
rho.oldTime();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user