mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Separate convection and diffusion terms in the MULEScorr predictor
to remove interaction of the diffusion term with the flux-correction.
This commit is contained in:
@ -17,6 +17,11 @@
|
||||
phi,
|
||||
upwind<scalar>(mesh, phi)
|
||||
).fvmDiv(phi, alpha1)
|
||||
);
|
||||
|
||||
solve
|
||||
(
|
||||
alpha1Eqn
|
||||
- fv::gaussLaplacianScheme<scalar, scalar>
|
||||
(
|
||||
mesh,
|
||||
@ -25,8 +30,6 @@
|
||||
).fvmLaplacian(fvc::interpolate(mut/rho), alpha1)
|
||||
);
|
||||
|
||||
alpha1Eqn.solve();
|
||||
|
||||
Info<< "Phase-1 volume fraction = "
|
||||
<< alpha1.weightedAverage(mesh.Vsc()).value()
|
||||
<< " Min(alpha1) = " << min(alpha1).value()
|
||||
|
||||
Reference in New Issue
Block a user