Create a new Geometry
OpenLB – Open Source Lattice Boltzmann Code › Forums › on OpenLB › General Topics › Create a new Geometry
- This topic has 3 replies, 4 voices, and was last updated 7 years, 6 months ago by mathias.
-
AuthorPosts
-
January 14, 2017 at 7:57 am #1883cloner0101Member
Hi everyone
im a new beginner to this fantastic opensource !
i have download the code , and run a few examples of it .
i had 2 question
1- how can i create a new geometry , for example i want to solve this for porous media , how should i begin ?
2- before solving , how can i change the parameters of the case ? such Reynolds and other boundary and initial condition ?
______
thank you very much everyone.January 14, 2017 at 3:16 pm #2502Alejandro_ClaroMemberHi 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.
Best,
AlejandroMarch 31, 2017 at 2:28 am #2566conglinfuMemberHi Alejandro,
I want to create some 2D triangles but there is no IndicatorF for triangles like IndicatorCircle2D for circles. Do you know how to do that?
I found there is a functor called SmoothIndicatorTriangle2D but what does the mass, epsilon and theta in that functor mean? The “Smooth” one seems to be different from the general IndicatorF like IndicatorCircle2D. Thank you.
Best regards,
PengkunQuote:Quote from Alejandro_Claro on January 14, 2017, 15:16
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.
Best,
AlejandroMarch 31, 2017 at 11:30 am #2570mathiasKeymaster -
AuthorPosts
- You must be logged in to reply to this topic.