ndemo aivagnes commited on
Commit
3917ed3
·
verified ·
1 Parent(s): 5c43d51

Small change to README (#1)

Browse files

- Small change to README (434caaa468530d2822e382bddd67bc641f16885f)


Co-authored-by: Anna Ivagnes <aivagnes@users.noreply.huggingface.co>

Files changed (1) hide show
  1. README.md +7 -7
README.md CHANGED
@@ -52,7 +52,7 @@ configs:
52
 
53
  ## Dataset Description
54
 
55
- This dataset contains transonic flow simulations around an airfoil, focusing on internal flow field quantities with varying Mach number.
56
 
57
  ### Dataset Summary
58
 
@@ -66,7 +66,7 @@ The dataset consists of three configurations:
66
 
67
  - **geometry**: Internal domain node coordinates
68
  - **snapshots**: Flow field solutions in the domain
69
- - **parameters**: Flow condition parameters (Mach number)
70
 
71
  ### Data Fields
72
 
@@ -79,17 +79,17 @@ The dataset consists of three configurations:
79
  - `velocity`: Velocity magnitude field in the internal domain (float64)
80
 
81
  #### Parameters Configuration
82
- - `mach`: Mach number for each simulation (float64)
83
 
84
  ### Data Splits
85
 
86
- - `default`: Contains all simulations with varying Mach numbers
87
 
88
  ## Dataset Creation
89
 
90
  ### Source Data
91
 
92
- The dataset was generated using computational fluid dynamics simulations of the Euler or Reynolds-Averaged Navier-Stokes (RANS) equations for compressible transonic flow around an airfoil. The simulations capture the complex flow phenomena in the transonic regime, including shock waves and expansion regions.
93
 
94
  ### Preprocessing
95
 
@@ -115,12 +115,12 @@ ds_params = load_dataset("SISSAmathLab/airfoil-transonic-internal", name="parame
115
  pts_x = np.asarray(ds_geom['default']['node_coordinates_x']).flatten()
116
  pts_y = np.asarray(ds_geom['default']['node_coordinates_y']).flatten()
117
  pressure = ds_data['default']['pressure'][0]
118
- mach_number = ds_params['default']['mach'][0]
119
 
120
  plt.figure(figsize=(12, 6))
121
  plt.scatter(pts_x, pts_y, c=pressure, cmap='RdBu_r', s=1, alpha=0.6)
122
  plt.colorbar(label='Pressure')
123
- plt.title(f'Airfoil Flow Field (Mach={mach_number:.2f})')
124
  plt.xlabel('x')
125
  plt.ylabel('y')
126
  plt.axis('equal')
 
52
 
53
  ## Dataset Description
54
 
55
+ This dataset contains transonic flow simulations around an airfoil, focusing on internal flow field quantities with varying angle of attack.
56
 
57
  ### Dataset Summary
58
 
 
66
 
67
  - **geometry**: Internal domain node coordinates
68
  - **snapshots**: Flow field solutions in the domain
69
+ - **parameters**: Flow condition parameters (angle of attack)
70
 
71
  ### Data Fields
72
 
 
79
  - `velocity`: Velocity magnitude field in the internal domain (float64)
80
 
81
  #### Parameters Configuration
82
+ - `angle_of_attack`: angle of attack for each simulation (float64)
83
 
84
  ### Data Splits
85
 
86
+ - `default`: Contains all simulations with varying angle of attack
87
 
88
  ## Dataset Creation
89
 
90
  ### Source Data
91
 
92
+ The dataset was generated using computational fluid dynamics simulations of the Euler equations for compressible transonic flow around an airfoil. The simulations capture the complex flow phenomena in the transonic regime, including shock waves and expansion regions.
93
 
94
  ### Preprocessing
95
 
 
115
  pts_x = np.asarray(ds_geom['default']['node_coordinates_x']).flatten()
116
  pts_y = np.asarray(ds_geom['default']['node_coordinates_y']).flatten()
117
  pressure = ds_data['default']['pressure'][0]
118
+ angle_of_attack = ds_params['default']['angle_of_attack'][0]
119
 
120
  plt.figure(figsize=(12, 6))
121
  plt.scatter(pts_x, pts_y, c=pressure, cmap='RdBu_r', s=1, alpha=0.6)
122
  plt.colorbar(label='Pressure')
123
+ plt.title(f'Airfoil Flow Field (angle of attack={angle_of_attack:.2f})')
124
  plt.xlabel('x')
125
  plt.ylabel('y')
126
  plt.axis('equal')