How to import complex geometry like an airfoil in .i3d file ? #192
-
I have some airfoils over which i want to run the simulations. How do I import the airfoil geometry for simulation ? One of the way I found was to replace the equation of cylinder with the equation of the geometry in the BC_Cylinder.f90 file. Is there any other way to import the geometry like using the coordinates of the airfoil. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 11 replies
-
Hi, |
Beta Was this translation helpful? Give feedback.
-
Thank you ! It will be very helpful. |
Beta Was this translation helpful? Give feedback.
-
Hello @slaizet ! So, with some reading i developed my own python code to produce Epsilon function for any STL geometry. Currently, I am trying to input the geometry in cylinder case, by reading the indices of the points inside geometry and setting
This is the modification I made in BC-Cylinder.f90. The simulation starts but all the values are NaN. Can you please me how to input the geometry correctly from a epsilon file ? Do we need to write an extra subroutines for this ? |
Beta Was this translation helpful? Give feedback.
-
Dear Sylvain, Interestingly, the code works with my modification if I set the IBM method as forced boundary method (1) instead of method mentioned in "A DNS study of jet control with microjets using an alternating direct on forcing strategy". I am testing whether I am getting good results with the forced boundary method. Also, I need to check if it works with the other method. Regards, |
Beta Was this translation helpful? Give feedback.
Hi,
We are going to prepare a video tutorial on how to do import a stl file in Xcompact3d (it is possible via the Sandbox). In the meantime, using equations for your airfoil is the best option :-)
Best,
Sylvain