TARANG.lib.fields.pressure#
Classes#
Class representing the pressure field for the TARANG solver. |
Module Contents#
- class TARANG.lib.fields.pressure.Pressure(para)#
Class representing the pressure field for the TARANG solver.
- p#
Array for the Fourier components of the pressure field.
- Type:
array-like
- para#
- p = []#
- set_arrays()#
Set the array for the pressure field based on the simulation parameters.
- compute_pressure_u(U)#
Compute the pressure field from the nonlinear terms of the velocity field.
- Parameters:
U (VectorField) – VectorField object representing the velocity field.
- Returns:
Array for the Fourier components of the pressure field.
- Return type:
array-like