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.
127 lines
2.3 KiB
C++
127 lines
2.3 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: 1.5 |
|
|
| \\ / A nd | Web: http://www.OpenFOAM.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
object blockMeshDict;
|
|
}
|
|
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
convertToMeters 1;
|
|
|
|
vertices
|
|
(
|
|
( 0.00 0.0 0)
|
|
( 1.00 0.0 0)
|
|
( 1.00 1.0 0)
|
|
( 0.00 1.0 0)
|
|
( 0.00 0.0 1)
|
|
( 1.00 0.0 1)
|
|
( 1.00 1.0 1)
|
|
( 0.00 1.0 1)
|
|
|
|
//- 0 degrees
|
|
( 0.25 0.25 0)
|
|
( 0.75 0.25 0)
|
|
( 0.75 0.75 0)
|
|
( 0.25 0.75 0)
|
|
( 0.25 0.25 1)
|
|
( 0.75 0.25 1)
|
|
( 0.75 0.75 1)
|
|
( 0.25 0.75 1)
|
|
|
|
|
|
//- 45 degrees rotated
|
|
// ( 0.25 0.5 0)
|
|
// ( 0.5 0.25 0)
|
|
// ( 0.75 0.5 0)
|
|
// ( 0.5 0.75 0)
|
|
// ( 0.25 0.5 1)
|
|
// ( 0.5 0.25 1)
|
|
// ( 0.75 0.5 1)
|
|
// ( 0.5 0.75 1)
|
|
);
|
|
|
|
blocks
|
|
(
|
|
hex (0 1 2 3 4 5 6 7) (18 18 1) simpleGrading (1 1 1)
|
|
|
|
hex (8 9 10 11 12 13 14 15) movingZone (30 30 1) simpleGrading (1 1 1)
|
|
);
|
|
|
|
edges
|
|
(
|
|
);
|
|
|
|
boundary
|
|
(
|
|
free
|
|
{
|
|
type overset;
|
|
faces
|
|
(
|
|
(8 12 15 11)
|
|
(10 14 13 9)
|
|
(11 15 14 10)
|
|
( 9 13 12 8)
|
|
);
|
|
}
|
|
|
|
walls
|
|
{
|
|
type patch;
|
|
faces
|
|
(
|
|
(3 7 6 2)
|
|
(1 5 4 0)
|
|
);
|
|
}
|
|
|
|
// Populated by subsetMesh
|
|
hole
|
|
{
|
|
type patch;
|
|
faces ();
|
|
}
|
|
|
|
frontAndBack
|
|
{
|
|
type empty;
|
|
faces
|
|
(
|
|
(0 3 2 1)
|
|
(4 5 6 7)
|
|
( 8 11 10 9)
|
|
(12 13 14 15)
|
|
);
|
|
}
|
|
|
|
left1
|
|
{
|
|
type patch;
|
|
faces
|
|
(
|
|
(0 4 7 3)
|
|
);
|
|
}
|
|
right1
|
|
{
|
|
type patch;
|
|
faces
|
|
(
|
|
(2 6 5 1)
|
|
);
|
|
}
|
|
);
|
|
|
|
|
|
// ************************************************************************* //
|