File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22import scipy .constants as const
33import logging
44
5+ """
6+ Naming convention (paper symbol <-> code)
7+ =========================================
8+ Core rule: <quantity>_<species> mirrors the paper symbol, e.g.
9+ c_T2 -> c_{T2} ndot_T2 -> \\ dot n_{T2} P_g/P_l -> P_g/P_l
10+
11+ Collections are named by the AXIS they vary along:
12+ _profile : varies in space z (1D array)
13+ _profiles : space x time (2D array, leading axis = time)
14+ _series : varies in time (1D array)
15+
16+ Fixed suffix vocabulary:
17+ Xdot : time derivative / rate (\\ dot X) -> ndot_T2, Vdot_g0
18+ X_ave : spatial/quantity average (\\ bar X) -> gen_T2_ave
19+ X_0 : tank bottom / gas inlet
20+ X_init : initial condition (t=0)
21+ """
22+
523molar_mass_T2 = 3.016 * 2 # g/mol T2
624specific_activity_tritium = 3.57e14 # Bq/g
725molT2_to_activity = molar_mass_T2 * specific_activity_tritium # Bq/mol T2
You can’t perform that action at this time.
0 commit comments