This tutorial serves as a reference of how to create a multi-region mesh with layer addition. The multiRegionHeater tutorial and it's variants have been removed as the geometry is not meaningful and the functionality is now all represented elsewhere.
44 lines
1.1 KiB
C++
44 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
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class volVectorField;
|
|
location "0/shell";
|
|
object U;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
dimensions [ 0 1 -1 0 0 0 0 ];
|
|
|
|
internalField uniform (0 0 0);
|
|
|
|
boundaryField
|
|
{
|
|
#includeEtc "caseDicts/setConstraintTypes"
|
|
|
|
lower
|
|
{
|
|
type pressureInletOutletVelocity;
|
|
value $internalField;
|
|
}
|
|
upper
|
|
{
|
|
type flowRateInletVelocity;
|
|
massFlowRate constant 0.05;
|
|
value $internalField;
|
|
}
|
|
wall
|
|
{
|
|
type noSlip;
|
|
}
|
|
}
|
|
|
|
// ************************************************************************* //
|