Skip to content

Re: Create a new Geometry


Hi cloner0101,

Could you please give us more information about the case you are trying to simulate ?

The porous media is not my field of research but I think you could create the geometry with a CAD software if it is in 3D. You will need q STL file for the geometry, you could check “aorta3d” example. If the geometry is 2d and your are able to know which nodes corresponds to wall nodes maybe you could see the “cylinder2d” example.

The basic parameters are defined in the object “converter” that is defined in the main. The boundary conditions are usually defined first at the preparation of geometry. Then, theirs values are defined in a user-function. The initial conditions also are defined in this user-function. You could see the “cylinder2d” example to understand how it works.