run_cfd_solver
Run aerodynamic CFD simulations on a 2D airfoil mesh by specifying velocity, angle of attack, and solver backend (NeuralFoil or SU2).
Instructions
Run NeuralFoil synchronously or submit an SU2 background job from a mesh_id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mach | No | Optional Mach number override. If omitted, it is computed from velocity and speed_of_sound. | |
| n_crit | No | NeuralFoil e^N critical amplification factor. | |
| mesh_id | Yes | mesh_id returned by generate_2d_mesh. | |
| velocity | Yes | Freestream velocity in meters per second. | |
| xtr_lower | No | Forced transition location on the lower surface as x/c in [0, 1]. | |
| xtr_upper | No | Forced transition location on the upper surface as x/c in [0, 1]. | |
| cfl_number | No | SU2 CFL number. | |
| model_size | No | NeuralFoil surrogate model size preset. | large |
| low_mach_prec | No | Enable SU2 low-Mach preconditioning. | |
| max_iterations | No | Maximum nonlinear iterations for the selected solver backend. | |
| solver_backend | No | Solver backend: 'neuralfoil' or 'su2'. | neuralfoil |
| speed_of_sound | No | Speed of sound in meters per second used to compute Mach. | |
| angle_of_attack | Yes | Angle of attack in degrees. | |
| reynolds_number | No | Optional Reynolds number override. If omitted, it is computed from velocity and chord. | |
| turbulence_model | No | SU2 flow model: EULER, NAVIER_STOKES, or RANS. | RANS |
| kinematic_viscosity | No | Fluid kinematic viscosity in square meters per second. | |
| su2_timeout_seconds | No | Maximum wall-clock time allowed for the SU2 subprocess. | |
| convergence_residual | No | SU2 convergence target expressed as log10 residual. | |
| include_360_deg_effects | No | Enable NeuralFoil's 360-degree post-stall correction model. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||