CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [snappyHexMesh] Maintain patchs in interior mesh for SHM in multiRegion (https://www.cfd-online.com/Forums/openfoam-meshing/243049-maintain-patchs-interior-mesh-shm-multiregion.html)

tRock May 26, 2022 06:40

Maintain patchs in interior mesh for SHM in multiRegion
 
Hello to all,


I have the following example geometry:
Where a fluid domain is inside a solid domain.

https://ibb.co/g7HPVp3




When I generate a mesh with SHM, all of the patches in the fluid region are transformed into e.g., "fluid_to_solid".


Is it possible to main the patches and have: inlet_to_solid. outlet_to_solid, walls_to_solid?


Kind regards

tRock May 26, 2022 11:56

Ok.. Not ideal but I was able to get my patches with topoSet.


Example:

Code:


actions
(
    {
        // Mandatory (inherited) entries
        name        outlet;
        type        faceZoneSet;
        action      new;

        // Mandatory entries
        source    searchableSurfaceToFaceZone;
        surfaceType triSurfaceMesh;

        surfaceName outlet.stl;
    }

    {
        // Mandatory (inherited) entries
        name        fluid_to_solid;
        type        faceZoneSet;
        action      delete;

        // Mandatory entries
        source    searchableSurfaceToFaceZone;
        surfaceType triSurfaceMesh;

        surfaceName outlet.stl;
    }
);


tRock January 18, 2023 13:37

Anyone with a better solution for this?


All times are GMT -4. The time now is 15:23.