Datasets:

Modalities:
Tabular
Text
Formats:
parquet
ArXiv:
DOI:
License:
Dataset Viewer
Auto-converted to Parquet Duplicate
Search is not available for this dataset
wing_shape_idx
float64
0
5.87k
condition_idx
float64
0
7
aoa
float64
2
12
mach
float64
0.75
0.9
ref_area
float64
1.14
2.66
half_span
float64
2.31
3.85
cl_solver
float64
-0.41
1.1
cd_solver
float64
0.01
0.15
cm_solver
float64
-0.43
1.32
cl_surface
float64
-0.41
1.1
cd_surface
float64
0.01
0.15
cm_surface
float64
-0.43
1.32
1,576
0
9.903793
0.763823
1.197848
2.364541
0.60434
0.025261
0.486712
0.604091
0.025203
0.486395
1,576
1
2.197779
0.757212
1.197848
2.364541
-0.236388
0.019125
-0.151953
-0.236435
0.019117
-0.152049
1,576
2
3.428375
0.765485
1.197848
2.364541
-0.103984
0.010808
-0.051574
-0.103944
0.010798
-0.051533
1,576
3
4.215189
0.753564
1.197848
2.364541
-0.014591
0.00886
0.016115
-0.014549
0.008843
0.016167
1,576
4
11.107778
0.766865
1.197848
2.364541
0.737179
0.035724
0.585682
0.736858
0.035662
0.585271
1,576
5
11.984513
0.752845
1.197848
2.364541
0.81876
0.041737
0.641655
0.818424
0.041673
0.641231
1,576
6
2.176825
0.751783
1.197848
2.364541
-0.235763
0.019175
-0.151438
-0.235813
0.019168
-0.151538
1,576
7
8.290788
0.770524
1.197848
2.364541
0.432948
0.016651
0.358259
0.432783
0.016607
0.358049
2,025
0
4.191811
0.806217
2.090885
3.222695
0.069266
0.013345
0.105936
0.069307
0.013364
0.105968
2,025
1
8.297076
0.814821
2.090885
3.222695
0.544846
0.026445
0.574017
0.544559
0.026417
0.573461
2,025
2
4.751994
0.823025
2.090885
3.222695
0.122387
0.013784
0.158158
0.122435
0.013799
0.158213
2,025
3
3.394733
0.824834
2.090885
3.222695
-0.059526
0.017833
-0.027286
-0.059556
0.01788
-0.027416
2,025
5
7.009162
0.814513
2.090885
3.222695
0.394203
0.018952
0.430055
0.394066
0.01894
0.429781
2,025
6
11.175875
0.813485
2.090885
3.222695
0.917672
0.065536
0.956401
0.917016
0.065461
0.955153
1,139
0
3.403418
0.862348
1.860435
3.043274
-0.132465
0.022923
-0.11859
-0.132524
0.022922
-0.118727
1,139
1
4.987491
0.850832
1.860435
3.043274
0.129982
0.010957
0.15875
0.13002
0.010956
0.158817
1,139
2
11.129914
0.85688
1.860435
3.043274
0.774234
0.065477
0.779777
0.773879
0.065431
0.779171
1,139
3
4.247969
0.867597
1.860435
3.043274
0.002864
0.014974
0.026724
0.002924
0.014982
0.026815
1,139
4
7.187791
0.874743
1.860435
3.043274
0.40012
0.023216
0.435623
0.399991
0.023204
0.435395
1,139
5
9.823149
0.859026
1.860435
3.043274
0.690287
0.045197
0.717057
0.689931
0.045157
0.716429
1,139
7
3.818125
0.854092
1.860435
3.043274
-0.046321
0.014959
-0.021441
-0.046331
0.014973
-0.021488
4,686
0
4.19358
0.778446
1.629804
2.833577
0.114416
0.010588
0.118781
0.114488
0.010568
0.118905
4,686
1
3.687845
0.792723
1.629804
2.833577
0.059233
0.010505
0.062494
0.059294
0.010493
0.062585
4,686
2
9.218534
0.786641
1.629804
2.833577
0.677669
0.031708
0.690533
0.677328
0.031654
0.689926
4,686
3
8.748782
0.776693
1.629804
2.833577
0.614697
0.026141
0.627229
0.614412
0.02609
0.626724
4,686
4
8.183761
0.798433
1.629804
2.833577
0.575236
0.024992
0.592439
0.57499
0.024947
0.592
4,686
5
3.449772
0.784725
1.629804
2.833577
0.031376
0.01056
0.033205
0.031426
0.01055
0.033271
4,686
6
4.292112
0.781029
1.629804
2.833577
0.125756
0.010686
0.130543
0.125826
0.010666
0.130664
4,686
7
9.646326
0.775567
1.629804
2.833577
0.709851
0.034136
0.718391
0.709479
0.034078
0.717734
2,714
0
4.096834
0.856519
1.98876
3.436051
0.051117
0.013952
0.069101
0.051081
0.013926
0.068979
2,714
1
5.611145
0.866176
1.98876
3.436051
0.205706
0.015191
0.289497
0.205676
0.015153
0.289428
2,714
2
9.461169
0.860302
1.98876
3.436051
0.603113
0.033635
0.837007
0.602869
0.033568
0.836446
2,714
3
10.08972
0.851968
1.98876
3.436051
0.678667
0.039275
0.940904
0.678388
0.039204
0.940265
2,714
4
2.420733
0.870376
1.98876
3.436051
-0.157012
0.031658
-0.202828
-0.157009
0.031588
-0.202868
2,714
6
5.335835
0.871095
1.98876
3.436051
0.163945
0.015174
0.230639
0.163925
0.015139
0.230588
2,714
7
8.301739
0.850495
1.98876
3.436051
0.494772
0.024481
0.683568
0.494588
0.024421
0.68314
1,002
1
6.914031
0.827311
1.744949
3.140333
0.610534
0.031504
0.648187
0.610367
0.031475
0.647898
1,002
2
8.566342
0.84662
1.744949
3.140333
0.700615
0.052834
0.725851
0.700391
0.0528
0.725475
1,002
3
8.857061
0.836709
1.744949
3.140333
0.744514
0.054795
0.765717
0.74428
0.054759
0.765329
1,002
4
4.249136
0.840311
1.744949
3.140333
0.310811
0.016692
0.350349
0.310824
0.016677
0.350365
1,002
6
9.229608
0.831934
1.744949
3.140333
0.777723
0.059334
0.792252
0.777483
0.059295
0.791858
2,047
0
9.591214
0.820447
2.339926
3.427441
0.775716
0.044753
1.098119
0.775188
0.044679
1.096788
2,047
1
5.867239
0.819179
2.339926
3.427441
0.369266
0.013935
0.545921
0.369019
0.013897
0.545276
2,047
2
5.871284
0.8127
2.339926
3.427441
0.366421
0.013684
0.541518
0.366178
0.013646
0.54088
2,047
3
3.803292
0.823398
2.339926
3.427441
0.149794
0.008962
0.238745
0.149775
0.008953
0.238674
2,047
4
7.969042
0.815227
2.339926
3.427441
0.58859
0.025058
0.844925
0.588143
0.024984
0.843767
2,047
5
5.837382
0.819844
2.339926
3.427441
0.366442
0.013855
0.542047
0.366199
0.013818
0.541409
2,047
6
2.656598
0.805062
2.339926
3.427441
0.021394
0.008814
0.051896
0.021414
0.008816
0.051909
2,047
7
6.170409
0.811943
2.339926
3.427441
0.397406
0.014753
0.584415
0.39713
0.01471
0.583697
2,909
0
6.382028
0.844648
2.052341
3.334923
0.501
0.032965
0.480383
0.500832
0.032965
0.480112
2,909
1
7.706429
0.831059
2.052341
3.334923
0.659376
0.041901
0.60696
0.65907
0.041877
0.606479
2,909
2
6.634976
0.82699
2.052341
3.334923
0.567488
0.032242
0.53327
0.567288
0.032234
0.532951
2,909
3
9.775039
0.82627
2.052341
3.334923
0.84104
0.066255
0.743665
0.8406
0.066202
0.742995
2,909
6
8.644494
0.845695
2.052341
3.334923
0.702779
0.054862
0.638574
0.702408
0.054827
0.637996
2,909
7
3.522951
0.825076
2.052341
3.334923
0.235415
0.016063
0.268411
0.235477
0.016077
0.268488
1,037
0
6.686692
0.867512
1.425119
2.609448
0.39151
0.020678
0.42007
0.391426
0.02065
0.419942
1,037
1
8.416641
0.86704
1.425119
2.609448
0.551291
0.031413
0.579733
0.551099
0.03137
0.57942
1,037
3
4.403151
0.863509
1.425119
2.609448
0.126622
0.01271
0.142093
0.126613
0.0127
0.142072
1,037
4
5.261412
0.85479
1.425119
2.609448
0.23334
0.01294
0.25518
0.233341
0.01292
0.255195
1,037
5
4.324538
0.873102
1.425119
2.609448
0.114543
0.013895
0.130072
0.11453
0.013886
0.130041
1,037
6
2.095424
0.867498
1.425119
2.609448
-0.155688
0.030924
-0.140499
-0.155635
0.030875
-0.140429
1,037
7
9.718537
0.872413
1.425119
2.609448
0.67342
0.042871
0.709723
0.673142
0.042822
0.709263
1,729
0
3.675258
0.791631
1.412685
2.59998
-0.115281
0.015615
-0.123429
-0.115273
0.015601
-0.123443
1,729
1
8.740353
0.796233
1.412685
2.59998
0.427516
0.016716
0.424137
0.427355
0.016681
0.42389
1,729
2
10.831112
0.778222
1.412685
2.59998
0.632336
0.026456
0.623687
0.632081
0.026396
0.623286
1,729
3
6.075278
0.79425
1.412685
2.59998
0.144904
0.009667
0.141652
0.144921
0.009651
0.1417
1,729
4
6.281281
0.78289
1.412685
2.59998
0.163771
0.00985
0.160039
0.163779
0.009833
0.160074
1,729
5
9.205729
0.795059
1.412685
2.59998
0.476364
0.018766
0.472648
0.476176
0.018724
0.472357
1,729
6
2.938323
0.792149
1.412685
2.59998
-0.185457
0.022035
-0.187204
-0.185394
0.021995
-0.187122
1,729
7
7.603644
0.775136
1.412685
2.59998
0.296719
0.012319
0.2921
0.296641
0.012295
0.291992
3,032
0
3.22907
0.75895
1.701987
2.839526
-0.077669
0.011223
-0.025323
-0.077525
0.011214
-0.025157
3,032
1
6.83513
0.77333
1.701987
2.839526
0.362387
0.014943
0.251197
0.362287
0.014938
0.251074
3,032
2
3.096254
0.770779
1.701987
2.839526
-0.095908
0.011838
-0.035718
-0.09576
0.011834
-0.035551
3,032
3
4.35741
0.769004
1.701987
2.839526
0.060167
0.009758
0.061753
0.060281
0.009751
0.06189
3,032
4
4.805818
0.774291
1.701987
2.839526
0.115669
0.010037
0.096922
0.115757
0.010033
0.097028
3,032
5
6.305389
0.768923
1.701987
2.839526
0.294958
0.012985
0.208534
0.294917
0.012983
0.208485
3,032
6
2.271068
0.764688
1.701987
2.839526
-0.196582
0.015335
-0.097853
-0.196431
0.015338
-0.097697
3,032
7
5.642902
0.763999
1.701987
2.839526
0.213279
0.011257
0.157103
0.213303
0.011255
0.157133
1,907
0
2.079932
0.815837
1.520537
2.677342
0.042138
0.013267
0.062298
0.042154
0.01327
0.062292
1,907
1
2.003357
0.818297
1.520537
2.677342
0.032556
0.013796
0.053645
0.032548
0.013799
0.053597
1,907
3
6.79544
0.806176
1.520537
2.677342
0.58438
0.032979
0.552537
0.584208
0.03295
0.552276
1,907
4
4.574425
0.824572
1.520537
2.677342
0.35111
0.020081
0.346205
0.351105
0.020065
0.346202
1,907
5
11.435987
0.812873
1.520537
2.677342
0.914322
0.093514
0.810268
0.914058
0.093459
0.809914
1,907
6
4.937006
0.803247
1.520537
2.677342
0.373713
0.018451
0.360586
0.373685
0.018433
0.360552
1,907
7
3.98573
0.803705
1.520537
2.677342
0.266201
0.014166
0.263837
0.266238
0.014148
0.263901
579
0
5.728655
0.820237
1.55763
3.091676
0.484126
0.022025
0.419036
0.484095
0.022008
0.418994
579
1
8.260142
0.809432
1.55763
3.091676
0.796562
0.039325
0.65643
0.796446
0.039303
0.656285
579
2
4.853987
0.824963
1.55763
3.091676
0.37545
0.018041
0.337227
0.375454
0.018024
0.337229
579
3
2.660834
0.801163
1.55763
3.091676
0.096501
0.012253
0.123118
0.096552
0.012236
0.123177
579
4
4.184969
0.806784
1.55763
3.091676
0.300551
0.013729
0.278592
0.300575
0.013712
0.278621
579
5
8.347182
0.808089
1.55763
3.091676
0.809116
0.04003
0.665716
0.808997
0.040008
0.665569
579
6
2.442486
0.814855
1.55763
3.091676
0.05911
0.013338
0.096237
0.059167
0.013323
0.096301
579
7
5.607025
0.804201
1.55763
3.091676
0.482594
0.019236
0.416192
0.482567
0.019219
0.416157
4,579
0
5.918817
0.772946
1.982168
3.353202
0.437862
0.017427
0.393206
0.437724
0.017408
0.392979
4,579
1
9.358429
0.772065
1.982168
3.353202
0.860774
0.047198
0.747668
0.860337
0.047127
0.746986
4,579
2
7.500945
0.75841
1.982168
3.353202
0.624807
0.025386
0.54552
0.624544
0.025339
0.545103
4,579
4
4.28554
0.764365
1.982168
3.353202
0.221251
0.010894
0.211036
0.221264
0.01089
0.211042
4,579
5
7.462478
0.763664
1.982168
3.353202
0.626179
0.02626
0.548388
0.625914
0.026213
0.547968
4,579
6
9.003766
0.753266
1.982168
3.353202
0.814469
0.036417
0.699084
0.814089
0.036346
0.698491
4,579
7
6.783334
0.771156
1.982168
3.353202
0.548004
0.02277
0.485503
0.54779
0.022736
0.485159
End of preview. Expand in Data Studio

