Simplifications have been made where possible, as permitted by the new $<type>var syntax. Duplication has been reduced in similar blockMesh files (e.g., sloshingTank cases). Settings that cannot practically be changed have been hard-coded (e.g., angle in the mixerVessel2D blockMeshDict). The rotor2D blockMeshDict has been centralised and extended to work with an arbitrary number of rotor blades.
45 lines
1.1 KiB
C++
45 lines
1.1 KiB
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 createBafflesDict;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
internalFacesOnly true;
|
|
|
|
#include "$FOAM_TUTORIALS/resources/blockMesh/mixerVessel2D"
|
|
|
|
baffles
|
|
{
|
|
nonCouple
|
|
{
|
|
type searchableSurface;
|
|
surface searchableCylinder;
|
|
point1 (0 0 -100);
|
|
point2 (0 0 100);
|
|
radius $rMid;
|
|
|
|
owner
|
|
{
|
|
name nonCouple1;
|
|
type patch;
|
|
}
|
|
|
|
neighbour
|
|
{
|
|
name nonCouple2;
|
|
type patch;
|
|
}
|
|
}
|
|
}
|
|
|
|
// ************************************************************************* //
|