Dataset Viewer
Auto-converted to Parquet Duplicate
Search is not available for this dataset
node_coordinates_x
list
node_coordinates_y
list
connectivity
list
[ 4, 4, 22, 22, 0, 0, 22, 11, 13, 5.5, 16.5, 13, 8.5, 17.5, 8.5, 17.5, 8.25, 13.75, 2.75, 19.25, 6.25, 6.25, 15.25, 15.25, 19.75, 19.75, 10.75, 10.75, 2, 9.625, 22, 6.875, 12.375, 0, 18.625, 7.375, 11.6875, 20.30479922992299, 14.125, 5.125,...
[ 2, 0, 0, 2, 5, 2, 5, 5, 2, 5, 5, 0, 2, 2, 0, 0, 5, 5, 5, 5, 0, 2, 0, 2, 0, 2, 0, 2, 2, 3.604166666666667, 3.5, 5, 5, 3.5, 3.354166666666667, 3.330729166666667, 3.432291666666667, 3.605301155115511, 3.3125, 3.3125, 3.291666666666667, 3...
[ [ 259, 720, 1628 ], [ 139, 787, 959 ], [ 86, 751, 1162 ], [ 109, 646, 1228 ], [ 335, 482, 1206 ], [ 120, 1048, 1163 ], [ 143, 833, 1265 ], [ 194, 784, 1325 ], [ 111, 1053, 1112...

Navier-Stokes Flow Around Cylinder Dataset

Dataset Description

This dataset contains computational fluid dynamics simulations of incompressible flow around a cylinder with varying viscosity parameters.

Dataset Summary

The Navier-Stokes Cylinder dataset provides numerical simulations of viscous fluid flow around a circular cylinder. The dataset includes velocity fields (x and y components) and pressure fields, making it ideal for fluid dynamics research, reduced-order modeling, and machine learning applications in CFD.

Dataset Structure

Data Instances

The dataset consists of three configurations:

  • geometry: Mesh information (nodes and connectivity)
  • snapshots: Flow field solutions (velocity and pressure)
  • parameters: Viscosity values for each simulation

Data Fields

Geometry Configuration

  • node_coordinates_x: Sequence of x-coordinates of mesh nodes (float64)
  • node_coordinates_y: Sequence of y-coordinates of mesh nodes (float64)
  • connectivity: Sequence of element connectivity (triangular elements, int32)

Snapshots Configuration

  • velocity_x: Velocity field in x-direction at each node (float64)
  • velocity_y: Velocity field in y-direction at each node (float64)
  • pressure: Pressure field at each node (float64)

Parameters Configuration

  • viscosity: Kinematic viscosity parameter for each simulation (float64)

Data Splits

  • default: Contains all simulations

Dataset Creation

Source Data

The dataset was generated using finite element simulations of the incompressible Navier-Stokes equations with varying viscosity parameters. The flow configuration represents flow around a circular cylinder, a classic benchmark problem in computational fluid dynamics.

Preprocessing

Solutions are stored with velocity components and pressure as separate 1D arrays corresponding to the nodal values on the mesh. The raw data is reshaped from column-major (Fortran) order.

Usage

from datasets import load_dataset
import numpy as np
import matplotlib.pyplot as plt
import matplotlib.tri as mtri

# Load geometry
ds_geom = load_dataset("SISSAmathLab/navier-stokes-cylinder", name="geometry")

# Load snapshots
ds_data = load_dataset("SISSAmathLab/navier-stokes-cylinder", name="snapshots")

# Load parameters
ds_params = load_dataset("SISSAmathLab/navier-stokes-cylinder", name="parameters")

# Visualize velocity magnitude for first simulation
pts_x = np.asarray(ds_geom['default']['node_coordinates_x']).flatten()
pts_y = np.asarray(ds_geom['default']['node_coordinates_y']).flatten()
connectivity = ds_geom['default']['connectivity'][0]

vel_x = np.asarray(ds_data['default']['velocity_x'][0])
vel_y = np.asarray(ds_data['default']['velocity_y'][0])
velocity_magnitude = np.sqrt(vel_x**2 + vel_y**2)

triang = mtri.Triangulation(pts_x, pts_y, connectivity)
plt.tripcolor(triang, velocity_magnitude, cmap='viridis')
plt.colorbar(label='Velocity Magnitude')
plt.title('Navier-Stokes - Flow Around Cylinder')
plt.xlabel('x')
plt.ylabel('y')
plt.axis('equal')
plt.show()

Contact

For questions or issues, please contact SISSA mathLab.

Downloads last month
11