SuperWing, a comprehensive benchmark dataset of transonic swept wings comprising 4239 wing shapes and nearly 30,000 flow fields across diverse geometries and operating conditions. Unlike previous efforts that rely on perturbations of a baseline wing, SuperWing is generated using a simplified yet expressive parameterization scheme. By incorporating spanwise-varying dihedral, twist, and airfoil characteristics, the dataset captures realistic design complexity and ensures greater diversity than existing ones. Please refer to our arXiv paper for more details on the dataset.

{AB7AE610-885E-4D76-8658-C797ACFC1D02}

The simulations are conducted on the 160-core high-performance computing cluster at AeroLab, Tsinghua University

Features

  1. Focusing on the "kink" wings (with two segments instead of one in the spanwise direction) under transonic regime (Mach number between 0.75 and 0.90), which bring more complex flow features and are closer to the industry.
  2. More diversity on the wing shape by generating them from basic parameters instead of perturbing from a baseline wing shape
  3. RANS simulation with well-validated solver ADflow and structural computational mesh.

Data overview

Files

(N=28856, Nshape=4239)

Type File Description Shape Size
Metadata config.dat shape parameters Nshape×56N_{\mathrm{shape}} \times 56 5.0 MB
index.npy indexing, operating conditions, and aerodynamic coefficients Nsample×12N_{\mathrm{sample}} \times 12 2.8 MB
training_samples_index.txt training sample split -- 0.1 MB
Shape / Surface flow data_surf.npy.zst surface simulation mesh and flow quantities on mesh points (cell center) Nsample×10×44,096N_{\mathrm{sample}} \times 10 \times 44{,}096 26.7 GB (85.3 GB)
origingeom.npy [STRUCTURED] reference surface mesh (grid points) Nshape×3×129×257N_{\mathrm{shape}} \times 3 \times 129 \times 257 3.3 GB
geom0.npy [STRUCTURED] reference surface mesh (cell center) Nshape×3×128×256N_{\mathrm{shape}} \times 3 \times 128 \times 256 3.3 GB
data.npy [STRUCTURED] surface flow quantities at reference mesh (cell center) Nsample×3×128×256N_{\mathrm{sample}} \times 3 \times 128 \times 256 22.7 GB
Volumetric flow data_vol.xx.npy.zst coordinates and flow quantities at near-field volumetric simulation mesh (cell center) Nsample×8×3,086,720N_{\mathrm{sample}} \times 8 \times 3{,}086{,}720 3.2 TB (5.3 TB)

