Through the user guide document, I learned that 3D models can be read through stlreader, but how can I import complex 2D models into Openlb for calculation? For example, when I obtained a 2D porous media model using Matlab, how should I read it? If possible, I would appreciate a detailed description.
This depends on what you mean by “obtained a 2D porous media model using Matlab”. i.e. this geometry will be described by some kind of data structure in matlab that you need to output in some format that you can then read into OpenLB. e.g. one possibility would be to export it as a 2D VTI image.
Another question is what LB model you want to use to represent this geometry in the simulation.
Author
Posts
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok