mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +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.
81 lines
1.7 KiB
C++
81 lines
1.7 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;
|
|
object topoSetDict;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
actions
|
|
(
|
|
{
|
|
name c0;
|
|
type cellSet;
|
|
action new;
|
|
source regionToCell;
|
|
sourceInfo
|
|
{
|
|
insidePoints ((0.001 0.001 0.001));
|
|
}
|
|
}
|
|
|
|
{
|
|
name c1;
|
|
type cellSet;
|
|
action new;
|
|
source cellToCell;
|
|
sourceInfo
|
|
{
|
|
set c0;
|
|
}
|
|
}
|
|
|
|
{
|
|
name c1;
|
|
type cellSet;
|
|
action invert;
|
|
}
|
|
|
|
|
|
// Select box to remove from region 1
|
|
|
|
{
|
|
name box;
|
|
type cellSet;
|
|
action new;
|
|
source cellToCell;
|
|
sourceInfo
|
|
{
|
|
set c1;
|
|
}
|
|
}
|
|
|
|
|
|
{
|
|
name box;
|
|
type cellSet;
|
|
action subset;
|
|
source boxToCell;
|
|
sourceInfo
|
|
{
|
|
box (0.4 0.4 -100)(0.6 0.6 100);
|
|
}
|
|
}
|
|
|
|
{
|
|
name box;
|
|
type cellSet;
|
|
action invert;
|
|
}
|
|
);
|
|
|
|
// ************************************************************************* //
|