A deep learning surrogate model for predicting axial fan aerodynamic performance from geometric design parameters. Replaces expensive CFD simulations with real-time predictions (R² = 0.995, MAPE = 2.08%).
1import torch
2import numpy as np
3import json
4
5# Load model
6from model import FanSurrogate, predict_fan_performance
7
8# Single prediction
9design = {
10 'blade_inlet_angle_deg': 55.0,
11 'blade_turning_angle_deg': 15.0,
12 'chord_length_mm': 100.0,
13 'blade_thickness_ratio': 0.06,
14 'stagger_angle_deg': 45.0,
15 'hub_tip_ratio': 0.5,
16 'tip_clearance_ratio': 0.015,
17 'num_blades': 12,
18 'aspect_ratio': 2.5,
19 'solidity': 1.0,
20 'sweep_angle_deg': 0.0,
21 'flow_coefficient': 0.5,
22 'rotational_speed_rpm': 3000,
23 'tip_radius_mm': 300.0,
24}
25
26results = predict_fan_performance(design)
27print(f"Pressure Rise: {results['total_pressure_rise_Pa']:.1f} Pa")
28print(f"Efficiency: {results['isentropic_efficiency']:.3f}")
29print(f"Power: {results['power_consumption_W']:.1f} W")
30print(f"Flow Rate: {results['flow_rate_m3s']:.3f} m³/s")
31print(f"Noise: {results['noise_estimate_dBA']:.1f} dBA")
This model repository was generated by
ML Intern, an agent for machine learning research and development on the Hugging Face Hub.