mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Added the reciprocal of the turbulent Schmidt number.
This commit is contained in:
@ -3,7 +3,11 @@
|
|||||||
(
|
(
|
||||||
fvm::ddt(alpha1)
|
fvm::ddt(alpha1)
|
||||||
+ fvm::div(phi, alpha1)
|
+ fvm::div(phi, alpha1)
|
||||||
- fvm::laplacian(turbulence->nut() + Dab, alpha1)
|
- fvm::laplacian
|
||||||
|
(
|
||||||
|
Dab + alphatab*turbulence->nut(), alpha1,
|
||||||
|
"laplacian(Dab,alpha1)"
|
||||||
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
alpha1Eqn.solve();
|
alpha1Eqn.solve();
|
||||||
|
|||||||
@ -50,6 +50,9 @@
|
|||||||
|
|
||||||
dimensionedScalar Dab(twoPhaseProperties.lookup("Dab"));
|
dimensionedScalar Dab(twoPhaseProperties.lookup("Dab"));
|
||||||
|
|
||||||
|
// Read the reciprocal of the turbulent Schmidt number
|
||||||
|
dimensionedScalar alphatab(twoPhaseProperties.lookup("alphatab"));
|
||||||
|
|
||||||
// Need to store rho for ddt(rho, U)
|
// Need to store rho for ddt(rho, U)
|
||||||
volScalarField rho("rho", alpha1*rho1 + (scalar(1) - alpha1)*rho2);
|
volScalarField rho("rho", alpha1*rho1 + (scalar(1) - alpha1)*rho2);
|
||||||
rho.oldTime();
|
rho.oldTime();
|
||||||
|
|||||||
Reference in New Issue
Block a user