I tried to create a geometry consisting of three rectangular boxes. When starting the solver I get the following error:
ERROR cartesian_grid/get_stl_data.f:674
ERROR: NO CARTESIAN GRID BOUNDARY CONDITION SPECIFIED.
AT LEAST ONE BC_TYPE MUST START WITH CG (FOR EXAMPLE CG_NSW)
RUN ABORTED
The overall box is bigger than the three boxes together - this should not be the problem.
Because you have defined an STL geometry, the solver wants to know what to do with it - is it a no-slip wall, free-slip-wall, etc? (The solver could just ignore the STL but that’s not how it’s implemented presently.) You need to go into the “Regions” pane, and create a new region which consists of the STL boundary (first click “+” to create a new region, then “Select facets (STL)”
thank you very much for your help! This was indeed the problem.
I changed the definitions of the boundary conditions and used the stls there. No the error message is gone and it seems a mesh is created.
But there is still an Error with the initial conditions.
I tried to define initial conditions in the whole bounding box → I think the error is then related to the problem that initial conditions are defined, where there is no cell/cells.
I tried to define the initial conditions only in the 3 boxes → then I have an error, because I have not defined an initial condition for each cell
Could you also give me a hint how to solve this problem?
I attached the modified case setup.
-EvaTest_mesh_adopted.zip (202.9 KB)
Instead of defining the fluid domain with the three boxes (they should be unioned together to create a single volume), I flipped it around and just used a single box for the cut-out. With the normals facing outward from the box, cut-cell will mesh the correct side. I also used a point source to place the gas inlet.