compressibleMultiphaseInterFoam: Added contErr to avoid unboundedness in U and T
This commit is contained in:
@ -0,0 +1,15 @@
|
||||
volScalarField::Internal contErr
|
||||
(
|
||||
(fvc::ddt(rho) + fvc::div(mixture.rhoPhi()))()
|
||||
);
|
||||
|
||||
forAllConstIter
|
||||
(
|
||||
PtrDictionary<phaseModel>,
|
||||
mixture.phases(),
|
||||
phase
|
||||
)
|
||||
{
|
||||
const volScalarField& rho = phase().thermo().rho()();
|
||||
contErr -= (fvModels.source(phase(), rho)&rho);
|
||||
}
|
||||
Reference in New Issue
Block a user