ladybug-tools / butterfly

:butterfly: A light python API for creating and running OpenFoam cases for CFD simulation.

Home Page:http://ladybug-tools.github.io/butterfly.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AddLayers output empty with True input in SnappyHexMesh

ridhoutomo opened this issue · 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

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.

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