datastructures.Fields#
- class datastructures.Fields(u: ndarray, v: ndarray, p: ndarray, x: ndarray, y: ndarray, grid_points: ndarray)[source]#
Bases:
objectBase spatial solution fields.
- Parameters:
- u
np.ndarray x-velocity component field.
- v
np.ndarray y-velocity component field.
- p
np.ndarray Pressure field.
- x
np.ndarray x-coordinates of grid points.
- y
np.ndarray y-coordinates of grid points.
- grid_points
np.ndarray Flattened array of grid point coordinates, shape (N, 2).
- u
Methods
__init__Attributes