mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
- the expansions were previously required as slash to follow, but
now either are possible.
"<case>", "<case>/" both yield the same as "$FOAM_CASE" and
will not have a trailing slash in the result. The expansion of
"$FOAM_CASE/" will however have a trailing slash.
- adjust additional files using these expansions
38 lines
1.1 KiB
C++
38 lines
1.1 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: plus |
|
|
| \\ / A nd | Web: www.OpenFOAM.com |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
object extrudeProperties;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
constructFrom mesh;
|
|
sourceCase "<case>";
|
|
sourcePatches (outlet);
|
|
|
|
flipNormals false;
|
|
|
|
extrudeModel linearDirection;
|
|
|
|
nLayers 40;
|
|
expansionRatio 1.0;
|
|
|
|
linearDirectionCoeffs
|
|
{
|
|
axisPt (0 0 0);
|
|
direction (1 -0.2 -0.03);
|
|
thickness 40;
|
|
}
|
|
|
|
mergeFaces false;
|
|
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|