Commit 046f740f authored by Henry's avatar Henry
Browse files

Renamed relativeFlux -> makeRelative and absoluteFlux -> makeAbsolute

parent 0175bc36
......@@ -59,7 +59,7 @@ int main(int argc, char *argv[])
// function objects so do it ourselves
runTime.functionObjects().start();
fvOptions.relativeFlux(phi);
fvOptions.makeRelative(phi);
adjustPhi(phi, U, p);
......@@ -91,7 +91,7 @@ int main(int argc, char *argv[])
}
}
fvOptions.absoluteFlux(phi);
fvOptions.makeAbsolute(phi);
Info<< "continuity error = "
<< mag(fvc::div(phi))().weightedAverage(mesh.V()).value()
......
......@@ -16,7 +16,7 @@ if (pimple.transonic())
)
);
fvOptions.relativeFlux(fvc::interpolate(psi), phid);
fvOptions.makeRelative(fvc::interpolate(psi), phid);
while (pimple.correctNonOrthogonal())
{
......@@ -51,7 +51,7 @@ else
)
);
fvOptions.relativeFlux(phiHbyA);
fvOptions.makeRelative(phiHbyA);
while (pimple.correctNonOrthogonal())
{
......
......@@ -13,7 +13,7 @@ if (pimple.transonic())
*((fvc::interpolate(HbyA) & mesh.Sf()) - fvc::meshPhi(rho, U))
);
fvOptions.relativeFlux(fvc::interpolate(psi), phid);
fvOptions.makeRelative(fvc::interpolate(psi), phid);
while (pimple.correctNonOrthogonal())
{
......@@ -45,7 +45,7 @@ else
*((fvc::interpolate(HbyA) & mesh.Sf()) - fvc::meshPhi(rho, U))
);
fvOptions.relativeFlux(fvc::interpolate(rho), phiHbyA);
fvOptions.makeRelative(fvc::interpolate(rho), phiHbyA);
while (pimple.correctNonOrthogonal())
{
......
......@@ -21,7 +21,7 @@ surfaceScalarField phiHbyA
+ phig
);
fvOptions.relativeFlux(phiHbyA);
fvOptions.makeRelative(phiHbyA);
while (pimple.correctNonOrthogonal())
{
......
......@@ -16,7 +16,7 @@ if (pimple.transonic())
)
);
fvOptions.relativeFlux(fvc::interpolate(psi), phid);
fvOptions.makeRelative(fvc::interpolate(psi), phid);
while (pimple.correctNonOrthogonal())
{
......@@ -51,7 +51,7 @@ else
)
);
fvOptions.relativeFlux(fvc::interpolate(rho), phiHbyA);
fvOptions.makeRelative(fvc::interpolate(rho), phiHbyA);
while (pimple.correctNonOrthogonal())
{
......
......@@ -24,7 +24,7 @@
+ phig
);
fvOptions.relativeFlux(fvc::interpolate(rho), phiHbyA);
fvOptions.makeRelative(fvc::interpolate(rho), phiHbyA);
fvScalarMatrix p_rghDDtEqn
(
......
......@@ -18,7 +18,7 @@
+ fvc::ddtPhiCorr(rAU, rho, U, phi)
);
fvOptions.relativeFlux(phiHbyA);
fvOptions.makeRelative(phiHbyA);
surfaceScalarField phid("phid", fvc::interpolate(thermo.psi())*phiHbyA);
......@@ -62,7 +62,7 @@
)
);
fvOptions.relativeFlux(fvc::interpolate(rho), phiHbyA);
fvOptions.makeRelative(fvc::interpolate(rho), phiHbyA);
fvScalarMatrix pDDtEqn
(
......
......@@ -24,7 +24,7 @@ if (pimple.transonic())
)
);
fvOptions.relativeFlux(fvc::interpolate(psi), phid);
fvOptions.makeRelative(fvc::interpolate(psi), phid);
volScalarField Dp("Dp", rho*rAU);
......@@ -61,7 +61,7 @@ else
)
);
fvOptions.relativeFlux(fvc::interpolate(rho), phiHbyA);
fvOptions.makeRelative(fvc::interpolate(rho), phiHbyA);
volScalarField Dp("Dp", rho*rAU);
......
......@@ -24,7 +24,7 @@ if (pimple.transonic())
)
);
fvOptions.relativeFlux(fvc::interpolate(psi), phid);
fvOptions.makeRelative(fvc::interpolate(psi), phid);
volScalarField Dp("Dp", rho*rAU);
......@@ -62,7 +62,7 @@ else
)
);
fvOptions.relativeFlux(fvc::interpolate(rho), phiHbyA);
fvOptions.makeRelative(fvc::interpolate(rho), phiHbyA);
volScalarField Dp("Dp", rho*rAU);
......
......@@ -25,7 +25,7 @@ if (pimple.transonic())
)
);
fvOptions.relativeFlux(fvc::interpolate(psi), phid);
fvOptions.makeRelative(fvc::interpolate(psi), phid);
surfaceScalarField phic
(
......@@ -71,7 +71,7 @@ else
)
);
fvOptions.relativeFlux(fvc::interpolate(rho), phiHbyA);
fvOptions.makeRelative(fvc::interpolate(rho), phiHbyA);
phiHbyA += fvc::interpolate(rho*(rAtU - rAU))*fvc::snGrad(p)*mesh.magSf();
HbyA -= (rAU - rAtU)*fvc::grad(p);
......
......@@ -15,7 +15,7 @@
fvc::interpolate(psi)*(fvc::interpolate(HbyA) & mesh.Sf())
);
fvOptions.relativeFlux(fvc::interpolate(psi), phid);
fvOptions.makeRelative(fvc::interpolate(psi), phid);
while (simple.correctNonOrthogonal())
{
......@@ -50,7 +50,7 @@
fvc::interpolate(rho)*(fvc::interpolate(HbyA) & mesh.Sf())
);
fvOptions.relativeFlux(fvc::interpolate(rho), phiHbyA);
fvOptions.makeRelative(fvc::interpolate(rho), phiHbyA);
closedVolume = adjustPhi(phiHbyA, U, p);
......
......@@ -22,7 +22,7 @@
fvc::interpolate(rho*HbyA) & mesh.Sf()
);
fvOptions.relativeFlux(fvc::interpolate(rho), phiHbyA);
fvOptions.makeRelative(fvc::interpolate(rho), phiHbyA);
closedVolume = adjustPhi(phiHbyA, U, p);
......
......@@ -24,7 +24,7 @@
+ phig
);
fvOptions.relativeFlux(fvc::interpolate(rho), phiHbyA);
fvOptions.makeRelative(fvc::interpolate(rho), phiHbyA);
fvScalarMatrix p_rghDDtEqn
(
......
......@@ -17,7 +17,7 @@
fvc::interpolate(rho)*(fvc::interpolate(HbyA) & mesh.Sf())
);
fvOptions.relativeFlux(fvc::interpolate(rho), phiHbyA);
fvOptions.makeRelative(fvc::interpolate(rho), phiHbyA);
bool closedVolume = adjustPhi(phiHbyA, U, p_rgh);
......
......@@ -19,7 +19,7 @@
fvc::interpolate(rho)*(fvc::interpolate(HbyA) & mesh.Sf())
);
fvOptions.relativeFlux(fvc::interpolate(rho), phiHbyA);
fvOptions.makeRelative(fvc::interpolate(rho), phiHbyA);
bool closedVolume = adjustPhi(phiHbyA, U, p_rgh);
......
......@@ -24,7 +24,7 @@
+ phig
);
fvOptions.relativeFlux(fvc::interpolate(rho), phiHbyA);
fvOptions.makeRelative(fvc::interpolate(rho), phiHbyA);
{
fvScalarMatrix p_rghDDtEqn
......
......@@ -13,7 +13,7 @@ surfaceScalarField phiHbyA
+ fvc::ddtPhiCorr(rAU, U, phi)
);
fvOptions.relativeFlux(phiHbyA);
fvOptions.makeRelative(phiHbyA);
adjustPhi(phiHbyA, U, p);
......
......@@ -6,7 +6,7 @@
surfaceScalarField phiHbyA("phiHbyA", fvc::interpolate(HbyA) & mesh.Sf());
fvOptions.relativeFlux(phiHbyA);
fvOptions.makeRelative(phiHbyA);
adjustPhi(phiHbyA, U, p);
......
......@@ -11,7 +11,7 @@ else
UEqn.clear();
surfaceScalarField phiHbyA("phiHbyA", fvc::interpolate(HbyA) & mesh.Sf());
mrfZones.relativeFlux(phiHbyA);
mrfZones.makeRelative(phiHbyA);
adjustPhi(phiHbyA, U, p);
......
......@@ -16,7 +16,7 @@ if (pimple.transonic())
)
);
fvOptions.relativeFlux(fvc::interpolate(psi), phid);
fvOptions.makeRelative(fvc::interpolate(psi), phid);
while (pimple.correctNonOrthogonal())
{
......@@ -52,7 +52,7 @@ else
)
);
fvOptions.relativeFlux(fvc::interpolate(rho), phiHbyA);
fvOptions.makeRelative(fvc::interpolate(rho), phiHbyA);
while (pimple.correctNonOrthogonal())
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment