Viewing 4 posts - 1 through 4 (of 4 total)
• Author
Posts
• #1883
cloner0101
Member

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.

#2502

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,
Alejandro

#2566
conglinfu
Member

Hi 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,
Pengkun

Quote:
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,
Alejandro

#2570
mathias
Keymaster
Viewing 4 posts - 1 through 4 (of 4 total)
• You must be logged in to reply to this topic.