mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Thermodynamics and sub-models: Removed "Sp" boundedness corrections on transport, replaced with "bounded Gauss" scheme
This commit is contained in:
@ -4,7 +4,6 @@ tmp<fvVectorMatrix> UEqn
|
|||||||
(
|
(
|
||||||
fvm::ddt(rho, U)
|
fvm::ddt(rho, U)
|
||||||
+ fvm::div(phi, U)
|
+ fvm::div(phi, U)
|
||||||
- fvm::Sp(fvc::ddt(rho) + fvc::div(phi), U)
|
|
||||||
+ turbulence->divDevRhoReff(U)
|
+ turbulence->divDevRhoReff(U)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@ -3,14 +3,10 @@
|
|||||||
(
|
(
|
||||||
fvm::ddt(rho, h)
|
fvm::ddt(rho, h)
|
||||||
+ fvm::div(phi, h)
|
+ fvm::div(phi, h)
|
||||||
- fvm::Sp(fvc::ddt(rho) + fvc::div(phi), h)
|
|
||||||
- fvm::laplacian(turbulence->alphaEff(), h)
|
- fvm::laplacian(turbulence->alphaEff(), h)
|
||||||
==
|
==
|
||||||
dpdt
|
dpdt
|
||||||
- (
|
- fvc::ddt(rho, K) + fvc::div(phi, K)
|
||||||
fvc::ddt(rho, K) + fvc::div(phi, K)
|
|
||||||
- (fvc::ddt(rho) + fvc::div(phi))*K
|
|
||||||
)
|
|
||||||
);
|
);
|
||||||
|
|
||||||
hEqn.relax();
|
hEqn.relax();
|
||||||
|
|||||||
@ -3,7 +3,6 @@
|
|||||||
tmp<fvVectorMatrix> UEqn
|
tmp<fvVectorMatrix> UEqn
|
||||||
(
|
(
|
||||||
fvm::div(phi, U)
|
fvm::div(phi, U)
|
||||||
- fvm::Sp(fvc::div(phi), U)
|
|
||||||
+ turbulence->divDevRhoReff(U)
|
+ turbulence->divDevRhoReff(U)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@ -7,7 +7,6 @@
|
|||||||
fvScalarMatrix TEqn
|
fvScalarMatrix TEqn
|
||||||
(
|
(
|
||||||
fvm::div(phi, T)
|
fvm::div(phi, T)
|
||||||
- fvm::Sp(fvc::div(phi), T)
|
|
||||||
- fvm::laplacian(kappaEff, T)
|
- fvm::laplacian(kappaEff, T)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,6 @@
|
|||||||
fvScalarMatrix hEqn
|
fvScalarMatrix hEqn
|
||||||
(
|
(
|
||||||
fvm::div(phi, h)
|
fvm::div(phi, h)
|
||||||
- fvm::Sp(fvc::div(phi), h)
|
|
||||||
- fvm::laplacian(turb.alphaEff(), h)
|
- fvm::laplacian(turb.alphaEff(), h)
|
||||||
==
|
==
|
||||||
- fvc::div(phi, 0.5*magSqr(U), "div(phi,K)")
|
- fvc::div(phi, 0.5*magSqr(U), "div(phi,K)")
|
||||||
|
|||||||
@ -7,23 +7,31 @@
|
|||||||
volScalarField rAU(1.0/UEqn().A());
|
volScalarField rAU(1.0/UEqn().A());
|
||||||
surfaceScalarField rhorAUf("Dp", fvc::interpolate(rho*rAU));
|
surfaceScalarField rhorAUf("Dp", fvc::interpolate(rho*rAU));
|
||||||
|
|
||||||
U = rAU*UEqn().H();
|
volVectorField HbyA("HbyA", U);
|
||||||
|
HbyA = rAU*UEqn().H();
|
||||||
UEqn.clear();
|
UEqn.clear();
|
||||||
|
|
||||||
phi = fvc::interpolate(rho)*(fvc::interpolate(U) & mesh.Sf());
|
surfaceScalarField phig(-rhorAUf*ghf*fvc::snGrad(rho)*mesh.magSf());
|
||||||
bool closedVolume = adjustPhi(phi, U, p_rgh);
|
|
||||||
|
surfaceScalarField phiHbyA
|
||||||
|
(
|
||||||
|
"phiHbyA",
|
||||||
|
fvc::interpolate(rho)*(fvc::interpolate(HbyA) & mesh.Sf())
|
||||||
|
);
|
||||||
|
|
||||||
|
bool closedVolume = adjustPhi(phiHbyA, U, p_rgh);
|
||||||
|
|
||||||
|
phiHbyA += phig;
|
||||||
|
|
||||||
dimensionedScalar compressibility = fvc::domainIntegrate(psi);
|
dimensionedScalar compressibility = fvc::domainIntegrate(psi);
|
||||||
bool compressible = (compressibility.value() > SMALL);
|
bool compressible = (compressibility.value() > SMALL);
|
||||||
|
|
||||||
surfaceScalarField phig(-rhorAUf*ghf*fvc::snGrad(rho)*mesh.magSf());
|
|
||||||
phi += phig;
|
|
||||||
|
|
||||||
// Solve pressure
|
// Solve pressure
|
||||||
for (int nonOrth=0; nonOrth<=nNonOrthCorr; nonOrth++)
|
for (int nonOrth=0; nonOrth<=nNonOrthCorr; nonOrth++)
|
||||||
{
|
{
|
||||||
fvScalarMatrix p_rghEqn
|
fvScalarMatrix p_rghEqn
|
||||||
(
|
(
|
||||||
fvm::laplacian(rhorAUf, p_rgh) == fvc::div(phi)
|
fvm::laplacian(rhorAUf, p_rgh) == fvc::div(phiHbyA)
|
||||||
);
|
);
|
||||||
|
|
||||||
p_rghEqn.setReference
|
p_rghEqn.setReference
|
||||||
@ -37,14 +45,14 @@
|
|||||||
if (nonOrth == nNonOrthCorr)
|
if (nonOrth == nNonOrthCorr)
|
||||||
{
|
{
|
||||||
// Calculate the conservative fluxes
|
// Calculate the conservative fluxes
|
||||||
phi -= p_rghEqn.flux();
|
phi = phiHbyA - p_rghEqn.flux();
|
||||||
|
|
||||||
// Explicitly relax pressure for momentum corrector
|
// Explicitly relax pressure for momentum corrector
|
||||||
p_rgh.relax();
|
p_rgh.relax();
|
||||||
|
|
||||||
// Correct the momentum source with the pressure gradient flux
|
// Correct the momentum source with the pressure gradient flux
|
||||||
// calculated from the relaxed pressure
|
// calculated from the relaxed pressure
|
||||||
U += rAU*fvc::reconstruct((phig - p_rghEqn.flux())/rhorAUf);
|
U = HbyA + rAU*fvc::reconstruct((phig - p_rghEqn.flux())/rhorAUf);
|
||||||
U.correctBoundaryConditions();
|
U.correctBoundaryConditions();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,7 +2,6 @@
|
|||||||
fvScalarMatrix hPorousEqn
|
fvScalarMatrix hPorousEqn
|
||||||
(
|
(
|
||||||
fvm::div(porousPhi, porousH)
|
fvm::div(porousPhi, porousH)
|
||||||
- fvm::Sp(fvc::div(porousPhi), porousH)
|
|
||||||
- fvm::laplacian(turbPorous.alphaEff(), porousH)
|
- fvm::laplacian(turbPorous.alphaEff(), porousH)
|
||||||
==
|
==
|
||||||
- fvc::div(porousPhi, 0.5*magSqr(porousU), "div(phi,K)")
|
- fvc::div(porousPhi, 0.5*magSqr(porousU), "div(phi,K)")
|
||||||
|
|||||||
@ -5,6 +5,27 @@
|
|||||||
volScalarField rAU("rAU", 1.0/UEqn.A());
|
volScalarField rAU("rAU", 1.0/UEqn.A());
|
||||||
surfaceScalarField rAUf("Dp", fvc::interpolate(rAU));
|
surfaceScalarField rAUf("Dp", fvc::interpolate(rAU));
|
||||||
|
|
||||||
|
volVectorField HbyA("HbyA", U);
|
||||||
|
HbyA = rAU*UEqn.H();
|
||||||
|
|
||||||
|
surfaceScalarField phiHbyA
|
||||||
|
(
|
||||||
|
"phiHbyA",
|
||||||
|
(fvc::interpolate(HbyA) & mesh.Sf())
|
||||||
|
+ fvc::ddtPhiCorr(rAU, rho, U, phi)
|
||||||
|
);
|
||||||
|
phi = phiHbyA;
|
||||||
|
|
||||||
|
surfaceScalarField phig
|
||||||
|
(
|
||||||
|
(
|
||||||
|
fvc::interpolate(interface.sigmaK())*fvc::snGrad(alpha1)
|
||||||
|
- ghf*fvc::snGrad(rho)
|
||||||
|
)*rAUf*mesh.magSf()
|
||||||
|
);
|
||||||
|
|
||||||
|
phiHbyA += phig;
|
||||||
|
|
||||||
tmp<fvScalarMatrix> p_rghEqnComp1;
|
tmp<fvScalarMatrix> p_rghEqnComp1;
|
||||||
tmp<fvScalarMatrix> p_rghEqnComp2;
|
tmp<fvScalarMatrix> p_rghEqnComp2;
|
||||||
|
|
||||||
@ -27,27 +48,6 @@
|
|||||||
- fvc::Sp(fvc::div(phid2), p_rgh);
|
- fvc::Sp(fvc::div(phid2), p_rgh);
|
||||||
}
|
}
|
||||||
|
|
||||||
volVectorField HbyA("HbyA", U);
|
|
||||||
HbyA = rAU*UEqn.H();
|
|
||||||
|
|
||||||
surfaceScalarField phiHbyA
|
|
||||||
(
|
|
||||||
"phiHbyA",
|
|
||||||
(fvc::interpolate(HbyA) & mesh.Sf())
|
|
||||||
+ fvc::ddtPhiCorr(rAU, rho, U, phi)
|
|
||||||
);
|
|
||||||
phi = phiHbyA;
|
|
||||||
|
|
||||||
surfaceScalarField phig
|
|
||||||
(
|
|
||||||
(
|
|
||||||
fvc::interpolate(interface.sigmaK())*fvc::snGrad(alpha1)
|
|
||||||
- ghf*fvc::snGrad(rho)
|
|
||||||
)*rAUf*mesh.magSf()
|
|
||||||
);
|
|
||||||
|
|
||||||
phiHbyA += phig;
|
|
||||||
|
|
||||||
// Thermodynamic density needs to be updated by psi*d(p) after the
|
// Thermodynamic density needs to be updated by psi*d(p) after the
|
||||||
// pressure solution - done in 2 parts. Part 1:
|
// pressure solution - done in 2 parts. Part 1:
|
||||||
//thermo.rho() -= psi*p_rgh;
|
//thermo.rho() -= psi*p_rgh;
|
||||||
|
|||||||
@ -6,7 +6,6 @@
|
|||||||
(
|
(
|
||||||
fvm::ddt(alpha1, T1)
|
fvm::ddt(alpha1, T1)
|
||||||
+ fvm::div(alphaPhi1, T1)
|
+ fvm::div(alphaPhi1, T1)
|
||||||
- fvm::Sp(fvc::ddt(alpha1) + fvc::div(alphaPhi1), T1)
|
|
||||||
- fvm::laplacian(kByCp1, T1)
|
- fvm::laplacian(kByCp1, T1)
|
||||||
==
|
==
|
||||||
heatTransferCoeff*T2/Cp1/rho1
|
heatTransferCoeff*T2/Cp1/rho1
|
||||||
@ -18,7 +17,6 @@
|
|||||||
(
|
(
|
||||||
fvm::ddt(alpha2, T2)
|
fvm::ddt(alpha2, T2)
|
||||||
+ fvm::div(alphaPhi2, T2)
|
+ fvm::div(alphaPhi2, T2)
|
||||||
- fvm::Sp(fvc::ddt(alpha2) + fvc::div(alphaPhi2), T2)
|
|
||||||
- fvm::laplacian(kByCp2, T2)
|
- fvm::laplacian(kByCp2, T2)
|
||||||
==
|
==
|
||||||
heatTransferCoeff*T1/Cp2/rho2
|
heatTransferCoeff*T1/Cp2/rho2
|
||||||
|
|||||||
@ -30,7 +30,6 @@ fvVectorMatrix U2Eqn(U2, U2.dimensions()*dimVol/dimTime);
|
|||||||
(
|
(
|
||||||
fvm::ddt(alpha1, U1)
|
fvm::ddt(alpha1, U1)
|
||||||
+ fvm::div(alphaPhi1, U1)
|
+ fvm::div(alphaPhi1, U1)
|
||||||
- fvm::Sp(fvc::ddt(alpha1) + fvc::div(alphaPhi1), U1)
|
|
||||||
|
|
||||||
+ Cvm*rho2*alpha1*alpha2/rho1*
|
+ Cvm*rho2*alpha1*alpha2/rho1*
|
||||||
(
|
(
|
||||||
@ -61,7 +60,6 @@ fvVectorMatrix U2Eqn(U2, U2.dimensions()*dimVol/dimTime);
|
|||||||
(
|
(
|
||||||
fvm::ddt(alpha2, U2)
|
fvm::ddt(alpha2, U2)
|
||||||
+ fvm::div(alphaPhi2, U2)
|
+ fvm::div(alphaPhi2, U2)
|
||||||
- fvm::Sp(fvc::ddt(alpha2) + fvc::div(alphaPhi2), U2)
|
|
||||||
|
|
||||||
+ Cvm*rho2*alpha1*alpha2/rho2*
|
+ Cvm*rho2*alpha1*alpha2/rho2*
|
||||||
(
|
(
|
||||||
|
|||||||
@ -2,7 +2,6 @@
|
|||||||
(
|
(
|
||||||
fvm::ddt(rho, U)
|
fvm::ddt(rho, U)
|
||||||
+ fvm::div(rhoPhi, U)
|
+ fvm::div(rhoPhi, U)
|
||||||
- fvm::Sp(fvc::ddt(rho) + fvc::div(rhoPhi), U)
|
|
||||||
+ turbulence->divDevRhoReff(rho, U)
|
+ turbulence->divDevRhoReff(rho, U)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@ -6,7 +6,6 @@
|
|||||||
(
|
(
|
||||||
fvm::ddt(alpha1, T1)
|
fvm::ddt(alpha1, T1)
|
||||||
+ fvm::div(alphaPhi1, T1)
|
+ fvm::div(alphaPhi1, T1)
|
||||||
- fvm::Sp(fvc::ddt(alpha1) + fvc::div(alphaPhi1), T1)
|
|
||||||
- fvm::laplacian(kByCp1, T1)
|
- fvm::laplacian(kByCp1, T1)
|
||||||
==
|
==
|
||||||
heatTransferCoeff*T2/Cp1/rho1
|
heatTransferCoeff*T2/Cp1/rho1
|
||||||
@ -18,7 +17,6 @@
|
|||||||
(
|
(
|
||||||
fvm::ddt(alpha2, T2)
|
fvm::ddt(alpha2, T2)
|
||||||
+ fvm::div(alphaPhi2, T2)
|
+ fvm::div(alphaPhi2, T2)
|
||||||
- fvm::Sp(fvc::ddt(alpha2) + fvc::div(alphaPhi2), T2)
|
|
||||||
- fvm::laplacian(kByCp2, T2)
|
- fvm::laplacian(kByCp2, T2)
|
||||||
==
|
==
|
||||||
heatTransferCoeff*T1/Cp2/rho2
|
heatTransferCoeff*T1/Cp2/rho2
|
||||||
|
|||||||
@ -17,7 +17,6 @@ forAllIter(PtrDictionary<phaseModel>, fluid.phases(), iter)
|
|||||||
(
|
(
|
||||||
fvm::ddt(alpha, U)
|
fvm::ddt(alpha, U)
|
||||||
+ fvm::div(phase.phiAlpha(), U)
|
+ fvm::div(phase.phiAlpha(), U)
|
||||||
- fvm::Sp(fvc::ddt(alpha) + fvc::div(phase.phiAlpha()), U)
|
|
||||||
|
|
||||||
+ (alpha/phase.rho())*fluid.Cvm(phase)*
|
+ (alpha/phase.rho())*fluid.Cvm(phase)*
|
||||||
(
|
(
|
||||||
|
|||||||
@ -351,7 +351,6 @@ void LRR::correct()
|
|||||||
(
|
(
|
||||||
fvm::ddt(rho_, epsilon_)
|
fvm::ddt(rho_, epsilon_)
|
||||||
+ fvm::div(phi_, epsilon_)
|
+ fvm::div(phi_, epsilon_)
|
||||||
- fvm::Sp(fvc::ddt(rho_) + fvc::div(phi_), epsilon_)
|
|
||||||
//- fvm::laplacian(Ceps*rho_*(k_/epsilon_)*R_, epsilon_)
|
//- fvm::laplacian(Ceps*rho_*(k_/epsilon_)*R_, epsilon_)
|
||||||
- fvm::laplacian(DepsilonEff(), epsilon_)
|
- fvm::laplacian(DepsilonEff(), epsilon_)
|
||||||
==
|
==
|
||||||
@ -394,7 +393,6 @@ void LRR::correct()
|
|||||||
(
|
(
|
||||||
fvm::ddt(rho_, R_)
|
fvm::ddt(rho_, R_)
|
||||||
+ fvm::div(phi_, R_)
|
+ fvm::div(phi_, R_)
|
||||||
- fvm::Sp(fvc::ddt(rho_) + fvc::div(phi_), R_)
|
|
||||||
//- fvm::laplacian(Cs*rho_*(k_/epsilon_)*R_, R_)
|
//- fvm::laplacian(Cs*rho_*(k_/epsilon_)*R_, R_)
|
||||||
- fvm::laplacian(DREff(), R_)
|
- fvm::laplacian(DREff(), R_)
|
||||||
+ fvm::Sp(Clrr1_*rho_*epsilon_/k_, R_)
|
+ fvm::Sp(Clrr1_*rho_*epsilon_/k_, R_)
|
||||||
|
|||||||
@ -389,7 +389,6 @@ void LaunderGibsonRSTM::correct()
|
|||||||
(
|
(
|
||||||
fvm::ddt(rho_, epsilon_)
|
fvm::ddt(rho_, epsilon_)
|
||||||
+ fvm::div(phi_, epsilon_)
|
+ fvm::div(phi_, epsilon_)
|
||||||
- fvm::Sp(fvc::ddt(rho_) + fvc::div(phi_), epsilon_)
|
|
||||||
//- fvm::laplacian(Ceps*rho_*(k_/epsilon_)*R_, epsilon_)
|
//- fvm::laplacian(Ceps*rho_*(k_/epsilon_)*R_, epsilon_)
|
||||||
- fvm::laplacian(DepsilonEff(), epsilon_)
|
- fvm::laplacian(DepsilonEff(), epsilon_)
|
||||||
==
|
==
|
||||||
@ -433,7 +432,6 @@ void LaunderGibsonRSTM::correct()
|
|||||||
(
|
(
|
||||||
fvm::ddt(rho_, R_)
|
fvm::ddt(rho_, R_)
|
||||||
+ fvm::div(phi_, R_)
|
+ fvm::div(phi_, R_)
|
||||||
- fvm::Sp(fvc::ddt(rho_) + fvc::div(phi_), R_)
|
|
||||||
//- fvm::laplacian(Cs*rho_*(k_/epsilon_)*R_, R_)
|
//- fvm::laplacian(Cs*rho_*(k_/epsilon_)*R_, R_)
|
||||||
- fvm::laplacian(DREff(), R_)
|
- fvm::laplacian(DREff(), R_)
|
||||||
+ fvm::Sp(Clg1_*rho_*epsilon_/k_, R_)
|
+ fvm::Sp(Clg1_*rho_*epsilon_/k_, R_)
|
||||||
|
|||||||
@ -314,7 +314,6 @@ void LaunderSharmaKE::correct()
|
|||||||
(
|
(
|
||||||
fvm::ddt(rho_, epsilon_)
|
fvm::ddt(rho_, epsilon_)
|
||||||
+ fvm::div(phi_, epsilon_)
|
+ fvm::div(phi_, epsilon_)
|
||||||
- fvm::Sp(fvc::ddt(rho_) + fvc::div(phi_), epsilon_)
|
|
||||||
- fvm::laplacian(DepsilonEff(), epsilon_)
|
- fvm::laplacian(DepsilonEff(), epsilon_)
|
||||||
==
|
==
|
||||||
C1_*G*epsilon_/k_
|
C1_*G*epsilon_/k_
|
||||||
@ -334,7 +333,6 @@ void LaunderSharmaKE::correct()
|
|||||||
(
|
(
|
||||||
fvm::ddt(rho_, k_)
|
fvm::ddt(rho_, k_)
|
||||||
+ fvm::div(phi_, k_)
|
+ fvm::div(phi_, k_)
|
||||||
- fvm::Sp(fvc::ddt(rho_) + fvc::div(phi_), k_)
|
|
||||||
- fvm::laplacian(DkEff(), k_)
|
- fvm::laplacian(DkEff(), k_)
|
||||||
==
|
==
|
||||||
G - fvm::SuSp(2.0/3.0*rho_*divU, k_)
|
G - fvm::SuSp(2.0/3.0*rho_*divU, k_)
|
||||||
|
|||||||
@ -321,7 +321,6 @@ void RNGkEpsilon::correct()
|
|||||||
(
|
(
|
||||||
fvm::ddt(rho_, epsilon_)
|
fvm::ddt(rho_, epsilon_)
|
||||||
+ fvm::div(phi_, epsilon_)
|
+ fvm::div(phi_, epsilon_)
|
||||||
- fvm::Sp(fvc::ddt(rho_) + fvc::div(phi_), epsilon_)
|
|
||||||
- fvm::laplacian(DepsilonEff(), epsilon_)
|
- fvm::laplacian(DepsilonEff(), epsilon_)
|
||||||
==
|
==
|
||||||
(C1_ - R)*G*epsilon_/k_
|
(C1_ - R)*G*epsilon_/k_
|
||||||
@ -343,7 +342,6 @@ void RNGkEpsilon::correct()
|
|||||||
(
|
(
|
||||||
fvm::ddt(rho_, k_)
|
fvm::ddt(rho_, k_)
|
||||||
+ fvm::div(phi_, k_)
|
+ fvm::div(phi_, k_)
|
||||||
- fvm::Sp(fvc::ddt(rho_) + fvc::div(phi_), k_)
|
|
||||||
- fvm::laplacian(DkEff(), k_)
|
- fvm::laplacian(DkEff(), k_)
|
||||||
==
|
==
|
||||||
G - fvm::SuSp(2.0/3.0*rho_*divU, k_)
|
G - fvm::SuSp(2.0/3.0*rho_*divU, k_)
|
||||||
|
|||||||
@ -416,7 +416,6 @@ void SpalartAllmaras::correct()
|
|||||||
(
|
(
|
||||||
fvm::ddt(rho_, nuTilda_)
|
fvm::ddt(rho_, nuTilda_)
|
||||||
+ fvm::div(phi_, nuTilda_)
|
+ fvm::div(phi_, nuTilda_)
|
||||||
- fvm::Sp(fvc::ddt(rho_) + fvc::div(phi_), nuTilda_)
|
|
||||||
- fvm::laplacian(DnuTildaEff(), nuTilda_)
|
- fvm::laplacian(DnuTildaEff(), nuTilda_)
|
||||||
- Cb2_/sigmaNut_*rho_*magSqr(fvc::grad(nuTilda_))
|
- Cb2_/sigmaNut_*rho_*magSqr(fvc::grad(nuTilda_))
|
||||||
==
|
==
|
||||||
|
|||||||
@ -292,7 +292,6 @@ void kEpsilon::correct()
|
|||||||
(
|
(
|
||||||
fvm::ddt(rho_, epsilon_)
|
fvm::ddt(rho_, epsilon_)
|
||||||
+ fvm::div(phi_, epsilon_)
|
+ fvm::div(phi_, epsilon_)
|
||||||
//***HGW - fvm::Sp(fvc::ddt(rho_) + fvc::div(phi_), epsilon_)
|
|
||||||
- fvm::laplacian(DepsilonEff(), epsilon_)
|
- fvm::laplacian(DepsilonEff(), epsilon_)
|
||||||
==
|
==
|
||||||
C1_*G*epsilon_/k_
|
C1_*G*epsilon_/k_
|
||||||
@ -314,7 +313,6 @@ void kEpsilon::correct()
|
|||||||
(
|
(
|
||||||
fvm::ddt(rho_, k_)
|
fvm::ddt(rho_, k_)
|
||||||
+ fvm::div(phi_, k_)
|
+ fvm::div(phi_, k_)
|
||||||
//***HGW - fvm::Sp(fvc::ddt(rho_) + fvc::div(phi_), k_)
|
|
||||||
- fvm::laplacian(DkEff(), k_)
|
- fvm::laplacian(DkEff(), k_)
|
||||||
==
|
==
|
||||||
G
|
G
|
||||||
|
|||||||
@ -411,7 +411,6 @@ void kOmegaSST::correct()
|
|||||||
(
|
(
|
||||||
fvm::ddt(rho_, omega_)
|
fvm::ddt(rho_, omega_)
|
||||||
+ fvm::div(phi_, omega_)
|
+ fvm::div(phi_, omega_)
|
||||||
- fvm::Sp(fvc::ddt(rho_) + fvc::div(phi_), omega_)
|
|
||||||
- fvm::laplacian(DomegaEff(F1), omega_)
|
- fvm::laplacian(DomegaEff(F1), omega_)
|
||||||
==
|
==
|
||||||
rhoGammaF1*GbyMu
|
rhoGammaF1*GbyMu
|
||||||
@ -436,7 +435,6 @@ void kOmegaSST::correct()
|
|||||||
(
|
(
|
||||||
fvm::ddt(rho_, k_)
|
fvm::ddt(rho_, k_)
|
||||||
+ fvm::div(phi_, k_)
|
+ fvm::div(phi_, k_)
|
||||||
- fvm::Sp(fvc::ddt(rho_) + fvc::div(phi_), k_)
|
|
||||||
- fvm::laplacian(DkEff(F1), k_)
|
- fvm::laplacian(DkEff(F1), k_)
|
||||||
==
|
==
|
||||||
min(G, (c1_*betaStar_)*rho_*k_*omega_)
|
min(G, (c1_*betaStar_)*rho_*k_*omega_)
|
||||||
|
|||||||
@ -331,7 +331,6 @@ void realizableKE::correct()
|
|||||||
(
|
(
|
||||||
fvm::ddt(rho_, epsilon_)
|
fvm::ddt(rho_, epsilon_)
|
||||||
+ fvm::div(phi_, epsilon_)
|
+ fvm::div(phi_, epsilon_)
|
||||||
- fvm::Sp(fvc::ddt(rho_) + fvc::div(phi_), epsilon_)
|
|
||||||
- fvm::laplacian(DepsilonEff(), epsilon_)
|
- fvm::laplacian(DepsilonEff(), epsilon_)
|
||||||
==
|
==
|
||||||
C1*rho_*magS*epsilon_
|
C1*rho_*magS*epsilon_
|
||||||
@ -356,7 +355,6 @@ void realizableKE::correct()
|
|||||||
(
|
(
|
||||||
fvm::ddt(rho_, k_)
|
fvm::ddt(rho_, k_)
|
||||||
+ fvm::div(phi_, k_)
|
+ fvm::div(phi_, k_)
|
||||||
- fvm::Sp(fvc::ddt(rho_) + fvc::div(phi_), k_)
|
|
||||||
- fvm::laplacian(DkEff(), k_)
|
- fvm::laplacian(DkEff(), k_)
|
||||||
==
|
==
|
||||||
G - fvm::SuSp(2.0/3.0*rho_*divU, k_)
|
G - fvm::SuSp(2.0/3.0*rho_*divU, k_)
|
||||||
|
|||||||
@ -361,7 +361,6 @@ void kOmegaSSTSAS::correct(const tmp<volTensorField>& gradU)
|
|||||||
(
|
(
|
||||||
fvm::ddt(k_)
|
fvm::ddt(k_)
|
||||||
+ fvm::div(phi(), k_)
|
+ fvm::div(phi(), k_)
|
||||||
- fvm::Sp(fvc::div(phi()), k_)
|
|
||||||
- fvm::laplacian(DkEff(F1), k_)
|
- fvm::laplacian(DkEff(F1), k_)
|
||||||
==
|
==
|
||||||
min(G, c1_*betaStar_*k_*omega_)
|
min(G, c1_*betaStar_*k_*omega_)
|
||||||
@ -385,7 +384,6 @@ void kOmegaSSTSAS::correct(const tmp<volTensorField>& gradU)
|
|||||||
(
|
(
|
||||||
fvm::ddt(omega_)
|
fvm::ddt(omega_)
|
||||||
+ fvm::div(phi(), omega_)
|
+ fvm::div(phi(), omega_)
|
||||||
- fvm::Sp(fvc::div(phi()), omega_)
|
|
||||||
- fvm::laplacian(DomegaEff(F1), omega_)
|
- fvm::laplacian(DomegaEff(F1), omega_)
|
||||||
==
|
==
|
||||||
gamma(F1)*S2
|
gamma(F1)*S2
|
||||||
|
|||||||
@ -349,7 +349,6 @@ void LRR::correct()
|
|||||||
(
|
(
|
||||||
fvm::ddt(epsilon_)
|
fvm::ddt(epsilon_)
|
||||||
+ fvm::div(phi_, epsilon_)
|
+ fvm::div(phi_, epsilon_)
|
||||||
- fvm::Sp(fvc::div(phi_), epsilon_)
|
|
||||||
//- fvm::laplacian(Ceps*(K/epsilon_)*R, epsilon_)
|
//- fvm::laplacian(Ceps*(K/epsilon_)*R, epsilon_)
|
||||||
- fvm::laplacian(DepsilonEff(), epsilon_)
|
- fvm::laplacian(DepsilonEff(), epsilon_)
|
||||||
==
|
==
|
||||||
@ -392,7 +391,6 @@ void LRR::correct()
|
|||||||
(
|
(
|
||||||
fvm::ddt(R_)
|
fvm::ddt(R_)
|
||||||
+ fvm::div(phi_, R_)
|
+ fvm::div(phi_, R_)
|
||||||
- fvm::Sp(fvc::div(phi_), R_)
|
|
||||||
//- fvm::laplacian(Cs*(k_/epsilon_)*R_, R_)
|
//- fvm::laplacian(Cs*(k_/epsilon_)*R_, R_)
|
||||||
- fvm::laplacian(DREff(), R_)
|
- fvm::laplacian(DREff(), R_)
|
||||||
+ fvm::Sp(Clrr1_*epsilon_/k_, R_)
|
+ fvm::Sp(Clrr1_*epsilon_/k_, R_)
|
||||||
|
|||||||
@ -396,7 +396,6 @@ void LaunderGibsonRSTM::correct()
|
|||||||
(
|
(
|
||||||
fvm::ddt(epsilon_)
|
fvm::ddt(epsilon_)
|
||||||
+ fvm::div(phi_, epsilon_)
|
+ fvm::div(phi_, epsilon_)
|
||||||
- fvm::Sp(fvc::div(phi_), epsilon_)
|
|
||||||
//- fvm::laplacian(Ceps*(k_/epsilon_)*R_, epsilon_)
|
//- fvm::laplacian(Ceps*(k_/epsilon_)*R_, epsilon_)
|
||||||
- fvm::laplacian(DepsilonEff(), epsilon_)
|
- fvm::laplacian(DepsilonEff(), epsilon_)
|
||||||
==
|
==
|
||||||
@ -440,7 +439,6 @@ void LaunderGibsonRSTM::correct()
|
|||||||
(
|
(
|
||||||
fvm::ddt(R_)
|
fvm::ddt(R_)
|
||||||
+ fvm::div(phi_, R_)
|
+ fvm::div(phi_, R_)
|
||||||
- fvm::Sp(fvc::div(phi_), R_)
|
|
||||||
//- fvm::laplacian(Cs*(k_/epsilon_)*R_, R_)
|
//- fvm::laplacian(Cs*(k_/epsilon_)*R_, R_)
|
||||||
- fvm::laplacian(DREff(), R_)
|
- fvm::laplacian(DREff(), R_)
|
||||||
+ fvm::Sp(Clg1_*epsilon_/k_, R_)
|
+ fvm::Sp(Clg1_*epsilon_/k_, R_)
|
||||||
|
|||||||
@ -408,7 +408,6 @@ void SpalartAllmaras::correct()
|
|||||||
(
|
(
|
||||||
fvm::ddt(nuTilda_)
|
fvm::ddt(nuTilda_)
|
||||||
+ fvm::div(phi_, nuTilda_)
|
+ fvm::div(phi_, nuTilda_)
|
||||||
- fvm::Sp(fvc::div(phi_), nuTilda_)
|
|
||||||
- fvm::laplacian(DnuTildaEff(), nuTilda_)
|
- fvm::laplacian(DnuTildaEff(), nuTilda_)
|
||||||
- Cb2_/sigmaNut_*magSqr(fvc::grad(nuTilda_))
|
- Cb2_/sigmaNut_*magSqr(fvc::grad(nuTilda_))
|
||||||
==
|
==
|
||||||
|
|||||||
@ -245,7 +245,6 @@ void kEpsilon::correct()
|
|||||||
(
|
(
|
||||||
fvm::ddt(epsilon_)
|
fvm::ddt(epsilon_)
|
||||||
+ fvm::div(phi_, epsilon_)
|
+ fvm::div(phi_, epsilon_)
|
||||||
- fvm::Sp(fvc::div(phi_), epsilon_)
|
|
||||||
- fvm::laplacian(DepsilonEff(), epsilon_)
|
- fvm::laplacian(DepsilonEff(), epsilon_)
|
||||||
==
|
==
|
||||||
C1_*G*epsilon_/k_
|
C1_*G*epsilon_/k_
|
||||||
@ -265,7 +264,6 @@ void kEpsilon::correct()
|
|||||||
(
|
(
|
||||||
fvm::ddt(k_)
|
fvm::ddt(k_)
|
||||||
+ fvm::div(phi_, k_)
|
+ fvm::div(phi_, k_)
|
||||||
- fvm::Sp(fvc::div(phi_), k_)
|
|
||||||
- fvm::laplacian(DkEff(), k_)
|
- fvm::laplacian(DkEff(), k_)
|
||||||
==
|
==
|
||||||
G
|
G
|
||||||
|
|||||||
@ -254,7 +254,6 @@ void kOmega::correct()
|
|||||||
(
|
(
|
||||||
fvm::ddt(omega_)
|
fvm::ddt(omega_)
|
||||||
+ fvm::div(phi_, omega_)
|
+ fvm::div(phi_, omega_)
|
||||||
- fvm::Sp(fvc::div(phi_), omega_)
|
|
||||||
- fvm::laplacian(DomegaEff(), omega_)
|
- fvm::laplacian(DomegaEff(), omega_)
|
||||||
==
|
==
|
||||||
alpha_*G*omega_/k_
|
alpha_*G*omega_/k_
|
||||||
@ -274,7 +273,6 @@ void kOmega::correct()
|
|||||||
(
|
(
|
||||||
fvm::ddt(k_)
|
fvm::ddt(k_)
|
||||||
+ fvm::div(phi_, k_)
|
+ fvm::div(phi_, k_)
|
||||||
- fvm::Sp(fvc::div(phi_), k_)
|
|
||||||
- fvm::laplacian(DkEff(), k_)
|
- fvm::laplacian(DkEff(), k_)
|
||||||
==
|
==
|
||||||
G
|
G
|
||||||
|
|||||||
@ -381,7 +381,6 @@ void kOmegaSST::correct()
|
|||||||
(
|
(
|
||||||
fvm::ddt(omega_)
|
fvm::ddt(omega_)
|
||||||
+ fvm::div(phi_, omega_)
|
+ fvm::div(phi_, omega_)
|
||||||
- fvm::Sp(fvc::div(phi_), omega_)
|
|
||||||
- fvm::laplacian(DomegaEff(F1), omega_)
|
- fvm::laplacian(DomegaEff(F1), omega_)
|
||||||
==
|
==
|
||||||
gamma(F1)*S2
|
gamma(F1)*S2
|
||||||
@ -405,7 +404,6 @@ void kOmegaSST::correct()
|
|||||||
(
|
(
|
||||||
fvm::ddt(k_)
|
fvm::ddt(k_)
|
||||||
+ fvm::div(phi_, k_)
|
+ fvm::div(phi_, k_)
|
||||||
- fvm::Sp(fvc::div(phi_), k_)
|
|
||||||
- fvm::laplacian(DkEff(F1), k_)
|
- fvm::laplacian(DkEff(F1), k_)
|
||||||
==
|
==
|
||||||
min(G, c1_*betaStar_*k_*omega_)
|
min(G, c1_*betaStar_*k_*omega_)
|
||||||
|
|||||||
@ -374,10 +374,8 @@ void kOmegaSST::correct()
|
|||||||
(
|
(
|
||||||
fvm::ddt(omega_)
|
fvm::ddt(omega_)
|
||||||
+ fvm::div(phi_, omega_)
|
+ fvm::div(phi_, omega_)
|
||||||
- fvm::Sp(fvc::div(phi_), omega_)
|
|
||||||
- fvm::laplacian(DomegaEff(F1), omega_)
|
- fvm::laplacian(DomegaEff(F1), omega_)
|
||||||
+ fvm::div(CDkPhiOmega, omega_)
|
+ fvm::div(CDkPhiOmega, omega_)
|
||||||
- fvm::Sp(fvc::div(CDkPhiOmega), omega_)
|
|
||||||
==
|
==
|
||||||
gamma(F1)*2*S2
|
gamma(F1)*2*S2
|
||||||
- fvm::Sp(beta(F1)*omega_, omega_)
|
- fvm::Sp(beta(F1)*omega_, omega_)
|
||||||
@ -395,7 +393,6 @@ void kOmegaSST::correct()
|
|||||||
(
|
(
|
||||||
fvm::ddt(k_)
|
fvm::ddt(k_)
|
||||||
+ fvm::div(phi_, k_)
|
+ fvm::div(phi_, k_)
|
||||||
- fvm::Sp(fvc::div(phi_), k_)
|
|
||||||
- fvm::laplacian(DkEff(F1), k_)
|
- fvm::laplacian(DkEff(F1), k_)
|
||||||
==
|
==
|
||||||
min(G, c1_*betaStar_*k_*omega_)
|
min(G, c1_*betaStar_*k_*omega_)
|
||||||
|
|||||||
@ -716,7 +716,6 @@ void kkLOmega::correct()
|
|||||||
(
|
(
|
||||||
fvm::ddt(kt_)
|
fvm::ddt(kt_)
|
||||||
+ fvm::div(phi_, kt_)
|
+ fvm::div(phi_, kt_)
|
||||||
- fvm::Sp(fvc::div(phi_), kt_)
|
|
||||||
- fvm::laplacian(DkEff(alphaTEff), kt_, "laplacian(alphaTEff,kt)")
|
- fvm::laplacian(DkEff(alphaTEff), kt_, "laplacian(alphaTEff,kt)")
|
||||||
==
|
==
|
||||||
Pkt
|
Pkt
|
||||||
@ -739,7 +738,6 @@ void kkLOmega::correct()
|
|||||||
(
|
(
|
||||||
fvm::ddt(kl_)
|
fvm::ddt(kl_)
|
||||||
+ fvm::div(phi_, kl_)
|
+ fvm::div(phi_, kl_)
|
||||||
- fvm::Sp(fvc::div(phi_), kl_)
|
|
||||||
- fvm::laplacian(nu(), kl_, "laplacian(nu,kl)")
|
- fvm::laplacian(nu(), kl_, "laplacian(nu,kl)")
|
||||||
==
|
==
|
||||||
Pkl
|
Pkl
|
||||||
@ -761,7 +759,6 @@ void kkLOmega::correct()
|
|||||||
(
|
(
|
||||||
fvm::ddt(omega_)
|
fvm::ddt(omega_)
|
||||||
+ fvm::div(phi_, omega_)
|
+ fvm::div(phi_, omega_)
|
||||||
- fvm::Sp(fvc::div(phi_), omega_)
|
|
||||||
- fvm::laplacian
|
- fvm::laplacian
|
||||||
(
|
(
|
||||||
DomegaEff(alphaTEff),
|
DomegaEff(alphaTEff),
|
||||||
|
|||||||
@ -308,7 +308,6 @@ void realizableKE::correct()
|
|||||||
(
|
(
|
||||||
fvm::ddt(epsilon_)
|
fvm::ddt(epsilon_)
|
||||||
+ fvm::div(phi_, epsilon_)
|
+ fvm::div(phi_, epsilon_)
|
||||||
- fvm::Sp(fvc::div(phi_), epsilon_)
|
|
||||||
- fvm::laplacian(DepsilonEff(), epsilon_)
|
- fvm::laplacian(DepsilonEff(), epsilon_)
|
||||||
==
|
==
|
||||||
C1*magS*epsilon_
|
C1*magS*epsilon_
|
||||||
@ -332,7 +331,6 @@ void realizableKE::correct()
|
|||||||
(
|
(
|
||||||
fvm::ddt(k_)
|
fvm::ddt(k_)
|
||||||
+ fvm::div(phi_, k_)
|
+ fvm::div(phi_, k_)
|
||||||
- fvm::Sp(fvc::div(phi_), k_)
|
|
||||||
- fvm::laplacian(DkEff(), k_)
|
- fvm::laplacian(DkEff(), k_)
|
||||||
==
|
==
|
||||||
G - fvm::Sp(epsilon_/k_, k_)
|
G - fvm::Sp(epsilon_/k_, k_)
|
||||||
|
|||||||
@ -27,12 +27,12 @@ gradSchemes
|
|||||||
|
|
||||||
divSchemes
|
divSchemes
|
||||||
{
|
{
|
||||||
div(phi,U) Gauss upwind;
|
div(phi,U) bounded Gauss upwind;
|
||||||
div((muEff*dev2(T(grad(U))))) Gauss linear;
|
div((muEff*dev2(T(grad(U))))) Gauss linear;
|
||||||
div(phi,e) Gauss upwind;
|
div(phi,e) bounded Gauss upwind;
|
||||||
div(phi,epsilon) Gauss upwind;
|
div(phi,epsilon) bounded Gauss upwind;
|
||||||
div(phi,k) Gauss upwind;
|
div(phi,k) bounded Gauss upwind;
|
||||||
div(phi,Ekp) Gauss upwind;
|
div(phi,Ekp) bounded Gauss upwind;
|
||||||
}
|
}
|
||||||
|
|
||||||
laplacianSchemes
|
laplacianSchemes
|
||||||
|
|||||||
@ -27,12 +27,12 @@ gradSchemes
|
|||||||
|
|
||||||
divSchemes
|
divSchemes
|
||||||
{
|
{
|
||||||
div(phi,U) Gauss upwind;
|
div(phi,U) bounded Gauss upwind;
|
||||||
div((muEff*dev2(T(grad(U))))) Gauss linear;
|
div((muEff*dev2(T(grad(U))))) Gauss linear;
|
||||||
div(phi,e) Gauss upwind;
|
div(phi,e) bounded Gauss upwind;
|
||||||
div(phi,epsilon) Gauss upwind;
|
div(phi,epsilon) bounded Gauss upwind;
|
||||||
div(phi,k) Gauss upwind;
|
div(phi,k) bounded Gauss upwind;
|
||||||
div(phi,Ekp) Gauss upwind;
|
div(phi,Ekp) bounded Gauss upwind;
|
||||||
}
|
}
|
||||||
|
|
||||||
laplacianSchemes
|
laplacianSchemes
|
||||||
|
|||||||
@ -29,14 +29,14 @@ divSchemes
|
|||||||
{
|
{
|
||||||
default none;
|
default none;
|
||||||
|
|
||||||
div(phi,U) Gauss upwind;
|
div(phi,U) bounded Gauss upwind;
|
||||||
div((muEff*dev2(T(grad(U))))) Gauss linear;
|
div((muEff*dev2(T(grad(U))))) Gauss linear;
|
||||||
div(phi,e) Gauss upwind;
|
div(phi,e) bounded Gauss upwind;
|
||||||
div(phi,epsilon) Gauss upwind;
|
div(phi,epsilon) bounded Gauss upwind;
|
||||||
div(phi,k) Gauss upwind;
|
div(phi,k) bounded Gauss upwind;
|
||||||
|
|
||||||
div(phid,p) Gauss upwind;
|
div(phid,p) Gauss upwind;
|
||||||
div(phi,Ekp) Gauss upwind;
|
div(phi,Ekp) bounded Gauss upwind;
|
||||||
div((phi|interpolate(rho)),p) Gauss upwind;
|
div((phi|interpolate(rho)),p) Gauss upwind;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -28,10 +28,10 @@ gradSchemes
|
|||||||
divSchemes
|
divSchemes
|
||||||
{
|
{
|
||||||
default none;
|
default none;
|
||||||
div(phi,U) Gauss upwind;
|
div(phi,U) bounded Gauss upwind;
|
||||||
div(phi,T) Gauss upwind;
|
div(phi,T) bounded Gauss upwind;
|
||||||
div(phi,k) Gauss upwind;
|
div(phi,k) bounded Gauss upwind;
|
||||||
div(phi,epsilon) Gauss upwind;
|
div(phi,epsilon) bounded Gauss upwind;
|
||||||
div((nuEff*dev(T(grad(U))))) Gauss linear;
|
div((nuEff*dev(T(grad(U))))) Gauss linear;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -28,11 +28,11 @@ gradSchemes
|
|||||||
divSchemes
|
divSchemes
|
||||||
{
|
{
|
||||||
default none;
|
default none;
|
||||||
div(phi,U) Gauss upwind;
|
div(phi,U) bounded Gauss upwind;
|
||||||
div(phi,T) Gauss upwind;
|
div(phi,T) bounded Gauss upwind;
|
||||||
div(phi,k) Gauss upwind;
|
div(phi,k) bounded Gauss upwind;
|
||||||
div(phi,epsilon) Gauss upwind;
|
div(phi,epsilon) bounded Gauss upwind;
|
||||||
div(phi,R) Gauss upwind;
|
div(phi,R) bounded Gauss upwind;
|
||||||
div(R) Gauss linear;
|
div(R) Gauss linear;
|
||||||
div((nuEff*dev(T(grad(U))))) Gauss linear;
|
div((nuEff*dev(T(grad(U))))) Gauss linear;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -27,13 +27,13 @@ gradSchemes
|
|||||||
divSchemes
|
divSchemes
|
||||||
{
|
{
|
||||||
default none;
|
default none;
|
||||||
div(phi,U) Gauss upwind;
|
div(phi,U) bounded Gauss upwind;
|
||||||
div(phi,K) Gauss upwind;
|
div(phi,K) bounded Gauss upwind;
|
||||||
div(phi,h) Gauss upwind;
|
div(phi,h) bounded Gauss upwind;
|
||||||
div(phi,k) Gauss upwind;
|
div(phi,k) bounded Gauss upwind;
|
||||||
div(phi,K) Gauss upwind;
|
div(phi,K) bounded Gauss upwind;
|
||||||
div(phi,epsilon) Gauss upwind;
|
div(phi,epsilon) bounded Gauss upwind;
|
||||||
div(phi,R) Gauss upwind;
|
div(phi,R) bounded Gauss upwind;
|
||||||
div(R) Gauss linear;
|
div(R) Gauss linear;
|
||||||
div((muEff*dev2(T(grad(U))))) Gauss linear;
|
div((muEff*dev2(T(grad(U))))) Gauss linear;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -27,13 +27,13 @@ gradSchemes
|
|||||||
divSchemes
|
divSchemes
|
||||||
{
|
{
|
||||||
default none;
|
default none;
|
||||||
div(phi,U) Gauss upwind;
|
div(phi,U) bounded Gauss upwind;
|
||||||
div(phi,K) Gauss upwind;
|
div(phi,K) bounded Gauss upwind;
|
||||||
div(phi,h) Gauss upwind;
|
div(phi,h) bounded Gauss upwind;
|
||||||
div(phi,k) Gauss upwind;
|
div(phi,k) bounded Gauss upwind;
|
||||||
div(phi,K) Gauss upwind;
|
div(phi,K) bounded Gauss upwind;
|
||||||
div(phi,epsilon) Gauss upwind;
|
div(phi,epsilon) bounded Gauss upwind;
|
||||||
div(phi,R) Gauss upwind;
|
div(phi,R) bounded Gauss upwind;
|
||||||
div(R) Gauss linear;
|
div(R) Gauss linear;
|
||||||
div((muEff*dev2(T(grad(U))))) Gauss linear;
|
div((muEff*dev2(T(grad(U))))) Gauss linear;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -27,13 +27,13 @@ gradSchemes
|
|||||||
divSchemes
|
divSchemes
|
||||||
{
|
{
|
||||||
default none;
|
default none;
|
||||||
div(phi,U) Gauss upwind;
|
div(phi,U) bounded Gauss upwind;
|
||||||
div(phi,K) Gauss upwind;
|
div(phi,K) bounded Gauss upwind;
|
||||||
div(phi,h) Gauss upwind;
|
div(phi,h) bounded Gauss upwind;
|
||||||
div(phi,k) Gauss upwind;
|
div(phi,k) bounded Gauss upwind;
|
||||||
div(phi,K) Gauss upwind;
|
div(phi,K) bounded Gauss upwind;
|
||||||
div(phi,epsilon) Gauss upwind;
|
div(phi,epsilon) bounded Gauss upwind;
|
||||||
div(phi,R) Gauss upwind;
|
div(phi,R) bounded Gauss upwind;
|
||||||
div(R) Gauss linear;
|
div(R) Gauss linear;
|
||||||
div(Ji,Ii_h) Gauss linearUpwind grad(U);
|
div(Ji,Ii_h) Gauss linearUpwind grad(U);
|
||||||
div((muEff*dev2(T(grad(U))))) Gauss linear;
|
div((muEff*dev2(T(grad(U))))) Gauss linear;
|
||||||
|
|||||||
@ -27,13 +27,13 @@ gradSchemes
|
|||||||
divSchemes
|
divSchemes
|
||||||
{
|
{
|
||||||
default none;
|
default none;
|
||||||
div(phi,U) Gauss upwind;
|
div(phi,U) bounded Gauss upwind;
|
||||||
div(phi,K) Gauss upwind;
|
div(phi,K) bounded Gauss upwind;
|
||||||
div(phi,h) Gauss upwind;
|
div(phi,h) bounded Gauss upwind;
|
||||||
div(phi,k) Gauss upwind;
|
div(phi,k) bounded Gauss upwind;
|
||||||
div(phi,K) Gauss upwind;
|
div(phi,K) bounded Gauss upwind;
|
||||||
div(phi,epsilon) Gauss upwind;
|
div(phi,epsilon) bounded Gauss upwind;
|
||||||
div(phi,R) Gauss upwind;
|
div(phi,R) bounded Gauss upwind;
|
||||||
div(R) Gauss linear;
|
div(R) Gauss linear;
|
||||||
div(Ji,Ii_h) Gauss linearUpwind grad(U);
|
div(Ji,Ii_h) Gauss linearUpwind grad(U);
|
||||||
div((muEff*dev2(T(grad(U))))) Gauss linear;
|
div((muEff*dev2(T(grad(U))))) Gauss linear;
|
||||||
|
|||||||
@ -30,9 +30,9 @@ gradSchemes
|
|||||||
divSchemes
|
divSchemes
|
||||||
{
|
{
|
||||||
default none;
|
default none;
|
||||||
div(phi,U) Gauss limitedLinearV 1;
|
div(phi,U) bounded Gauss limitedLinearV 1;
|
||||||
div(phi,k) Gauss limitedLinear 1;
|
div(phi,k) bounded Gauss limitedLinear 1;
|
||||||
div(phi,epsilon) Gauss limitedLinear 1;
|
div(phi,epsilon) bounded Gauss limitedLinear 1;
|
||||||
div((nuEff*dev(T(grad(U))))) Gauss linear;
|
div((nuEff*dev(T(grad(U))))) Gauss linear;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -30,13 +30,13 @@ gradSchemes
|
|||||||
divSchemes
|
divSchemes
|
||||||
{
|
{
|
||||||
default none;
|
default none;
|
||||||
div(phi,Urel) Gauss upwind;
|
div(phi,Urel) bounded Gauss upwind;
|
||||||
div(phi,k) Gauss upwind;
|
div(phi,k) bounded Gauss upwind;
|
||||||
div(phi,epsilon) Gauss upwind;
|
div(phi,epsilon) bounded Gauss upwind;
|
||||||
div(phi,omega) Gauss upwind;
|
div(phi,omega) bounded Gauss upwind;
|
||||||
div(phi,R) Gauss upwind;
|
div(phi,R) bounded Gauss upwind;
|
||||||
div(R) Gauss linear;
|
div(R) Gauss linear;
|
||||||
div(phi,nuTilda) Gauss upwind;
|
div(phi,nuTilda) bounded Gauss upwind;
|
||||||
div((nuEff*dev(T(grad(Urel))))) Gauss linear;
|
div((nuEff*dev(T(grad(Urel))))) Gauss linear;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -32,12 +32,12 @@ divSchemes
|
|||||||
{
|
{
|
||||||
default none;
|
default none;
|
||||||
|
|
||||||
div(phi,U) Gauss upwind;
|
div(phi,U) bounded Gauss upwind;
|
||||||
div(phi,k) Gauss upwind;
|
div(phi,k) bounded Gauss upwind;
|
||||||
div(phi,epsilon) Gauss upwind;
|
div(phi,epsilon) bounded Gauss upwind;
|
||||||
div((nuEff*dev(T(grad(U))))) Gauss linear;
|
div((nuEff*dev(T(grad(U))))) Gauss linear;
|
||||||
|
|
||||||
div(-phi,Ua) Gauss upwind;
|
div(-phi,Ua) bounded Gauss upwind;
|
||||||
div((nuEff*dev(T(grad(Ua))))) Gauss linear;
|
div((nuEff*dev(T(grad(Ua))))) Gauss linear;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -29,9 +29,9 @@ gradSchemes
|
|||||||
divSchemes
|
divSchemes
|
||||||
{
|
{
|
||||||
default none;
|
default none;
|
||||||
div(phi,U) Gauss linearUpwind grad(U);
|
div(phi,U) bounded Gauss linearUpwind grad(U);
|
||||||
div(phi,k) Gauss upwind;
|
div(phi,k) bounded Gauss upwind;
|
||||||
div(phi,omega) Gauss upwind;
|
div(phi,omega) bounded Gauss upwind;
|
||||||
div((nuEff*dev(T(grad(U))))) Gauss linear;
|
div((nuEff*dev(T(grad(U))))) Gauss linear;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -17,7 +17,7 @@ FoamFile
|
|||||||
|
|
||||||
numberOfSubdomains 8;
|
numberOfSubdomains 8;
|
||||||
|
|
||||||
method hierarchical; //ptscotch;
|
method hierarchical;
|
||||||
|
|
||||||
simpleCoeffs
|
simpleCoeffs
|
||||||
{
|
{
|
||||||
|
|||||||
@ -30,11 +30,11 @@ gradSchemes
|
|||||||
divSchemes
|
divSchemes
|
||||||
{
|
{
|
||||||
default none;
|
default none;
|
||||||
div(phi,U) Gauss linearUpwindV grad(U);
|
div(phi,U) bounded Gauss linearUpwindV grad(U);
|
||||||
div(phi,k) Gauss upwind;
|
div(phi,k) bounded Gauss upwind;
|
||||||
div(phi,omega) Gauss upwind;
|
div(phi,omega) bounded Gauss upwind;
|
||||||
div((nuEff*dev(T(grad(U))))) Gauss linear;
|
div((nuEff*dev(T(grad(U))))) Gauss linear;
|
||||||
div(phi,nuTilda) Gauss upwind;
|
div(phi,nuTilda) bounded Gauss upwind;
|
||||||
}
|
}
|
||||||
|
|
||||||
laplacianSchemes
|
laplacianSchemes
|
||||||
|
|||||||
@ -29,10 +29,10 @@ gradSchemes
|
|||||||
|
|
||||||
divSchemes
|
divSchemes
|
||||||
{
|
{
|
||||||
div(phi,U) Gauss upwind;
|
div(phi,U) bounded Gauss upwind;
|
||||||
div((nuEff*dev(T(grad(U))))) Gauss linear;
|
div((nuEff*dev(T(grad(U))))) Gauss linear;
|
||||||
div(phi,epsilon) Gauss upwind;
|
div(phi,epsilon) bounded Gauss upwind;
|
||||||
div(phi,k) Gauss upwind;
|
div(phi,k) bounded Gauss upwind;
|
||||||
}
|
}
|
||||||
|
|
||||||
laplacianSchemes
|
laplacianSchemes
|
||||||
|
|||||||
@ -29,10 +29,10 @@ gradSchemes
|
|||||||
|
|
||||||
divSchemes
|
divSchemes
|
||||||
{
|
{
|
||||||
div(phi,U) Gauss upwind;
|
div(phi,U) bounded Gauss upwind;
|
||||||
div((nuEff*dev(T(grad(U))))) Gauss linear;
|
div((nuEff*dev(T(grad(U))))) Gauss linear;
|
||||||
div(phi,epsilon) Gauss upwind;
|
div(phi,epsilon) bounded Gauss upwind;
|
||||||
div(phi,k) Gauss upwind;
|
div(phi,k) bounded Gauss upwind;
|
||||||
}
|
}
|
||||||
|
|
||||||
laplacianSchemes
|
laplacianSchemes
|
||||||
|
|||||||
@ -30,8 +30,8 @@ gradSchemes
|
|||||||
divSchemes
|
divSchemes
|
||||||
{
|
{
|
||||||
default none;
|
default none;
|
||||||
div(phi,U) Gauss linearUpwind grad(U);
|
div(phi,U) bounded Gauss linearUpwind grad(U);
|
||||||
div(phi,nuTilda) Gauss linearUpwind grad(nuTilda);
|
div(phi,nuTilda) bounded Gauss linearUpwind grad(nuTilda);
|
||||||
div((nuEff*dev(T(grad(U))))) Gauss linear;
|
div((nuEff*dev(T(grad(U))))) Gauss linear;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -27,9 +27,9 @@ gradSchemes
|
|||||||
divSchemes
|
divSchemes
|
||||||
{
|
{
|
||||||
default none;
|
default none;
|
||||||
div(phi,U) Gauss linearUpwindV grad(U);
|
div(phi,U) bounded Gauss linearUpwindV grad(U);
|
||||||
div(phi,k) Gauss upwind;
|
div(phi,k) bounded Gauss upwind;
|
||||||
div(phi,omega) Gauss upwind;
|
div(phi,omega) bounded Gauss upwind;
|
||||||
div((nuEff*dev(T(grad(U))))) Gauss linear;
|
div((nuEff*dev(T(grad(U))))) Gauss linear;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -30,12 +30,12 @@ gradSchemes
|
|||||||
divSchemes
|
divSchemes
|
||||||
{
|
{
|
||||||
default none;
|
default none;
|
||||||
div(phi,U) Gauss limitedLinearV 1;
|
div(phi,U) bounded Gauss limitedLinearV 1;
|
||||||
div(phi,k) Gauss limitedLinear 1;
|
div(phi,k) bounded Gauss limitedLinear 1;
|
||||||
div(phi,epsilon) Gauss limitedLinear 1;
|
div(phi,epsilon) bounded Gauss limitedLinear 1;
|
||||||
div(phi,R) Gauss limitedLinear 1;
|
div(phi,R) bounded Gauss limitedLinear 1;
|
||||||
div(R) Gauss linear;
|
div(R) Gauss linear;
|
||||||
div(phi,nuTilda) Gauss limitedLinear 1;
|
div(phi,nuTilda) bounded Gauss limitedLinear 1;
|
||||||
div((nuEff*dev(T(grad(U))))) Gauss linear;
|
div((nuEff*dev(T(grad(U))))) Gauss linear;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -30,12 +30,12 @@ gradSchemes
|
|||||||
divSchemes
|
divSchemes
|
||||||
{
|
{
|
||||||
default none;
|
default none;
|
||||||
div(phi,U) Gauss upwind;
|
div(phi,U) bounded Gauss upwind;
|
||||||
div(phi,k) Gauss upwind;
|
div(phi,k) bounded Gauss upwind;
|
||||||
div(phi,epsilon) Gauss upwind;
|
div(phi,epsilon) bounded Gauss upwind;
|
||||||
div(phi,R) Gauss upwind;
|
div(phi,R) bounded Gauss upwind;
|
||||||
div(R) Gauss linear;
|
div(R) Gauss linear;
|
||||||
div(phi,nuTilda) Gauss upwind;
|
div(phi,nuTilda) bounded Gauss upwind;
|
||||||
div((nuEff*dev(T(grad(U))))) Gauss linear;
|
div((nuEff*dev(T(grad(U))))) Gauss linear;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -30,12 +30,12 @@ gradSchemes
|
|||||||
divSchemes
|
divSchemes
|
||||||
{
|
{
|
||||||
default none;
|
default none;
|
||||||
div(phi,U) Gauss upwind;
|
div(phi,U) bounded Gauss upwind;
|
||||||
div(phi,k) Gauss upwind;
|
div(phi,k) bounded Gauss upwind;
|
||||||
div(phi,epsilon) Gauss upwind;
|
div(phi,epsilon) bounded Gauss upwind;
|
||||||
div(phi,R) Gauss upwind;
|
div(phi,R) bounded Gauss upwind;
|
||||||
div(R) Gauss linear;
|
div(R) Gauss linear;
|
||||||
div(phi,nuTilda) Gauss upwind;
|
div(phi,nuTilda) bounded Gauss upwind;
|
||||||
div((nuEff*dev(T(grad(U))))) Gauss linear;
|
div((nuEff*dev(T(grad(U))))) Gauss linear;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -27,10 +27,10 @@ gradSchemes
|
|||||||
divSchemes
|
divSchemes
|
||||||
{
|
{
|
||||||
default none;
|
default none;
|
||||||
div(phi,U) Gauss upwind;
|
div(phi,U) bounded Gauss upwind;
|
||||||
div((nuEff*dev(T(grad(U))))) Gauss linear;
|
div((nuEff*dev(T(grad(U))))) Gauss linear;
|
||||||
div(phi,epsilon) Gauss upwind;
|
div(phi,epsilon) bounded Gauss upwind;
|
||||||
div(phi,k) Gauss upwind;
|
div(phi,k) bounded Gauss upwind;
|
||||||
}
|
}
|
||||||
|
|
||||||
laplacianSchemes
|
laplacianSchemes
|
||||||
|
|||||||
@ -20,12 +20,14 @@ FoamFile
|
|||||||
back
|
back
|
||||||
{
|
{
|
||||||
type symmetryPlane;
|
type symmetryPlane;
|
||||||
|
inGroups 1(symmetryPlane);
|
||||||
nFaces 9340;
|
nFaces 9340;
|
||||||
startFace 265900;
|
startFace 265900;
|
||||||
}
|
}
|
||||||
front
|
front
|
||||||
{
|
{
|
||||||
type symmetryPlane;
|
type symmetryPlane;
|
||||||
|
inGroups 1(symmetryPlane);
|
||||||
nFaces 9340;
|
nFaces 9340;
|
||||||
startFace 275240;
|
startFace 275240;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -26,6 +26,7 @@ FoamFile
|
|||||||
frontAndBack
|
frontAndBack
|
||||||
{
|
{
|
||||||
type empty;
|
type empty;
|
||||||
|
inGroups 1(empty);
|
||||||
nFaces 25600;
|
nFaces 25600;
|
||||||
startFace 25840;
|
startFace 25840;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -26,12 +26,14 @@ FoamFile
|
|||||||
front
|
front
|
||||||
{
|
{
|
||||||
type empty;
|
type empty;
|
||||||
|
inGroups 1(empty);
|
||||||
nFaces 1360;
|
nFaces 1360;
|
||||||
startFace 2794;
|
startFace 2794;
|
||||||
}
|
}
|
||||||
back
|
back
|
||||||
{
|
{
|
||||||
type empty;
|
type empty;
|
||||||
|
inGroups 1(empty);
|
||||||
nFaces 1360;
|
nFaces 1360;
|
||||||
startFace 4154;
|
startFace 4154;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -80,6 +80,7 @@ functions
|
|||||||
(
|
(
|
||||||
p
|
p
|
||||||
);
|
);
|
||||||
|
interpolationScheme cellPoint;
|
||||||
|
|
||||||
surfaces
|
surfaces
|
||||||
(
|
(
|
||||||
|
|||||||
@ -26,12 +26,14 @@ FoamFile
|
|||||||
front
|
front
|
||||||
{
|
{
|
||||||
type empty;
|
type empty;
|
||||||
|
inGroups 1(empty);
|
||||||
nFaces 1360;
|
nFaces 1360;
|
||||||
startFace 2794;
|
startFace 2794;
|
||||||
}
|
}
|
||||||
back
|
back
|
||||||
{
|
{
|
||||||
type empty;
|
type empty;
|
||||||
|
inGroups 1(empty);
|
||||||
nFaces 1360;
|
nFaces 1360;
|
||||||
startFace 4154;
|
startFace 4154;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -79,6 +79,7 @@ functions
|
|||||||
(
|
(
|
||||||
p
|
p
|
||||||
);
|
);
|
||||||
|
interpolationScheme cellPoint;
|
||||||
|
|
||||||
surfaces
|
surfaces
|
||||||
(
|
(
|
||||||
|
|||||||
Reference in New Issue
Block a user