MRF: Remove ddtCorr from MRF regions

This commit is contained in:
Henry Weller
2018-02-10 22:46:17 +00:00
parent 0b399ad7c1
commit b01118c806
29 changed files with 172 additions and 34 deletions

View File

@ -9,7 +9,7 @@
(
"phiHbyA",
fvc::flux(HbyA)
+ rAUf*fvc::ddtCorr(U, phi)
+ MRF.zeroFilter(rAUf*fvc::ddtCorr(U, phi))
+ phig
);

View File

@ -15,7 +15,7 @@ surfaceScalarField phiHbyA
"phiHbyA",
(
fvc::flux(rho*HbyA)
+ rhorAUf*fvc::ddtCorr(rho, U, phi)
+ MRF.zeroFilter(rhorAUf*fvc::ddtCorr(rho, U, phi))
)
+ phig
);

View File

@ -16,7 +16,8 @@ surfaceScalarField phig(-rhorAUf*ghf*fvc::snGrad(rho)*mesh.magSf());
surfaceScalarField phiHbyA
(
"phiHbyA",
fvc::flux(rho*HbyA) + rhorAUf*fvc::ddtCorr(rho, U, phi)
fvc::flux(rho*HbyA)
+ MRF.zeroFilter(rhorAUf*fvc::ddtCorr(rho, U, phi))
);
MRF.makeRelative(fvc::interpolate(rho), phiHbyA);