Altair slc using Python, GMSh to programmatically create finite-element triangular mesh hydrofoil, no gui
Graphic output
https://github.com/rogerjdeangelis/altair-slc-using-python-gmsh-to-programatically-create-finite-element-triangular-mesh-hydrofoil/blob/main/hydrofoil.png
Too long to post; see
https://github.com/rogerjdeangelis/altair-slc-using-python-gmsh-to-programatically-create-finite-element-triangular-mesh-hydrofoil
Note: You must hand-code the config file, inv_naca0012.cfg, using the SU2 language syntax,
then use inv_naca0012.cfg and the Python package gmsh to create the finite element triangular mesh for the hydrofoil
For the mesh program, I gave DeepSeek a detailed prompt
1 Told AI I wanted a triangular shell mesh for a hydrofoil for use in an SU2 simulation
2 I want to use python gmsh package
3 I included the hand coded config file
4 I expect the upper surface to have lower pressure then the lower surface
5 I expect lift like an airplane wing
DeepSeek created the gmsh mesh program with a couple of minor issues.
The issues were easy to resolve. The only caveat is that DeepSeek seems to
know me and mu abilities and former projects.
Source
https://su2code.github.io/tutorials/Inc_Inviscid_Hydrofoil/
For macros
https://github.com/rogerjdeangelis/utl-macros-used-in-many-of-rogerjdeangelis-repositories