diff --git a/gpkitmodels/GP/materials/foam.py b/gpkitmodels/GP/materials/foam.py new file mode 100644 index 00000000..c5e050d5 --- /dev/null +++ b/gpkitmodels/GP/materials/foam.py @@ -0,0 +1,16 @@ +from gpkit import Model, parse_variables + +class Foam(Model): + """ Foam material properties + + Variables + --------- + rho 0.036 [g/cm^3] foam density + + LaTex Strings + ------------- + rho \\rho_{\\mathrm{foam}} + + """ + def setup(self): + exec parse_variables(Foam.__doc__)