Skip to content
Snippets Groups Projects
Commit 19497ce5 authored by Henry Weller's avatar Henry Weller
Browse files

interFoam, interMixingFoam, interPhaseChangeFoam: construct rho with calculated BCs

Avoids problems with inherited complex BCs for which the controlling
fields and parameters are not initialized.
parent eca605d3
Branches
Tags
1 merge request!33Merge foundation
...@@ -49,8 +49,7 @@ volScalarField rho ...@@ -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 ...@@ -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 ...@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment