2018-02-28 12:37:33 +00:00
|
|
|
/*--------------------------------*- C++ -*----------------------------------*\
|
|
|
|
| ========= | |
|
|
|
|
| \\ / F ield | foam-extend: Open Source CFD |
|
2018-05-29 07:35:20 +00:00
|
|
|
| \\ / O peration | Version: 4.1 |
|
|
|
|
| \\ / A nd | Web: http://www.foam-extend.org |
|
2018-02-28 12:37:33 +00:00
|
|
|
| \\/ M anipulation | For copyright notice see file Copyright |
|
|
|
|
\*---------------------------------------------------------------------------*/
|
|
|
|
|
|
|
|
FoamFile
|
|
|
|
{
|
|
|
|
version 2.0;
|
|
|
|
format ascii;
|
|
|
|
class dictionary;
|
|
|
|
object oversetMeshDict;
|
|
|
|
}
|
|
|
|
|
|
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
|
|
|
|
interpolation
|
|
|
|
{
|
|
|
|
interpolationSchemes (inverseDistance);
|
|
|
|
|
|
|
|
default inverseDistance;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Names or patches that determine hole cells
|
|
|
|
holePatches ( airfoil );
|
|
|
|
|
|
|
|
regions
|
|
|
|
(
|
|
|
|
backgroundMesh
|
|
|
|
{
|
|
|
|
// Donor regions
|
|
|
|
donorRegions ( middleMesh );
|
|
|
|
|
|
|
|
fringe
|
|
|
|
{
|
2018-07-30 07:11:05 +00:00
|
|
|
type adaptiveOverlap;
|
2018-02-28 12:37:33 +00:00
|
|
|
|
|
|
|
// Optional list of patches to start the fringe minimisation from
|
|
|
|
initPatchNames ();
|
|
|
|
|
2018-07-30 07:11:05 +00:00
|
|
|
// Number of iterations for adaptive overlap search
|
|
|
|
specifiedIterationsNumber 12; // 5 by default
|
2018-05-29 08:30:29 +00:00
|
|
|
|
2018-07-30 07:11:05 +00:00
|
|
|
// Whether to try additional iterations
|
|
|
|
additionalIterations yes; // yes by default
|
|
|
|
|
|
|
|
// Orphan suitability
|
|
|
|
orphanSuitability 0; // 1 by default
|
2018-02-28 12:37:33 +00:00
|
|
|
|
|
|
|
donorSuitability
|
|
|
|
{
|
|
|
|
// Donor/acceptor pair must have cell volumes that differ not
|
2018-07-30 07:11:05 +00:00
|
|
|
// more than 20% of the larger cell
|
2018-02-28 12:37:33 +00:00
|
|
|
type cellVolumes;
|
2018-07-30 07:11:05 +00:00
|
|
|
threshold 0.2;
|
2018-02-28 12:37:33 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
middleMesh
|
|
|
|
{
|
|
|
|
// Donor regions
|
|
|
|
donorRegions ( frontMesh backgroundMesh );
|
|
|
|
|
|
|
|
fringe
|
|
|
|
{
|
2018-07-30 07:11:05 +00:00
|
|
|
type adaptiveOverlap;
|
2018-02-28 12:37:33 +00:00
|
|
|
|
|
|
|
// Optional list of patches to start the fringe minimisation from
|
|
|
|
initPatchNames (OversetMiddle);
|
|
|
|
|
2018-07-30 07:11:05 +00:00
|
|
|
// Number of iterations for adaptive overlap search
|
|
|
|
specifiedIterationsNumber 5; // 5 by default
|
|
|
|
|
|
|
|
// Whether to try additional iterations
|
|
|
|
additionalIterations yes; // yes by default
|
2018-05-29 08:30:29 +00:00
|
|
|
|
2018-07-30 07:11:05 +00:00
|
|
|
// Orphan suitability
|
|
|
|
orphanSuitability 0; // 1 by default
|
2018-02-28 12:37:33 +00:00
|
|
|
|
|
|
|
donorSuitability
|
|
|
|
{
|
2018-07-30 07:11:05 +00:00
|
|
|
// Donor/acceptor pair must have cell volumes that are at least
|
|
|
|
// 60% within each other
|
2018-02-28 12:37:33 +00:00
|
|
|
type cellVolumes;
|
|
|
|
threshold 0.6;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
frontMesh
|
|
|
|
{
|
|
|
|
// Donor regions
|
|
|
|
donorRegions ( middleMesh );
|
|
|
|
|
|
|
|
fringe
|
|
|
|
{
|
2018-07-30 07:11:05 +00:00
|
|
|
type adaptiveOverlap;
|
2018-02-28 12:37:33 +00:00
|
|
|
|
|
|
|
// Optional list of patches to start the fringe minimisation from
|
|
|
|
initPatchNames (OversetFront);
|
|
|
|
|
2018-07-30 07:11:05 +00:00
|
|
|
// Number of iterations for adaptive overlap search
|
|
|
|
specifiedIterationsNumber 5; // 5 by default
|
|
|
|
|
|
|
|
// Whether to try additional iterations
|
|
|
|
additionalIterations yes; // yes by default
|
2018-05-29 08:30:29 +00:00
|
|
|
|
2018-07-30 07:11:05 +00:00
|
|
|
// Orphan suitability
|
|
|
|
orphanSuitability 0; // 1 by default
|
2018-02-28 12:37:33 +00:00
|
|
|
|
|
|
|
donorSuitability
|
|
|
|
{
|
2018-07-30 07:11:05 +00:00
|
|
|
// Donor/acceptor pair must have cell volumes that are at least
|
|
|
|
// 40% within each other
|
2018-02-28 12:37:33 +00:00
|
|
|
type cellVolumes;
|
|
|
|
threshold 0.4;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
// ************************************************************************* //
|