TARANG.lib.force.compute_force_mhd#

Functions#

compute_force_mhd(para, U, B, univ)

Compute the magnetohydrodynamic (MHD) force for the vector fields.

compute_carati_forcing(para, U, B)

compute_random_forcing(para, U, B, univ)

compute_random_forcing_old(para, U, B, univ)

compute_taylor_green_forcing(para, U)

Computes spectral forcing for Taylor-Green Dynamo (MHD).

craya_to_cartesian(u1, Vkx, Vkz, k_mag, i, j)

Module Contents#

TARANG.lib.force.compute_force_mhd.compute_force_mhd(para, U, B, univ)#

Compute the magnetohydrodynamic (MHD) force for the vector fields.

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

  • B (VectorField) – VectorField object representing the magnetic field.

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

Return type:

None

TARANG.lib.force.compute_force_mhd.compute_carati_forcing(para, U, B)#
TARANG.lib.force.compute_force_mhd.compute_random_forcing(para, U, B, univ)#
TARANG.lib.force.compute_force_mhd.compute_random_forcing_old(para, U, B, univ)#
TARANG.lib.force.compute_force_mhd.compute_taylor_green_forcing(para, U)#

Computes spectral forcing for Taylor-Green Dynamo (MHD).

TARANG.lib.force.compute_force_mhd.craya_to_cartesian(u1, Vkx, Vkz, k_mag, i, j)#