butterfly icon indicating copy to clipboard operation
butterfly copied to clipboard

AddLayers output empty with True input in SnappyHexMesh

Open ridhoutomo opened this issue 2 years ago • 2 comments

Hi everyone,

I am wondering if the AddLayers function for boundary layer creation is working. I have tried to turn it on but I check with the SnappyHexMeshDict that the layers is true but no geometry is appended

Now, if I modify manually then running the snappyhexmesh via GH toggle, it will automatically delete and replace with a new one (even though I turn on write, then manually edit, then run).

Is there anything I need to do to fix it to read layers automatically for Boundary layer? Do I need to define anything previously before the SnappyHexMesh?

Thank you. Ridho

ridhoutomo avatar Jun 22 '23 03:06 ridhoutomo

I actually tried by adding surface layers number in the geometry definition. It adds surface name to the addlayers

layers {

    core
    {

        nSurfaceLayers		7;

    }

}

For now, it is good thing that I don't need to modify manually. But, is this the only way to activate the BL? Thank you.

ridhoutomo avatar Jun 23 '23 03:06 ridhoutomo

Yeah,you are right. You can do some further simulation.

ymg2007 avatar Jun 27 '23 01:06 ymg2007