From cdfdf1623c2358a06ca6e424005f67cac86fcbcb Mon Sep 17 00:00:00 2001 From: Bob Myhill Date: Sun, 24 Mar 2024 20:42:57 +0000 Subject: [PATCH] added function for Cv to anisotropic material --- burnman/classes/anisotropicmineral.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/burnman/classes/anisotropicmineral.py b/burnman/classes/anisotropicmineral.py index 00ea07aa..a0a27ae4 100644 --- a/burnman/classes/anisotropicmineral.py +++ b/burnman/classes/anisotropicmineral.py @@ -652,6 +652,21 @@ def grueneisen_tensor(self): / self.molar_heat_capacity_p ) + @material_property + def molar_heat_capacity_v(self): + """ + :returns: The isochoric, hydrostatic heat capacity [J/K/mol]. + :rtype: float + """ + return ( + self.molar_heat_capacity_p + - self.molar_volume + * self.temperature + * self.thermal_expansivity + * self.thermal_expansivity + * self.isothermal_bulk_modulus_reuss + ) + @material_property def grueneisen_parameter(self): """