BUG: snappyHexMesh: attraction distance mapping. Fixes #941.

This commit is contained in:
mattijs
2019-04-08 13:19:41 +01:00
committed by Andrew Heather
parent eb0c35dc6a
commit 7cd40afa3a
14 changed files with 2379 additions and 22 deletions

View File

@ -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