Channels (for geometry and flow)

Index data_surf.npy data_vol.npy Index origingeom.npy, geom0.npy
0 Coordinate xx Coordinate xx 0 Coordinate xx
1 Coordinate yy Coordinate yy 1 Coordinate yy
2 Coordinate zz Coordinate zz 2 Coordinate zz
3 Density ρ~\tilde \rho Density ρ~\tilde \rho data.npy
4 Pressure coef. CpC_{p} Pressure p~\tilde p 0 Pressure coef. Cp,scaledC_{p,\mathrm{scaled}}
5 xx skin friction coef. Cf,xC_{f,x} xx velocity V~x\tilde V_x 1 Streamwise skin friction coef. Cf,τ,scaledC_{f,\tau,\mathrm{scaled}}
6 yy skin friction coef. Cf,yC_{f,y} yy velocity V~y\tilde V_y 2 zz skin friction coef. Cf,z,scaledC_{f,z,\mathrm{scaled}}
7 zz skin friction coef. Cf,zC_{f,z} zz velocity V~z\tilde V_z
8 Temperature T~\tilde T
  • ()~\tilde{(\cdot)} means the relative value to the freestream condition ( ρ,p,T,V\rho_\infty, p_\infty, T_\infty, V_\infty )
  • ()scaled(\cdot)_{\mathrm{scaled}} means they are scaled to have a similar magnitude. The scaling factor for the three channels are 1, 150, 300.

