Adds overset discretisation to selected physics: - diffusion : overLaplacianDyMFoam - incompressible steady : overSimpleFoam - incompressible transient : overPimpleDyMFoam - compressible transient: overRhoPimpleDyMFoam - two-phase VOF: overInterDyMFoam The overset method chosen is a parallel, fully implicit implementation whereby the interpolation (from donor to acceptor) is inserted as an adapted discretisation on the donor cells, such that the resulting matrix can be solved using the standard linear solvers. Above solvers come with a set of tutorials, showing how to create and set-up simple simulations from scratch.
47 lines
1004 B
C
47 lines
1004 B
C
if (runTime.outputTime())
|
|
{
|
|
volVectorField gradT(fvc::grad(T));
|
|
|
|
volScalarField gradTx
|
|
(
|
|
IOobject
|
|
(
|
|
"gradTx",
|
|
runTime.timeName(),
|
|
mesh,
|
|
IOobject::NO_READ,
|
|
IOobject::AUTO_WRITE
|
|
),
|
|
gradT.component(vector::X)
|
|
);
|
|
|
|
volScalarField gradTy
|
|
(
|
|
IOobject
|
|
(
|
|
"gradTy",
|
|
runTime.timeName(),
|
|
mesh,
|
|
IOobject::NO_READ,
|
|
IOobject::AUTO_WRITE
|
|
),
|
|
gradT.component(vector::Y)
|
|
);
|
|
|
|
volScalarField gradTz
|
|
(
|
|
IOobject
|
|
(
|
|
"gradTz",
|
|
runTime.timeName(),
|
|
mesh,
|
|
IOobject::NO_READ,
|
|
IOobject::AUTO_WRITE
|
|
),
|
|
gradT.component(vector::Z)
|
|
);
|
|
|
|
|
|
runTime.write();
|
|
}
|