Skip to content
  • Will Bainbridge's avatar
    ENH: foamyHexMesh: Set no refinement iterations in global dictionary · 66b3934a
    Will Bainbridge authored and Andrew Heather's avatar Andrew Heather committed
    ENH: foamyHexMesh: Made default region volume type that of it's parent
    
    Foamy surface conformation entries have a "meshableSide" entry which
    controls which side of the surface is to be meshed. Typically this is
    set "inside" for boundaries and "both" for baffles. A sub-region's
    default entry is now taken from it's parent, rather than a specific
    value (it was "inside"). This is consistent with how other entries are
    handled.
    
    surfaceConformation
    {
        locationInMesh      (0 0 0);
    
        geometryToConformTo
        {
            baffle
            {
                featureMethod           extractFeatures;
                includedAngle           120;
                meshableSide            both; // <-- per-surface setting
    
                regions
                {
                    disk
                    {
                        meshableSide    both; // <-- per-region setting*
    
                        // *in this example, this entry is not needed, as it
                        // is taken from the per-surface setting above
                    }
                }
            }
    
            // ...
        }
    }
    
    ENH: foamyHexMesh: Added (reinstated) baffle patches
    
    A patch can now be assigned to a baffle surface. This assignment will
    take precedence over any face-zones.
    
    surfaceConformation
    {
        locationInMesh      (0 0 0);
    
        geometryToConformTo
        {
            disk
            {
                featureMethod           extractFeatures;
                includedAngle           120;
                meshableSide            both; // <-- baffle
                patchInfo
                {
                    type wall;
                    inGroups (walls);
                }
            }
    
            // ...
        }
    }
    
    STYLE: foamyHexMesh: Switched off output of all the secondary meshes
    66b3934a