Skip to content

Commit

Permalink
add foam material
Browse files Browse the repository at this point in the history
  • Loading branch information
mjburton committed Nov 30, 2017
1 parent a4e0466 commit 9203eb4
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions 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__)

0 comments on commit 9203eb4

Please sign in to comment.