generate_2d_mesh
Generate a 2D mesh from airfoil geometry for NeuralFoil and SU2 CFD simulations.
Instructions
Generate a 2D mesh from a geometry_id for NeuralFoil or SU2 workflows.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain_size | No | Farfield domain size in chord lengths. | |
| geometry_id | Yes | geometry_id returned by generate_airfoil_geometry. | |
| growth_rate | No | Boundary-layer growth ratio between successive inflation layers. | |
| mesh_format | No | Mesh format. Use 'placeholder' for NeuralFoil or 'su2' for solver-effective meshes. | placeholder |
| wake_length | No | Wake extension length downstream of the trailing edge in chord lengths. | |
| mesh_density | No | Mesh density preset: coarse, medium, or fine. | medium |
| target_y_plus | No | Target wall y+ used to infer first_cell_height for SU2 meshes. | |
| surface_points | No | Number of discretization points placed around the airfoil surface. | |
| first_cell_height | No | First boundary-layer cell height in chord units. | |
| gmsh_timeout_seconds | No | Maximum wall-clock time allowed for the Gmsh subprocess. | |
| boundary_layer_layers | No | Number of boundary-layer inflation layers for SU2/Gmsh meshes. | |
| reference_reynolds_number | No | Reference Reynolds number used with target_y_plus to infer first_cell_height. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||