Airfoil DFlow¶
The airfoil example uses CST/Kulfan geometry and a lightweight evaluator by default, so it runs without external solvers.
Smoke Run¶
Full Config Run¶
Python API¶
from flowdesign.registry import load_config, build_problem_from_config, build_strategy_from_config
config = load_config("configs/airfoil/dflow.yaml")
problem = build_problem_from_config(config)
strategy = build_strategy_from_config(config)
result = strategy.run(problem)
print(result.best(feasible_only=True))
Replace the dummy evaluator with a NeuralFoil or XFoil adapter when you need a higher-fidelity aerodynamic model.