Enable full gradient cacheing capability
This commit is contained in:
parent
5c380a6de7
commit
8cf4b6fcd5
131 changed files with 650 additions and 513 deletions
|
@ -137,8 +137,6 @@ int main(int argc, char *argv[])
|
||||||
)
|
)
|
||||||
+ HbyAblend*fvc::ddtPhiCorr(rrhoUA, rho, rhoU, phi);
|
+ HbyAblend*fvc::ddtPhiCorr(rrhoUA, rho, rhoU, phi);
|
||||||
|
|
||||||
p.boundaryField().updateCoeffs();
|
|
||||||
|
|
||||||
surfaceScalarField phiGradp =
|
surfaceScalarField phiGradp =
|
||||||
rrhoUAf*mesh.magSf()*fvc::snGrad(p);
|
rrhoUAf*mesh.magSf()*fvc::snGrad(p);
|
||||||
|
|
||||||
|
|
|
@ -54,4 +54,5 @@
|
||||||
|
|
||||||
// Recalculate density
|
// Recalculate density
|
||||||
rho = thermo.rho();
|
rho = thermo.rho();
|
||||||
|
rho.correctBoundaryConditions();
|
||||||
}
|
}
|
||||||
|
|
|
@ -39,4 +39,5 @@
|
||||||
|
|
||||||
// Recalculate density
|
// Recalculate density
|
||||||
rho = thermo.rho();
|
rho = thermo.rho();
|
||||||
|
rho.correctBoundaryConditions();
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,4 +12,5 @@
|
||||||
rho = Foam::min(rho, rhoMax);
|
rho = Foam::min(rho, rhoMax);
|
||||||
rho = Foam::max(rho, rhoMin);
|
rho = Foam::max(rho, rhoMin);
|
||||||
rho.relax();
|
rho.relax();
|
||||||
|
rho.correctBoundaryConditions();
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,4 +12,5 @@
|
||||||
rho = Foam::min(rho, rhoMax);
|
rho = Foam::min(rho, rhoMax);
|
||||||
rho = Foam::max(rho, rhoMin);
|
rho = Foam::max(rho, rhoMin);
|
||||||
rho.relax();
|
rho.relax();
|
||||||
|
rho.correctBoundaryConditions();
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,4 +12,5 @@
|
||||||
rho = Foam::min(rho, rhoMax);
|
rho = Foam::min(rho, rhoMax);
|
||||||
rho = Foam::max(rho, rhoMin);
|
rho = Foam::max(rho, rhoMin);
|
||||||
rho.relax();
|
rho.relax();
|
||||||
|
rho.correctBoundaryConditions();
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
p.boundaryField().updateCoeffs();
|
{
|
||||||
|
|
||||||
volScalarField AU = UEqn().A();
|
volScalarField AU = UEqn().A();
|
||||||
|
|
||||||
U = UEqn().H()/AU;
|
U = UEqn().H()/AU;
|
||||||
|
@ -48,4 +47,4 @@
|
||||||
// Momentum corrector
|
// Momentum corrector
|
||||||
U -= fvc::grad(p)/AU;
|
U -= fvc::grad(p)/AU;
|
||||||
U.correctBoundaryConditions();
|
U.correctBoundaryConditions();
|
||||||
|
}
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
p.boundaryField().updateCoeffs();
|
{
|
||||||
|
|
||||||
volScalarField AU = UEqn().A();
|
volScalarField AU = UEqn().A();
|
||||||
|
|
||||||
U = UEqn().H()/AU;
|
U = UEqn().H()/AU;
|
||||||
|
@ -48,4 +47,4 @@
|
||||||
// Momentum corrector
|
// Momentum corrector
|
||||||
U -= fvc::grad(p)/AU;
|
U -= fvc::grad(p)/AU;
|
||||||
U.correctBoundaryConditions();
|
U.correctBoundaryConditions();
|
||||||
|
}
|
||||||
|
|
|
@ -74,7 +74,6 @@ int main(int argc, char *argv[])
|
||||||
|
|
||||||
solve(UEqn() == -fvc::grad(p));
|
solve(UEqn() == -fvc::grad(p));
|
||||||
|
|
||||||
p.boundaryField().updateCoeffs();
|
|
||||||
volScalarField rAU = 1.0/UEqn().A();
|
volScalarField rAU = 1.0/UEqn().A();
|
||||||
U = rAU*UEqn().H();
|
U = rAU*UEqn().H();
|
||||||
UEqn.clear();
|
UEqn.clear();
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
{
|
{
|
||||||
p.boundaryField().updateCoeffs();
|
|
||||||
|
|
||||||
// Prepare clean Ap without time derivative contribution and
|
// Prepare clean Ap without time derivative contribution and
|
||||||
// without contribution from under-relaxation
|
// without contribution from under-relaxation
|
||||||
// HJ, 26/Oct/2015
|
// HJ, 26/Oct/2015
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
p.boundaryField().updateCoeffs();
|
{
|
||||||
|
|
||||||
// Prepare clean 1/Ap without contribution from under-relaxation
|
// Prepare clean 1/Ap without contribution from under-relaxation
|
||||||
// HJ, 26/Oct/2015
|
// HJ, 26/Oct/2015
|
||||||
volScalarField rUA
|
volScalarField rUA
|
||||||
|
@ -56,4 +55,4 @@
|
||||||
// re-used. HJ, 22/Jan/2016
|
// re-used. HJ, 22/Jan/2016
|
||||||
U = UUrf*(U - rUA*fvc::grad(p)) + (1 - UUrf)*U.prevIter();
|
U = UUrf*(U - rUA*fvc::grad(p)) + (1 - UUrf)*U.prevIter();
|
||||||
U.correctBoundaryConditions();
|
U.correctBoundaryConditions();
|
||||||
|
}
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
p.boundaryField().updateCoeffs();
|
{
|
||||||
|
|
||||||
volScalarField AU = UEqn().A();
|
volScalarField AU = UEqn().A();
|
||||||
U = UEqn().H()/AU;
|
U = UEqn().H()/AU;
|
||||||
UEqn.clear();
|
UEqn.clear();
|
||||||
phi = fvc::interpolate(U) & mesh.Sf();
|
phi = fvc::interpolate(U) & mesh.Sf();
|
||||||
|
|
||||||
adjustPhi(phi, U, p);
|
adjustPhi(phi, U, p);
|
||||||
|
|
||||||
// Non-orthogonal pressure corrector loop
|
// Non-orthogonal pressure corrector loop
|
||||||
|
@ -41,4 +41,4 @@
|
||||||
// Momentum corrector
|
// Momentum corrector
|
||||||
U -= fvc::grad(p)/AU;
|
U -= fvc::grad(p)/AU;
|
||||||
U.correctBoundaryConditions();
|
U.correctBoundaryConditions();
|
||||||
|
}
|
||||||
|
|
|
@ -75,7 +75,6 @@ int main(int argc, char *argv[])
|
||||||
|
|
||||||
solve(UrelEqn() == -fvc::grad(p));
|
solve(UrelEqn() == -fvc::grad(p));
|
||||||
|
|
||||||
p.boundaryField().updateCoeffs();
|
|
||||||
volScalarField AUrel = UrelEqn().A();
|
volScalarField AUrel = UrelEqn().A();
|
||||||
Urel = UrelEqn().H()/AUrel;
|
Urel = UrelEqn().H()/AUrel;
|
||||||
UrelEqn.clear();
|
UrelEqn.clear();
|
||||||
|
|
|
@ -18,8 +18,6 @@
|
||||||
phiv = (fvc::interpolate(HbyA) & mesh.Sf())
|
phiv = (fvc::interpolate(HbyA) & mesh.Sf())
|
||||||
+ fvc::ddtPhiCorr(rUA, rho, U, phiv);
|
+ fvc::ddtPhiCorr(rUA, rho, U, phiv);
|
||||||
|
|
||||||
p.boundaryField().updateCoeffs();
|
|
||||||
|
|
||||||
surfaceScalarField phiGradp = rUAf*mesh.magSf()*fvc::snGrad(p);
|
surfaceScalarField phiGradp = rUAf*mesh.magSf()*fvc::snGrad(p);
|
||||||
|
|
||||||
phiv -= phiGradp/rhof;
|
phiv -= phiGradp/rhof;
|
||||||
|
|
|
@ -33,3 +33,6 @@
|
||||||
<< " Max(alpha1) = " << max(alpha1).value()
|
<< " Max(alpha1) = " << max(alpha1).value()
|
||||||
<< endl;
|
<< endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
solve(fvm::ddt(rho) + fvc::div(rhoPhi));
|
||||||
|
|
|
@ -79,7 +79,6 @@ int main(int argc, char *argv[])
|
||||||
|
|
||||||
solve(UEqn() == -fvc::grad(p));
|
solve(UEqn() == -fvc::grad(p));
|
||||||
|
|
||||||
p.boundaryField().updateCoeffs();
|
|
||||||
volScalarField rUA = 1.0/UEqn().A();
|
volScalarField rUA = 1.0/UEqn().A();
|
||||||
U = rUA*UEqn().H();
|
U = rUA*UEqn().H();
|
||||||
UEqn.clear();
|
UEqn.clear();
|
||||||
|
|
|
@ -198,7 +198,14 @@ Foam::coupledFvMatrix<Type>::solve(const dictionary& solverControls)
|
||||||
{
|
{
|
||||||
fvMatrix<Type>& curMatrix =
|
fvMatrix<Type>& curMatrix =
|
||||||
static_cast<fvMatrix<Type>& >(matrices[rowI]);
|
static_cast<fvMatrix<Type>& >(matrices[rowI]);
|
||||||
curMatrix.psi().internalField().replace(cmpt, psiCmpt[rowI]);
|
|
||||||
|
GeometricField<Type, fvPatchField, volMesh>& psiRef =
|
||||||
|
const_cast<GeometricField<Type, fvPatchField, volMesh>&>
|
||||||
|
(
|
||||||
|
curMatrix.psi()
|
||||||
|
);
|
||||||
|
|
||||||
|
psiRef.internalField().replace(cmpt, psiCmpt[rowI]);
|
||||||
curMatrix.diag() = saveDiag[rowI];
|
curMatrix.diag() = saveDiag[rowI];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -206,9 +213,16 @@ Foam::coupledFvMatrix<Type>::solve(const dictionary& solverControls)
|
||||||
// Correct boundary conditions
|
// Correct boundary conditions
|
||||||
forAll (matrices, rowI)
|
forAll (matrices, rowI)
|
||||||
{
|
{
|
||||||
fvMatrix<Type>& curMatrix =
|
const fvMatrix<Type>& curMatrix =
|
||||||
static_cast<fvMatrix<Type>& >(matrices[rowI]);
|
static_cast<const fvMatrix<Type>&>(matrices[rowI]);
|
||||||
curMatrix.psi().correctBoundaryConditions();
|
|
||||||
|
GeometricField<Type, fvPatchField, volMesh>& psiRef =
|
||||||
|
const_cast<GeometricField<Type, fvPatchField, volMesh>&>
|
||||||
|
(
|
||||||
|
curMatrix.psi()
|
||||||
|
);
|
||||||
|
|
||||||
|
psiRef.correctBoundaryConditions();
|
||||||
}
|
}
|
||||||
|
|
||||||
return solverPerfVec;
|
return solverPerfVec;
|
||||||
|
|
|
@ -69,11 +69,13 @@ coupledSolverPerformance coupledFvMatrix<scalar>::solve
|
||||||
static_cast<fvScalarMatrix&>(matrices[rowI]);
|
static_cast<fvScalarMatrix&>(matrices[rowI]);
|
||||||
|
|
||||||
saveDiag.set(rowI, new scalarField(curMatrix.diag()));
|
saveDiag.set(rowI, new scalarField(curMatrix.diag()));
|
||||||
// HR 17/Feb/2013
|
|
||||||
// Need to be able to compare references to support hacks
|
// Need to be able to compare references to support hacks
|
||||||
// such as in jumpCyclic
|
// such as in jumpCyclic. HR 17/Feb/2013
|
||||||
// psi.set(rowI, new scalarField(curMatrix.psi()));
|
scalarField& psiRef =
|
||||||
psi.set(rowI, &curMatrix.psi());
|
const_cast<scalarField&>(curMatrix.psi().internalField());
|
||||||
|
|
||||||
|
psi.set(rowI, &psiRef);
|
||||||
source.set(rowI, new scalarField(curMatrix.source()));
|
source.set(rowI, new scalarField(curMatrix.source()));
|
||||||
|
|
||||||
curMatrix.addBoundarySource(source[rowI], 0);
|
curMatrix.addBoundarySource(source[rowI], 0);
|
||||||
|
@ -114,27 +116,20 @@ coupledSolverPerformance coupledFvMatrix<scalar>::solve
|
||||||
|
|
||||||
solverPerf.print();
|
solverPerf.print();
|
||||||
|
|
||||||
// HR 17/Feb/2013
|
|
||||||
// Not needed since reference is used
|
|
||||||
// Update solution
|
|
||||||
//forAll (matrices, rowI)
|
|
||||||
//{
|
|
||||||
// fvScalarMatrix& curMatrix =
|
|
||||||
// static_cast<fvScalarMatrix&>(matrices[rowI]);
|
|
||||||
//
|
|
||||||
// curMatrix.psi().internalField() = psi[rowI];
|
|
||||||
//}
|
|
||||||
|
|
||||||
// Correct boundary conditions
|
// Correct boundary conditions
|
||||||
forAll (matrices, rowI)
|
forAll (matrices, rowI)
|
||||||
{
|
{
|
||||||
fvScalarMatrix& curMatrix =
|
const fvScalarMatrix& curMatrix =
|
||||||
static_cast<fvScalarMatrix&>(matrices[rowI]);
|
static_cast<const fvScalarMatrix&>(matrices[rowI]);
|
||||||
|
|
||||||
curMatrix.psi().correctBoundaryConditions();
|
volScalarField& psiRef =
|
||||||
|
const_cast<volScalarField&>(curMatrix.psi());
|
||||||
|
|
||||||
|
psiRef.correctBoundaryConditions();
|
||||||
}
|
}
|
||||||
|
|
||||||
//HR 17.2.2013: Clear references to internal field without deleting the objects
|
// Clear references to internal field without deleting the objects
|
||||||
|
// HR 17.2.2013
|
||||||
forAll (matrices, rowI)
|
forAll (matrices, rowI)
|
||||||
{
|
{
|
||||||
psi.set(rowI, NULL).ptr();
|
psi.set(rowI, NULL).ptr();
|
||||||
|
|
|
@ -296,7 +296,7 @@ template<class Type>
|
||||||
tmp<fvMatrix<Type> >
|
tmp<fvMatrix<Type> >
|
||||||
EulerLocalDdtScheme<Type>::fvmDdt
|
EulerLocalDdtScheme<Type>::fvmDdt
|
||||||
(
|
(
|
||||||
GeometricField<Type, fvPatchField, volMesh>& vf
|
const GeometricField<Type, fvPatchField, volMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
const objectRegistry& registry = this->mesh();
|
const objectRegistry& registry = this->mesh();
|
||||||
|
@ -342,7 +342,7 @@ tmp<fvMatrix<Type> >
|
||||||
EulerLocalDdtScheme<Type>::fvmDdt
|
EulerLocalDdtScheme<Type>::fvmDdt
|
||||||
(
|
(
|
||||||
const dimensionedScalar& rho,
|
const dimensionedScalar& rho,
|
||||||
GeometricField<Type, fvPatchField, volMesh>& vf
|
const GeometricField<Type, fvPatchField, volMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
const objectRegistry& registry = this->mesh();
|
const objectRegistry& registry = this->mesh();
|
||||||
|
@ -386,7 +386,7 @@ tmp<fvMatrix<Type> >
|
||||||
EulerLocalDdtScheme<Type>::fvmDdt
|
EulerLocalDdtScheme<Type>::fvmDdt
|
||||||
(
|
(
|
||||||
const volScalarField& rho,
|
const volScalarField& rho,
|
||||||
GeometricField<Type, fvPatchField, volMesh>& vf
|
const GeometricField<Type, fvPatchField, volMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
const objectRegistry& registry = this->mesh();
|
const objectRegistry& registry = this->mesh();
|
||||||
|
|
|
@ -133,19 +133,19 @@ public:
|
||||||
|
|
||||||
tmp<fvMatrix<Type> > fvmDdt
|
tmp<fvMatrix<Type> > fvmDdt
|
||||||
(
|
(
|
||||||
GeometricField<Type, fvPatchField, volMesh>&
|
const GeometricField<Type, fvPatchField, volMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
tmp<fvMatrix<Type> > fvmDdt
|
tmp<fvMatrix<Type> > fvmDdt
|
||||||
(
|
(
|
||||||
const dimensionedScalar&,
|
const dimensionedScalar&,
|
||||||
GeometricField<Type, fvPatchField, volMesh>&
|
const GeometricField<Type, fvPatchField, volMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
tmp<fvMatrix<Type> > fvmDdt
|
tmp<fvMatrix<Type> > fvmDdt
|
||||||
(
|
(
|
||||||
const volScalarField&,
|
const volScalarField&,
|
||||||
GeometricField<Type, fvPatchField, volMesh>&
|
const GeometricField<Type, fvPatchField, volMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
typedef typename ddtScheme<Type>::fluxFieldType fluxFieldType;
|
typedef typename ddtScheme<Type>::fluxFieldType fluxFieldType;
|
||||||
|
|
|
@ -399,7 +399,7 @@ template<class Type>
|
||||||
tmp<fvMatrix<Type> >
|
tmp<fvMatrix<Type> >
|
||||||
backwardDualDdtScheme<Type>::fvmDdt
|
backwardDualDdtScheme<Type>::fvmDdt
|
||||||
(
|
(
|
||||||
GeometricField<Type, fvPatchField, volMesh>& vf
|
const GeometricField<Type, fvPatchField, volMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
const objectRegistry& registry = this->mesh();
|
const objectRegistry& registry = this->mesh();
|
||||||
|
@ -479,7 +479,7 @@ tmp<fvMatrix<Type> >
|
||||||
backwardDualDdtScheme<Type>::fvmDdt
|
backwardDualDdtScheme<Type>::fvmDdt
|
||||||
(
|
(
|
||||||
const dimensionedScalar& rho,
|
const dimensionedScalar& rho,
|
||||||
GeometricField<Type, fvPatchField, volMesh>& vf
|
const GeometricField<Type, fvPatchField, volMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
const objectRegistry& registry = this->mesh();
|
const objectRegistry& registry = this->mesh();
|
||||||
|
@ -557,7 +557,7 @@ tmp<fvMatrix<Type> >
|
||||||
backwardDualDdtScheme<Type>::fvmDdt
|
backwardDualDdtScheme<Type>::fvmDdt
|
||||||
(
|
(
|
||||||
const volScalarField& rho,
|
const volScalarField& rho,
|
||||||
GeometricField<Type, fvPatchField, volMesh>& vf
|
const GeometricField<Type, fvPatchField, volMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
const objectRegistry& registry = this->mesh();
|
const objectRegistry& registry = this->mesh();
|
||||||
|
|
|
@ -165,19 +165,19 @@ public:
|
||||||
|
|
||||||
tmp<fvMatrix<Type> > fvmDdt
|
tmp<fvMatrix<Type> > fvmDdt
|
||||||
(
|
(
|
||||||
GeometricField<Type, fvPatchField, volMesh>&
|
const GeometricField<Type, fvPatchField, volMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
tmp<fvMatrix<Type> > fvmDdt
|
tmp<fvMatrix<Type> > fvmDdt
|
||||||
(
|
(
|
||||||
const dimensionedScalar&,
|
const dimensionedScalar&,
|
||||||
GeometricField<Type, fvPatchField, volMesh>&
|
const GeometricField<Type, fvPatchField, volMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
tmp<fvMatrix<Type> > fvmDdt
|
tmp<fvMatrix<Type> > fvmDdt
|
||||||
(
|
(
|
||||||
const volScalarField&,
|
const volScalarField&,
|
||||||
GeometricField<Type, fvPatchField, volMesh>&
|
const GeometricField<Type, fvPatchField, volMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
typedef typename ddtScheme<Type>::fluxFieldType fluxFieldType;
|
typedef typename ddtScheme<Type>::fluxFieldType fluxFieldType;
|
||||||
|
|
|
@ -190,7 +190,7 @@ void faMatrix<Type>::addBoundarySource
|
||||||
template<class Type>
|
template<class Type>
|
||||||
faMatrix<Type>::faMatrix
|
faMatrix<Type>::faMatrix
|
||||||
(
|
(
|
||||||
GeometricField<Type, faPatchField, areaMesh>& psi,
|
const GeometricField<Type, faPatchField, areaMesh>& psi,
|
||||||
const dimensionSet& ds
|
const dimensionSet& ds
|
||||||
)
|
)
|
||||||
:
|
:
|
||||||
|
@ -205,7 +205,7 @@ faMatrix<Type>::faMatrix
|
||||||
{
|
{
|
||||||
if (debug)
|
if (debug)
|
||||||
{
|
{
|
||||||
Info<< "faMatrix<Type>(GeometricField<Type, faPatchField, areaMesh>&,"
|
Info<< "faMatrix<Type>(const GeometricField<Type, faPatchField, areaMesh>&,"
|
||||||
" const dimensionSet&) : "
|
" const dimensionSet&) : "
|
||||||
"constructing faMatrix<Type> for field " << psi_.name()
|
"constructing faMatrix<Type> for field " << psi_.name()
|
||||||
<< endl;
|
<< endl;
|
||||||
|
@ -235,7 +235,13 @@ faMatrix<Type>::faMatrix
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
psi_.boundaryField().updateCoeffs();
|
// Update the boundary coefficients of psi without changing its event No.
|
||||||
|
GeometricField<Type, faPatchField, areaMesh>& psiRef =
|
||||||
|
const_cast<GeometricField<Type, faPatchField, areaMesh>&>(psi_);
|
||||||
|
|
||||||
|
label currentStatePsi = psiRef.eventNo();
|
||||||
|
psiRef.boundaryField().updateCoeffs();
|
||||||
|
psiRef.eventNo() = currentStatePsi;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -273,7 +279,7 @@ faMatrix<Type>::faMatrix(const faMatrix<Type>& fam)
|
||||||
template<class Type>
|
template<class Type>
|
||||||
faMatrix<Type>::faMatrix
|
faMatrix<Type>::faMatrix
|
||||||
(
|
(
|
||||||
GeometricField<Type, faPatchField, areaMesh>& psi,
|
const GeometricField<Type, faPatchField, areaMesh>& psi,
|
||||||
Istream& is
|
Istream& is
|
||||||
)
|
)
|
||||||
:
|
:
|
||||||
|
@ -288,7 +294,7 @@ faMatrix<Type>::faMatrix
|
||||||
{
|
{
|
||||||
if (debug)
|
if (debug)
|
||||||
{
|
{
|
||||||
Info<< "faMatrix<Type>(GeometricField<Type, faPatchField, areaMesh>&,"
|
Info<< "faMatrix<Type>(const GeometricField<Type, faPatchField, areaMesh>&,"
|
||||||
" Istream&) : "
|
" Istream&) : "
|
||||||
"constructing faMatrix<Type> for field " << psi_.name()
|
"constructing faMatrix<Type> for field " << psi_.name()
|
||||||
<< endl;
|
<< endl;
|
||||||
|
|
|
@ -71,7 +71,7 @@ class faMatrix
|
||||||
// Private data
|
// Private data
|
||||||
|
|
||||||
// Reference to GeometricField<Type, faPatchField, areaMesh>
|
// Reference to GeometricField<Type, faPatchField, areaMesh>
|
||||||
GeometricField<Type, faPatchField, areaMesh>& psi_;
|
const GeometricField<Type, faPatchField, areaMesh>& psi_;
|
||||||
|
|
||||||
//- Dimension set
|
//- Dimension set
|
||||||
dimensionSet dimensions_;
|
dimensionSet dimensions_;
|
||||||
|
@ -189,7 +189,7 @@ public:
|
||||||
//- Construct given a field to solve for
|
//- Construct given a field to solve for
|
||||||
faMatrix
|
faMatrix
|
||||||
(
|
(
|
||||||
GeometricField<Type, faPatchField, areaMesh>&,
|
const GeometricField<Type, faPatchField, areaMesh>&,
|
||||||
const dimensionSet&
|
const dimensionSet&
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -197,7 +197,11 @@ public:
|
||||||
faMatrix(const faMatrix<Type>&);
|
faMatrix(const faMatrix<Type>&);
|
||||||
|
|
||||||
//- Construct from Istream given field to solve for
|
//- Construct from Istream given field to solve for
|
||||||
faMatrix(GeometricField<Type, faPatchField, areaMesh>&, Istream&);
|
faMatrix
|
||||||
|
(
|
||||||
|
const GeometricField<Type, faPatchField, areaMesh>&,
|
||||||
|
Istream&
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
// Destructor
|
// Destructor
|
||||||
|
@ -214,11 +218,6 @@ public:
|
||||||
return psi_;
|
return psi_;
|
||||||
}
|
}
|
||||||
|
|
||||||
GeometricField<Type, faPatchField, areaMesh>& psi()
|
|
||||||
{
|
|
||||||
return psi_;
|
|
||||||
}
|
|
||||||
|
|
||||||
const dimensionSet& dimensions() const
|
const dimensionSet& dimensions() const
|
||||||
{
|
{
|
||||||
return dimensions_;
|
return dimensions_;
|
||||||
|
|
|
@ -75,6 +75,10 @@ lduSolverPerformance faMatrix<Type>::solve(const dictionary& solverControls)
|
||||||
// HJ, 20/Nov/2007
|
// HJ, 20/Nov/2007
|
||||||
lduInterfaceFieldPtrsList interfaces = psi_.boundaryField().interfaces();
|
lduInterfaceFieldPtrsList interfaces = psi_.boundaryField().interfaces();
|
||||||
|
|
||||||
|
// Cast into a non-const to solve. HJ, 6/May/2016
|
||||||
|
GeometricField<Type, faPatchField, areaMesh>& psi =
|
||||||
|
const_cast<GeometricField<Type, faPatchField, areaMesh>&>(psi_);
|
||||||
|
|
||||||
for (direction cmpt = 0; cmpt < Type::nComponents; cmpt++)
|
for (direction cmpt = 0; cmpt < Type::nComponents; cmpt++)
|
||||||
{
|
{
|
||||||
// copy field and source
|
// copy field and source
|
||||||
|
@ -139,11 +143,11 @@ lduSolverPerformance faMatrix<Type>::solve(const dictionary& solverControls)
|
||||||
solverPerfVec = solverPerf;
|
solverPerfVec = solverPerf;
|
||||||
}
|
}
|
||||||
|
|
||||||
psi_.internalField().replace(cmpt, psiCmpt);
|
psi.internalField().replace(cmpt, psiCmpt);
|
||||||
diag() = saveDiag;
|
diag() = saveDiag;
|
||||||
}
|
}
|
||||||
|
|
||||||
psi_.correctBoundaryConditions();
|
psi.correctBoundaryConditions();
|
||||||
|
|
||||||
return solverPerfVec;
|
return solverPerfVec;
|
||||||
}
|
}
|
||||||
|
|
|
@ -113,14 +113,22 @@ lduSolverPerformance faMatrix<scalar>::faSolver::solve
|
||||||
faMat_.addBoundarySource(totalSource, false);
|
faMat_.addBoundarySource(totalSource, false);
|
||||||
|
|
||||||
solver_->read(solverControls);
|
solver_->read(solverControls);
|
||||||
|
|
||||||
|
// Cast into a non-const to solve. HJ, 6/May/2016
|
||||||
|
GeometricField<scalar, faPatchField, areaMesh>& psi =
|
||||||
|
const_cast<GeometricField<scalar, faPatchField, areaMesh>&>
|
||||||
|
(
|
||||||
|
faMat_.psi()
|
||||||
|
);
|
||||||
|
|
||||||
lduSolverPerformance solverPerf =
|
lduSolverPerformance solverPerf =
|
||||||
solver_->solve(faMat_.psi().internalField(), totalSource);
|
solver_->solve(psi.internalField(), totalSource);
|
||||||
|
|
||||||
solverPerf.print();
|
solverPerf.print();
|
||||||
|
|
||||||
faMat_.diag() = saveDiag;
|
faMat_.diag() = saveDiag;
|
||||||
|
|
||||||
faMat_.psi().correctBoundaryConditions();
|
psi.correctBoundaryConditions();
|
||||||
|
|
||||||
return solverPerf;
|
return solverPerf;
|
||||||
}
|
}
|
||||||
|
@ -139,6 +147,9 @@ lduSolverPerformance faMatrix<scalar>::solve
|
||||||
<< endl;
|
<< endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
GeometricField<scalar, faPatchField, areaMesh>& psi =
|
||||||
|
const_cast<GeometricField<scalar, faPatchField, areaMesh>&>(psi_);
|
||||||
|
|
||||||
scalarField saveDiag = diag();
|
scalarField saveDiag = diag();
|
||||||
addBoundaryDiag(diag(), 0);
|
addBoundaryDiag(diag(), 0);
|
||||||
|
|
||||||
|
@ -158,13 +169,13 @@ lduSolverPerformance faMatrix<scalar>::solve
|
||||||
internalCoeffs_,
|
internalCoeffs_,
|
||||||
interfaces,
|
interfaces,
|
||||||
solverControls
|
solverControls
|
||||||
)->solve(psi_.internalField(), totalSource);
|
)->solve(psi.internalField(), totalSource);
|
||||||
|
|
||||||
solverPerf.print();
|
solverPerf.print();
|
||||||
|
|
||||||
diag() = saveDiag;
|
diag() = saveDiag;
|
||||||
|
|
||||||
psi_.correctBoundaryConditions();
|
psi.correctBoundaryConditions();
|
||||||
|
|
||||||
return solverPerf;
|
return solverPerf;
|
||||||
}
|
}
|
||||||
|
|
|
@ -143,7 +143,7 @@ public:
|
||||||
virtual tmp<faMatrix<Type> > famDiv
|
virtual tmp<faMatrix<Type> > famDiv
|
||||||
(
|
(
|
||||||
const edgeScalarField&,
|
const edgeScalarField&,
|
||||||
GeometricField<Type, faPatchField, areaMesh>&
|
const GeometricField<Type, faPatchField, areaMesh>&
|
||||||
) const = 0;
|
) const = 0;
|
||||||
|
|
||||||
virtual tmp<GeometricField<Type, faPatchField, areaMesh> > facDiv
|
virtual tmp<GeometricField<Type, faPatchField, areaMesh> > facDiv
|
||||||
|
|
|
@ -58,7 +58,7 @@ tmp<faMatrix<Type> >
|
||||||
gaussConvectionScheme<Type>::famDiv
|
gaussConvectionScheme<Type>::famDiv
|
||||||
(
|
(
|
||||||
const edgeScalarField& faceFlux,
|
const edgeScalarField& faceFlux,
|
||||||
GeometricField<Type, faPatchField, areaMesh>& vf
|
const GeometricField<Type, faPatchField, areaMesh>& vf
|
||||||
) const
|
) const
|
||||||
{
|
{
|
||||||
tmp<edgeScalarField> tweights = tinterpScheme_().weights(vf);
|
tmp<edgeScalarField> tweights = tinterpScheme_().weights(vf);
|
||||||
|
|
|
@ -117,7 +117,7 @@ public:
|
||||||
tmp<faMatrix<Type> > famDiv
|
tmp<faMatrix<Type> > famDiv
|
||||||
(
|
(
|
||||||
const edgeScalarField&,
|
const edgeScalarField&,
|
||||||
GeometricField<Type, faPatchField, areaMesh>&
|
const GeometricField<Type, faPatchField, areaMesh>&
|
||||||
) const;
|
) const;
|
||||||
|
|
||||||
tmp<GeometricField<Type, faPatchField, areaMesh> > facDiv
|
tmp<GeometricField<Type, faPatchField, areaMesh> > facDiv
|
||||||
|
|
|
@ -501,7 +501,7 @@ template<class Type>
|
||||||
tmp<faMatrix<Type> >
|
tmp<faMatrix<Type> >
|
||||||
EulerFaDdtScheme<Type>::famDdt
|
EulerFaDdtScheme<Type>::famDdt
|
||||||
(
|
(
|
||||||
GeometricField<Type, faPatchField, areaMesh>& vf
|
const GeometricField<Type, faPatchField, areaMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
tmp<faMatrix<Type> > tfam
|
tmp<faMatrix<Type> > tfam
|
||||||
|
@ -537,7 +537,7 @@ tmp<faMatrix<Type> >
|
||||||
EulerFaDdtScheme<Type>::famDdt
|
EulerFaDdtScheme<Type>::famDdt
|
||||||
(
|
(
|
||||||
const dimensionedScalar& rho,
|
const dimensionedScalar& rho,
|
||||||
GeometricField<Type, faPatchField, areaMesh>& vf
|
const GeometricField<Type, faPatchField, areaMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
tmp<faMatrix<Type> > tfam
|
tmp<faMatrix<Type> > tfam
|
||||||
|
@ -574,7 +574,7 @@ tmp<faMatrix<Type> >
|
||||||
EulerFaDdtScheme<Type>::famDdt
|
EulerFaDdtScheme<Type>::famDdt
|
||||||
(
|
(
|
||||||
const areaScalarField& rho,
|
const areaScalarField& rho,
|
||||||
GeometricField<Type, faPatchField, areaMesh>& vf
|
const GeometricField<Type, faPatchField, areaMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
tmp<faMatrix<Type> > tfam
|
tmp<faMatrix<Type> > tfam
|
||||||
|
|
|
@ -146,19 +146,19 @@ public:
|
||||||
|
|
||||||
tmp<faMatrix<Type> > famDdt
|
tmp<faMatrix<Type> > famDdt
|
||||||
(
|
(
|
||||||
GeometricField<Type, faPatchField, areaMesh>&
|
const GeometricField<Type, faPatchField, areaMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
tmp<faMatrix<Type> > famDdt
|
tmp<faMatrix<Type> > famDdt
|
||||||
(
|
(
|
||||||
const dimensionedScalar&,
|
const dimensionedScalar&,
|
||||||
GeometricField<Type, faPatchField, areaMesh>&
|
const GeometricField<Type, faPatchField, areaMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
tmp<faMatrix<Type> > famDdt
|
tmp<faMatrix<Type> > famDdt
|
||||||
(
|
(
|
||||||
const areaScalarField&,
|
const areaScalarField&,
|
||||||
GeometricField<Type, faPatchField, areaMesh>&
|
const GeometricField<Type, faPatchField, areaMesh>&
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -700,7 +700,7 @@ template<class Type>
|
||||||
tmp<faMatrix<Type> >
|
tmp<faMatrix<Type> >
|
||||||
backwardFaDdtScheme<Type>::famDdt
|
backwardFaDdtScheme<Type>::famDdt
|
||||||
(
|
(
|
||||||
GeometricField<Type, faPatchField, areaMesh>& vf
|
const GeometricField<Type, faPatchField, areaMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
tmp<faMatrix<Type> > tfam
|
tmp<faMatrix<Type> > tfam
|
||||||
|
@ -752,7 +752,7 @@ tmp<faMatrix<Type> >
|
||||||
backwardFaDdtScheme<Type>::famDdt
|
backwardFaDdtScheme<Type>::famDdt
|
||||||
(
|
(
|
||||||
const dimensionedScalar& rho,
|
const dimensionedScalar& rho,
|
||||||
GeometricField<Type, faPatchField, areaMesh>& vf
|
const GeometricField<Type, faPatchField, areaMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
tmp<faMatrix<Type> > tfam
|
tmp<faMatrix<Type> > tfam
|
||||||
|
@ -803,7 +803,7 @@ tmp<faMatrix<Type> >
|
||||||
backwardFaDdtScheme<Type>::famDdt
|
backwardFaDdtScheme<Type>::famDdt
|
||||||
(
|
(
|
||||||
const areaScalarField& rho,
|
const areaScalarField& rho,
|
||||||
GeometricField<Type, faPatchField, areaMesh>& vf
|
const GeometricField<Type, faPatchField, areaMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
tmp<faMatrix<Type> > tfam
|
tmp<faMatrix<Type> > tfam
|
||||||
|
|
|
@ -157,19 +157,19 @@ public:
|
||||||
|
|
||||||
tmp<faMatrix<Type> > famDdt
|
tmp<faMatrix<Type> > famDdt
|
||||||
(
|
(
|
||||||
GeometricField<Type, faPatchField, areaMesh>&
|
const GeometricField<Type, faPatchField, areaMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
tmp<faMatrix<Type> > famDdt
|
tmp<faMatrix<Type> > famDdt
|
||||||
(
|
(
|
||||||
const dimensionedScalar&,
|
const dimensionedScalar&,
|
||||||
GeometricField<Type, faPatchField, areaMesh>&
|
const GeometricField<Type, faPatchField, areaMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
tmp<faMatrix<Type> > famDdt
|
tmp<faMatrix<Type> > famDdt
|
||||||
(
|
(
|
||||||
const areaScalarField&,
|
const areaScalarField&,
|
||||||
GeometricField<Type, faPatchField, areaMesh>&
|
const GeometricField<Type, faPatchField, areaMesh>&
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -819,7 +819,7 @@ boundedBackwardFaDdtScheme::facDdt0
|
||||||
tmp<faScalarMatrix>
|
tmp<faScalarMatrix>
|
||||||
boundedBackwardFaDdtScheme::famDdt
|
boundedBackwardFaDdtScheme::famDdt
|
||||||
(
|
(
|
||||||
areaScalarField& vf
|
const areaScalarField& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
tmp<faScalarMatrix> tfam
|
tmp<faScalarMatrix> tfam
|
||||||
|
@ -890,7 +890,7 @@ tmp<faScalarMatrix>
|
||||||
boundedBackwardFaDdtScheme::famDdt
|
boundedBackwardFaDdtScheme::famDdt
|
||||||
(
|
(
|
||||||
const dimensionedScalar& rho,
|
const dimensionedScalar& rho,
|
||||||
areaScalarField& vf
|
const areaScalarField& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
tmp<faScalarMatrix> tfam
|
tmp<faScalarMatrix> tfam
|
||||||
|
@ -960,7 +960,7 @@ tmp<faScalarMatrix>
|
||||||
boundedBackwardFaDdtScheme::famDdt
|
boundedBackwardFaDdtScheme::famDdt
|
||||||
(
|
(
|
||||||
const areaScalarField& rho,
|
const areaScalarField& rho,
|
||||||
areaScalarField& vf
|
const areaScalarField& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
tmp<faScalarMatrix> tfam
|
tmp<faScalarMatrix> tfam
|
||||||
|
|
|
@ -168,19 +168,19 @@ public:
|
||||||
|
|
||||||
tmp<faScalarMatrix> famDdt
|
tmp<faScalarMatrix> famDdt
|
||||||
(
|
(
|
||||||
areaScalarField&
|
const areaScalarField&
|
||||||
);
|
);
|
||||||
|
|
||||||
tmp<faScalarMatrix> famDdt
|
tmp<faScalarMatrix> famDdt
|
||||||
(
|
(
|
||||||
const dimensionedScalar&,
|
const dimensionedScalar&,
|
||||||
areaScalarField&
|
const areaScalarField&
|
||||||
);
|
);
|
||||||
|
|
||||||
tmp<faScalarMatrix> famDdt
|
tmp<faScalarMatrix> famDdt
|
||||||
(
|
(
|
||||||
const areaScalarField&,
|
const areaScalarField&,
|
||||||
areaScalarField&
|
const areaScalarField&
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -190,19 +190,19 @@ public:
|
||||||
|
|
||||||
virtual tmp<faMatrix<Type> > famDdt
|
virtual tmp<faMatrix<Type> > famDdt
|
||||||
(
|
(
|
||||||
GeometricField<Type, faPatchField, areaMesh>&
|
const GeometricField<Type, faPatchField, areaMesh>&
|
||||||
) = 0;
|
) = 0;
|
||||||
|
|
||||||
virtual tmp<faMatrix<Type> > famDdt
|
virtual tmp<faMatrix<Type> > famDdt
|
||||||
(
|
(
|
||||||
const dimensionedScalar&,
|
const dimensionedScalar&,
|
||||||
GeometricField<Type, faPatchField, areaMesh>&
|
const GeometricField<Type, faPatchField, areaMesh>&
|
||||||
) = 0;
|
) = 0;
|
||||||
|
|
||||||
virtual tmp<faMatrix<Type> > famDdt
|
virtual tmp<faMatrix<Type> > famDdt
|
||||||
(
|
(
|
||||||
const areaScalarField&,
|
const areaScalarField&,
|
||||||
GeometricField<Type, faPatchField, areaMesh>&
|
const GeometricField<Type, faPatchField, areaMesh>&
|
||||||
) = 0;
|
) = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -308,7 +308,7 @@ template<class Type>
|
||||||
tmp<faMatrix<Type> >
|
tmp<faMatrix<Type> >
|
||||||
steadyStateFaDdtScheme<Type>::famDdt
|
steadyStateFaDdtScheme<Type>::famDdt
|
||||||
(
|
(
|
||||||
GeometricField<Type, faPatchField, areaMesh>& vf
|
const GeometricField<Type, faPatchField, areaMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
tmp<faMatrix<Type> > tfam
|
tmp<faMatrix<Type> > tfam
|
||||||
|
@ -329,7 +329,7 @@ tmp<faMatrix<Type> >
|
||||||
steadyStateFaDdtScheme<Type>::famDdt
|
steadyStateFaDdtScheme<Type>::famDdt
|
||||||
(
|
(
|
||||||
const dimensionedScalar& rho,
|
const dimensionedScalar& rho,
|
||||||
GeometricField<Type, faPatchField, areaMesh>& vf
|
const GeometricField<Type, faPatchField, areaMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
tmp<faMatrix<Type> > tfam
|
tmp<faMatrix<Type> > tfam
|
||||||
|
@ -350,7 +350,7 @@ tmp<faMatrix<Type> >
|
||||||
steadyStateFaDdtScheme<Type>::famDdt
|
steadyStateFaDdtScheme<Type>::famDdt
|
||||||
(
|
(
|
||||||
const areaScalarField& rho,
|
const areaScalarField& rho,
|
||||||
GeometricField<Type, faPatchField, areaMesh>& vf
|
const GeometricField<Type, faPatchField, areaMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
tmp<faMatrix<Type> > tfam
|
tmp<faMatrix<Type> > tfam
|
||||||
|
|
|
@ -145,19 +145,19 @@ public:
|
||||||
|
|
||||||
tmp<faMatrix<Type> > famDdt
|
tmp<faMatrix<Type> > famDdt
|
||||||
(
|
(
|
||||||
GeometricField<Type, faPatchField, areaMesh>&
|
const GeometricField<Type, faPatchField, areaMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
tmp<faMatrix<Type> > famDdt
|
tmp<faMatrix<Type> > famDdt
|
||||||
(
|
(
|
||||||
const dimensionedScalar&,
|
const dimensionedScalar&,
|
||||||
GeometricField<Type, faPatchField, areaMesh>&
|
const GeometricField<Type, faPatchField, areaMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
tmp<faMatrix<Type> > famDdt
|
tmp<faMatrix<Type> > famDdt
|
||||||
(
|
(
|
||||||
const areaScalarField&,
|
const areaScalarField&,
|
||||||
GeometricField<Type, faPatchField, areaMesh>&
|
const GeometricField<Type, faPatchField, areaMesh>&
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -169,7 +169,6 @@ defineNamedTemplateTypeNameAndDebug(SS<Type>, 0); \
|
||||||
divScheme<Type>::addIstreamConstructorToTable<SS<Type> > \
|
divScheme<Type>::addIstreamConstructorToTable<SS<Type> > \
|
||||||
add##SS##Type##IstreamConstructorToTable_;
|
add##SS##Type##IstreamConstructorToTable_;
|
||||||
|
|
||||||
|
|
||||||
#define makeFaDivScheme(SS) \
|
#define makeFaDivScheme(SS) \
|
||||||
\
|
\
|
||||||
makeFaDivTypeScheme(SS, vector) \
|
makeFaDivTypeScheme(SS, vector) \
|
||||||
|
|
|
@ -44,7 +44,7 @@ template<class Type>
|
||||||
tmp<faMatrix<Type> >
|
tmp<faMatrix<Type> >
|
||||||
ddt
|
ddt
|
||||||
(
|
(
|
||||||
GeometricField<Type, faPatchField, areaMesh>& vf
|
const GeometricField<Type, faPatchField, areaMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
return fa::faDdtScheme<Type>::New
|
return fa::faDdtScheme<Type>::New
|
||||||
|
@ -60,7 +60,7 @@ tmp<faMatrix<Type> >
|
||||||
ddt
|
ddt
|
||||||
(
|
(
|
||||||
const dimensionedScalar& rho,
|
const dimensionedScalar& rho,
|
||||||
GeometricField<Type, faPatchField, areaMesh>& vf
|
const GeometricField<Type, faPatchField, areaMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
return fa::faDdtScheme<Type>::New
|
return fa::faDdtScheme<Type>::New
|
||||||
|
@ -79,7 +79,7 @@ tmp<faMatrix<Type> >
|
||||||
ddt
|
ddt
|
||||||
(
|
(
|
||||||
const areaScalarField& rho,
|
const areaScalarField& rho,
|
||||||
GeometricField<Type, faPatchField, areaMesh>& vf
|
const GeometricField<Type, faPatchField, areaMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
return fa::faDdtScheme<Type>::New
|
return fa::faDdtScheme<Type>::New
|
||||||
|
|
|
@ -52,21 +52,21 @@ namespace fam
|
||||||
template<class Type>
|
template<class Type>
|
||||||
tmp<faMatrix<Type> > ddt
|
tmp<faMatrix<Type> > ddt
|
||||||
(
|
(
|
||||||
GeometricField<Type, faPatchField, areaMesh>&
|
const GeometricField<Type, faPatchField, areaMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
tmp<faMatrix<Type> > ddt
|
tmp<faMatrix<Type> > ddt
|
||||||
(
|
(
|
||||||
const dimensionedScalar&,
|
const dimensionedScalar&,
|
||||||
GeometricField<Type, faPatchField, areaMesh>&
|
const GeometricField<Type, faPatchField, areaMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
tmp<faMatrix<Type> > ddt
|
tmp<faMatrix<Type> > ddt
|
||||||
(
|
(
|
||||||
const areaScalarField&,
|
const areaScalarField&,
|
||||||
GeometricField<Type, faPatchField, areaMesh>&
|
const GeometricField<Type, faPatchField, areaMesh>&
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -45,7 +45,7 @@ tmp<faMatrix<Type> >
|
||||||
div
|
div
|
||||||
(
|
(
|
||||||
const edgeScalarField& flux,
|
const edgeScalarField& flux,
|
||||||
GeometricField<Type, faPatchField, areaMesh>& vf,
|
const GeometricField<Type, faPatchField, areaMesh>& vf,
|
||||||
const word& name
|
const word& name
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
@ -62,7 +62,7 @@ tmp<faMatrix<Type> >
|
||||||
div
|
div
|
||||||
(
|
(
|
||||||
const tmp<edgeScalarField>& tflux,
|
const tmp<edgeScalarField>& tflux,
|
||||||
GeometricField<Type, faPatchField, areaMesh>& vf,
|
const GeometricField<Type, faPatchField, areaMesh>& vf,
|
||||||
const word& name
|
const word& name
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
@ -77,7 +77,7 @@ tmp<faMatrix<Type> >
|
||||||
div
|
div
|
||||||
(
|
(
|
||||||
const edgeScalarField& flux,
|
const edgeScalarField& flux,
|
||||||
GeometricField<Type, faPatchField, areaMesh>& vf
|
const GeometricField<Type, faPatchField, areaMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
return fam::div(flux, vf, "div("+flux.name()+','+vf.name()+')');
|
return fam::div(flux, vf, "div("+flux.name()+','+vf.name()+')');
|
||||||
|
@ -88,7 +88,7 @@ tmp<faMatrix<Type> >
|
||||||
div
|
div
|
||||||
(
|
(
|
||||||
const tmp<edgeScalarField>& tflux,
|
const tmp<edgeScalarField>& tflux,
|
||||||
GeometricField<Type, faPatchField, areaMesh>& vf
|
const GeometricField<Type, faPatchField, areaMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
tmp<faMatrix<Type> > Div(fam::div(tflux(), vf));
|
tmp<faMatrix<Type> > Div(fam::div(tflux(), vf));
|
||||||
|
|
|
@ -55,7 +55,7 @@ namespace fam
|
||||||
tmp<faMatrix<Type> > div
|
tmp<faMatrix<Type> > div
|
||||||
(
|
(
|
||||||
const edgeScalarField&,
|
const edgeScalarField&,
|
||||||
GeometricField<Type, faPatchField, areaMesh>&,
|
const GeometricField<Type, faPatchField, areaMesh>&,
|
||||||
const word& name
|
const word& name
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -63,7 +63,7 @@ namespace fam
|
||||||
tmp<faMatrix<Type> > div
|
tmp<faMatrix<Type> > div
|
||||||
(
|
(
|
||||||
const tmp<edgeScalarField>&,
|
const tmp<edgeScalarField>&,
|
||||||
GeometricField<Type, faPatchField, areaMesh>&,
|
const GeometricField<Type, faPatchField, areaMesh>&,
|
||||||
const word& name
|
const word& name
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -71,14 +71,14 @@ namespace fam
|
||||||
tmp<faMatrix<Type> > div
|
tmp<faMatrix<Type> > div
|
||||||
(
|
(
|
||||||
const edgeScalarField&,
|
const edgeScalarField&,
|
||||||
GeometricField<Type, faPatchField, areaMesh>&
|
const GeometricField<Type, faPatchField, areaMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
tmp<faMatrix<Type> > div
|
tmp<faMatrix<Type> > div
|
||||||
(
|
(
|
||||||
const tmp<edgeScalarField>&,
|
const tmp<edgeScalarField>&,
|
||||||
GeometricField<Type, faPatchField, areaMesh>&
|
const GeometricField<Type, faPatchField, areaMesh>&
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -45,7 +45,7 @@ template<class Type>
|
||||||
tmp<faMatrix<Type> >
|
tmp<faMatrix<Type> >
|
||||||
laplacian
|
laplacian
|
||||||
(
|
(
|
||||||
GeometricField<Type, faPatchField, areaMesh>& vf
|
const GeometricField<Type, faPatchField, areaMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
edgeScalarField Gamma
|
edgeScalarField Gamma
|
||||||
|
@ -69,7 +69,7 @@ template<class Type>
|
||||||
tmp<faMatrix<Type> >
|
tmp<faMatrix<Type> >
|
||||||
laplacian
|
laplacian
|
||||||
(
|
(
|
||||||
GeometricField<Type, faPatchField, areaMesh>& vf,
|
const GeometricField<Type, faPatchField, areaMesh>& vf,
|
||||||
const word& name
|
const word& name
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
@ -95,7 +95,7 @@ tmp<faMatrix<Type> >
|
||||||
laplacian
|
laplacian
|
||||||
(
|
(
|
||||||
const dimensionedScalar& gamma,
|
const dimensionedScalar& gamma,
|
||||||
GeometricField<Type, faPatchField, areaMesh>& vf
|
const GeometricField<Type, faPatchField, areaMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
edgeScalarField Gamma
|
edgeScalarField Gamma
|
||||||
|
@ -120,7 +120,7 @@ tmp<faMatrix<Type> >
|
||||||
laplacian
|
laplacian
|
||||||
(
|
(
|
||||||
const dimensionedScalar& gamma,
|
const dimensionedScalar& gamma,
|
||||||
GeometricField<Type, faPatchField, areaMesh>& vf,
|
const GeometricField<Type, faPatchField, areaMesh>& vf,
|
||||||
const word& name
|
const word& name
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
@ -146,7 +146,7 @@ tmp<faMatrix<Type> >
|
||||||
laplacian
|
laplacian
|
||||||
(
|
(
|
||||||
const areaScalarField& gamma,
|
const areaScalarField& gamma,
|
||||||
GeometricField<Type, faPatchField, areaMesh>& vf
|
const GeometricField<Type, faPatchField, areaMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
return fam::laplacian
|
return fam::laplacian
|
||||||
|
@ -163,7 +163,7 @@ tmp<faMatrix<Type> >
|
||||||
laplacian
|
laplacian
|
||||||
(
|
(
|
||||||
const areaScalarField& gamma,
|
const areaScalarField& gamma,
|
||||||
GeometricField<Type, faPatchField, areaMesh>& vf,
|
const GeometricField<Type, faPatchField, areaMesh>& vf,
|
||||||
const word& name
|
const word& name
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
@ -180,7 +180,7 @@ tmp<faMatrix<Type> >
|
||||||
laplacian
|
laplacian
|
||||||
(
|
(
|
||||||
const tmp<areaScalarField>& tgamma,
|
const tmp<areaScalarField>& tgamma,
|
||||||
GeometricField<Type, faPatchField, areaMesh>& vf
|
const GeometricField<Type, faPatchField, areaMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
tmp<faMatrix<Type> > Laplacian(fam::laplacian(tgamma(), vf));
|
tmp<faMatrix<Type> > Laplacian(fam::laplacian(tgamma(), vf));
|
||||||
|
@ -194,7 +194,7 @@ tmp<faMatrix<Type> >
|
||||||
laplacian
|
laplacian
|
||||||
(
|
(
|
||||||
const tmp<areaScalarField>& tgamma,
|
const tmp<areaScalarField>& tgamma,
|
||||||
GeometricField<Type, faPatchField, areaMesh>& vf,
|
const GeometricField<Type, faPatchField, areaMesh>& vf,
|
||||||
const word& name
|
const word& name
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
@ -209,7 +209,7 @@ tmp<faMatrix<Type> >
|
||||||
laplacian
|
laplacian
|
||||||
(
|
(
|
||||||
const edgeScalarField& gamma,
|
const edgeScalarField& gamma,
|
||||||
GeometricField<Type, faPatchField, areaMesh>& vf,
|
const GeometricField<Type, faPatchField, areaMesh>& vf,
|
||||||
const word& name
|
const word& name
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
@ -226,7 +226,7 @@ tmp<faMatrix<Type> >
|
||||||
laplacian
|
laplacian
|
||||||
(
|
(
|
||||||
const tmp<edgeScalarField>& tgamma,
|
const tmp<edgeScalarField>& tgamma,
|
||||||
GeometricField<Type, faPatchField, areaMesh>& vf,
|
const GeometricField<Type, faPatchField, areaMesh>& vf,
|
||||||
const word& name
|
const word& name
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
@ -241,7 +241,7 @@ tmp<faMatrix<Type> >
|
||||||
laplacian
|
laplacian
|
||||||
(
|
(
|
||||||
const edgeScalarField& gamma,
|
const edgeScalarField& gamma,
|
||||||
GeometricField<Type, faPatchField, areaMesh>& vf
|
const GeometricField<Type, faPatchField, areaMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
return fam::laplacian
|
return fam::laplacian
|
||||||
|
@ -257,7 +257,7 @@ tmp<faMatrix<Type> >
|
||||||
laplacian
|
laplacian
|
||||||
(
|
(
|
||||||
const tmp<edgeScalarField>& tgamma,
|
const tmp<edgeScalarField>& tgamma,
|
||||||
GeometricField<Type, faPatchField, areaMesh>& vf
|
const GeometricField<Type, faPatchField, areaMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
tmp<faMatrix<Type> > tfam(fam::laplacian(tgamma(), vf));
|
tmp<faMatrix<Type> > tfam(fam::laplacian(tgamma(), vf));
|
||||||
|
@ -271,7 +271,7 @@ tmp<faMatrix<Type> >
|
||||||
laplacian
|
laplacian
|
||||||
(
|
(
|
||||||
const areaTensorField& gamma,
|
const areaTensorField& gamma,
|
||||||
GeometricField<Type, faPatchField, areaMesh>& vf
|
const GeometricField<Type, faPatchField, areaMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
const faMesh& mesh = vf.mesh();
|
const faMesh& mesh = vf.mesh();
|
||||||
|
@ -289,7 +289,7 @@ tmp<faMatrix<Type> >
|
||||||
laplacian
|
laplacian
|
||||||
(
|
(
|
||||||
const tmp<areaTensorField>& tgamma,
|
const tmp<areaTensorField>& tgamma,
|
||||||
GeometricField<Type, faPatchField, areaMesh>& vf
|
const GeometricField<Type, faPatchField, areaMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
tmp<faMatrix<Type> > Laplacian = fam::laplacian(tgamma(), vf);
|
tmp<faMatrix<Type> > Laplacian = fam::laplacian(tgamma(), vf);
|
||||||
|
@ -303,7 +303,7 @@ tmp<faMatrix<Type> >
|
||||||
laplacian
|
laplacian
|
||||||
(
|
(
|
||||||
const edgeTensorField& gamma,
|
const edgeTensorField& gamma,
|
||||||
GeometricField<Type, faPatchField, areaMesh>& vf
|
const GeometricField<Type, faPatchField, areaMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
const faMesh& mesh = vf.mesh();
|
const faMesh& mesh = vf.mesh();
|
||||||
|
@ -320,7 +320,7 @@ tmp<faMatrix<Type> >
|
||||||
laplacian
|
laplacian
|
||||||
(
|
(
|
||||||
const tmp<edgeTensorField>& tgamma,
|
const tmp<edgeTensorField>& tgamma,
|
||||||
GeometricField<Type, faPatchField, areaMesh>& vf
|
const GeometricField<Type, faPatchField, areaMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
tmp<faMatrix<Type> > Laplacian = fam::laplacian(tgamma(), vf);
|
tmp<faMatrix<Type> > Laplacian = fam::laplacian(tgamma(), vf);
|
||||||
|
|
|
@ -53,14 +53,14 @@ namespace fam
|
||||||
template<class Type>
|
template<class Type>
|
||||||
tmp<faMatrix<Type> > laplacian
|
tmp<faMatrix<Type> > laplacian
|
||||||
(
|
(
|
||||||
GeometricField<Type, faPatchField, areaMesh>&
|
const GeometricField<Type, faPatchField, areaMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
tmp<faMatrix<Type> > laplacian
|
tmp<faMatrix<Type> > laplacian
|
||||||
(
|
(
|
||||||
GeometricField<Type, faPatchField, areaMesh>&,
|
const GeometricField<Type, faPatchField, areaMesh>&,
|
||||||
const word&
|
const word&
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -69,7 +69,7 @@ namespace fam
|
||||||
tmp<faMatrix<Type> > laplacian
|
tmp<faMatrix<Type> > laplacian
|
||||||
(
|
(
|
||||||
const dimensionedScalar&,
|
const dimensionedScalar&,
|
||||||
GeometricField<Type, faPatchField, areaMesh>&
|
const GeometricField<Type, faPatchField, areaMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
@ -77,7 +77,7 @@ namespace fam
|
||||||
tmp<faMatrix<Type> > laplacian
|
tmp<faMatrix<Type> > laplacian
|
||||||
(
|
(
|
||||||
const dimensionedScalar&,
|
const dimensionedScalar&,
|
||||||
GeometricField<Type, faPatchField, areaMesh>&,
|
const GeometricField<Type, faPatchField, areaMesh>&,
|
||||||
const word&
|
const word&
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -86,14 +86,14 @@ namespace fam
|
||||||
tmp<faMatrix<Type> > laplacian
|
tmp<faMatrix<Type> > laplacian
|
||||||
(
|
(
|
||||||
const areaScalarField&,
|
const areaScalarField&,
|
||||||
GeometricField<Type, faPatchField, areaMesh>&
|
const GeometricField<Type, faPatchField, areaMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
tmp<faMatrix<Type> > laplacian
|
tmp<faMatrix<Type> > laplacian
|
||||||
(
|
(
|
||||||
const areaScalarField&,
|
const areaScalarField&,
|
||||||
GeometricField<Type, faPatchField, areaMesh>&,
|
const GeometricField<Type, faPatchField, areaMesh>&,
|
||||||
const word&
|
const word&
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -101,21 +101,21 @@ namespace fam
|
||||||
tmp<faMatrix<Type> > laplacian
|
tmp<faMatrix<Type> > laplacian
|
||||||
(
|
(
|
||||||
const areaScalarField&,
|
const areaScalarField&,
|
||||||
GeometricField<Type, faPatchField, areaMesh>&
|
const GeometricField<Type, faPatchField, areaMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
tmp<faMatrix<Type> > laplacian
|
tmp<faMatrix<Type> > laplacian
|
||||||
(
|
(
|
||||||
const tmp<areaScalarField>&,
|
const tmp<areaScalarField>&,
|
||||||
GeometricField<Type, faPatchField, areaMesh>&,
|
const GeometricField<Type, faPatchField, areaMesh>&,
|
||||||
const word&
|
const word&
|
||||||
);
|
);
|
||||||
template<class Type>
|
template<class Type>
|
||||||
tmp<faMatrix<Type> > laplacian
|
tmp<faMatrix<Type> > laplacian
|
||||||
(
|
(
|
||||||
const tmp<areaScalarField>&,
|
const tmp<areaScalarField>&,
|
||||||
GeometricField<Type, faPatchField, areaMesh>&,
|
const GeometricField<Type, faPatchField, areaMesh>&,
|
||||||
const word&
|
const word&
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -124,7 +124,7 @@ namespace fam
|
||||||
tmp<faMatrix<Type> > laplacian
|
tmp<faMatrix<Type> > laplacian
|
||||||
(
|
(
|
||||||
const edgeScalarField&,
|
const edgeScalarField&,
|
||||||
GeometricField<Type, faPatchField, areaMesh>&,
|
const GeometricField<Type, faPatchField, areaMesh>&,
|
||||||
const word&
|
const word&
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -132,7 +132,7 @@ namespace fam
|
||||||
tmp<faMatrix<Type> > laplacian
|
tmp<faMatrix<Type> > laplacian
|
||||||
(
|
(
|
||||||
const tmp<edgeScalarField>&,
|
const tmp<edgeScalarField>&,
|
||||||
GeometricField<Type, faPatchField, areaMesh>&,
|
const GeometricField<Type, faPatchField, areaMesh>&,
|
||||||
const word&
|
const word&
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -141,14 +141,14 @@ namespace fam
|
||||||
tmp<faMatrix<Type> > laplacian
|
tmp<faMatrix<Type> > laplacian
|
||||||
(
|
(
|
||||||
const edgeScalarField&,
|
const edgeScalarField&,
|
||||||
GeometricField<Type, faPatchField, areaMesh>&
|
const GeometricField<Type, faPatchField, areaMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
tmp<faMatrix<Type> > laplacian
|
tmp<faMatrix<Type> > laplacian
|
||||||
(
|
(
|
||||||
const tmp<edgeScalarField>&,
|
const tmp<edgeScalarField>&,
|
||||||
GeometricField<Type, faPatchField, areaMesh>&
|
const GeometricField<Type, faPatchField, areaMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
@ -156,14 +156,14 @@ namespace fam
|
||||||
tmp<faMatrix<Type> > laplacian
|
tmp<faMatrix<Type> > laplacian
|
||||||
(
|
(
|
||||||
const areaTensorField&,
|
const areaTensorField&,
|
||||||
GeometricField<Type, faPatchField, areaMesh>&
|
const GeometricField<Type, faPatchField, areaMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
tmp<faMatrix<Type> > laplacian
|
tmp<faMatrix<Type> > laplacian
|
||||||
(
|
(
|
||||||
const tmp<areaTensorField>&,
|
const tmp<areaTensorField>&,
|
||||||
GeometricField<Type, faPatchField, areaMesh>&
|
const GeometricField<Type, faPatchField, areaMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
@ -171,14 +171,14 @@ namespace fam
|
||||||
tmp<faMatrix<Type> > laplacian
|
tmp<faMatrix<Type> > laplacian
|
||||||
(
|
(
|
||||||
const edgeTensorField&,
|
const edgeTensorField&,
|
||||||
GeometricField<Type, faPatchField, areaMesh>&
|
const GeometricField<Type, faPatchField, areaMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
tmp<faMatrix<Type> > laplacian
|
tmp<faMatrix<Type> > laplacian
|
||||||
(
|
(
|
||||||
const tmp<edgeTensorField>&,
|
const tmp<edgeTensorField>&,
|
||||||
GeometricField<Type, faPatchField, areaMesh>&
|
const GeometricField<Type, faPatchField, areaMesh>&
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -47,7 +47,7 @@ tmp<faMatrix<Type> >
|
||||||
Su
|
Su
|
||||||
(
|
(
|
||||||
const GeometricField<Type, faPatchField, areaMesh>& su,
|
const GeometricField<Type, faPatchField, areaMesh>& su,
|
||||||
GeometricField<Type, faPatchField, areaMesh>& vf
|
const GeometricField<Type, faPatchField, areaMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
const faMesh& mesh = vf.mesh();
|
const faMesh& mesh = vf.mesh();
|
||||||
|
@ -72,7 +72,7 @@ tmp<faMatrix<Type> >
|
||||||
Su
|
Su
|
||||||
(
|
(
|
||||||
const tmp<GeometricField<Type, faPatchField, areaMesh> >& tsu,
|
const tmp<GeometricField<Type, faPatchField, areaMesh> >& tsu,
|
||||||
GeometricField<Type, faPatchField, areaMesh>& vf
|
const GeometricField<Type, faPatchField, areaMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
tmp<faMatrix<Type> > tfam = fam::Su(tsu(), vf);
|
tmp<faMatrix<Type> > tfam = fam::Su(tsu(), vf);
|
||||||
|
@ -86,7 +86,7 @@ tmp<faMatrix<Type> >
|
||||||
Sp
|
Sp
|
||||||
(
|
(
|
||||||
const areaScalarField& sp,
|
const areaScalarField& sp,
|
||||||
GeometricField<Type, faPatchField, areaMesh>& vf
|
const GeometricField<Type, faPatchField, areaMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
const faMesh& mesh = vf.mesh();
|
const faMesh& mesh = vf.mesh();
|
||||||
|
@ -111,7 +111,7 @@ tmp<faMatrix<Type> >
|
||||||
Sp
|
Sp
|
||||||
(
|
(
|
||||||
const tmp<areaScalarField>& tsp,
|
const tmp<areaScalarField>& tsp,
|
||||||
GeometricField<Type, faPatchField, areaMesh>& vf
|
const GeometricField<Type, faPatchField, areaMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
tmp<faMatrix<Type> > tfam = fam::Sp(tsp(), vf);
|
tmp<faMatrix<Type> > tfam = fam::Sp(tsp(), vf);
|
||||||
|
@ -125,7 +125,7 @@ tmp<faMatrix<Type> >
|
||||||
Sp
|
Sp
|
||||||
(
|
(
|
||||||
const dimensionedScalar& sp,
|
const dimensionedScalar& sp,
|
||||||
GeometricField<Type, faPatchField, areaMesh>& vf
|
const GeometricField<Type, faPatchField, areaMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
const faMesh& mesh = vf.mesh();
|
const faMesh& mesh = vf.mesh();
|
||||||
|
@ -151,7 +151,7 @@ tmp<faMatrix<Type> >
|
||||||
SuSp
|
SuSp
|
||||||
(
|
(
|
||||||
const areaScalarField& sp,
|
const areaScalarField& sp,
|
||||||
GeometricField<Type, faPatchField, areaMesh>& vf
|
const GeometricField<Type, faPatchField, areaMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
const faMesh& mesh = vf.mesh();
|
const faMesh& mesh = vf.mesh();
|
||||||
|
@ -179,7 +179,7 @@ tmp<faMatrix<Type> >
|
||||||
SuSp
|
SuSp
|
||||||
(
|
(
|
||||||
const tmp<areaScalarField>& tsp,
|
const tmp<areaScalarField>& tsp,
|
||||||
GeometricField<Type, faPatchField, areaMesh>& vf
|
const GeometricField<Type, faPatchField, areaMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
tmp<faMatrix<Type> > tfam = fam::SuSp(tsp(), vf);
|
tmp<faMatrix<Type> > tfam = fam::SuSp(tsp(), vf);
|
||||||
|
|
|
@ -55,14 +55,14 @@ namespace fam
|
||||||
tmp<faMatrix<Type> > Su
|
tmp<faMatrix<Type> > Su
|
||||||
(
|
(
|
||||||
const GeometricField<Type, faPatchField, areaMesh>&,
|
const GeometricField<Type, faPatchField, areaMesh>&,
|
||||||
GeometricField<Type, faPatchField, areaMesh>&
|
const GeometricField<Type, faPatchField, areaMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
tmp<faMatrix<Type> > Su
|
tmp<faMatrix<Type> > Su
|
||||||
(
|
(
|
||||||
const tmp<GeometricField<Type, faPatchField, areaMesh> >&,
|
const tmp<GeometricField<Type, faPatchField, areaMesh> >&,
|
||||||
GeometricField<Type, faPatchField, areaMesh>&
|
const GeometricField<Type, faPatchField, areaMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
@ -72,14 +72,14 @@ namespace fam
|
||||||
tmp<faMatrix<Type> > Sp
|
tmp<faMatrix<Type> > Sp
|
||||||
(
|
(
|
||||||
const areaScalarField&,
|
const areaScalarField&,
|
||||||
GeometricField<Type, faPatchField, areaMesh>&
|
const GeometricField<Type, faPatchField, areaMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
tmp<faMatrix<Type> > Sp
|
tmp<faMatrix<Type> > Sp
|
||||||
(
|
(
|
||||||
const tmp<areaScalarField>&,
|
const tmp<areaScalarField>&,
|
||||||
GeometricField<Type, faPatchField, areaMesh>&
|
const GeometricField<Type, faPatchField, areaMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
@ -87,7 +87,7 @@ namespace fam
|
||||||
tmp<faMatrix<Type> > Sp
|
tmp<faMatrix<Type> > Sp
|
||||||
(
|
(
|
||||||
const dimensionedScalar&,
|
const dimensionedScalar&,
|
||||||
GeometricField<Type, faPatchField, areaMesh>&
|
const GeometricField<Type, faPatchField, areaMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
@ -97,14 +97,14 @@ namespace fam
|
||||||
tmp<faMatrix<Type> > SuSp
|
tmp<faMatrix<Type> > SuSp
|
||||||
(
|
(
|
||||||
const areaScalarField&,
|
const areaScalarField&,
|
||||||
GeometricField<Type, faPatchField, areaMesh>&
|
const GeometricField<Type, faPatchField, areaMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
tmp<faMatrix<Type> > SuSp
|
tmp<faMatrix<Type> > SuSp
|
||||||
(
|
(
|
||||||
const tmp<areaScalarField>&,
|
const tmp<areaScalarField>&,
|
||||||
GeometricField<Type, faPatchField, areaMesh>&
|
const GeometricField<Type, faPatchField, areaMesh>&
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -103,7 +103,7 @@ tmp<faMatrix<Type> >
|
||||||
laplacianScheme<Type>::famLaplacian
|
laplacianScheme<Type>::famLaplacian
|
||||||
(
|
(
|
||||||
const areaScalarField& gamma,
|
const areaScalarField& gamma,
|
||||||
GeometricField<Type, faPatchField, areaMesh>& vf
|
const GeometricField<Type, faPatchField, areaMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
return famLaplacian(tinterpGammaScheme_().interpolate(gamma)(), vf);
|
return famLaplacian(tinterpGammaScheme_().interpolate(gamma)(), vf);
|
||||||
|
|
|
@ -171,13 +171,13 @@ public:
|
||||||
virtual tmp<faMatrix<Type> > famLaplacian
|
virtual tmp<faMatrix<Type> > famLaplacian
|
||||||
(
|
(
|
||||||
const edgeScalarField&,
|
const edgeScalarField&,
|
||||||
GeometricField<Type, faPatchField, areaMesh>&
|
const GeometricField<Type, faPatchField, areaMesh>&
|
||||||
) = 0;
|
) = 0;
|
||||||
|
|
||||||
virtual tmp<faMatrix<Type> > famLaplacian
|
virtual tmp<faMatrix<Type> > famLaplacian
|
||||||
(
|
(
|
||||||
const areaScalarField&,
|
const areaScalarField&,
|
||||||
GeometricField<Type, faPatchField, areaMesh>&
|
const GeometricField<Type, faPatchField, areaMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
virtual tmp<GeometricField<Type, faPatchField, areaMesh> > facLaplacian
|
virtual tmp<GeometricField<Type, faPatchField, areaMesh> > facLaplacian
|
||||||
|
|
|
@ -44,7 +44,7 @@ tmp<faMatrix<Type> >
|
||||||
gaussLaplacianScheme<Type>::famLaplacian
|
gaussLaplacianScheme<Type>::famLaplacian
|
||||||
(
|
(
|
||||||
const edgeScalarField& gamma,
|
const edgeScalarField& gamma,
|
||||||
GeometricField<Type, faPatchField, areaMesh>& vf
|
const GeometricField<Type, faPatchField, areaMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
tmp<edgeScalarField> tdeltaCoeffs = this->tlnGradScheme_().deltaCoeffs(vf);
|
tmp<edgeScalarField> tdeltaCoeffs = this->tlnGradScheme_().deltaCoeffs(vf);
|
||||||
|
|
|
@ -92,7 +92,7 @@ public:
|
||||||
tmp<faMatrix<Type> > famLaplacian
|
tmp<faMatrix<Type> > famLaplacian
|
||||||
(
|
(
|
||||||
const edgeScalarField&,
|
const edgeScalarField&,
|
||||||
GeometricField<Type, faPatchField, areaMesh>&
|
const GeometricField<Type, faPatchField, areaMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
tmp<GeometricField<Type, faPatchField, areaMesh> > facLaplacian
|
tmp<GeometricField<Type, faPatchField, areaMesh> > facLaplacian
|
||||||
|
|
|
@ -45,12 +45,12 @@ bool Foam::adjustPhi
|
||||||
(
|
(
|
||||||
surfaceScalarField& phi,
|
surfaceScalarField& phi,
|
||||||
const volVectorField& U,
|
const volVectorField& U,
|
||||||
volScalarField& p
|
const volScalarField& p
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
if (p.needReference())
|
if (p.needReference())
|
||||||
{
|
{
|
||||||
p.boundaryField().updateCoeffs();
|
// Removed updateCoeffs. HJ, 9/May/2016
|
||||||
|
|
||||||
scalar massIn = 0.0;
|
scalar massIn = 0.0;
|
||||||
scalar fixedMassOut = 0.0;
|
scalar fixedMassOut = 0.0;
|
||||||
|
|
|
@ -51,7 +51,7 @@ bool adjustPhi
|
||||||
(
|
(
|
||||||
surfaceScalarField& phi,
|
surfaceScalarField& phi,
|
||||||
const volVectorField& U,
|
const volVectorField& U,
|
||||||
volScalarField& p
|
const volScalarField& p
|
||||||
);
|
);
|
||||||
|
|
||||||
} // End namespace Foam
|
} // End namespace Foam
|
||||||
|
|
|
@ -242,7 +242,7 @@ void Foam::fvPatchField<Type>::evaluate(const Pstream::commsTypes)
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
void Foam::fvPatchField<Type>::manipulateMatrix(fvMatrix<Type>& matrix)
|
void Foam::fvPatchField<Type>::manipulateMatrix(fvMatrix<Type>& matrix) const
|
||||||
{
|
{
|
||||||
// do nothing
|
// do nothing
|
||||||
}
|
}
|
||||||
|
|
|
@ -463,7 +463,7 @@ public:
|
||||||
// Matrix manipulation
|
// Matrix manipulation
|
||||||
|
|
||||||
//- Manipulate matrix
|
//- Manipulate matrix
|
||||||
virtual void manipulateMatrix(fvMatrix<Type>& matrix);
|
virtual void manipulateMatrix(fvMatrix<Type>& matrix) const;
|
||||||
|
|
||||||
|
|
||||||
// I-O
|
// I-O
|
||||||
|
|
|
@ -136,7 +136,7 @@ public:
|
||||||
virtual tmp<fvMatrix<Type> > fvmAdjDiv
|
virtual tmp<fvMatrix<Type> > fvmAdjDiv
|
||||||
(
|
(
|
||||||
const volVectorField&,
|
const volVectorField&,
|
||||||
GeometricField<Type, fvPatchField, volMesh>&
|
const GeometricField<Type, fvPatchField, volMesh>&
|
||||||
) const = 0;
|
) const = 0;
|
||||||
|
|
||||||
virtual tmp<GeometricField<Type, fvPatchField, volMesh> > fvcAdjDiv
|
virtual tmp<GeometricField<Type, fvPatchField, volMesh> > fvcAdjDiv
|
||||||
|
|
|
@ -45,7 +45,7 @@ tmp<fvMatrix<Type> >
|
||||||
explicitAdjConvectionScheme<Type>::fvmAdjDiv
|
explicitAdjConvectionScheme<Type>::fvmAdjDiv
|
||||||
(
|
(
|
||||||
const volVectorField& Up,
|
const volVectorField& Up,
|
||||||
GeometricField<Type, fvPatchField, volMesh>& vf
|
const GeometricField<Type, fvPatchField, volMesh>& vf
|
||||||
) const
|
) const
|
||||||
{
|
{
|
||||||
tmp<fvMatrix<Type> > tfvm
|
tmp<fvMatrix<Type> > tfvm
|
||||||
|
|
|
@ -104,7 +104,7 @@ public:
|
||||||
tmp<fvMatrix<Type> > fvmAdjDiv
|
tmp<fvMatrix<Type> > fvmAdjDiv
|
||||||
(
|
(
|
||||||
const volVectorField&,
|
const volVectorField&,
|
||||||
GeometricField<Type, fvPatchField, volMesh>&
|
const GeometricField<Type, fvPatchField, volMesh>&
|
||||||
) const;
|
) const;
|
||||||
|
|
||||||
tmp<GeometricField<Type, fvPatchField, volMesh> > fvcAdjDiv
|
tmp<GeometricField<Type, fvPatchField, volMesh> > fvcAdjDiv
|
||||||
|
|
|
@ -45,7 +45,7 @@ tmp<fvMatrix<Type> >
|
||||||
noAdjConvectionScheme<Type>::fvmAdjDiv
|
noAdjConvectionScheme<Type>::fvmAdjDiv
|
||||||
(
|
(
|
||||||
const volVectorField& Up,
|
const volVectorField& Up,
|
||||||
GeometricField<Type, fvPatchField, volMesh>& vf
|
const GeometricField<Type, fvPatchField, volMesh>& vf
|
||||||
) const
|
) const
|
||||||
{
|
{
|
||||||
tmp<fvMatrix<Type> > tfvm
|
tmp<fvMatrix<Type> > tfvm
|
||||||
|
|
|
@ -104,7 +104,7 @@ public:
|
||||||
tmp<fvMatrix<Type> > fvmAdjDiv
|
tmp<fvMatrix<Type> > fvmAdjDiv
|
||||||
(
|
(
|
||||||
const volVectorField&,
|
const volVectorField&,
|
||||||
GeometricField<Type, fvPatchField, volMesh>&
|
const GeometricField<Type, fvPatchField, volMesh>&
|
||||||
) const;
|
) const;
|
||||||
|
|
||||||
tmp<GeometricField<Type, fvPatchField, volMesh> > fvcAdjDiv
|
tmp<GeometricField<Type, fvPatchField, volMesh> > fvcAdjDiv
|
||||||
|
|
|
@ -176,7 +176,7 @@ public:
|
||||||
virtual tmp<fvMatrix<Type> > fvmDiv
|
virtual tmp<fvMatrix<Type> > fvmDiv
|
||||||
(
|
(
|
||||||
const surfaceScalarField&,
|
const surfaceScalarField&,
|
||||||
GeometricField<Type, fvPatchField, volMesh>&
|
const GeometricField<Type, fvPatchField, volMesh>&
|
||||||
) const = 0;
|
) const = 0;
|
||||||
|
|
||||||
virtual tmp<GeometricField<Type, fvPatchField, volMesh> > fvcDiv
|
virtual tmp<GeometricField<Type, fvPatchField, volMesh> > fvcDiv
|
||||||
|
|
|
@ -68,7 +68,7 @@ tmp<fvMatrix<Type> >
|
||||||
explicitConvectionScheme<Type>::fvmDiv
|
explicitConvectionScheme<Type>::fvmDiv
|
||||||
(
|
(
|
||||||
const surfaceScalarField& faceFlux,
|
const surfaceScalarField& faceFlux,
|
||||||
GeometricField<Type, fvPatchField, volMesh>& vf
|
const GeometricField<Type, fvPatchField, volMesh>& vf
|
||||||
) const
|
) const
|
||||||
{
|
{
|
||||||
tmp<fvMatrix<Type> > tfvm
|
tmp<fvMatrix<Type> > tfvm
|
||||||
|
|
|
@ -127,7 +127,7 @@ public:
|
||||||
tmp<fvMatrix<Type> > fvmDiv
|
tmp<fvMatrix<Type> > fvmDiv
|
||||||
(
|
(
|
||||||
const surfaceScalarField&,
|
const surfaceScalarField&,
|
||||||
GeometricField<Type, fvPatchField, volMesh>&
|
const GeometricField<Type, fvPatchField, volMesh>&
|
||||||
) const;
|
) const;
|
||||||
|
|
||||||
tmp<GeometricField<Type, fvPatchField, volMesh> > fvcDiv
|
tmp<GeometricField<Type, fvPatchField, volMesh> > fvcDiv
|
||||||
|
|
|
@ -68,7 +68,7 @@ tmp<fvMatrix<Type> >
|
||||||
gaussConvectionScheme<Type>::fvmDiv
|
gaussConvectionScheme<Type>::fvmDiv
|
||||||
(
|
(
|
||||||
const surfaceScalarField& faceFlux,
|
const surfaceScalarField& faceFlux,
|
||||||
GeometricField<Type, fvPatchField, volMesh>& vf
|
const GeometricField<Type, fvPatchField, volMesh>& vf
|
||||||
) const
|
) const
|
||||||
{
|
{
|
||||||
tmp<surfaceScalarField> tweights = tinterpScheme_().weights(vf);
|
tmp<surfaceScalarField> tweights = tinterpScheme_().weights(vf);
|
||||||
|
|
|
@ -123,7 +123,7 @@ public:
|
||||||
tmp<fvMatrix<Type> > fvmDiv
|
tmp<fvMatrix<Type> > fvmDiv
|
||||||
(
|
(
|
||||||
const surfaceScalarField&,
|
const surfaceScalarField&,
|
||||||
GeometricField<Type, fvPatchField, volMesh>&
|
const GeometricField<Type, fvPatchField, volMesh>&
|
||||||
) const;
|
) const;
|
||||||
|
|
||||||
tmp<GeometricField<Type, fvPatchField, volMesh> > fvcDiv
|
tmp<GeometricField<Type, fvPatchField, volMesh> > fvcDiv
|
||||||
|
|
|
@ -80,7 +80,7 @@ tmp<fvMatrix<Type> >
|
||||||
multivariateGaussConvectionScheme<Type>::fvmDiv
|
multivariateGaussConvectionScheme<Type>::fvmDiv
|
||||||
(
|
(
|
||||||
const surfaceScalarField& faceFlux,
|
const surfaceScalarField& faceFlux,
|
||||||
GeometricField<Type, fvPatchField, volMesh>& vf
|
const GeometricField<Type, fvPatchField, volMesh>& vf
|
||||||
) const
|
) const
|
||||||
{
|
{
|
||||||
return gaussConvectionScheme<Type>
|
return gaussConvectionScheme<Type>
|
||||||
|
|
|
@ -113,7 +113,7 @@ public:
|
||||||
tmp<fvMatrix<Type> > fvmDiv
|
tmp<fvMatrix<Type> > fvmDiv
|
||||||
(
|
(
|
||||||
const surfaceScalarField&,
|
const surfaceScalarField&,
|
||||||
GeometricField<Type, fvPatchField, volMesh>&
|
const GeometricField<Type, fvPatchField, volMesh>&
|
||||||
) const;
|
) const;
|
||||||
|
|
||||||
tmp<GeometricField<Type, fvPatchField, volMesh> > fvcDiv
|
tmp<GeometricField<Type, fvPatchField, volMesh> > fvcDiv
|
||||||
|
|
|
@ -86,7 +86,7 @@ tmp<fvMatrix<Type> >
|
||||||
noConvectionScheme<Type>::fvmDiv
|
noConvectionScheme<Type>::fvmDiv
|
||||||
(
|
(
|
||||||
const surfaceScalarField& faceFlux,
|
const surfaceScalarField& faceFlux,
|
||||||
GeometricField<Type, fvPatchField, volMesh>& vf
|
const GeometricField<Type, fvPatchField, volMesh>& vf
|
||||||
) const
|
) const
|
||||||
{
|
{
|
||||||
tmp<fvMatrix<Type> > tfvm
|
tmp<fvMatrix<Type> > tfvm
|
||||||
|
|
|
@ -117,7 +117,7 @@ public:
|
||||||
tmp<fvMatrix<Type> > fvmDiv
|
tmp<fvMatrix<Type> > fvmDiv
|
||||||
(
|
(
|
||||||
const surfaceScalarField&,
|
const surfaceScalarField&,
|
||||||
GeometricField<Type, fvPatchField, volMesh>&
|
const GeometricField<Type, fvPatchField, volMesh>&
|
||||||
) const;
|
) const;
|
||||||
|
|
||||||
tmp<GeometricField<Type, fvPatchField, volMesh> > fvcDiv
|
tmp<GeometricField<Type, fvPatchField, volMesh> > fvcDiv
|
||||||
|
|
|
@ -231,7 +231,7 @@ template<class Type>
|
||||||
tmp<fvMatrix<Type> >
|
tmp<fvMatrix<Type> >
|
||||||
EulerD2dt2Scheme<Type>::fvmD2dt2
|
EulerD2dt2Scheme<Type>::fvmD2dt2
|
||||||
(
|
(
|
||||||
GeometricField<Type, fvPatchField, volMesh>& vf
|
const GeometricField<Type, fvPatchField, volMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
tmp<fvMatrix<Type> > tfvm
|
tmp<fvMatrix<Type> > tfvm
|
||||||
|
@ -291,7 +291,7 @@ tmp<fvMatrix<Type> >
|
||||||
EulerD2dt2Scheme<Type>::fvmD2dt2
|
EulerD2dt2Scheme<Type>::fvmD2dt2
|
||||||
(
|
(
|
||||||
const dimensionedScalar& rho,
|
const dimensionedScalar& rho,
|
||||||
GeometricField<Type, fvPatchField, volMesh>& vf
|
const GeometricField<Type, fvPatchField, volMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
tmp<fvMatrix<Type> > tfvm
|
tmp<fvMatrix<Type> > tfvm
|
||||||
|
@ -352,7 +352,7 @@ tmp<fvMatrix<Type> >
|
||||||
EulerD2dt2Scheme<Type>::fvmD2dt2
|
EulerD2dt2Scheme<Type>::fvmD2dt2
|
||||||
(
|
(
|
||||||
const volScalarField& rho,
|
const volScalarField& rho,
|
||||||
GeometricField<Type, fvPatchField, volMesh>& vf
|
const GeometricField<Type, fvPatchField, volMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
tmp<fvMatrix<Type> > tfvm
|
tmp<fvMatrix<Type> > tfvm
|
||||||
|
|
|
@ -108,19 +108,19 @@ public:
|
||||||
|
|
||||||
tmp<fvMatrix<Type> > fvmD2dt2
|
tmp<fvMatrix<Type> > fvmD2dt2
|
||||||
(
|
(
|
||||||
GeometricField<Type, fvPatchField, volMesh>&
|
const GeometricField<Type, fvPatchField, volMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
tmp<fvMatrix<Type> > fvmD2dt2
|
tmp<fvMatrix<Type> > fvmD2dt2
|
||||||
(
|
(
|
||||||
const dimensionedScalar&,
|
const dimensionedScalar&,
|
||||||
GeometricField<Type, fvPatchField, volMesh>&
|
const GeometricField<Type, fvPatchField, volMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
tmp<fvMatrix<Type> > fvmD2dt2
|
tmp<fvMatrix<Type> > fvmD2dt2
|
||||||
(
|
(
|
||||||
const volScalarField&,
|
const volScalarField&,
|
||||||
GeometricField<Type, fvPatchField, volMesh>&
|
const GeometricField<Type, fvPatchField, volMesh>&
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -55,7 +55,10 @@ scalar backwardD2dt2Scheme<Type>::deltaT0_() const
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
scalar backwardD2dt2Scheme<Type>::deltaT0_(GeometricField<Type, fvPatchField, volMesh>& vf) const
|
scalar backwardD2dt2Scheme<Type>::deltaT0_
|
||||||
|
(
|
||||||
|
const GeometricField<Type, fvPatchField, volMesh>& vf
|
||||||
|
) const
|
||||||
{
|
{
|
||||||
// Bug fix, Zeljko Tukovic: solver with outer iterations over a time-step
|
// Bug fix, Zeljko Tukovic: solver with outer iterations over a time-step
|
||||||
// HJ, 12/Feb/2010
|
// HJ, 12/Feb/2010
|
||||||
|
@ -228,7 +231,7 @@ template<class Type>
|
||||||
tmp<fvMatrix<Type> >
|
tmp<fvMatrix<Type> >
|
||||||
backwardD2dt2Scheme<Type>::fvmD2dt2
|
backwardD2dt2Scheme<Type>::fvmD2dt2
|
||||||
(
|
(
|
||||||
GeometricField<Type, fvPatchField, volMesh>& vf
|
const GeometricField<Type, fvPatchField, volMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
tmp<fvMatrix<Type> > tfvm
|
tmp<fvMatrix<Type> > tfvm
|
||||||
|
@ -256,7 +259,7 @@ backwardD2dt2Scheme<Type>::fvmD2dt2
|
||||||
notImplemented
|
notImplemented
|
||||||
(
|
(
|
||||||
type()
|
type()
|
||||||
+ "::fvmD2dt2(GeometricField<Type, fvPatchField, volMesh>& vf)"
|
+ "::fvmD2dt2(const GeometricField<Type, fvPatchField, volMesh>& vf)"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -284,7 +287,7 @@ tmp<fvMatrix<Type> >
|
||||||
backwardD2dt2Scheme<Type>::fvmD2dt2
|
backwardD2dt2Scheme<Type>::fvmD2dt2
|
||||||
(
|
(
|
||||||
const dimensionedScalar& rho,
|
const dimensionedScalar& rho,
|
||||||
GeometricField<Type, fvPatchField, volMesh>& vf
|
const GeometricField<Type, fvPatchField, volMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
tmp<fvMatrix<Type> > tfvm
|
tmp<fvMatrix<Type> > tfvm
|
||||||
|
@ -315,7 +318,7 @@ backwardD2dt2Scheme<Type>::fvmD2dt2
|
||||||
+ "::fvcD2dt2"
|
+ "::fvcD2dt2"
|
||||||
+ "("
|
+ "("
|
||||||
+ "const dimensionedScalar& rho, "
|
+ "const dimensionedScalar& rho, "
|
||||||
+ "GeometricField<Type, fvPatchField, volMesh>& vf"
|
+ "const GeometricField<Type, fvPatchField, volMesh>& vf"
|
||||||
+ ")"
|
+ ")"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -339,7 +342,7 @@ tmp<fvMatrix<Type> >
|
||||||
backwardD2dt2Scheme<Type>::fvmD2dt2
|
backwardD2dt2Scheme<Type>::fvmD2dt2
|
||||||
(
|
(
|
||||||
const volScalarField& rho,
|
const volScalarField& rho,
|
||||||
GeometricField<Type, fvPatchField, volMesh>& vf
|
const GeometricField<Type, fvPatchField, volMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
tmp<fvMatrix<Type> > tfvm
|
tmp<fvMatrix<Type> > tfvm
|
||||||
|
|
|
@ -67,7 +67,10 @@ class backwardD2dt2Scheme
|
||||||
|
|
||||||
//- Return the previous time-step or GREAT if the old timestep field
|
//- Return the previous time-step or GREAT if the old timestep field
|
||||||
// wasn't available in which case Euler ddt is used
|
// wasn't available in which case Euler ddt is used
|
||||||
scalar deltaT0_(GeometricField<Type, fvPatchField, volMesh>&) const;
|
scalar deltaT0_
|
||||||
|
(
|
||||||
|
const GeometricField<Type, fvPatchField, volMesh>&
|
||||||
|
) const;
|
||||||
|
|
||||||
//- Disallow default bitwise copy construct
|
//- Disallow default bitwise copy construct
|
||||||
backwardD2dt2Scheme(const backwardD2dt2Scheme&);
|
backwardD2dt2Scheme(const backwardD2dt2Scheme&);
|
||||||
|
@ -118,19 +121,19 @@ public:
|
||||||
|
|
||||||
tmp<fvMatrix<Type> > fvmD2dt2
|
tmp<fvMatrix<Type> > fvmD2dt2
|
||||||
(
|
(
|
||||||
GeometricField<Type, fvPatchField, volMesh>&
|
const GeometricField<Type, fvPatchField, volMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
tmp<fvMatrix<Type> > fvmD2dt2
|
tmp<fvMatrix<Type> > fvmD2dt2
|
||||||
(
|
(
|
||||||
const dimensionedScalar&,
|
const dimensionedScalar&,
|
||||||
GeometricField<Type, fvPatchField, volMesh>&
|
const GeometricField<Type, fvPatchField, volMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
tmp<fvMatrix<Type> > fvmD2dt2
|
tmp<fvMatrix<Type> > fvmD2dt2
|
||||||
(
|
(
|
||||||
const volScalarField&,
|
const volScalarField&,
|
||||||
GeometricField<Type, fvPatchField, volMesh>&
|
const GeometricField<Type, fvPatchField, volMesh>&
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -152,19 +152,19 @@ public:
|
||||||
|
|
||||||
virtual tmp<fvMatrix<Type> > fvmD2dt2
|
virtual tmp<fvMatrix<Type> > fvmD2dt2
|
||||||
(
|
(
|
||||||
GeometricField<Type, fvPatchField, volMesh>&
|
const GeometricField<Type, fvPatchField, volMesh>&
|
||||||
) = 0;
|
) = 0;
|
||||||
|
|
||||||
virtual tmp<fvMatrix<Type> > fvmD2dt2
|
virtual tmp<fvMatrix<Type> > fvmD2dt2
|
||||||
(
|
(
|
||||||
const dimensionedScalar&,
|
const dimensionedScalar&,
|
||||||
GeometricField<Type, fvPatchField, volMesh>&
|
const GeometricField<Type, fvPatchField, volMesh>&
|
||||||
) = 0;
|
) = 0;
|
||||||
|
|
||||||
virtual tmp<fvMatrix<Type> > fvmD2dt2
|
virtual tmp<fvMatrix<Type> > fvmD2dt2
|
||||||
(
|
(
|
||||||
const volScalarField&,
|
const volScalarField&,
|
||||||
GeometricField<Type, fvPatchField, volMesh>&
|
const GeometricField<Type, fvPatchField, volMesh>&
|
||||||
) = 0;
|
) = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -106,7 +106,7 @@ template<class Type>
|
||||||
tmp<fvMatrix<Type> >
|
tmp<fvMatrix<Type> >
|
||||||
steadyStateD2dt2Scheme<Type>::fvmD2dt2
|
steadyStateD2dt2Scheme<Type>::fvmD2dt2
|
||||||
(
|
(
|
||||||
GeometricField<Type, fvPatchField, volMesh>& vf
|
const GeometricField<Type, fvPatchField, volMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
tmp<fvMatrix<Type> > tfvm
|
tmp<fvMatrix<Type> > tfvm
|
||||||
|
@ -127,7 +127,7 @@ tmp<fvMatrix<Type> >
|
||||||
steadyStateD2dt2Scheme<Type>::fvmD2dt2
|
steadyStateD2dt2Scheme<Type>::fvmD2dt2
|
||||||
(
|
(
|
||||||
const dimensionedScalar& rho,
|
const dimensionedScalar& rho,
|
||||||
GeometricField<Type, fvPatchField, volMesh>& vf
|
const GeometricField<Type, fvPatchField, volMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
tmp<fvMatrix<Type> > tfvm
|
tmp<fvMatrix<Type> > tfvm
|
||||||
|
@ -148,7 +148,7 @@ tmp<fvMatrix<Type> >
|
||||||
steadyStateD2dt2Scheme<Type>::fvmD2dt2
|
steadyStateD2dt2Scheme<Type>::fvmD2dt2
|
||||||
(
|
(
|
||||||
const volScalarField& rho,
|
const volScalarField& rho,
|
||||||
GeometricField<Type, fvPatchField, volMesh>& vf
|
const GeometricField<Type, fvPatchField, volMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
tmp<fvMatrix<Type> > tfvm
|
tmp<fvMatrix<Type> > tfvm
|
||||||
|
|
|
@ -107,19 +107,19 @@ public:
|
||||||
|
|
||||||
tmp<fvMatrix<Type> > fvmD2dt2
|
tmp<fvMatrix<Type> > fvmD2dt2
|
||||||
(
|
(
|
||||||
GeometricField<Type, fvPatchField, volMesh>&
|
const GeometricField<Type, fvPatchField, volMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
tmp<fvMatrix<Type> > fvmD2dt2
|
tmp<fvMatrix<Type> > fvmD2dt2
|
||||||
(
|
(
|
||||||
const dimensionedScalar&,
|
const dimensionedScalar&,
|
||||||
GeometricField<Type, fvPatchField, volMesh>&
|
const GeometricField<Type, fvPatchField, volMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
tmp<fvMatrix<Type> > fvmD2dt2
|
tmp<fvMatrix<Type> > fvmD2dt2
|
||||||
(
|
(
|
||||||
const volScalarField&,
|
const volScalarField&,
|
||||||
GeometricField<Type, fvPatchField, volMesh>&
|
const GeometricField<Type, fvPatchField, volMesh>&
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -368,7 +368,7 @@ template<class Type>
|
||||||
tmp<fvMatrix<Type> >
|
tmp<fvMatrix<Type> >
|
||||||
CoEulerDdtScheme<Type>::fvmDdt
|
CoEulerDdtScheme<Type>::fvmDdt
|
||||||
(
|
(
|
||||||
GeometricField<Type, fvPatchField, volMesh>& vf
|
const GeometricField<Type, fvPatchField, volMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
tmp<fvMatrix<Type> > tfvm
|
tmp<fvMatrix<Type> > tfvm
|
||||||
|
@ -404,7 +404,7 @@ tmp<fvMatrix<Type> >
|
||||||
CoEulerDdtScheme<Type>::fvmDdt
|
CoEulerDdtScheme<Type>::fvmDdt
|
||||||
(
|
(
|
||||||
const dimensionedScalar& rho,
|
const dimensionedScalar& rho,
|
||||||
GeometricField<Type, fvPatchField, volMesh>& vf
|
const GeometricField<Type, fvPatchField, volMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
tmp<fvMatrix<Type> > tfvm
|
tmp<fvMatrix<Type> > tfvm
|
||||||
|
@ -441,7 +441,7 @@ tmp<fvMatrix<Type> >
|
||||||
CoEulerDdtScheme<Type>::fvmDdt
|
CoEulerDdtScheme<Type>::fvmDdt
|
||||||
(
|
(
|
||||||
const volScalarField& rho,
|
const volScalarField& rho,
|
||||||
GeometricField<Type, fvPatchField, volMesh>& vf
|
const GeometricField<Type, fvPatchField, volMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
tmp<fvMatrix<Type> > tfvm
|
tmp<fvMatrix<Type> > tfvm
|
||||||
|
|
|
@ -141,19 +141,19 @@ public:
|
||||||
|
|
||||||
tmp<fvMatrix<Type> > fvmDdt
|
tmp<fvMatrix<Type> > fvmDdt
|
||||||
(
|
(
|
||||||
GeometricField<Type, fvPatchField, volMesh>&
|
const GeometricField<Type, fvPatchField, volMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
tmp<fvMatrix<Type> > fvmDdt
|
tmp<fvMatrix<Type> > fvmDdt
|
||||||
(
|
(
|
||||||
const dimensionedScalar&,
|
const dimensionedScalar&,
|
||||||
GeometricField<Type, fvPatchField, volMesh>&
|
const GeometricField<Type, fvPatchField, volMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
tmp<fvMatrix<Type> > fvmDdt
|
tmp<fvMatrix<Type> > fvmDdt
|
||||||
(
|
(
|
||||||
const volScalarField&,
|
const volScalarField&,
|
||||||
GeometricField<Type, fvPatchField, volMesh>&
|
const GeometricField<Type, fvPatchField, volMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
typedef typename ddtScheme<Type>::fluxFieldType fluxFieldType;
|
typedef typename ddtScheme<Type>::fluxFieldType fluxFieldType;
|
||||||
|
|
|
@ -624,7 +624,7 @@ template<class Type>
|
||||||
tmp<fvMatrix<Type> >
|
tmp<fvMatrix<Type> >
|
||||||
CrankNicolsonDdtScheme<Type>::fvmDdt
|
CrankNicolsonDdtScheme<Type>::fvmDdt
|
||||||
(
|
(
|
||||||
GeometricField<Type, fvPatchField, volMesh>& vf
|
const GeometricField<Type, fvPatchField, volMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
DDt0Field<GeometricField<Type, fvPatchField, volMesh> >& ddt0 =
|
DDt0Field<GeometricField<Type, fvPatchField, volMesh> >& ddt0 =
|
||||||
|
@ -708,7 +708,7 @@ tmp<fvMatrix<Type> >
|
||||||
CrankNicolsonDdtScheme<Type>::fvmDdt
|
CrankNicolsonDdtScheme<Type>::fvmDdt
|
||||||
(
|
(
|
||||||
const dimensionedScalar& rho,
|
const dimensionedScalar& rho,
|
||||||
GeometricField<Type, fvPatchField, volMesh>& vf
|
const GeometricField<Type, fvPatchField, volMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
DDt0Field<GeometricField<Type, fvPatchField, volMesh> >& ddt0 =
|
DDt0Field<GeometricField<Type, fvPatchField, volMesh> >& ddt0 =
|
||||||
|
@ -790,7 +790,7 @@ tmp<fvMatrix<Type> >
|
||||||
CrankNicolsonDdtScheme<Type>::fvmDdt
|
CrankNicolsonDdtScheme<Type>::fvmDdt
|
||||||
(
|
(
|
||||||
const volScalarField& rho,
|
const volScalarField& rho,
|
||||||
GeometricField<Type, fvPatchField, volMesh>& vf
|
const GeometricField<Type, fvPatchField, volMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
DDt0Field<GeometricField<Type, fvPatchField, volMesh> >& ddt0 =
|
DDt0Field<GeometricField<Type, fvPatchField, volMesh> >& ddt0 =
|
||||||
|
|
|
@ -212,19 +212,19 @@ public:
|
||||||
|
|
||||||
tmp<fvMatrix<Type> > fvmDdt
|
tmp<fvMatrix<Type> > fvmDdt
|
||||||
(
|
(
|
||||||
GeometricField<Type, fvPatchField, volMesh>&
|
const GeometricField<Type, fvPatchField, volMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
tmp<fvMatrix<Type> > fvmDdt
|
tmp<fvMatrix<Type> > fvmDdt
|
||||||
(
|
(
|
||||||
const dimensionedScalar&,
|
const dimensionedScalar&,
|
||||||
GeometricField<Type, fvPatchField, volMesh>&
|
const GeometricField<Type, fvPatchField, volMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
tmp<fvMatrix<Type> > fvmDdt
|
tmp<fvMatrix<Type> > fvmDdt
|
||||||
(
|
(
|
||||||
const volScalarField&,
|
const volScalarField&,
|
||||||
GeometricField<Type, fvPatchField, volMesh>&
|
const GeometricField<Type, fvPatchField, volMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
typedef typename ddtScheme<Type>::fluxFieldType fluxFieldType;
|
typedef typename ddtScheme<Type>::fluxFieldType fluxFieldType;
|
||||||
|
|
|
@ -261,7 +261,7 @@ template<class Type>
|
||||||
tmp<fvMatrix<Type> >
|
tmp<fvMatrix<Type> >
|
||||||
EulerDdtScheme<Type>::fvmDdt
|
EulerDdtScheme<Type>::fvmDdt
|
||||||
(
|
(
|
||||||
GeometricField<Type, fvPatchField, volMesh>& vf
|
const GeometricField<Type, fvPatchField, volMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
tmp<fvMatrix<Type> > tfvm
|
tmp<fvMatrix<Type> > tfvm
|
||||||
|
@ -297,7 +297,7 @@ tmp<fvMatrix<Type> >
|
||||||
EulerDdtScheme<Type>::fvmDdt
|
EulerDdtScheme<Type>::fvmDdt
|
||||||
(
|
(
|
||||||
const dimensionedScalar& rho,
|
const dimensionedScalar& rho,
|
||||||
GeometricField<Type, fvPatchField, volMesh>& vf
|
const GeometricField<Type, fvPatchField, volMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
tmp<fvMatrix<Type> > tfvm
|
tmp<fvMatrix<Type> > tfvm
|
||||||
|
@ -334,7 +334,7 @@ tmp<fvMatrix<Type> >
|
||||||
EulerDdtScheme<Type>::fvmDdt
|
EulerDdtScheme<Type>::fvmDdt
|
||||||
(
|
(
|
||||||
const volScalarField& rho,
|
const volScalarField& rho,
|
||||||
GeometricField<Type, fvPatchField, volMesh>& vf
|
const GeometricField<Type, fvPatchField, volMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
tmp<fvMatrix<Type> > tfvm
|
tmp<fvMatrix<Type> > tfvm
|
||||||
|
|
|
@ -119,19 +119,19 @@ public:
|
||||||
|
|
||||||
tmp<fvMatrix<Type> > fvmDdt
|
tmp<fvMatrix<Type> > fvmDdt
|
||||||
(
|
(
|
||||||
GeometricField<Type, fvPatchField, volMesh>&
|
const GeometricField<Type, fvPatchField, volMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
tmp<fvMatrix<Type> > fvmDdt
|
tmp<fvMatrix<Type> > fvmDdt
|
||||||
(
|
(
|
||||||
const dimensionedScalar&,
|
const dimensionedScalar&,
|
||||||
GeometricField<Type, fvPatchField, volMesh>&
|
const GeometricField<Type, fvPatchField, volMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
tmp<fvMatrix<Type> > fvmDdt
|
tmp<fvMatrix<Type> > fvmDdt
|
||||||
(
|
(
|
||||||
const volScalarField&,
|
const volScalarField&,
|
||||||
GeometricField<Type, fvPatchField, volMesh>&
|
const GeometricField<Type, fvPatchField, volMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
typedef typename ddtScheme<Type>::fluxFieldType fluxFieldType;
|
typedef typename ddtScheme<Type>::fluxFieldType fluxFieldType;
|
||||||
|
|
|
@ -371,7 +371,7 @@ template<class Type>
|
||||||
tmp<fvMatrix<Type> >
|
tmp<fvMatrix<Type> >
|
||||||
SLTSDdtScheme<Type>::fvmDdt
|
SLTSDdtScheme<Type>::fvmDdt
|
||||||
(
|
(
|
||||||
GeometricField<Type, fvPatchField, volMesh>& vf
|
const GeometricField<Type, fvPatchField, volMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
tmp<fvMatrix<Type> > tfvm
|
tmp<fvMatrix<Type> > tfvm
|
||||||
|
@ -409,7 +409,7 @@ tmp<fvMatrix<Type> >
|
||||||
SLTSDdtScheme<Type>::fvmDdt
|
SLTSDdtScheme<Type>::fvmDdt
|
||||||
(
|
(
|
||||||
const dimensionedScalar& rho,
|
const dimensionedScalar& rho,
|
||||||
GeometricField<Type, fvPatchField, volMesh>& vf
|
const GeometricField<Type, fvPatchField, volMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
tmp<fvMatrix<Type> > tfvm
|
tmp<fvMatrix<Type> > tfvm
|
||||||
|
@ -446,7 +446,7 @@ tmp<fvMatrix<Type> >
|
||||||
SLTSDdtScheme<Type>::fvmDdt
|
SLTSDdtScheme<Type>::fvmDdt
|
||||||
(
|
(
|
||||||
const volScalarField& rho,
|
const volScalarField& rho,
|
||||||
GeometricField<Type, fvPatchField, volMesh>& vf
|
const GeometricField<Type, fvPatchField, volMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
tmp<fvMatrix<Type> > tfvm
|
tmp<fvMatrix<Type> > tfvm
|
||||||
|
|
|
@ -142,19 +142,19 @@ public:
|
||||||
|
|
||||||
tmp<fvMatrix<Type> > fvmDdt
|
tmp<fvMatrix<Type> > fvmDdt
|
||||||
(
|
(
|
||||||
GeometricField<Type, fvPatchField, volMesh>&
|
const GeometricField<Type, fvPatchField, volMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
tmp<fvMatrix<Type> > fvmDdt
|
tmp<fvMatrix<Type> > fvmDdt
|
||||||
(
|
(
|
||||||
const dimensionedScalar&,
|
const dimensionedScalar&,
|
||||||
GeometricField<Type, fvPatchField, volMesh>&
|
const GeometricField<Type, fvPatchField, volMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
tmp<fvMatrix<Type> > fvmDdt
|
tmp<fvMatrix<Type> > fvmDdt
|
||||||
(
|
(
|
||||||
const volScalarField&,
|
const volScalarField&,
|
||||||
GeometricField<Type, fvPatchField, volMesh>&
|
const GeometricField<Type, fvPatchField, volMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
typedef typename ddtScheme<Type>::fluxFieldType fluxFieldType;
|
typedef typename ddtScheme<Type>::fluxFieldType fluxFieldType;
|
||||||
|
|
|
@ -362,7 +362,7 @@ template<class Type>
|
||||||
tmp<fvMatrix<Type> >
|
tmp<fvMatrix<Type> >
|
||||||
backwardDdtScheme<Type>::fvmDdt
|
backwardDdtScheme<Type>::fvmDdt
|
||||||
(
|
(
|
||||||
GeometricField<Type, fvPatchField, volMesh>& vf
|
const GeometricField<Type, fvPatchField, volMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
tmp<fvMatrix<Type> > tfvm
|
tmp<fvMatrix<Type> > tfvm
|
||||||
|
@ -414,7 +414,7 @@ tmp<fvMatrix<Type> >
|
||||||
backwardDdtScheme<Type>::fvmDdt
|
backwardDdtScheme<Type>::fvmDdt
|
||||||
(
|
(
|
||||||
const dimensionedScalar& rho,
|
const dimensionedScalar& rho,
|
||||||
GeometricField<Type, fvPatchField, volMesh>& vf
|
const GeometricField<Type, fvPatchField, volMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
tmp<fvMatrix<Type> > tfvm
|
tmp<fvMatrix<Type> > tfvm
|
||||||
|
@ -465,7 +465,7 @@ tmp<fvMatrix<Type> >
|
||||||
backwardDdtScheme<Type>::fvmDdt
|
backwardDdtScheme<Type>::fvmDdt
|
||||||
(
|
(
|
||||||
const volScalarField& rho,
|
const volScalarField& rho,
|
||||||
GeometricField<Type, fvPatchField, volMesh>& vf
|
const GeometricField<Type, fvPatchField, volMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
tmp<fvMatrix<Type> > tfvm
|
tmp<fvMatrix<Type> > tfvm
|
||||||
|
|
|
@ -130,19 +130,19 @@ public:
|
||||||
|
|
||||||
tmp<fvMatrix<Type> > fvmDdt
|
tmp<fvMatrix<Type> > fvmDdt
|
||||||
(
|
(
|
||||||
GeometricField<Type, fvPatchField, volMesh>&
|
const GeometricField<Type, fvPatchField, volMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
tmp<fvMatrix<Type> > fvmDdt
|
tmp<fvMatrix<Type> > fvmDdt
|
||||||
(
|
(
|
||||||
const dimensionedScalar&,
|
const dimensionedScalar&,
|
||||||
GeometricField<Type, fvPatchField, volMesh>&
|
const GeometricField<Type, fvPatchField, volMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
tmp<fvMatrix<Type> > fvmDdt
|
tmp<fvMatrix<Type> > fvmDdt
|
||||||
(
|
(
|
||||||
const volScalarField&,
|
const volScalarField&,
|
||||||
GeometricField<Type, fvPatchField, volMesh>&
|
const GeometricField<Type, fvPatchField, volMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
typedef typename ddtScheme<Type>::fluxFieldType fluxFieldType;
|
typedef typename ddtScheme<Type>::fluxFieldType fluxFieldType;
|
||||||
|
|
|
@ -412,7 +412,7 @@ boundedBackwardDdtScheme::fvcDdt
|
||||||
tmp<fvScalarMatrix>
|
tmp<fvScalarMatrix>
|
||||||
boundedBackwardDdtScheme::fvmDdt
|
boundedBackwardDdtScheme::fvmDdt
|
||||||
(
|
(
|
||||||
volScalarField& vf
|
const volScalarField& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
tmp<fvScalarMatrix> tfvm
|
tmp<fvScalarMatrix> tfvm
|
||||||
|
@ -483,7 +483,7 @@ tmp<fvScalarMatrix>
|
||||||
boundedBackwardDdtScheme::fvmDdt
|
boundedBackwardDdtScheme::fvmDdt
|
||||||
(
|
(
|
||||||
const dimensionedScalar& rho,
|
const dimensionedScalar& rho,
|
||||||
volScalarField& vf
|
const volScalarField& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
tmp<fvScalarMatrix> tfvm
|
tmp<fvScalarMatrix> tfvm
|
||||||
|
@ -553,7 +553,7 @@ tmp<fvScalarMatrix>
|
||||||
boundedBackwardDdtScheme::fvmDdt
|
boundedBackwardDdtScheme::fvmDdt
|
||||||
(
|
(
|
||||||
const volScalarField& rho,
|
const volScalarField& rho,
|
||||||
volScalarField& vf
|
const volScalarField& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
tmp<fvScalarMatrix> tfvm
|
tmp<fvScalarMatrix> tfvm
|
||||||
|
|
|
@ -141,19 +141,19 @@ public:
|
||||||
|
|
||||||
tmp<fvScalarMatrix> fvmDdt
|
tmp<fvScalarMatrix> fvmDdt
|
||||||
(
|
(
|
||||||
volScalarField&
|
const volScalarField&
|
||||||
);
|
);
|
||||||
|
|
||||||
tmp<fvScalarMatrix> fvmDdt
|
tmp<fvScalarMatrix> fvmDdt
|
||||||
(
|
(
|
||||||
const dimensionedScalar&,
|
const dimensionedScalar&,
|
||||||
volScalarField&
|
const volScalarField&
|
||||||
);
|
);
|
||||||
|
|
||||||
tmp<fvScalarMatrix> fvmDdt
|
tmp<fvScalarMatrix> fvmDdt
|
||||||
(
|
(
|
||||||
const volScalarField&,
|
const volScalarField&,
|
||||||
volScalarField&
|
const volScalarField&
|
||||||
);
|
);
|
||||||
|
|
||||||
tmp<surfaceScalarField> fvcDdtPhiCorr
|
tmp<surfaceScalarField> fvcDdtPhiCorr
|
||||||
|
|
|
@ -163,19 +163,19 @@ public:
|
||||||
|
|
||||||
virtual tmp<fvMatrix<Type> > fvmDdt
|
virtual tmp<fvMatrix<Type> > fvmDdt
|
||||||
(
|
(
|
||||||
GeometricField<Type, fvPatchField, volMesh>&
|
const GeometricField<Type, fvPatchField, volMesh>&
|
||||||
) = 0;
|
) = 0;
|
||||||
|
|
||||||
virtual tmp<fvMatrix<Type> > fvmDdt
|
virtual tmp<fvMatrix<Type> > fvmDdt
|
||||||
(
|
(
|
||||||
const dimensionedScalar&,
|
const dimensionedScalar&,
|
||||||
GeometricField<Type, fvPatchField, volMesh>&
|
const GeometricField<Type, fvPatchField, volMesh>&
|
||||||
) = 0;
|
) = 0;
|
||||||
|
|
||||||
virtual tmp<fvMatrix<Type> > fvmDdt
|
virtual tmp<fvMatrix<Type> > fvmDdt
|
||||||
(
|
(
|
||||||
const volScalarField&,
|
const volScalarField&,
|
||||||
GeometricField<Type, fvPatchField, volMesh>&
|
const GeometricField<Type, fvPatchField, volMesh>&
|
||||||
) = 0;
|
) = 0;
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -373,7 +373,7 @@ template<class Type>
|
||||||
tmp<fvMatrix<Type> >
|
tmp<fvMatrix<Type> >
|
||||||
steadyInertialDdtScheme<Type>::fvmDdt
|
steadyInertialDdtScheme<Type>::fvmDdt
|
||||||
(
|
(
|
||||||
GeometricField<Type, fvPatchField, volMesh>& vf
|
const GeometricField<Type, fvPatchField, volMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
tmp<fvMatrix<Type> > tfvm
|
tmp<fvMatrix<Type> > tfvm
|
||||||
|
@ -409,7 +409,7 @@ tmp<fvMatrix<Type> >
|
||||||
steadyInertialDdtScheme<Type>::fvmDdt
|
steadyInertialDdtScheme<Type>::fvmDdt
|
||||||
(
|
(
|
||||||
const dimensionedScalar& rho,
|
const dimensionedScalar& rho,
|
||||||
GeometricField<Type, fvPatchField, volMesh>& vf
|
const GeometricField<Type, fvPatchField, volMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
tmp<fvMatrix<Type> > tfvm
|
tmp<fvMatrix<Type> > tfvm
|
||||||
|
@ -446,7 +446,7 @@ tmp<fvMatrix<Type> >
|
||||||
steadyInertialDdtScheme<Type>::fvmDdt
|
steadyInertialDdtScheme<Type>::fvmDdt
|
||||||
(
|
(
|
||||||
const volScalarField& rho,
|
const volScalarField& rho,
|
||||||
GeometricField<Type, fvPatchField, volMesh>& vf
|
const GeometricField<Type, fvPatchField, volMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
tmp<fvMatrix<Type> > tfvm
|
tmp<fvMatrix<Type> > tfvm
|
||||||
|
|
|
@ -142,19 +142,19 @@ public:
|
||||||
|
|
||||||
tmp<fvMatrix<Type> > fvmDdt
|
tmp<fvMatrix<Type> > fvmDdt
|
||||||
(
|
(
|
||||||
GeometricField<Type, fvPatchField, volMesh>&
|
const GeometricField<Type, fvPatchField, volMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
tmp<fvMatrix<Type> > fvmDdt
|
tmp<fvMatrix<Type> > fvmDdt
|
||||||
(
|
(
|
||||||
const dimensionedScalar&,
|
const dimensionedScalar&,
|
||||||
GeometricField<Type, fvPatchField, volMesh>&
|
const GeometricField<Type, fvPatchField, volMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
tmp<fvMatrix<Type> > fvmDdt
|
tmp<fvMatrix<Type> > fvmDdt
|
||||||
(
|
(
|
||||||
const volScalarField&,
|
const volScalarField&,
|
||||||
GeometricField<Type, fvPatchField, volMesh>&
|
const GeometricField<Type, fvPatchField, volMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
typedef typename ddtScheme<Type>::fluxFieldType fluxFieldType;
|
typedef typename ddtScheme<Type>::fluxFieldType fluxFieldType;
|
||||||
|
|
|
@ -161,7 +161,7 @@ template<class Type>
|
||||||
tmp<fvMatrix<Type> >
|
tmp<fvMatrix<Type> >
|
||||||
steadyStateDdtScheme<Type>::fvmDdt
|
steadyStateDdtScheme<Type>::fvmDdt
|
||||||
(
|
(
|
||||||
GeometricField<Type, fvPatchField, volMesh>& vf
|
const GeometricField<Type, fvPatchField, volMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
tmp<fvMatrix<Type> > tfvm
|
tmp<fvMatrix<Type> > tfvm
|
||||||
|
@ -182,7 +182,7 @@ tmp<fvMatrix<Type> >
|
||||||
steadyStateDdtScheme<Type>::fvmDdt
|
steadyStateDdtScheme<Type>::fvmDdt
|
||||||
(
|
(
|
||||||
const dimensionedScalar& rho,
|
const dimensionedScalar& rho,
|
||||||
GeometricField<Type, fvPatchField, volMesh>& vf
|
const GeometricField<Type, fvPatchField, volMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
tmp<fvMatrix<Type> > tfvm
|
tmp<fvMatrix<Type> > tfvm
|
||||||
|
@ -203,7 +203,7 @@ tmp<fvMatrix<Type> >
|
||||||
steadyStateDdtScheme<Type>::fvmDdt
|
steadyStateDdtScheme<Type>::fvmDdt
|
||||||
(
|
(
|
||||||
const volScalarField& rho,
|
const volScalarField& rho,
|
||||||
GeometricField<Type, fvPatchField, volMesh>& vf
|
const GeometricField<Type, fvPatchField, volMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
tmp<fvMatrix<Type> > tfvm
|
tmp<fvMatrix<Type> > tfvm
|
||||||
|
|
|
@ -118,19 +118,19 @@ public:
|
||||||
|
|
||||||
tmp<fvMatrix<Type> > fvmDdt
|
tmp<fvMatrix<Type> > fvmDdt
|
||||||
(
|
(
|
||||||
GeometricField<Type, fvPatchField, volMesh>&
|
const GeometricField<Type, fvPatchField, volMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
tmp<fvMatrix<Type> > fvmDdt
|
tmp<fvMatrix<Type> > fvmDdt
|
||||||
(
|
(
|
||||||
const dimensionedScalar&,
|
const dimensionedScalar&,
|
||||||
GeometricField<Type, fvPatchField, volMesh>&
|
const GeometricField<Type, fvPatchField, volMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
tmp<fvMatrix<Type> > fvmDdt
|
tmp<fvMatrix<Type> > fvmDdt
|
||||||
(
|
(
|
||||||
const volScalarField&,
|
const volScalarField&,
|
||||||
GeometricField<Type, fvPatchField, volMesh>&
|
const GeometricField<Type, fvPatchField, volMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
typedef typename ddtScheme<Type>::fluxFieldType fluxFieldType;
|
typedef typename ddtScheme<Type>::fluxFieldType fluxFieldType;
|
||||||
|
|
|
@ -112,7 +112,7 @@ divScheme<Type>::fvmUDiv
|
||||||
(
|
(
|
||||||
"tmp<BlockLduSystem> divScheme<Type>::fvmDiv\n"
|
"tmp<BlockLduSystem> divScheme<Type>::fvmDiv\n"
|
||||||
"(\n"
|
"(\n"
|
||||||
" GeometricField<Type, fvPatchField, volMesh>&"
|
" const GeometricField<Type, fvPatchField, volMesh>&"
|
||||||
")\n"
|
")\n"
|
||||||
) << "Implicit div operator currently defined only for Gauss linear. "
|
) << "Implicit div operator currently defined only for Gauss linear. "
|
||||||
<< abort(FatalError);
|
<< abort(FatalError);
|
||||||
|
@ -144,7 +144,7 @@ divScheme<Type>::fvmUDiv
|
||||||
"tmp<BlockLduSystem> divScheme<Type>::fvmDiv\n"
|
"tmp<BlockLduSystem> divScheme<Type>::fvmDiv\n"
|
||||||
"(\n"
|
"(\n"
|
||||||
" surfaceScalarField&"
|
" surfaceScalarField&"
|
||||||
" GeometricField<Type, fvPatchField, volMesh>&"
|
" const GeometricField<Type, fvPatchField, volMesh>&"
|
||||||
")\n"
|
")\n"
|
||||||
) << "Implicit div operator currently defined only for Gauss linear. "
|
) << "Implicit div operator currently defined only for Gauss linear. "
|
||||||
<< abort(FatalError);
|
<< abort(FatalError);
|
||||||
|
|
|
@ -43,7 +43,7 @@ tmp<fvMatrix<Type> >
|
||||||
adjDiv
|
adjDiv
|
||||||
(
|
(
|
||||||
const volVectorField& Up,
|
const volVectorField& Up,
|
||||||
GeometricField<Type, fvPatchField, volMesh>& vf,
|
const GeometricField<Type, fvPatchField, volMesh>& vf,
|
||||||
const word& name
|
const word& name
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
@ -60,7 +60,7 @@ tmp<fvMatrix<Type> >
|
||||||
adjDiv
|
adjDiv
|
||||||
(
|
(
|
||||||
const tmp<volVectorField>& tUp,
|
const tmp<volVectorField>& tUp,
|
||||||
GeometricField<Type, fvPatchField, volMesh>& vf,
|
const GeometricField<Type, fvPatchField, volMesh>& vf,
|
||||||
const word& name
|
const word& name
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
@ -75,7 +75,7 @@ tmp<fvMatrix<Type> >
|
||||||
adjDiv
|
adjDiv
|
||||||
(
|
(
|
||||||
const volVectorField& Up,
|
const volVectorField& Up,
|
||||||
GeometricField<Type, fvPatchField, volMesh>& vf
|
const GeometricField<Type, fvPatchField, volMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
return fvm::adjDiv(Up, vf, "adjDiv("+Up.name()+','+vf.name()+')');
|
return fvm::adjDiv(Up, vf, "adjDiv("+Up.name()+','+vf.name()+')');
|
||||||
|
@ -86,7 +86,7 @@ tmp<fvMatrix<Type> >
|
||||||
adjDiv
|
adjDiv
|
||||||
(
|
(
|
||||||
const tmp<volVectorField>& tUp,
|
const tmp<volVectorField>& tUp,
|
||||||
GeometricField<Type, fvPatchField, volMesh>& vf
|
const GeometricField<Type, fvPatchField, volMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
tmp<fvMatrix<Type> > AdjDiv(fvm::adjDiv(tUp(), vf));
|
tmp<fvMatrix<Type> > AdjDiv(fvm::adjDiv(tUp(), vf));
|
||||||
|
|
|
@ -55,7 +55,7 @@ namespace fvm
|
||||||
tmp<fvMatrix<Type> > adjDiv
|
tmp<fvMatrix<Type> > adjDiv
|
||||||
(
|
(
|
||||||
const volVectorField&,
|
const volVectorField&,
|
||||||
GeometricField<Type, fvPatchField, volMesh>&,
|
const GeometricField<Type, fvPatchField, volMesh>&,
|
||||||
const word& name
|
const word& name
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -63,7 +63,7 @@ namespace fvm
|
||||||
tmp<fvMatrix<Type> > adjDiv
|
tmp<fvMatrix<Type> > adjDiv
|
||||||
(
|
(
|
||||||
const tmp<volVectorField>&,
|
const tmp<volVectorField>&,
|
||||||
GeometricField<Type, fvPatchField, volMesh>&,
|
const GeometricField<Type, fvPatchField, volMesh>&,
|
||||||
const word& name
|
const word& name
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -72,14 +72,14 @@ namespace fvm
|
||||||
tmp<fvMatrix<Type> > adjDiv
|
tmp<fvMatrix<Type> > adjDiv
|
||||||
(
|
(
|
||||||
const volVectorField&,
|
const volVectorField&,
|
||||||
GeometricField<Type, fvPatchField, volMesh>&
|
const GeometricField<Type, fvPatchField, volMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
tmp<fvMatrix<Type> > adjDiv
|
tmp<fvMatrix<Type> > adjDiv
|
||||||
(
|
(
|
||||||
const tmp<volVectorField>&,
|
const tmp<volVectorField>&,
|
||||||
GeometricField<Type, fvPatchField, volMesh>&
|
const GeometricField<Type, fvPatchField, volMesh>&
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -44,7 +44,7 @@ template<class Type>
|
||||||
tmp<fvMatrix<Type> >
|
tmp<fvMatrix<Type> >
|
||||||
d2dt2
|
d2dt2
|
||||||
(
|
(
|
||||||
GeometricField<Type, fvPatchField, volMesh>& vf,
|
const GeometricField<Type, fvPatchField, volMesh>& vf,
|
||||||
const word& name
|
const word& name
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
@ -61,7 +61,7 @@ tmp<fvMatrix<Type> >
|
||||||
d2dt2
|
d2dt2
|
||||||
(
|
(
|
||||||
const dimensionedScalar& rho,
|
const dimensionedScalar& rho,
|
||||||
GeometricField<Type, fvPatchField, volMesh>& vf,
|
const GeometricField<Type, fvPatchField, volMesh>& vf,
|
||||||
const word& name
|
const word& name
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
@ -78,7 +78,7 @@ tmp<fvMatrix<Type> >
|
||||||
d2dt2
|
d2dt2
|
||||||
(
|
(
|
||||||
const volScalarField& rho,
|
const volScalarField& rho,
|
||||||
GeometricField<Type, fvPatchField, volMesh>& vf,
|
const GeometricField<Type, fvPatchField, volMesh>& vf,
|
||||||
const word& name
|
const word& name
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
@ -94,7 +94,7 @@ template<class Type>
|
||||||
tmp<fvMatrix<Type> >
|
tmp<fvMatrix<Type> >
|
||||||
d2dt2
|
d2dt2
|
||||||
(
|
(
|
||||||
GeometricField<Type, fvPatchField, volMesh>& vf
|
const GeometricField<Type, fvPatchField, volMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
return fvm::d2dt2(vf, "d2dt2(" + vf.name() + ')');
|
return fvm::d2dt2(vf, "d2dt2(" + vf.name() + ')');
|
||||||
|
@ -106,7 +106,7 @@ tmp<fvMatrix<Type> >
|
||||||
d2dt2
|
d2dt2
|
||||||
(
|
(
|
||||||
const dimensionedScalar& rho,
|
const dimensionedScalar& rho,
|
||||||
GeometricField<Type, fvPatchField, volMesh>& vf
|
const GeometricField<Type, fvPatchField, volMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
return fvm::d2dt2(rho, vf, "d2dt2(" + rho.name() + ',' + vf.name() + ')');
|
return fvm::d2dt2(rho, vf, "d2dt2(" + rho.name() + ',' + vf.name() + ')');
|
||||||
|
@ -118,7 +118,7 @@ tmp<fvMatrix<Type> >
|
||||||
d2dt2
|
d2dt2
|
||||||
(
|
(
|
||||||
const volScalarField& rho,
|
const volScalarField& rho,
|
||||||
GeometricField<Type, fvPatchField, volMesh>& vf
|
const GeometricField<Type, fvPatchField, volMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
return fvm::d2dt2(rho, vf, "d2dt2(" + rho.name() + ',' + vf.name() + ')');
|
return fvm::d2dt2(rho, vf, "d2dt2(" + rho.name() + ',' + vf.name() + ')');
|
||||||
|
|
|
@ -53,14 +53,14 @@ namespace fvm
|
||||||
tmp<fvMatrix<Type> > d2dt2
|
tmp<fvMatrix<Type> > d2dt2
|
||||||
(
|
(
|
||||||
const dimensionedScalar&,
|
const dimensionedScalar&,
|
||||||
GeometricField<Type, fvPatchField, volMesh>&,
|
const GeometricField<Type, fvPatchField, volMesh>&,
|
||||||
const word& name
|
const word& name
|
||||||
);
|
);
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
tmp<fvMatrix<Type> > d2dt2
|
tmp<fvMatrix<Type> > d2dt2
|
||||||
(
|
(
|
||||||
GeometricField<Type, fvPatchField, volMesh>&,
|
const GeometricField<Type, fvPatchField, volMesh>&,
|
||||||
const word& name
|
const word& name
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -68,7 +68,7 @@ namespace fvm
|
||||||
tmp<fvMatrix<Type> > d2dt2
|
tmp<fvMatrix<Type> > d2dt2
|
||||||
(
|
(
|
||||||
const volScalarField&,
|
const volScalarField&,
|
||||||
GeometricField<Type, fvPatchField, volMesh>&,
|
const GeometricField<Type, fvPatchField, volMesh>&,
|
||||||
const word& name
|
const word& name
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -76,21 +76,21 @@ namespace fvm
|
||||||
tmp<fvMatrix<Type> > d2dt2
|
tmp<fvMatrix<Type> > d2dt2
|
||||||
(
|
(
|
||||||
const dimensionedScalar&,
|
const dimensionedScalar&,
|
||||||
GeometricField<Type, fvPatchField, volMesh>&,
|
const GeometricField<Type, fvPatchField, volMesh>&,
|
||||||
const word& name
|
const word& name
|
||||||
);
|
);
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
tmp<fvMatrix<Type> > d2dt2
|
tmp<fvMatrix<Type> > d2dt2
|
||||||
(
|
(
|
||||||
GeometricField<Type, fvPatchField, volMesh>&
|
const GeometricField<Type, fvPatchField, volMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
tmp<fvMatrix<Type> > d2dt2
|
tmp<fvMatrix<Type> > d2dt2
|
||||||
(
|
(
|
||||||
const volScalarField&,
|
const volScalarField&,
|
||||||
GeometricField<Type, fvPatchField, volMesh>&
|
const GeometricField<Type, fvPatchField, volMesh>&
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -53,7 +53,7 @@ namespace fvm
|
||||||
template<class Type>
|
template<class Type>
|
||||||
tmp<fvMatrix<Type> > ddt
|
tmp<fvMatrix<Type> > ddt
|
||||||
(
|
(
|
||||||
GeometricField<Type, fvPatchField, volMesh>&,
|
const GeometricField<Type, fvPatchField, volMesh>&,
|
||||||
const word& name
|
const word& name
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -61,7 +61,7 @@ namespace fvm
|
||||||
tmp<fvMatrix<Type> > ddt
|
tmp<fvMatrix<Type> > ddt
|
||||||
(
|
(
|
||||||
const geometricOneField&,
|
const geometricOneField&,
|
||||||
GeometricField<Type, fvPatchField, volMesh>&,
|
const GeometricField<Type, fvPatchField, volMesh>&,
|
||||||
const word& name
|
const word& name
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -69,7 +69,7 @@ namespace fvm
|
||||||
tmp<fvMatrix<Type> > ddt
|
tmp<fvMatrix<Type> > ddt
|
||||||
(
|
(
|
||||||
const dimensionedScalar&,
|
const dimensionedScalar&,
|
||||||
GeometricField<Type, fvPatchField, volMesh>&,
|
const GeometricField<Type, fvPatchField, volMesh>&,
|
||||||
const word& name
|
const word& name
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -77,35 +77,35 @@ namespace fvm
|
||||||
tmp<fvMatrix<Type> > ddt
|
tmp<fvMatrix<Type> > ddt
|
||||||
(
|
(
|
||||||
const volScalarField&,
|
const volScalarField&,
|
||||||
GeometricField<Type, fvPatchField, volMesh>&,
|
const GeometricField<Type, fvPatchField, volMesh>&,
|
||||||
const word& name
|
const word& name
|
||||||
);
|
);
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
tmp<fvMatrix<Type> > ddt
|
tmp<fvMatrix<Type> > ddt
|
||||||
(
|
(
|
||||||
GeometricField<Type, fvPatchField, volMesh>&
|
const GeometricField<Type, fvPatchField, volMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
tmp<fvMatrix<Type> > ddt
|
tmp<fvMatrix<Type> > ddt
|
||||||
(
|
(
|
||||||
const geometricOneField&,
|
const geometricOneField&,
|
||||||
GeometricField<Type, fvPatchField, volMesh>&
|
const GeometricField<Type, fvPatchField, volMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
tmp<fvMatrix<Type> > ddt
|
tmp<fvMatrix<Type> > ddt
|
||||||
(
|
(
|
||||||
const dimensionedScalar&,
|
const dimensionedScalar&,
|
||||||
GeometricField<Type, fvPatchField, volMesh>&
|
const GeometricField<Type, fvPatchField, volMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
tmp<fvMatrix<Type> > ddt
|
tmp<fvMatrix<Type> > ddt
|
||||||
(
|
(
|
||||||
const volScalarField&,
|
const volScalarField&,
|
||||||
GeometricField<Type, fvPatchField, volMesh>&
|
const GeometricField<Type, fvPatchField, volMesh>&
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -45,7 +45,7 @@ tmp<fvMatrix<Type> >
|
||||||
div
|
div
|
||||||
(
|
(
|
||||||
const surfaceScalarField& rho,
|
const surfaceScalarField& rho,
|
||||||
GeometricField<Type, fvPatchField, volMesh>& vf,
|
const GeometricField<Type, fvPatchField, volMesh>& vf,
|
||||||
const word& name
|
const word& name
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
@ -63,7 +63,7 @@ tmp<fvMatrix<Type> >
|
||||||
div
|
div
|
||||||
(
|
(
|
||||||
const tmp<surfaceScalarField>& trho,
|
const tmp<surfaceScalarField>& trho,
|
||||||
GeometricField<Type, fvPatchField, volMesh>& vf,
|
const GeometricField<Type, fvPatchField, volMesh>& vf,
|
||||||
const word& name
|
const word& name
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
@ -78,7 +78,7 @@ tmp<fvMatrix<Type> >
|
||||||
div
|
div
|
||||||
(
|
(
|
||||||
const surfaceScalarField& rho,
|
const surfaceScalarField& rho,
|
||||||
GeometricField<Type, fvPatchField, volMesh>& vf
|
const GeometricField<Type, fvPatchField, volMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
return fvm::div(rho, vf, "div(" + rho.name() + ',' + vf.name() + ')');
|
return fvm::div(rho, vf, "div(" + rho.name() + ',' + vf.name() + ')');
|
||||||
|
@ -90,7 +90,7 @@ tmp<fvMatrix<Type> >
|
||||||
div
|
div
|
||||||
(
|
(
|
||||||
const tmp<surfaceScalarField>& trho,
|
const tmp<surfaceScalarField>& trho,
|
||||||
GeometricField<Type, fvPatchField, volMesh>& vf
|
const GeometricField<Type, fvPatchField, volMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
tmp<fvMatrix<Type> > Div(fvm::div(trho(), vf));
|
tmp<fvMatrix<Type> > Div(fvm::div(trho(), vf));
|
||||||
|
@ -105,7 +105,7 @@ tmp
|
||||||
BlockLduSystem<vector, typename innerProduct<vector, Type>::type>
|
BlockLduSystem<vector, typename innerProduct<vector, Type>::type>
|
||||||
> UDiv
|
> UDiv
|
||||||
(
|
(
|
||||||
GeometricField<Type, fvPatchField, volMesh>& vf,
|
const GeometricField<Type, fvPatchField, volMesh>& vf,
|
||||||
const word& name
|
const word& name
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
@ -124,7 +124,7 @@ tmp
|
||||||
> UDiv
|
> UDiv
|
||||||
(
|
(
|
||||||
const surfaceScalarField& rho,
|
const surfaceScalarField& rho,
|
||||||
GeometricField<Type, fvPatchField, volMesh>& vf,
|
const GeometricField<Type, fvPatchField, volMesh>& vf,
|
||||||
const word& name
|
const word& name
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
@ -143,7 +143,7 @@ tmp
|
||||||
> UDiv
|
> UDiv
|
||||||
(
|
(
|
||||||
const tmp<surfaceScalarField>& trho,
|
const tmp<surfaceScalarField>& trho,
|
||||||
GeometricField<Type, fvPatchField, volMesh>& vf,
|
const GeometricField<Type, fvPatchField, volMesh>& vf,
|
||||||
const word& name
|
const word& name
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
@ -163,7 +163,7 @@ tmp
|
||||||
BlockLduSystem<vector, typename innerProduct<vector, Type>::type>
|
BlockLduSystem<vector, typename innerProduct<vector, Type>::type>
|
||||||
> UDiv
|
> UDiv
|
||||||
(
|
(
|
||||||
GeometricField<Type, fvPatchField, volMesh>& vf
|
const GeometricField<Type, fvPatchField, volMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
return fvm::UDiv
|
return fvm::UDiv
|
||||||
|
@ -181,7 +181,7 @@ tmp
|
||||||
> UDiv
|
> UDiv
|
||||||
(
|
(
|
||||||
const surfaceScalarField& rho,
|
const surfaceScalarField& rho,
|
||||||
GeometricField<Type, fvPatchField, volMesh>& vf
|
const GeometricField<Type, fvPatchField, volMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
return fvm::UDiv
|
return fvm::UDiv
|
||||||
|
@ -200,7 +200,7 @@ tmp
|
||||||
> UDiv
|
> UDiv
|
||||||
(
|
(
|
||||||
const tmp<surfaceScalarField>& trho,
|
const tmp<surfaceScalarField>& trho,
|
||||||
GeometricField<Type, fvPatchField, volMesh>& vf
|
const GeometricField<Type, fvPatchField, volMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
tmp
|
tmp
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Reference in a new issue