mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
The templates include a stategy to simplify meshing with snappyHexMesh, particularly to help generate an initial mesh quickly that can subsequently be improved. The templates are setup to enable rapid initial simulations, typically with simpleFoam. The initial templates cover simple inflow-outflow and closed domains, including rotating geometry, and an example axisymmetric flow. For more details, consult the README file accompanying each template case. The cases are located in $FOAM_ETC/templates
47 lines
1.4 KiB
C++
47 lines
1.4 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 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;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// ************************************************************************* //
|