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.
31 lines
881 B
C++
31 lines
881 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 blockMeshDict;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
nBlades 4;
|
|
|
|
rHub 0.005;
|
|
rTip 0.02;
|
|
rFreestream 0.1;
|
|
|
|
halfDepth 0.005;
|
|
|
|
nCellsHubTip 6;
|
|
nCellsTipFreestream 24;
|
|
nCellsBladeBlade 24;
|
|
|
|
#include "$FOAM_TUTORIALS/resources/blockMesh/rotor2D"
|
|
|
|
// ************************************************************************* //
|