mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
- tutorials based on squareBend used Default_Boundary_Region explicitly defined since they predated the defaultPatch renaming (2008). The name 'Default_Boundary_Region' was for convenience as the default name when converting to PROSTAR or CCM formation, but can now be changed to something more generic. - define wall boundary conditions for squareBend using a general regex to allow future splitting of wall types by name.
48 lines
1.3 KiB
C++
48 lines
1.3 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: v1806 |
|
|
| \\ / A nd | Web: www.OpenFOAM.com |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class volScalarField;
|
|
location "0";
|
|
object nut;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
dimensions [0 2 -1 0 0 0 0];
|
|
|
|
internalField uniform 0;
|
|
|
|
boundaryField
|
|
{
|
|
inlet
|
|
{
|
|
type calculated;
|
|
value $internalField;
|
|
}
|
|
|
|
outlet
|
|
{
|
|
type calculated;
|
|
value $internalField;
|
|
}
|
|
|
|
"(?i).*walls"
|
|
{
|
|
type nutkWallFunction;
|
|
Cmu 0.09;
|
|
kappa 0.41;
|
|
E 9.8;
|
|
value $internalField;
|
|
}
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|