mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
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.
86 lines
2.3 KiB
C++
86 lines
2.3 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: dev |
|
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
location "system";
|
|
object fvSchemes;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
ddtSchemes
|
|
{
|
|
default steadyState;
|
|
}
|
|
|
|
gradSchemes
|
|
{
|
|
default Gauss linear;
|
|
grad(T) Gauss linear;
|
|
}
|
|
|
|
divSchemes
|
|
{
|
|
default none;
|
|
div(phi,U) bounded Gauss limitedLinearV 1;
|
|
div(phi,k) bounded Gauss limitedLinear 1;
|
|
div(phi,epsilon) bounded Gauss limitedLinear 1;
|
|
div(phi,R) bounded Gauss limitedLinear 1;
|
|
div(R) Gauss linear;
|
|
div(phi,nuTilda) bounded Gauss limitedLinear 1;
|
|
div((nuEff*dev(T(grad(U))))) Gauss linear;
|
|
}
|
|
|
|
laplacianSchemes
|
|
{
|
|
default Gauss linear corrected;
|
|
laplacian(diffusivity,cellDisplacement) Gauss linear corrected;
|
|
}
|
|
|
|
interpolationSchemes
|
|
{
|
|
default linear;
|
|
}
|
|
|
|
snGradSchemes
|
|
{
|
|
default corrected;
|
|
}
|
|
|
|
fluxRequired
|
|
{
|
|
default no;
|
|
pcorr ;
|
|
p ;
|
|
}
|
|
|
|
oversetInterpolation
|
|
{
|
|
// Interpolation scheme to use for overset calculation
|
|
method inverseDistance;
|
|
|
|
// The inverseDistance method uses a 'voxel' like search structure.
|
|
// Optionally specify the extent and number of divisions n.
|
|
// Note that it will allocate an array of nx*ny*nz. If not specified:
|
|
// - searchBox : local mesh bounding box
|
|
// - searchBoxDivisions : root (2D) or cube-root(3D) of number of cells
|
|
searchBox (0 0 0)(1 1 1);
|
|
searchBoxDivisions (100 100 1);
|
|
}
|
|
|
|
|
|
oversetInterpolationRequired
|
|
{
|
|
// Any additional fields that require overset interpolation
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|