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:
parent
eca605d334
commit
19497ce518
3 changed files with 3 additions and 6 deletions
|
|
@ -49,8 +49,7 @@ volScalarField rho
|
|||
mesh,
|
||||
IOobject::READ_IF_PRESENT
|
||||
),
|
||||
alpha1*rho1 + alpha2*rho2,
|
||||
alpha1.boundaryField().types()
|
||||
alpha1*rho1 + alpha2*rho2
|
||||
);
|
||||
rho.oldTime();
|
||||
|
||||
|
|
|
|||
|
|
@ -50,8 +50,7 @@ volScalarField rho
|
|||
mesh,
|
||||
IOobject::READ_IF_PRESENT
|
||||
),
|
||||
alpha1*rho1 + alpha2*rho2 + alpha3*rho3,
|
||||
alpha1.boundaryField().types()
|
||||
alpha1*rho1 + alpha2*rho2 + alpha3*rho3
|
||||
);
|
||||
rho.oldTime();
|
||||
|
||||
|
|
|
|||
|
|
@ -51,8 +51,7 @@ volScalarField rho
|
|||
mesh,
|
||||
IOobject::READ_IF_PRESENT
|
||||
),
|
||||
alpha1*rho1 + alpha2*rho2,
|
||||
alpha1.boundaryField().types()
|
||||
alpha1*rho1 + alpha2*rho2
|
||||
);
|
||||
rho.oldTime();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue