
m = {"name": "UD-GRP mean values", "units": "MPa-mm-Mg", "type": "UD", "fiber": "E-glass",
     "Vf": 0.50, "rho": 1950E-12,
     "description": "E-glass/UPE for filament wound pipes",
     "E1": 38500, "E2": 8700, "v12": 0.28, "v23": 0.45, "G12": 3100,
     "a1": 8e-06, "a2": 25e-06,
     "XT": 1250, "YT": 45, "XC": 925, "YC": 142,
     "S12": 70, "S23": 45, "f12":-0.5}

mm = {"name": "UD-GRP characteristic values", "units": "MPa-mm-Mg", "type": "UD", "fiber": "E-glass",
     "Vf": 0.50, "rho": 1950E-12,
     "description": "E-glass/UPE for filament wound pipes",
     "E1": 38500, "E2": 8700, "v12": 0.28, "v23": 0.45, "G12": 3100,
     "a1": 8e-06, "a2": 25e-06,
     "XT": 980, "YT": 24, "XC": 760, "YC": 110,
     "S12": 55, "S23": 24, "f12":-0.5}

matrix = {"name": "unsaturated polyester","units": "MPa-mm-Mg",
          "Vfm": 0.50, "rhom": 1250E-12}

layup1 = [{'mat':m, 'ori': 15, 'thi':2.5},
          {'mat':m,  'ori':-15,  'thi':2.5}]

# Case specific constants
prod_cost = 55 #[nok/kg]
rock_cradle_cost = 20e3
wetland_cradle_cost = 100e3
avg_cradle_cost = 0.5 * (rock_cradle_cost + wetland_cradle_cost)
R_inner = 350 #mm, radius of tubes
max_pres = 3 #Mpa

#Physical constants
rhow = 1e-9 #density of water [Mg/mm^3]
g = 9800 #mm/s^2
