mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
BUG: snappyHexMesh: attraction distance mapping. Fixes #941.
This commit is contained in:
@ -153,6 +153,33 @@
|
||||
|
||||
surfaceScalarField phir(phic*mixture.nHatf());
|
||||
|
||||
DebugVar(phir.oriented());
|
||||
DebugVar(phiCN().oriented());
|
||||
DebugVar(alpha1.oriented());
|
||||
DebugVar(alpha1.oldTime().oriented());
|
||||
|
||||
tmp<surfaceScalarField> f1
|
||||
(
|
||||
fvc::flux
|
||||
(
|
||||
phiCN(),
|
||||
cnCoeff*alpha1 + (1.0 - cnCoeff)*alpha1.oldTime(),
|
||||
alphaScheme
|
||||
)
|
||||
);
|
||||
DebugVar(f1().oriented());
|
||||
tmp<surfaceScalarField> f2
|
||||
(
|
||||
fvc::flux
|
||||
(
|
||||
-fvc::flux(-phir, alpha2, alpharScheme),
|
||||
alpha1,
|
||||
alpharScheme
|
||||
)
|
||||
);
|
||||
DebugVar(f2().oriented());
|
||||
|
||||
|
||||
tmp<surfaceScalarField> talphaPhi1Un
|
||||
(
|
||||
fvc::flux
|
||||
|
||||
Reference in New Issue
Block a user