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).
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(JSONeach): the Zahn-type terms of the circulation; read by SETUPV itself and byVCIRC.FGSFK(JSON): the factor of the Goldreich–Schubert–Fricke velocity thatVCIRCuses;FGSFJ(JSON): the factor of an earlier form, used only inVCIRC's commented-out lines.
Design
A blanket USE TAUKH_MOD in each routine.
Definitions
moduleTAUKH_MOD
Uses modules DIMENSIONS_MOD
Change log
The changes since rp_1
Changed since rp_1. New file: COMMON/TAUKH/ as a module.