Coefficients definition

  • Pressure coefficient: Cp=pp0.5ρV2C_p = \frac{p-p_\infty}{0.5\rho_\infty V_\infty^2}
  • Friction coefficient: (vector) Cf=[Cf,x,Cf,y,Cf,z]T=0.5ρV2,=μsnC_{\bm f} = [C_{f,x}, C_{f,y}, C_{f,z}]^T = \frac{\bm{\tau_w}}{0.5\rho_\infty V_\infty^2}, \quad \bm{\tau_w}=\mu \frac{\partial \bm {u_t}}{\partial s_n}
    • Cf,τ,scaledC_{f,\tau,\mathrm{scaled}} means the component in the xx - yy surface.

Data format

Meta Data

The metadata include the wing geometry parameters, operating conditions, aerodynamic coefficients, group identifiers, and predefined train/test splits used in this work.

configs.dat

configs.dat stores the parametric definition of each wing geometry and can be used to reconstruct the geometry from scratch. It contains:

  • Columns 1–7: Global planform parameters, including:

    • sweep angle ΛLE\Lambda_\mathrm{LE}
    • tip/kink dihedral angles ΓLE,tip\Gamma_\mathrm{LE,tip}, ΓLE,kink\Gamma_\mathrm{LE,kink}
    • aspect ratio ARAR
    • taper ratio TRTR
    • kink location ηk\eta_k
    • root parameter κroot\kappa_\mathrm{root}
  • Columns 8–17: Spanwise variation parameters:

    • thickness ratios rtr_t ( ×3\times 3)
    • deformation parameters rδr_\delta ( ×4\times 4)
    • twist angles αtw\alpha_\mathrm{tw} ( ×4\times 4)
  • Columns 18–38: Baseline airfoil shape:

    • CST coefficients for upper surface ( ×10\times 10)
    • CST coefficients for lower surface ( ×10\times 10)
  • Columns 39–56: Operating conditions:

    • eight pairs of Mach number MaMa and angle of attack α\alpha

