TARANG.lib.force.compute_force_scalar#
Functions#
|
Compute the scalar force for the vector and scalar fields. |
|
|
|
Compute the rotational force for the vector field. |
|
Compute the buoyancy force for the vector and scalar fields. |
|
Module Contents#
- TARANG.lib.force.compute_force_scalar.compute_force_scalar(para, U, T, univ)#
Compute the scalar force for the vector and scalar fields.
- Parameters:
U (VectorField) – VectorField object representing the velocity field.
T (ScalarField) – ScalarField object representing the scalar field.
univ (UniversalArrays) – UniversalArrays object for temporary storage.
- Return type:
None
- TARANG.lib.force.compute_force_scalar.compute_random_forcing(para, U, T, univ)#
- TARANG.lib.force.compute_force_scalar.compute_rotation(para, U)#
Compute the rotational force for the vector field.
- Parameters:
U (VectorField) – VectorField object representing the velocity field.
- Return type:
None
- TARANG.lib.force.compute_force_scalar.compute_buoyancy(para, U, T)#
Compute the buoyancy force for the vector and scalar fields.
- Parameters:
U (VectorField) – VectorField object representing the velocity field.
T (ScalarField) – ScalarField object representing the scalar field.
- Return type:
None
- TARANG.lib.force.compute_force_scalar.craya_to_cartesian(u1, Vkx, Vkz, k_mag, i, j)#