tests.bubble.test_thermo_bag

Compare thermodynamic quantities of the bag model to the values in articles.

Classes

class tests.bubble.test_thermo_bag.ThermoBagTest

Bases: object

Compare thermodynamic quantities of the bag model to the values in articles.

ALPHA_NS: ndarray
KAPPA_REF: ndarray
KE_FRAC_REF: ndarray
V_WALLS: ndarray
test_kappa()
test_kappa_de()
test_kappa_dq()
test_ke_de_frac_bag()
test_ke_frac_bag()
test_ke_frac_new_bag()
class tests.bubble.test_thermo_bag.ThermoBagTestHindmarshHijazi(methodName='runTest')

Bases: ThermoBagTest, TestCase

ALPHA_NS: ndarray = array([0.578, 0.151, 0.091])
KAPPA_REF: ndarray = array([0.61 , 0.522, 0.264])
KE_FRAC_REF: ndarray = array([0.223 , 0.0684, 0.022 ])
OMEGA_REF = array([0.395, 0.491, 0.744])
V_WALLS: ndarray = array([0.5 , 0.7 , 0.77])
class tests.bubble.test_thermo_bag.ThermoBagTestLectureNotes(methodName='runTest')

Bases: ThermoBagTest, TestCase

ALPHA_NS: ndarray = array([0.1, 0.1, 0.1])
KAPPA_REF: ndarray = array([0.189, 0.452, 0.235])
KE_FRAC_REF: ndarray = array([0.0172, 0.0411, 0.0213])
OMEGA_REF = array([0.815, 0.559, 0.769])
UBARFS_REF = array([0.119, 0.184, 0.133])
V_WALLS: ndarray = array([0.4, 0.7, 0.8])
test_ubarf2()
test_ubarf2_new_bag()