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.
65 lines
1.5 KiB
C++
65 lines
1.5 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 setFieldsDict;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
defaultFieldValues
|
|
(
|
|
volScalarFieldValue alpha.water 0
|
|
volScalarFieldValue zoneID 123
|
|
);
|
|
|
|
regions
|
|
(
|
|
boxToCell
|
|
{
|
|
box ( -100 -100 -100 ) ( 100 100 0.5368 );
|
|
fieldValues ( volScalarFieldValue alpha.water 1 );
|
|
}
|
|
|
|
boxToCell
|
|
{
|
|
box ( 0.7 0.8 -100 ) ( 100 100 0.75 );
|
|
fieldValues ( volScalarFieldValue alpha.water 1 );
|
|
}
|
|
cellToCell
|
|
{
|
|
set c0;
|
|
|
|
fieldValues
|
|
(
|
|
volScalarFieldValue zoneID 0
|
|
);
|
|
}
|
|
cellToCell
|
|
{
|
|
set c1;
|
|
|
|
fieldValues
|
|
(
|
|
volScalarFieldValue zoneID 1
|
|
);
|
|
}
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// ************************************************************************* //
|