diff --git a/etc/caseDicts/mesh/generation/meshQualityDict.cfg b/etc/caseDicts/mesh/generation/meshQualityDict.cfg index 6efc9be5c..927f45c74 100644 --- a/etc/caseDicts/mesh/generation/meshQualityDict.cfg +++ b/etc/caseDicts/mesh/generation/meshQualityDict.cfg @@ -27,7 +27,7 @@ minVol 1e-13; // 1e-15 (small positive) to enable tracking // -1e+30 (large negative) for best layer insertion -minTetQuality 1e-15; +minTetQuality -1e30; // if >0 : preserve single cells with all points on the surface if the // resulting volume after snapping (by approximation) is larger than diff --git a/etc/caseDicts/mesh/manipulation/AMI/createBafflesDict b/etc/caseDicts/mesh/manipulation/AMI/createBafflesDict new file mode 100644 index 000000000..a7b38ff6b --- /dev/null +++ b/etc/caseDicts/mesh/manipulation/AMI/createBafflesDict @@ -0,0 +1,46 @@ +/*--------------------------------*- 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 createBafflesDict; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +internalFacesOnly true; + +baffles +{ + baffleFaces + { + type faceZone; + zoneName rotatingZone; + + patches + { + master + { + name AMI1; + type cyclicAMI; + matchTolerance 0.0001; + neighbourPatch AMI2; + transform noOrdering; + } + slave + { + $master; + name AMI2; + neighbourPatch AMI1; + } + } + } +} + +// ************************************************************************* // diff --git a/etc/caseDicts/mesh/manipulation/baffles/createBafflesDict b/etc/caseDicts/mesh/manipulation/baffles/createBafflesDict new file mode 100644 index 000000000..2afc0bde9 --- /dev/null +++ b/etc/caseDicts/mesh/manipulation/baffles/createBafflesDict @@ -0,0 +1,47 @@ +/*--------------------------------*- 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 createBafflesDict; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +// Whether to convert internal faces only (so leave boundary faces intact). +// This is only relevant if your face selection type can pick up boundary +// faces. +internalFacesOnly true; + +// Example using "blades" as name of baffle patch +baffles +{ + baffles // group name + { + //- Use predefined faceZone to select faces and orientation. + type faceZone; + zoneName blades; + + patches + { + master + { + name blades; // patch name + type wall; + } + slave + { + $master; + } + } + } +} + + +// ************************************************************************* //