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.
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
|
|
{
|
|
version 2.0;
|
|
format binary;
|
|
class volScalarField;
|
|
location "0/shell";
|
|
object nut;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
dimensions [0 2 -1 0 0 0 0];
|
|
|
|
internalField uniform 0;
|
|
|
|
boundaryField
|
|
{
|
|
#includeEtc "caseDicts/setConstraintTypes"
|
|
|
|
lower
|
|
{
|
|
type calculated;
|
|
value $internalField;
|
|
}
|
|
upper
|
|
{
|
|
type calculated;
|
|
value $internalField;
|
|
}
|
|
wall
|
|
{
|
|
type nutkWallFunction;
|
|
value $internalField;
|
|
}
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|