This greatly simplifies most setups in which it is a patch (or patches) of the original mesh which are extruded. It prevents the need for a topoSet configuration to convert the patch into a zone or set.
34 lines
887 B
C++
34 lines
887 B
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
========= |
|
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
\\ / O peration | Website: https://openfoam.org
|
|
\\ / A nd | Version: dev
|
|
\\/ M anipulation |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
format ascii;
|
|
class dictionary;
|
|
object extrudeToRegionMeshDict;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
region wallFilm;
|
|
|
|
patches (walls);
|
|
|
|
extrudeModel linearNormal;
|
|
|
|
nLayers 1;
|
|
|
|
expansionRatio 1;
|
|
|
|
adaptMesh yes; // apply mapped to both regions
|
|
|
|
linearNormalCoeffs
|
|
{
|
|
thickness 0.01;
|
|
}
|
|
|
|
// ************************************************************************* //
|