OpenFOAM-4.x/tutorials/incompressible/porousSimpleFoam/straightDuctImplicit
Henry 0fe1967c22 includeEtcEntry: New dictionary include directive: #includeEtc "etcFile"
Description
    Specify an etc file to include when reading dictionaries, expects a
    single string to follow.

    Searches for files from user/group/shipped directories.
    The search scheme allows for version-specific and
    version-independent files using the following hierarchy:
    - \b user settings:
      - ~/.OpenFOAM/\<VERSION\>
      - ~/.OpenFOAM/
    - \b group (site) settings (when $WM_PROJECT_SITE is set):
      - $WM_PROJECT_SITE/\<VERSION\>
      - $WM_PROJECT_SITE
    - \b group (site) settings (when $WM_PROJECT_SITE is not set):
      - $WM_PROJECT_INST_DIR/site/\<VERSION\>
      - $WM_PROJECT_INST_DIR/site/
    - \b other (shipped) settings:
      - $WM_PROJECT_DIR/etc/

    An example of the \c \#includeEtc directive:
    \verbatim
        #includeEtc "etcFile"
    \endverbatim

    The usual expansion of environment variables and other constructs is
    retained.
2015-04-26 10:44:11 +01:00
..
0 Add the OpenFOAM source tree 2014-12-10 22:40:10 +00:00
constant Add simulationType entry even for simpleFoam cases 2015-01-21 21:08:19 +00:00
system includeEtcEntry: New dictionary include directive: #includeEtc "etcFile" 2015-04-26 10:44:11 +01:00
Allclean Minor change to comment 2014-12-14 21:50:14 +00:00
Allrun Minor change to comment 2014-12-14 21:50:14 +00:00
Allrun.pre Minor change to comment 2014-12-14 21:50:14 +00:00
README.txt Add the OpenFOAM source tree 2014-12-10 22:40:10 +00:00

2013-10-01 Meshing the angledDuct geometry.

constant/triSurface/angledDuct.stl
    outer geometry

constant/triSurface/boundaryAndFaceZones.stl
    boundary and faceZones to extract feature
    edges from.

    (in angledDuctImplicit:
        setSet:
            cellSet porosity new zoneToCell porosity
            cellSet other new cellToCell porosity
            cellSet other invert
            faceSet porosityFaces new cellToFace other all
            faceSet porosityFaces subset cellToFace porosity all
            faceZoneSet porosityFaces new setToFaceZone porosityFaces

        surfaceMeshTriangulate -faceZones '(porosityFaces)' boundaryAndFaceZones.stl
    )

surfaceFeatureExtract



constant/triSurface/porosity_inflated.stl
    block around porosity
    (slightly inflated)

Done paraview:
- start off from porosity.stl
- rotate to align with x axis and translate so symmetric in y:
    Filter->transform
    - translate (0 -0.025 0)
    - rotate (0 0 -45)
- inflate y and z:
    Filter->transform
    - scale (1 1.5 1.5)
- translate back:
    Filter->transform
    - translate (0 0.025 0)
- rotate back:
    Filter->transform
    - rotate (0 0 45)