Some operating conditions may be missing in the final dataset if CFD simulations fail to converge.

index.npy

index.npy provides metadata for each flow-field sample. Each row corresponds to one sample. It includes:

  • Geometry mapping

    • Column 1: geometry index (linked to configs.dat)
    • Column 2: operating-condition index within the geometry
  • Operating conditions

    • Column 3: angle of attack α\alpha
    • Column 4: Mach number MaMa
  • Reference quantities

    • Column 5: half reference area S1/2S_{1/2}
    • Column 6: half span b1/2b_{1/2}
  • Aerodynamic coefficients

    • lift coefficient CLC_L
    • drag coefficient CDC_D
    • pitching moment coefficient CM,zC_{M,z}

    These coefficients are computed from pressure coefficient and skin-friction vector by surface integration:

    >CF=[Cx,Cy,Cz]T=1S1/2i=1Ncell[Cp(i)n(i)+(Cf(i)(Cf(i)n(i))n(i))]A(i)> > C_{\bm F}=[C_x,C_y,C_z]^T =\frac{1}{S_{1/2}} \sum_{i=1}^{N_{\mathrm{cell}}} \left[ C_p^{(i)}\bm n^{(i)} + \left(C_{\bm f}^{(i)} - (C_{\bm f}^{(i)}\cdot \bm n^{(i)})\bm n^{(i)} \right) \right] A^{(i)} >

    Lift and drag are obtained by rotating the force vector according to the angle of attack:

    >[CL,CD,Cz]T=RαCF> > [C_L,C_D,C_z]^T=\bm R_\alpha C_{\bm F} >

    The pitching moment coefficient is:

    >CM,z=1S1/2crefi=1Ncellr(i)×([Cp(i)n(i)+(Cf(i)(Cf(i)n(i))n(i))]A(i))> > C_{M,z}=\frac{1}{S_{1/2}c_\mathrm{ref}}\sum_{i=1}^{N_{\mathrm{cell}}}\bm r^{(i)}\times\left(\left[C_p^{(i)}\bm n^{(i)}+\left(C_{\bm f}^{(i)}-(C_{\bm f}^{(i)}\cdot\bm n^{(i)})\bm n^{(i)}\right)\right]A^{(i)}\right) >

    where: n(i)\bm n^{(i)}: outward normal vector, A(i)A^{(i)}: surface-cell area, r(i)\bm r^{(i)}: position vector from the reference point, cref=1.0c_\mathrm{ref}=1.0: reference chord length

    Two sets of aerodynamic coefficients are provided:

    • Columns 7–9: coefficients computed on the original CFD mesh using ADflow
    • Columns 10–12: coefficients evaluated on the structured reference mesh for machine-learning applications

