Quasi-2d with 3D code? And limit of stl?

Hi communities,

I’ve write a 3D code now, but can I directly use it for a quasi-2d simulation? That means set periodic on side of the domain and let solid surface across the domain?

Furthermore, we can just deal with close and inside domain STL? Because when I use stl is open (like cylinders without top and bottom) or it is cross the lattice domain, there seems something wrong with the VoxelizedDomain3D.

Thank you all,
lch

Hey Ich,

I’m not sure about the first part of your question, but for the STL file Palabos should be able to handle open models for internal flow (like the aneurysm example which has open ends) or a closed model for the external flow (see the “ExternalFlowAroundObstacle” example which uses a closed sphere).

Thank you Castsgomeow,

I also check the stl file in aneurysm, but when I put a cylinder surface which is longer than the domain. The voxelizeDomain won’t works well. If I change the length of cylinder inside the domain, everything goes well.

So, I don’t know why. Maybe I need to write a 2d code directly.

Thanks