mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
- previously hard-coded, now adjustable within PDRsetFieldsDict
// Change some predefined patch names
patchNames
{
ground ground;
outer outer;
}
ENH: additions to PDRutils, improve comments
- expose enumerated expansion names and gridControl (PDRblock).
Not commonly needed, but useful to have access when defining
other grid generators
TUT: update PDRsetFieldsDict and tutorials to use "ground"
- remove tutorial references to unused types and legacy obstacles
- use "ground" for the boundary conditions instead of "seaGround".
Consistent with PDRblockMesh
55 lines
1.5 KiB
C++
55 lines
1.5 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: v2012 |
|
|
| \\ / A nd | Website: www.openfoam.com |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class volScalarField;
|
|
object k;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
dimensions [0 2 -2 0 0 0 0];
|
|
|
|
internalField uniform 0.00015;
|
|
|
|
boundaryField
|
|
{
|
|
outer
|
|
{
|
|
type inletOutlet;
|
|
inletValue $internalField;
|
|
value $internalField;
|
|
}
|
|
ground
|
|
{
|
|
type compressible::kqRWallFunction;
|
|
value $internalField;
|
|
}
|
|
blockedFaces
|
|
{
|
|
type zeroGradient;
|
|
}
|
|
mergingFaces
|
|
{
|
|
type compressible::kqRWallFunction;
|
|
value $internalField;
|
|
}
|
|
wallFaces
|
|
{
|
|
type compressible::kqRWallFunction;
|
|
value $internalField;
|
|
}
|
|
ySymmetry
|
|
{
|
|
type symmetryPlane;
|
|
}
|
|
}
|
|
|
|
// ************************************************************************* //
|