training_samples_index.txt

training_samples_index.txt stores the indices of training samples used in technical validation.

The dataset is split by wing shape to evaluate generalization:

  • 90% of wing shapes are randomly selected for training
  • the remaining shapes are used for testing

Training sample indices are recorded in this file.

Parquet Files

train.parquet and test.parquet provide metadata organized into training and test splits for convenient visualization and loading in HuggingFace.


Surface shape and flow

Original data [NEW]

data_surf/data_surf.npy.zst provides the centric coordinates of the exact surface mesh for the simulations, and the surface flow values on the surface mesh centers. To enable compact storage, we flatten the original multi-block structured mesh into a one-dimensional sequence of 44,096 points.

surface

Structured surface shape and flow

origingeom.npy, geom0.npy, data.npy

Besides the raw multi-block solver output, we also prepare the surface mesh and flow fields in a format suitable for ML models with structured inputs and outputs.

The reference mesh geom0 contains the cell-centric coordinates of the reference surface mesh with size 256×128×3 256 \times 128 \times 3 , and the three channels stand for x,y,z x, y, z . The surface physical quantities data.npy are on the same reference mesh with size 256×128×3 256 \times 128 \times 3 , and the three channels stand for Cp,Cf,τ,Cf,z C_p, C_{f,\tau}, C_{f,z} . (the latter two are the decomposed friction coefficients on the streamwise and spanwise directions).

reference mesh: The simulation mesh on the wing surface is first interpolated to a reference mesh. In the spanwise ($j$-direction), 128 cross-sectional planes are sampled with even spacing, and tips are excluded. For each cross-section (i-direction), a fixed set of normalized chordwise positions {(x/c)i} \{(x/c)_i\} s is used for both the upper and lower surfaces, and the tail edge is represented only with one cell. The reference mesh along the wing surface is then unfolded as shown below, resulting in a final vertex surface grid of 257×129 257 \times 129 points per wing (origingeom.npy). This is useful when we need to calculate coefficients from the surface flow outputs. The cell-centric grid for the mesh is obtained just by averaging the coordinates at the four vertices.

