PyREC scaffolding (from YREC development, 7be4133)/ taukh_mod.fGlossary

taukh_mod.f

35 lines · 1 definitions · on GitHub (7be4133)

Python version: taukh_mod.py, 23 lines, on the right (switch to Python above the code).

Variables on this page (7)

fact6, fes1, fes2, fes3, fgsfj, fgsfk, json

Purpose

TAUKH_MOD holds factors at each interface of the rotating model that SETUPV computes once per step from the structure and VCIRC uses to compute the circulation velocities (the name, from "Kelvin–Helmholtz," is older than its content). Shared by 2 routines. It replaces COMMON/TAUKH/ (MHP via Claude, 10/14/26); JSON comes from DIMENSIONS_MOD.

What its variables hold, who sets them, who reads them. All are set by SETUPV at each interface (all but FACT6 to 0 first, at every shell); SETUPV's page gives the equations.

  • FACT6(JSON): the term of the Eddington–Sweet velocity in the derivative of $\Omega^2 r^2$ (VCIRC: VES $= |\mathtt{FACT1}\,(\mathtt{FACT2}\,\mathtt{RAT}\,\Omega^2 + \mathtt{FACT6}\,\mathrm{d}V)|$).
  • FES1, FES2, FES3 (JSON each): the Zahn-type terms of the circulation; read by SETUPV itself and by VCIRC.
  • FGSFK(JSON): the factor of the Goldreich–Schubert–Fricke velocity that VCIRC uses; FGSFJ(JSON): the factor of an earlier form, used only in VCIRC's commented-out lines.

Design

A blanket USE TAUKH_MOD in each routine.

Definitions

moduleTAUKH_MOD

lines 19–35 · GitHub

Uses modules DIMENSIONS_MOD

Used by (2 units)

SETUPV, VCIRC

Change log

The changes since rp_1

Changed since rp_1. New file: COMMON/TAUKH/ as a module.