TARANG.lib.solver_fns.compute_nlin_scalar#

Functions#

compute_prod_transform(para, U, T, univ)

Compute the product and transform for the scalar field.

compute_nlin_omega(para, U, univ)

Compute the nonlinear terms for the vorticity field.

compute_nlin_scalar(para, t, U, T, univ)

Compute the nonlinear terms for the scalar field.

compute_dt_hydro(para, U, univ)

Compute the time step for the hydrodynamic field.

Module Contents#

TARANG.lib.solver_fns.compute_nlin_scalar.compute_prod_transform(para, U, T, univ)#

Compute the product and transform for the scalar field.

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.solver_fns.compute_nlin_scalar.compute_nlin_omega(para, U, univ)#

Compute the nonlinear terms for the vorticity field.

Parameters:
  • U (VectorField) – VectorField object representing the velocity field.

  • univ (UniversalArrays) – UniversalArrays object for temporary storage.

Return type:

None

TARANG.lib.solver_fns.compute_nlin_scalar.compute_nlin_scalar(para, t, U, T, univ)#

Compute the nonlinear terms for the scalar field.

Parameters:
  • t (float) – Current time.

  • 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.solver_fns.compute_nlin_scalar.compute_dt_hydro(para, U, univ)#

Compute the time step for the hydrodynamic field.

Parameters:
  • U (VectorField) – VectorField object representing the velocity field.

  • univ (UniversalArrays) – UniversalArrays object for temporary storage.

Return type:

None