transform

Volumetric flow quantities on the near-field simulation mesh

data\_vol/data\_vol.xx.npy.zst provides the volumetric flow, including the cell-centric coordinates and five core flow quantities at each simulation cell. They are again defined as the relative value to the freestream. Similar to the surface data, we flatten and concatenate the multi-block mesh into a one-dimensional point cloud sequence.

Given that it requires a large far field, the flow variables at far-field mesh points show only negligible deviations from the freestream values. To avoid this redundancy, we include the first 71 layers of mesh in the wall-normal dimension for each block. This produces 3,086,720 points per volumetric flow field.

vol

Postprocess

Aerodynamic coefficients

One can integrate surface flow (formatted as in data.npy) to get the aerodynamic coefficients (i.e., the lift coefficient $C_L$, the drag coefficient $C_D$, the pitching moment coefficient $C_{M,z}$) with the code in floGen (flogen.post). We also provide the post.py file here for simple download.

Remark.

  1. It uses pytorch.
  2. The geometric information should be with the grid point mesh (origingeom.npy), not the cell-centric mesh (geom0.npy).
  3. The values in data.npy are already non-dimensionalized with the freestream condition
import post
geom = torch.from_numpy(np.load('origingeom.npy'))[i_shape]).float().to(device)
aoa = 3.0
ref_area = np.load('index.npy')[i_sample, 4]

output = <your_model_output> # with shape (H, W, 3)

cf_xyz = post._get_xz_cf_t(geom, output[..., 1:]) # transfer to xyz coordinates

force_coefficients = post.get_force_2d_t(geom=geom, aoa=aoa, cp=output[..., 0], cf=cf_xyz) / ref_area  # returns: CD, CL, CZ
moment_coefficients = post.get_moment_2d_t(geom=geom, cp=output[..., 0], cf=cf_xyz, ref_point=[0.25, 0, 0]) / ref_area   # returns: CMx, CMy, CMz

One can also use the cfdpost repo (https://github.com/YangYunjia/cfdpost).

from cfdpost.wing.basic import BasicWing

geom = torch.from_numpy(np.load('origingeom.npy'))[i_shape]).float().to(device)
geom_infos = {}
geom_infos['ref_area'] = np.load('index.npy')[i_sample, 4]
aoa = 3.0

output = <your_model_output> # with shape (H, W, 3)

wg1 = BasicWing(paras=geom_infos, aoa=aoa, iscentric=True)
wg1.read_formatted_surface(geometry=geom, data=output, isinitg=False, isnormed=False)
wg1.aero_force()
cl_real = wg1.coefficients # CL, CD, CMz

Visualization

To visualize the wing surface field, we provide a brief code that gives a not bad looking.

import numpy as np
import matplotlib.pyplot as plt
import matplotlib as mpl

def color_map(data, c_map, alpha, dmin=None, dmax=None):
    dmin = np.nanmin(data) if dmin is None else dmin
    dmax = np.nanmax(data) if dmax is None else dmax
    _c_map = mpl.colormaps.get_cmap(c_map)

    norm = mpl.colors.Normalize(vmin=dmin, vmax=dmax)
    _sm = mpl.cm.ScalarMappable(norm=norm, cmap=_c_map)
    _colors = _sm.to_rgba(data)
    _colors[..., -1] = alpha
    
    return _colors, _sm

geom = np.load('data/ppn2norigingeom.npy')[0]
output = <your_model_output> # with shape (H, W, 3)

fig = plt.figure(figsize=(10, 4), dpi=200)
ax = fig.add_subplot(projection='3d')

elev = 68; azim =120 

colors, sm = color_map(output[..., 0], 'gist_rainbow', alpha=1, dmin=-1, dmax=1)    # cp
ax.plot_surface(*geom[[0,2,1]], facecolors=colors, edgecolor='none', rstride=1, cstride=3, shade=True)
ax.view_init(elev=elev, azim=azim)
ax.set_axis_off()
ax.grid(False)
ax.xaxis.pane.set_visible(False)
ax.yaxis.pane.set_visible(False)
ax.zaxis.pane.set_visible(False)

plt.show()

This should gives sth. like:

transform
Downloads last month
267

Models trained or fine-tuned on yunplus/SuperWing

Paper for yunplus/SuperWing