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.
34 lines
919 B
C++
34 lines
919 B
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 volScalarField;
|
|
location "0/shell";
|
|
object p;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
dimensions [ 1 -1 -2 0 0 0 0 ];
|
|
|
|
internalField uniform 0;
|
|
|
|
boundaryField
|
|
{
|
|
#includeEtc "caseDicts/setConstraintTypes"
|
|
|
|
".*"
|
|
{
|
|
type calculated;
|
|
value $internalField;
|
|
}
|
|
}
|
|
|
|
// ************************************************************************* //
|