applications/solvers: Update trans-sonic option in pEqns to by consistent with sonic-solvers

This commit is contained in:
Henry
2015-02-17 10:47:34 +00:00
parent 181045f8a9
commit 16a90e82ff
6 changed files with 18 additions and 17 deletions

View File

@ -12,9 +12,10 @@ if (pimple.transonic())
"phid", "phid",
fvc::interpolate(psi) fvc::interpolate(psi)
*( *(
(fvc::interpolate(rho*HbyA) & mesh.Sf()) (fvc::interpolate(HbyA) & mesh.Sf())
+ fvc::interpolate(rho*rAU)*fvc::ddtCorr(rho, U, phi) + fvc::interpolate(rho*rAU)*fvc::ddtCorr(rho, U, phi)
)/fvc::interpolate(rho) /fvc::interpolate(rho)
)
); );
while (pimple.correctNonOrthogonal()) while (pimple.correctNonOrthogonal())

View File

@ -13,9 +13,9 @@ if (pimple.transonic())
"phid", "phid",
fvc::interpolate(psi) fvc::interpolate(psi)
*( *(
(fvc::interpolate(rho*HbyA) & mesh.Sf()) (fvc::interpolate(HbyA) & mesh.Sf())
+ rhorAUf*fvc::ddtCorr(rho, U, phi) + rhorAUf*fvc::ddtCorr(rho, U, phi)/fvc::interpolate(rho)
)/fvc::interpolate(rho) )
); );
fvOptions.makeRelative(fvc::interpolate(psi), phid); fvOptions.makeRelative(fvc::interpolate(psi), phid);

View File

@ -14,9 +14,9 @@ if (pimple.transonic())
fvc::interpolate(psi) fvc::interpolate(psi)
*( *(
( (
(fvc::interpolate(rho*HbyA) & mesh.Sf()) (fvc::interpolate(HbyA) & mesh.Sf())
+ rhorAUf*fvc::ddtCorr(rho, U, rhoUf) + rhorAUf*fvc::ddtCorr(rho, U, rhoUf)/fvc::interpolate(rho)
)/fvc::interpolate(rho) )
) )
); );

View File

@ -13,9 +13,9 @@ if (pimple.transonic())
"phid", "phid",
fvc::interpolate(psi) fvc::interpolate(psi)
*( *(
(fvc::interpolate(rho*HbyA) & mesh.Sf()) (fvc::interpolate(HbyA) & mesh.Sf())
+ rhorAUf*fvc::ddtCorr(rho, U, phi) + rhorAUf*fvc::ddtCorr(rho, U, phi)/fvc::interpolate(rho)
)/fvc::interpolate(rho) )
); );
fvOptions.makeRelative(fvc::interpolate(psi), phid); fvOptions.makeRelative(fvc::interpolate(psi), phid);

View File

@ -17,9 +17,9 @@
( (
"phiHbyA", "phiHbyA",
( (
(fvc::interpolate(rho*HbyA) & mesh.Sf()) (fvc::interpolate(HbyA) & mesh.Sf())
+ rhorAUf*fvc::ddtCorr(rho, U, phi) + rhorAUf*fvc::ddtCorr(rho, U, phi)/fvc::interpolate(rho)
)/fvc::interpolate(rho) )
); );
fvOptions.makeRelative(phiHbyA); fvOptions.makeRelative(phiHbyA);

View File

@ -13,9 +13,9 @@ if (pimple.transonic())
"phid", "phid",
fvc::interpolate(psi) fvc::interpolate(psi)
*( *(
(fvc::interpolate(rho*HbyA) & mesh.Sf()) (fvc::interpolate(HbyA) & mesh.Sf())
+ rhorAUf*fvc::ddtCorr(rho, U, phi) + rhorAUf*fvc::ddtCorr(rho, U, phi)/fvc::interpolate(rho)
)/fvc::interpolate(rho) )
); );
fvOptions.makeRelative(fvc::interpolate(psi), phid); fvOptions.makeRelative(fvc::interpolate(psi), phid);