# 
# ACP Database File
# 
# (c) 2005 - 2016 by
# ANSYS Switzerland GmbH
# 
# Product: ANSYS Composite PrepPost
# Version: 18.0
# Revision: 25045
# Written: 2016-09-14 16:57:45
# 
db.file_revision=25045
db.import_model(name='class40.1', path='class40.cdb', format='ansys:cdb', reduced_integration=True, ignored_entities=['materials'], post_processing_model=False, unit_system_type='mks', reference_surface_input_unit_system_type='mks')
m_=db.models['class40.1'].material_data.create_material(name='Corecell_A450',ply_type='orthotropic_homogeneous_core',E1=60000000.0,E2=60000000.0,E3=60000000.0,G12=23076923.0769,G23=23076923.0769,G31=23076923.0769,nu12=0.3,nu13=0.3,nu23=0.3)
m_.create_property_set('density', rho=81.0)
m_.create_property_set('puck_constants')
m_['puck_constants'].set(M=0.5,interface_weakening_factor=0.8,p_21_neg=0.3,p_21_pos=0.35,p_22_neg=0.25,p_22_pos=0.25,s=0.5)
m_['puck_constants'].set(mat_type='ignored')
m_.create_property_set('stress_limits')
m_['stress_limits'].set(Sxy=0.0,Sxz=800000.0,Syz=800000.0,Xc=0.0,Xt=0.0,Yc=0.0,Yt=0.0,Zc=0.0,Zt=1100000.0,effective_stress=0.0)
m_.create_property_set('thermal_expansion_coefficients')
m_['thermal_expansion_coefficients'].set(aX=0.0,aY=0.0,aZ=0.0,reference_temperature=0.0)
m_=db.models['class40.1'].material_data.create_material(name='E-Glas',ply_type='regular',E1=52000000000.0,E2=14000000000.0,E3=14000000000.0,G12=4700000000.0,G23=3500000000.0,G31=3500000000.0,nu12=0.28,nu13=0.28,nu23=0.3)
m_.create_property_set('density', rho=2000.0)
m_.create_property_set('puck_constants')
m_['puck_constants'].set(M=0.5,interface_weakening_factor=0.8,p_21_neg=0.25,p_21_pos=0.3,p_22_neg=0.2,p_22_pos=0.2,s=0.5)
m_['puck_constants'].set(mat_type='glass')
m_.create_property_set('strain_limits')
m_['strain_limits'].set(eSxy=0.015,eSxz=0.0,eSyz=0.0,eXc=-0.015,eXt=0.0244,eYc=-0.0125,eYt=0.0038,eZc=0.0,eZt=0.0,effective_strain=0.0)
m_.create_property_set('stress_limits')
m_['stress_limits'].set(Sxy=60000000.0,Sxz=60000000.0,Syz=10000000.0,Xc=-480000000.0,Xt=780000000.0,Yc=-100000000.0,Yt=31000000.0,Zc=-100000000.0,Zt=31000000.0,effective_stress=0.0)
m_.create_property_set('thermal_expansion_coefficients')
m_['thermal_expansion_coefficients'].set(aX=0.0,aY=0.0,aZ=0.0,reference_temperature=0.0)
m_.create_property_set('tsai_wu_constants')
m_['tsai_wu_constants'].set(XY=-1.0,XZ=-1.0,YZ=-1.0)
m_=db.models['class40.1'].material_data.create_material(name='Corecell_A550',ply_type='orthotropic_homogeneous_core',E1=85000000.0,E2=85000000.0,E3=85000000.0,G12=32692307.6923,G23=32692307.6923,G31=32692307.6923,nu12=0.3,nu13=0.3,nu23=0.3)
m_.create_property_set('density', rho=103.0)
m_.create_property_set('puck_constants')
m_['puck_constants'].set(M=0.5,interface_weakening_factor=0.8,p_21_neg=0.3,p_21_pos=0.35,p_22_neg=0.25,p_22_pos=0.25,s=0.5)
m_['puck_constants'].set(mat_type='ignored')
m_.create_property_set('stress_limits')
m_['stress_limits'].set(Sxy=0.0,Sxz=1100000.0,Syz=1100000.0,Xc=0.0,Xt=0.0,Yc=0.0,Yt=0.0,Zc=0.0,Zt=1600000.0,effective_stress=0.0)
m_.create_property_set('thermal_expansion_coefficients')
m_['thermal_expansion_coefficients'].set(aX=0.0,aY=0.0,aZ=0.0,reference_temperature=0.0)
m_=db.models['class40.1'].material_data.create_material(name='Resin',ply_type='isotropic',E1=3500000000.0,E2=3500000000.0,E3=3500000000.0,G12=1315789473.68,G23=1315789473.68,G31=1315789473.68,nu12=0.33,nu13=0.33,nu23=0.33)
m_.create_property_set('density', rho=1100.0)
db.models['class40.1'].material_data.create_fabric(name='Corecell_A450_20mm', material=db.models['class40.1'].material_data.materials.get('Corecell_A450'), thickness=0.02, area_price=12.0, draping0=1.0, draping1=0.0, draping2=0.0, ignore_for_postprocessing=False, drop_off_material_handling='Global', cut_off_material_handling='Computed', cut_off_material=db.models['class40.1'].material_data.materials.get('Corecell_A450') )
db.models['class40.1'].material_data.fabrics['Corecell_A450_20mm'].graph_plot.query={}
db.models['class40.1'].material_data.fabrics['Corecell_A450_20mm'].graph_plot.core_scale_factor=1.0
db.models['class40.1'].material_data.create_fabric(name='E-Glas', material=db.models['class40.1'].material_data.materials.get('E-Glas'), thickness=0.00027, area_price=0.0, draping0=1.0, draping1=0.0, draping2=0.0, ignore_for_postprocessing=False, drop_off_material_handling='Global', cut_off_material_handling='Computed', cut_off_material=db.models['class40.1'].material_data.materials.get('E-Glas') )
db.models['class40.1'].material_data.fabrics['E-Glas'].graph_plot.query={}
db.models['class40.1'].material_data.fabrics['E-Glas'].graph_plot.core_scale_factor=1.0
db.models['class40.1'].material_data.create_fabric(name='Corecell_A550_25mm', material=db.models['class40.1'].material_data.materials.get('Corecell_A550'), thickness=0.025, area_price=0.0, draping0=1.0, draping1=0.0, draping2=0.0, ignore_for_postprocessing=False, drop_off_material_handling='Global', cut_off_material_handling='Computed', cut_off_material=db.models['class40.1'].material_data.materials.get('Corecell_A550') )
db.models['class40.1'].material_data.fabrics['Corecell_A550_25mm'].graph_plot.query={}
db.models['class40.1'].material_data.fabrics['Corecell_A550_25mm'].graph_plot.core_scale_factor=1.0
db.models['class40.1'].material_data.create_fabric(name='E-Glass_800g', material=db.models['class40.1'].material_data.materials.get('E-Glas'), thickness=0.002, area_price=0.0, draping0=1.0, draping1=0.0, draping2=0.0, ignore_for_postprocessing=False, drop_off_material_handling='Global', cut_off_material_handling='Computed', cut_off_material=db.models['class40.1'].material_data.materials.get('E-Glas') )
db.models['class40.1'].material_data.fabrics['E-Glass_800g'].graph_plot.query={}
db.models['class40.1'].material_data.fabrics['E-Glass_800g'].graph_plot.core_scale_factor=1.0
db.models['class40.1'].material_data.create_stackup(name='Triax', fabrics=[(db.models['class40.1'].material_data.fabrics.get('E-Glas'), 45.0), (db.models['class40.1'].material_data.fabrics.get('E-Glas'), -45.0), (db.models['class40.1'].material_data.fabrics.get('E-Glas'), 0.0)], area_price=0.0, symmetry='No Symmetry', layup_sequence='Top-Down', draping0=1.0, draping1=0.0, draping2=0.0,drop_off_material_handling='Global', cut_off_material_handling='Computed', cut_off_material=db.models['class40.1'].material_data.materials.get('E-Glas'))
db.models['class40.1'].material_data.stackups['Triax'].graph_plot.query={}
db.models['class40.1'].material_data.stackups['Triax'].graph_plot.core_scale_factor=1.0
db.models['class40.1'].material_data.create_sub_laminate(name='Hull_Skin', symmetry='No Symmetry', layup_sequence='Top-Down', fabrics=[(db.models['class40.1'].material_data.fabrics.get('E-Glas'), 0.0), (db.models['class40.1'].material_data.stackups.get('Triax'), 90.0), (db.models['class40.1'].material_data.fabrics.get('E-Glas'), 0.0), (db.models['class40.1'].material_data.stackups.get('Triax'), 90.0), (db.models['class40.1'].material_data.fabrics.get('E-Glas'), 0.0)])
db.models['class40.1'].material_data.sub_laminates['Hull_Skin'].graph_plot.query={}
db.models['class40.1'].material_data.sub_laminates['Hull_Skin'].graph_plot.core_scale_factor=1.0
db.models['class40.1'].material_data.create_sub_laminate(name='Bulkhead', symmetry='No Symmetry', layup_sequence='Top-Down', fabrics=[(db.models['class40.1'].material_data.fabrics.get('E-Glas'), 0.0), (db.models['class40.1'].material_data.stackups.get('Triax'), 90.0), (db.models['class40.1'].material_data.fabrics.get('E-Glas'), 0.0), (db.models['class40.1'].material_data.stackups.get('Triax'), 90.0), (db.models['class40.1'].material_data.fabrics.get('Corecell_A450_20mm'), 0.0), (db.models['class40.1'].material_data.stackups.get('Triax'), 90.0), (db.models['class40.1'].material_data.fabrics.get('E-Glas'), 0.0), (db.models['class40.1'].material_data.stackups.get('Triax'), 90.0), (db.models['class40.1'].material_data.fabrics.get('E-Glas'), 0.0)])
db.models['class40.1'].material_data.sub_laminates['Bulkhead'].graph_plot.query={}
db.models['class40.1'].material_data.sub_laminates['Bulkhead'].graph_plot.core_scale_factor=1.0
db.models['class40.1'].material_data.create_sub_laminate(name='Deck', symmetry='No Symmetry', layup_sequence='Top-Down', fabrics=[(db.models['class40.1'].material_data.fabrics.get('E-Glas'), 0.0), (db.models['class40.1'].material_data.stackups.get('Triax'), 90.0), (db.models['class40.1'].material_data.fabrics.get('E-Glas'), 0.0), (db.models['class40.1'].material_data.stackups.get('Triax'), 90.0), (db.models['class40.1'].material_data.fabrics.get('Corecell_A450_20mm'), 0.0), (db.models['class40.1'].material_data.stackups.get('Triax'), 90.0), (db.models['class40.1'].material_data.fabrics.get('E-Glas'), 0.0), (db.models['class40.1'].material_data.stackups.get('Triax'), 90.0), (db.models['class40.1'].material_data.fabrics.get('E-Glas'), 0.0)])
db.models['class40.1'].material_data.sub_laminates['Deck'].graph_plot.query={}
db.models['class40.1'].material_data.sub_laminates['Deck'].graph_plot.core_scale_factor=1.0
db.models['class40.1'].material_data.create_sub_laminate(name='Keeltower', symmetry='No Symmetry', layup_sequence='Top-Down', fabrics=[(db.models['class40.1'].material_data.fabrics.get('E-Glas'), 0.0), (db.models['class40.1'].material_data.fabrics.get('E-Glas'), 0.0), (db.models['class40.1'].material_data.stackups.get('Triax'), 90.0), (db.models['class40.1'].material_data.fabrics.get('E-Glas'), 0.0), (db.models['class40.1'].material_data.stackups.get('Triax'), 90.0), (db.models['class40.1'].material_data.fabrics.get('Corecell_A550_25mm'), 0.0), (db.models['class40.1'].material_data.stackups.get('Triax'), 90.0), (db.models['class40.1'].material_data.fabrics.get('E-Glas'), 0.0), (db.models['class40.1'].material_data.stackups.get('Triax'), 90.0), (db.models['class40.1'].material_data.fabrics.get('E-Glas'), 0.0), (db.models['class40.1'].material_data.fabrics.get('E-Glas'), 0.0)])
db.models['class40.1'].material_data.sub_laminates['Keeltower'].graph_plot.query={}
db.models['class40.1'].material_data.sub_laminates['Keeltower'].graph_plot.core_scale_factor=1.0
db.models['class40.1'].create_element_set(name='All_Elements', op='add', middle_offset=False)
db.models['class40.1'].create_element_set(name='BULKHEAD_ALL', op='add', middle_offset=False)
db.models['class40.1'].create_element_set(name='BULKHEAD_BAND', op='add', middle_offset=False)
db.models['class40.1'].create_element_set(name='BULKHEAD_LAYUP_1', op='add', middle_offset=False)
db.models['class40.1'].create_element_set(name='DECK', op='add', middle_offset=False)
db.models['class40.1'].create_element_set(name='DECK_ALL', op='add', middle_offset=False)
db.models['class40.1'].create_element_set(name='DECK_LAYUP_1', op='add', middle_offset=False)
db.models['class40.1'].create_element_set(name='HULL_ABWL', op='add', middle_offset=False)
db.models['class40.1'].create_element_set(name='HULL_ALL', op='add', middle_offset=False)
db.models['class40.1'].create_element_set(name='HULL_BELWL', op='add', middle_offset=False)
db.models['class40.1'].create_element_set(name='HULL_BOTTOM', op='add', middle_offset=False)
db.models['class40.1'].create_element_set(name='HULL_KEEL', op='add', middle_offset=False)
db.models['class40.1'].create_element_set(name='HULL_LAYUP_1', op='add', middle_offset=False)
db.models['class40.1'].create_element_set(name='HULL_LAYUP_2', op='add', middle_offset=False)
db.models['class40.1'].create_element_set(name='HULL_PORT', op='add', middle_offset=False)
db.models['class40.1'].create_element_set(name='HULL_STB', op='add', middle_offset=False)
db.models['class40.1'].create_element_set(name='KEELTOWER_AFT', op='add', middle_offset=False)
db.models['class40.1'].create_element_set(name='KEELTOWER_AFT_ALL', op='add', middle_offset=False)
db.models['class40.1'].create_element_set(name='KEELTOWER_AFT_LAYUP_1', op='add', middle_offset=False)
db.models['class40.1'].create_element_set(name='KEELTOWER_FRONT', op='add', middle_offset=False)
db.models['class40.1'].create_element_set(name='KEELTOWER_FRONT_ALL', op='add', middle_offset=False)
db.models['class40.1'].create_element_set(name='KEELTOWER_FRONT_LAYUP_1', op='add', middle_offset=False)
db.models['class40.1'].create_element_set(name='KEELTOWER_PORT', op='add', middle_offset=False)
db.models['class40.1'].create_element_set(name='KEELTOWER_PORT_ALL', op='add', middle_offset=False)
db.models['class40.1'].create_element_set(name='KEELTOWER_PORT_LAYUP_1', op='add', middle_offset=False)
db.models['class40.1'].create_element_set(name='KEELTOWER_STB', op='add', middle_offset=False)
db.models['class40.1'].create_element_set(name='KEELTOWER_STB_ALL', op='add', middle_offset=False)
db.models['class40.1'].create_element_set(name='KEELTOWER_STB_LAYUP_1', op='add', middle_offset=False)
db.models['class40.1'].create_element_set(name='LOWER_BULKHEAD', op='add', middle_offset=False)
db.models['class40.1'].create_element_set(name='BULKHEAD', op='add', middle_offset=False)
db.models['class40.1'].create_element_set(name='NSET_24', op='add', middle_offset=False)
db.models['class40.1'].create_element_set(name='ElementSet.1', op='add', middle_offset=False, element_labels=[2168, 2169, 2170, 2171, 2172, 2173, 2174, 2175, 2176, 2177, 2178, 2179, 2180, 2181, 2182, 2183, 2184, 2197, 2198, 2199, 2200, 2201, 2202, 2203, 2204, 2205, 2206, 2207, 2208, 2209, 2218, 2219, 2220, 2221, 2222, 2223, 2224, 2225, 2226, 2231, 2232, 2233, 2239, 2240, 2241, 2242, 2243, 2244, 2245, 2246, 2247, 2248, 2249, 2250, 2251, 2252, 2253, 2254, 2255, 2270, 2271, 2272, 2273, 2274, 2275, 2276, 2277, 2278, 2279, 2280, 2281, 2282, 2293, 2294, 2295, 2296, 2297, 2298, 2299, 2300, 2307, 2308, 2309, 2310, 3400, 3504, 3505, 3508, 3511, 3512, 3513, 3514, 3515, 3516, 3517, 3518, 3519, 3520, 3521, 3522, 3523, 3524, 3561, 3569, 3573, 3577, 3578, 3580, 3581, 3582, 3583, 3584, 3585, 3586, 3587, 3619, 3620, 3630, 3632, 3633, 3635, 3636, 3637, 3638, 3670, 3675, 3679, 3680, 3681, 3690, 3692, 3693, 3694, 3697, 3698, 3699, 3700, 3701, 3702, 3703, 3704, 3705, 3706, 3711, 3712, 3713, 3715, 3728, 3729, 3731, 3732, 3740, 3743, 3759, 3760, 3762, 3770, 3772, 3773])
db.models['class40.1'].create_edge_set(name='EdgeSet.1', edge_set_type='By Reference', origin=(-7.6897, -0.3542, 1.7312), element_set=db.models['class40.1'].element_sets.get('DECK_ALL'), limit_angle=20.0)
db.models['class40.1'].create_edge_set(name='EdgeSet.2', edge_set_type='By Reference', origin=(-4.5648, 0.0, -0.1912), element_set=db.models['class40.1'].element_sets.get('HULL_BELWL'), limit_angle=30.0)
db.models['class40.1'].geometry.create_cad_geometry(name='CADGeometry.1', path=u'Class40_volume_core.stp', scale_factor=1.0, use_default_precision=True, precision=1e-10, use_default_offset=True, offset=0.0, locked=False, visible_sub_shapes=None, color=(0.0, 0.5019607843137255, 0.0), opacity=0.75, internal_path='Class40_volume_core.stp')
db.models['class40.1'].geometry.create_virtual_geometry(name='CADGeometry.1')
db.models['class40.1'].geometry.virtual_geometries['CADGeometry.1'].create_cad_reference(name='CADGeometry.1', path='CADGeometry.1', size=0.618327213512, cog=(-6.228013134981066, -4.479497412950534e-10, -0.162680309851055), dimension=3, bounding_box_min=(-7.842958718226962, -1.9588666379869608, -0.26431816056696084), bounding_box_max=(-4.510476533773865, 1.9588666379869608, 0.33852967747981555))
db.models['class40.1'].create_rosette(name='Rosette.1', origin=(-6.6834, 0.01, -0.2564), dir1=(1.0, 0.0, 0.0), dir2=(0.0, 1.0, 0.0), rosette_type='parallel', edge_set=None)
db.models['class40.1'].create_rosette(name='Rosette.2', origin=(-5.622, -0.1511, -0.003), dir1=(0.0, -1.0, 0.0), dir2=(0.0, 0.0, 1.0), rosette_type='parallel', edge_set=None)
db.models['class40.1'].create_rosette(name='Rosette.3', origin=(-6.9978, 0.0109, 1.7328), dir1=(1.0, 0.0, 0.0), dir2=(0.0, 1.0, 0.0), rosette_type='parallel', edge_set=None)
db.models['class40.1'].create_rosette(name='Rosette.4', origin=(-5.8667, -1.8842, 1.0603), dir1=(1.0, 0.2, 0.0), dir2=(0.0, 1.0, 0.0), rosette_type='parallel', edge_set=None)
db.models['class40.1'].create_rosette(name='Rosette.5', origin=(-5.8715, 1.8647, 1.0809), dir1=(1.0, -0.2, 0.0), dir2=(0.0, 1.0, 0.0), rosette_type='parallel', edge_set=None)
db.models['class40.1'].create_rosette(name='Rosette.6', origin=(-6.6511, 0.0168, 0.2891), dir1=(0.0, 0.0, 1.0), dir2=(0.0, 1.0, 0.0), rosette_type='parallel', edge_set=None)
db.models['class40.1'].create_rosette(name='Rosette.7', origin=(-5.5715, -1.7977, 0.4705), dir1=(0.0, -0.0239, 0.0941), dir2=(0.9871341011515941, 0.15497409163937756, 0.039361113604475285), rosette_type='parallel', edge_set=None)
db.models['class40.1'].create_rosette(name='Rosette.8', origin=(-5.5708, 1.7974, 0.4701), dir1=(-0.001, -0.0245, -0.0942), dir2=(0.9870672541116463, -0.15738708056843267, 0.030455586197610972), rosette_type='parallel', edge_set=None)
db.models['class40.1'].create_rosette(name='Rosette.9', origin=(0.0, 0.0, 0.0), dir1=(1.0, 0.0, 0.0), dir2=(0.0, 1.0, 0.0), rosette_type='parallel', edge_set=None)
db.models['class40.1'].create_rosette(name='Rosette.10', origin=(-5.572, 1.3517, -0.1466), dir1=(0.0002, -0.0952, -0.0307), dir2=(0.9977626087535827, -0.018611410929909117, 0.06421364307094672), rosette_type='parallel', edge_set=None)
db.models['class40.1'].create_rosette(name='Rosette.11', origin=(-5.572, -1.4413, -0.1015), dir1=(-0.0004, -0.0806, 0.0586), dir2=(0.9958455168325812, 0.05026259289386517, 0.0759300886344465), rosette_type='parallel', edge_set=None)
db.models['class40.1'].create_rosette(name='Rosette.12', origin=(-5.6724, 1.6653, 0.102), dir1=(0.0001, -0.0622, -0.0807), dir2=(0.9912020899798961, -0.1042354301530648, 0.08156832669787634), rosette_type='parallel', edge_set=None)
db.models['class40.1'].create_rosette(name='Rosette.13', origin=(-5.6724, -1.6654, 0.1023), dir1=(-0.0002, -0.0512, 0.0875), dir2=(0.9916177784031729, 0.11051669406207468, 0.0669346090475298), rosette_type='parallel', edge_set=None)
db.models['class40.1'].create_rosette(name='Rosette.14', origin=(-5.5718, 0.0517, -0.2582), dir1=(-0.0, -0.1008, 0.0001), dir2=(0.9998814155423961, 1.527760447261547e-05, 0.01539982530839639), rosette_type='parallel', edge_set=None)
db.models['class40.1'].create_parallel_selection_rule(name='ParallelRule.1', origin=(-5.2577, -1.7901, 0.6639), direction=(1.0, 0.0, 0.0), pos_distance=1.0, neg_distance=0.0, relative_rule_type=False, include_rule_type=True )
db.models['class40.1'].create_spherical_selection_rule(name='SphericalRule.1', origin=(-5.4799, -0.0008, 1.6558), radius=1.0, relative_rule_type=False, include_rule_type=True )
db.models['class40.1'].create_cylindrical_selection_rule(name='CylindricalRule.1', origin=(-4.6587, -1.6608, 1.1119), direction=(0.0, 0.0224, -0.0987), radius=1.0, relative_rule_type=False, include_rule_type=True )
db.models['class40.1'].create_tube_selection_rule(name='TubeRule.1', outer_radius=1.0, inner_radius=0.5, include_rule_type=True, edge_set=db.models['class40.1'].edge_sets.get('EdgeSet.2'))
db.models['class40.1'].create_oriented_selection_set(name='hull_all', orientation_point=(-7.5029, 0.0067, -0.2368), orientation_direction=(0.0, 0.0, 1.0), rosette_selection_method='minimum_angle', element_sets=[db.models['class40.1'].element_sets.get('HULL_ABWL'),db.models['class40.1'].element_sets.get('HULL_BELWL')], rosettes=[db.models['class40.1'].rosettes.get('Rosette.1')], selection_rules=[], draping=False, draping_direction=(0.0, 0.0, 1.0), draping_seed_point=(0.0, 0.0, 0.0), auto_draping_direction=True, draping_mesh_size=-1.0, draping_material=None, reference_direction_field=None)
db.models['class40.1'].create_oriented_selection_set(name='hull_bwl', orientation_point=(-7.5029, 0.0067, -0.2368), orientation_direction=(0.0, 0.0, 1.0), rosette_selection_method='minimum_angle', element_sets=[db.models['class40.1'].element_sets.get('HULL_BELWL')], rosettes=[db.models['class40.1'].rosettes.get('Rosette.1')], selection_rules=[], draping=False, draping_direction=(0.0, 0.0, 1.0), draping_seed_point=(0.0, 0.0, 0.0), auto_draping_direction=True, draping_mesh_size=-1.0, draping_material=None, reference_direction_field=None)
db.models['class40.1'].create_oriented_selection_set(name='hull_awl', orientation_point=(-7.5029, 0.0067, -0.2368), orientation_direction=(0.0, 0.0, 1.0), rosette_selection_method='minimum_angle', element_sets=[db.models['class40.1'].element_sets.get('HULL_ABWL')], rosettes=[db.models['class40.1'].rosettes.get('Rosette.1')], selection_rules=[], draping=False, draping_direction=(0.0, 0.0, 1.0), draping_seed_point=(0.0, 0.0, 0.0), auto_draping_direction=True, draping_mesh_size=-1.0, draping_material=None, reference_direction_field=None)
db.models['class40.1'].create_oriented_selection_set(name='bulkhead', orientation_point=(-5.622, -0.1665, -0.0095), orientation_direction=(1.0, 0.0, 0.0), rosette_selection_method='minimum_angle', element_sets=[db.models['class40.1'].element_sets.get('BULKHEAD_ALL')], rosettes=[db.models['class40.1'].rosettes.get('Rosette.2')], selection_rules=[], draping=False, draping_direction=(0.0, 0.0, 1.0), draping_seed_point=(0.0, 0.0, 0.0), auto_draping_direction=True, draping_mesh_size=-1.0, draping_material=None, reference_direction_field=None)
db.models['class40.1'].create_oriented_selection_set(name='deck', orientation_point=(-6.9978, 0.0109, 1.7328), orientation_direction=(0.0, 0.0, -1.0), rosette_selection_method='minimum_distance_superposed', element_sets=[db.models['class40.1'].element_sets.get('DECK')], rosettes=[db.models['class40.1'].rosettes.get('Rosette.3'),db.models['class40.1'].rosettes.get('Rosette.4'),db.models['class40.1'].rosettes.get('Rosette.5')], selection_rules=[], draping=False, draping_direction=(0.0, 0.0, 1.0), draping_seed_point=(0.0, 0.0, 0.0), auto_draping_direction=True, draping_mesh_size=-1.0, draping_material=None, reference_direction_field=None)
db.models['class40.1'].create_oriented_selection_set(name='keeltower', orientation_point=(-6.6524, 0.003, 0.3098), orientation_direction=(-1.0, 0.0, 0.0), rosette_selection_method='minimum_angle', element_sets=[db.models['class40.1'].element_sets.get('KEELTOWER_AFT'),db.models['class40.1'].element_sets.get('KEELTOWER_FRONT'),db.models['class40.1'].element_sets.get('KEELTOWER_PORT'),db.models['class40.1'].element_sets.get('KEELTOWER_STB')], rosettes=[db.models['class40.1'].rosettes.get('Rosette.6')], selection_rules=[], draping=False, draping_direction=(0.0, 0.0, 1.0), draping_seed_point=(0.0, 0.0, 0.0), auto_draping_direction=True, draping_mesh_size=-1.0, draping_material=None, reference_direction_field=None)
db.models['class40.1'].create_oriented_selection_set(name='bulkhead_band', orientation_point=(-5.5718, -0.0492, -0.2582), orientation_direction=(0.0, 0.0, 1.0), rosette_selection_method='minimum_angle', element_sets=[db.models['class40.1'].element_sets.get('BULKHEAD_BAND')], rosettes=[db.models['class40.1'].rosettes.get('Rosette.7'),db.models['class40.1'].rosettes.get('Rosette.8'),db.models['class40.1'].rosettes.get('Rosette.10'),db.models['class40.1'].rosettes.get('Rosette.11'),db.models['class40.1'].rosettes.get('Rosette.12'),db.models['class40.1'].rosettes.get('Rosette.13'),db.models['class40.1'].rosettes.get('Rosette.14')], selection_rules=[], draping=False, draping_direction=(0.0, 0.0, 1.0), draping_seed_point=(0.0, 0.0, 0.0), auto_draping_direction=True, draping_mesh_size=-1.0, draping_material=None, reference_direction_field=None)
db.models['class40.1'].create_oriented_selection_set(name='hull_bwl_wo_keel_box', orientation_point=(-4.7642, -0.4052, -0.2335), orientation_direction=(-0.0343, 0.0315, 0.9989), rosette_selection_method='minimum_angle', element_sets=[db.models['class40.1'].element_sets.get('HULL_BOTTOM')], rosettes=[db.models['class40.1'].rosettes.get('Rosette.1')], selection_rules=[], draping=False, draping_direction=(0.0, 0.0, 1.0), draping_seed_point=(0.0, 0.0, 0.0), auto_draping_direction=True, draping_mesh_size=-1.0, draping_material=None, reference_direction_field=None)
db.models['class40.1'].create_modeling_group(name='hull')
db.models['class40.1'].modeling_groups['hull'].create_modeling_ply(name='outer_skin_1', ply_angle=0.0, number_of_layers=1, draping='internal_draping', draping_seed_point=(-4.7643, -0.0, -0.2401), auto_draping_direction=True, draping_thickness_correction=True, draping_direction=(1.0, 0.0, 0.0), draping_mesh_size=0.0995532485526, thickness_definition='nominal', global_ply_nr=1, ply_material=db.models['class40.1'].material_data.fabrics.get('E-Glas'), active=True, oriented_selection_sets=[db.models['class40.1'].oriented_selection_sets.get('hull_all')], selection_rules=[(db.models['class40.1'].selection_rules.get('ParallelRule.1'),False,(0.0, 0.0))])
db.models['class40.1'].modeling_groups['hull'].create_modeling_ply(name='outer_skin_3', ply_angle=-45.0, number_of_layers=1, draping='no_draping', draping_seed_point=(0.0, 0.0, 0.0), auto_draping_direction=True, draping_thickness_correction=True, draping_direction=(1.0, 0.0, 0.0), draping_mesh_size=0.0995532485526, thickness_definition='nominal', global_ply_nr=3, ply_material=db.models['class40.1'].material_data.fabrics.get('E-Glas'), active=True, oriented_selection_sets=[db.models['class40.1'].oriented_selection_sets.get('hull_all')])
db.models['class40.1'].modeling_groups['hull'].create_modeling_ply(name='outer_skin_4', ply_angle=45.0, number_of_layers=1, draping='no_draping', draping_seed_point=(0.0, 0.0, 0.0), auto_draping_direction=True, draping_thickness_correction=True, draping_direction=(1.0, 0.0, 0.0), draping_mesh_size=0.0995532485526, thickness_definition='nominal', global_ply_nr=4, ply_material=db.models['class40.1'].material_data.fabrics.get('E-Glas'), active=True, oriented_selection_sets=[db.models['class40.1'].oriented_selection_sets.get('hull_all')])
db.models['class40.1'].modeling_groups['hull'].create_modeling_ply(name='outer_skin_5', ply_angle=0.0, number_of_layers=1, draping='no_draping', draping_seed_point=(0.0, 0.0, 0.0), auto_draping_direction=True, draping_thickness_correction=True, draping_direction=(1.0, 0.0, 0.0), draping_mesh_size=0.0995532485526, thickness_definition='nominal', global_ply_nr=5, ply_material=db.models['class40.1'].material_data.fabrics.get('E-Glas'), active=True, oriented_selection_sets=[db.models['class40.1'].oriented_selection_sets.get('hull_all')])
db.models['class40.1'].modeling_groups['hull'].create_modeling_ply(name='outer_skin_6', ply_angle=90.0, number_of_layers=1, draping='no_draping', draping_seed_point=(0.0, 0.0, 0.0), auto_draping_direction=True, draping_thickness_correction=True, draping_direction=(1.0, 0.0, 0.0), draping_mesh_size=0.0995532485526, thickness_definition='nominal', global_ply_nr=6, ply_material=db.models['class40.1'].material_data.fabrics.get('E-Glas'), active=True, oriented_selection_sets=[db.models['class40.1'].oriented_selection_sets.get('hull_all')])
db.models['class40.1'].modeling_groups['hull'].create_modeling_ply(name='outer_skin_7', ply_angle=45.0, number_of_layers=1, draping='no_draping', draping_seed_point=(0.0, 0.0, 0.0), auto_draping_direction=True, draping_thickness_correction=True, draping_direction=(1.0, 0.0, 0.0), draping_mesh_size=0.0995532485526, thickness_definition='nominal', global_ply_nr=7, ply_material=db.models['class40.1'].material_data.fabrics.get('E-Glas'), active=True, oriented_selection_sets=[db.models['class40.1'].oriented_selection_sets.get('hull_all')])
db.models['class40.1'].modeling_groups['hull'].create_modeling_ply(name='outer_skin_8', ply_angle=-45.0, number_of_layers=1, draping='no_draping', draping_seed_point=(0.0, 0.0, 0.0), auto_draping_direction=True, draping_thickness_correction=True, draping_direction=(1.0, 0.0, 0.0), draping_mesh_size=0.0995532485526, thickness_definition='nominal', global_ply_nr=8, ply_material=db.models['class40.1'].material_data.fabrics.get('E-Glas'), active=True, oriented_selection_sets=[db.models['class40.1'].oriented_selection_sets.get('hull_all')])
db.models['class40.1'].modeling_groups['hull'].create_modeling_ply(name='outer_skin_9', ply_angle=0.0, number_of_layers=1, draping='no_draping', draping_seed_point=(0.0, 0.0, 0.0), auto_draping_direction=True, draping_thickness_correction=True, draping_direction=(1.0, 0.0, 0.0), draping_mesh_size=0.0995532485526, thickness_definition='nominal', global_ply_nr=9, ply_material=db.models['class40.1'].material_data.fabrics.get('E-Glas'), active=True, oriented_selection_sets=[db.models['class40.1'].oriented_selection_sets.get('hull_all')])
db.models['class40.1'].modeling_groups['hull'].create_modeling_ply(name='core_bwl', ply_angle=0.0, number_of_layers=1, draping='no_draping', draping_seed_point=(0.0, 0.0, 0.0), auto_draping_direction=True, draping_thickness_correction=True, draping_direction=(1.0, 0.0, 0.0), draping_mesh_size=0.0995532485526, thickness_definition='from_geometry', global_ply_nr=10, ply_material=db.models['class40.1'].material_data.fabrics.get('Corecell_A550_25mm'), active=True, oriented_selection_sets=[db.models['class40.1'].oriented_selection_sets.get('hull_bwl')], core_geometry=db.models['class40.1'].geometry.virtual_geometries.get('CADGeometry.1'), taper_edges=[(db.models['class40.1'].edge_sets.get('EdgeSet.2'),15.0,0.0)])
db.models['class40.1'].modeling_groups['hull'].create_modeling_ply(name='core_awl', ply_angle=0.0, number_of_layers=1, draping='no_draping', draping_seed_point=(0.0, 0.0, 0.0), auto_draping_direction=True, draping_thickness_correction=True, draping_direction=(1.0, 0.0, 0.0), draping_mesh_size=0.0995532485526, thickness_definition='nominal', global_ply_nr=11, ply_material=db.models['class40.1'].material_data.fabrics.get('Corecell_A450_20mm'), active=True, oriented_selection_sets=[db.models['class40.1'].oriented_selection_sets.get('hull_awl')], taper_edges=[(db.models['class40.1'].edge_sets.get('EdgeSet.2'),15.0,0.0)])
db.models['class40.1'].modeling_groups['hull'].create_modeling_ply(name='inner_skin_wo_keel_area', ply_angle=0.0, number_of_layers=1, draping='internal_draping', draping_seed_point=(-4.9666, -0.2866, -0.2431), auto_draping_direction=True, draping_thickness_correction=True, draping_direction=(1.0, 0.0, 0.0), draping_mesh_size=0.099576862925, thickness_definition='nominal', global_ply_nr=12, ply_material=db.models['class40.1'].material_data.stackups.get('Triax'), active=True, oriented_selection_sets=[db.models['class40.1'].oriented_selection_sets.get('hull_bwl_wo_keel_box')])
db.models['class40.1'].modeling_groups['hull'].create_modeling_ply(name='inner_skin_1', ply_angle=0.0, number_of_layers=1, draping='no_draping', draping_seed_point=(0.0, 0.0, 0.0), auto_draping_direction=True, draping_thickness_correction=True, draping_direction=(1.0, 0.0, 0.0), draping_mesh_size=0.0995532485526, thickness_definition='nominal', global_ply_nr=13, ply_material=db.models['class40.1'].material_data.fabrics.get('E-Glas'), active=True, oriented_selection_sets=[db.models['class40.1'].oriented_selection_sets.get('hull_all')])
db.models['class40.1'].modeling_groups['hull'].create_modeling_ply(name='inner_skin_2', ply_angle=-45.0, number_of_layers=1, draping='no_draping', draping_seed_point=(0.0, 0.0, 0.0), auto_draping_direction=True, draping_thickness_correction=True, draping_direction=(1.0, 0.0, 0.0), draping_mesh_size=0.0995532485526, thickness_definition='nominal', global_ply_nr=14, ply_material=db.models['class40.1'].material_data.fabrics.get('E-Glas'), active=True, oriented_selection_sets=[db.models['class40.1'].oriented_selection_sets.get('hull_all')])
db.models['class40.1'].modeling_groups['hull'].create_modeling_ply(name='inner_skin_3', ply_angle=45.0, number_of_layers=1, draping='no_draping', draping_seed_point=(0.0, 0.0, 0.0), auto_draping_direction=True, draping_thickness_correction=True, draping_direction=(1.0, 0.0, 0.0), draping_mesh_size=0.0995532485526, thickness_definition='nominal', global_ply_nr=15, ply_material=db.models['class40.1'].material_data.fabrics.get('E-Glas'), active=True, oriented_selection_sets=[db.models['class40.1'].oriented_selection_sets.get('hull_all')])
db.models['class40.1'].modeling_groups['hull'].create_modeling_ply(name='inner_skin_4', ply_angle=90.0, number_of_layers=1, draping='no_draping', draping_seed_point=(0.0, 0.0, 0.0), auto_draping_direction=True, draping_thickness_correction=True, draping_direction=(1.0, 0.0, 0.0), draping_mesh_size=0.0995532485526, thickness_definition='nominal', global_ply_nr=16, ply_material=db.models['class40.1'].material_data.fabrics.get('E-Glas'), active=True, oriented_selection_sets=[db.models['class40.1'].oriented_selection_sets.get('hull_all')])
db.models['class40.1'].modeling_groups['hull'].create_modeling_ply(name='inner_skin_5', ply_angle=0.0, number_of_layers=1, draping='no_draping', draping_seed_point=(0.0, 0.0, 0.0), auto_draping_direction=True, draping_thickness_correction=True, draping_direction=(1.0, 0.0, 0.0), draping_mesh_size=0.0995532485526, thickness_definition='nominal', global_ply_nr=17, ply_material=db.models['class40.1'].material_data.fabrics.get('E-Glas'), active=True, oriented_selection_sets=[db.models['class40.1'].oriented_selection_sets.get('hull_all')])
db.models['class40.1'].modeling_groups['hull'].create_modeling_ply(name='inner_skin_6', ply_angle=45.0, number_of_layers=1, draping='no_draping', draping_seed_point=(0.0, 0.0, 0.0), auto_draping_direction=True, draping_thickness_correction=True, draping_direction=(1.0, 0.0, 0.0), draping_mesh_size=0.0995532485526, thickness_definition='nominal', global_ply_nr=18, ply_material=db.models['class40.1'].material_data.fabrics.get('E-Glas'), active=True, oriented_selection_sets=[db.models['class40.1'].oriented_selection_sets.get('hull_all')])
db.models['class40.1'].modeling_groups['hull'].create_modeling_ply(name='inner_skin_7', ply_angle=-450.0, number_of_layers=1, draping='no_draping', draping_seed_point=(0.0, 0.0, 0.0), auto_draping_direction=True, draping_thickness_correction=True, draping_direction=(1.0, 0.0, 0.0), draping_mesh_size=0.0995532485526, thickness_definition='nominal', global_ply_nr=19, ply_material=db.models['class40.1'].material_data.fabrics.get('E-Glas'), active=True, oriented_selection_sets=[db.models['class40.1'].oriented_selection_sets.get('hull_all')])
db.models['class40.1'].modeling_groups['hull'].create_modeling_ply(name='inner_skin_8', ply_angle=90.0, number_of_layers=1, draping='no_draping', draping_seed_point=(0.0, 0.0, 0.0), auto_draping_direction=True, draping_thickness_correction=True, draping_direction=(1.0, 0.0, 0.0), draping_mesh_size=0.0995532485526, thickness_definition='nominal', global_ply_nr=20, ply_material=db.models['class40.1'].material_data.fabrics.get('E-Glas'), active=True, oriented_selection_sets=[db.models['class40.1'].oriented_selection_sets.get('hull_all')])
db.models['class40.1'].modeling_groups['hull'].create_modeling_ply(name='inner_skin_9', ply_angle=0.0, number_of_layers=1, draping='no_draping', draping_seed_point=(0.0, 0.0, 0.0), auto_draping_direction=True, draping_thickness_correction=True, draping_direction=(1.0, 0.0, 0.0), draping_mesh_size=0.0995532485526, thickness_definition='nominal', global_ply_nr=21, ply_material=db.models['class40.1'].material_data.fabrics.get('E-Glas'), active=True, oriented_selection_sets=[db.models['class40.1'].oriented_selection_sets.get('hull_all')])
db.models['class40.1'].modeling_groups['hull'].create_modeling_ply(name='bulkhead_band', ply_angle=0.0, number_of_layers=1, draping='no_draping', draping_seed_point=(0.0, 0.0, 0.0), auto_draping_direction=True, draping_thickness_correction=True, draping_direction=(1.0, 0.0, 0.0), draping_mesh_size=0.0995532485526, thickness_definition='nominal', global_ply_nr=22, ply_material=db.models['class40.1'].material_data.fabrics.get('E-Glass_800g'), active=True, oriented_selection_sets=[db.models['class40.1'].oriented_selection_sets.get('bulkhead_band')])
db.models['class40.1'].create_modeling_group(name='bulkhead')
db.models['class40.1'].modeling_groups['bulkhead'].create_modeling_ply(name='all', ply_angle=0.0, number_of_layers=1, draping='no_draping', draping_seed_point=(0.0, 0.0, 0.0), auto_draping_direction=True, draping_thickness_correction=True, draping_direction=(1.0, 0.0, 0.0), draping_mesh_size=0.0995532485526, thickness_definition='nominal', global_ply_nr=24, ply_material=db.models['class40.1'].material_data.sub_laminates.get('Bulkhead'), active=True, oriented_selection_sets=[db.models['class40.1'].oriented_selection_sets.get('bulkhead')])
db.models['class40.1'].create_modeling_group(name='deck')
db.models['class40.1'].modeling_groups['deck'].create_modeling_ply(name='all', id='all.2', ply_angle=0.0, number_of_layers=1, draping='no_draping', draping_seed_point=(0.0, 0.0, 0.0), auto_draping_direction=True, draping_thickness_correction=True, draping_direction=(1.0, 0.0, 0.0), draping_mesh_size=0.0995532485526, thickness_definition='nominal', global_ply_nr=25, ply_material=db.models['class40.1'].material_data.sub_laminates.get('Deck'), active=True, oriented_selection_sets=[db.models['class40.1'].oriented_selection_sets.get('deck')])
db.models['class40.1'].create_modeling_group(name='keeltower')
db.models['class40.1'].modeling_groups['keeltower'].create_modeling_ply(name='all', id='all.3', ply_angle=0.0, number_of_layers=1, draping='no_draping', draping_seed_point=(0.0, 0.0, 0.0), auto_draping_direction=True, draping_thickness_correction=True, draping_direction=(1.0, 0.0, 0.0), draping_mesh_size=0.0995532485526, thickness_definition='nominal', global_ply_nr=26, ply_material=db.models['class40.1'].material_data.sub_laminates.get('Keeltower'), active=True, oriented_selection_sets=[db.models['class40.1'].oriented_selection_sets.get('keeltower')])
db.models['class40.1'].create_section_cut(name='SectionCut.1', origin=(-7.0, 0.0, 0.0), normal=(0.9950371902099893, 0.09950371902099893, 0.0), in_plane_reference_direction1=(1.0, 0.0, 0.0), scale_factor=5.0, core_scale_factor=0.2, intersection_type='in_plane', section_cut_type='analysis_ply_wise')
db.models['class40.1'].create_section_cut(name='SectionCut.2', origin=(-5.0, 0.0, 0.0), normal=(1.0, 0.0, 0.0), in_plane_reference_direction1=(1.0, 0.0, 0.0), scale_factor=5.0, core_scale_factor=0.5, intersection_type='normal_to_surface', section_cut_type='production_ply_wise')
db.models['class40.1'].create_section_cut(name='SectionCut.3', origin=(0.0, 0.0, 0.0), normal=(0.0, 1.0, 0.0), in_plane_reference_direction1=(1.0, 0.0, 0.0), scale_factor=5.0, core_scale_factor=0.1, intersection_type='normal_to_surface', section_cut_type='analysis_ply_wise')
db.models['class40.1'].layup_plots.create_thickness_plot(name='Thickness.1', ply_wise=False, show_ply_offsets=False, ply_offset_scale_factor=1.0, show_on_solids=False, data_scope=[db.models['class40.1'].element_sets.get('All_Elements')])
db.models['class40.1'].layup_plots.create_angle_plot(name='Angle.1', ply_offset_scale_factor=1.0, show_ply_offsets=False, show_on_section_cuts=True, component='shear', show_on_solids=False, data_scope=[db.models['class40.1'].element_sets.get('All_Elements')])
db.models['class40.1'].layup_plots['Angle.1'].color_table.set(upper_value_as_threshold=False, description='Angle.1', use_defaults=False, fixed_range=False, lower_value_as_threshold=False, upper_value=2.0, enabled=True, grey_values_below=False, lower_value=-2.0, violet_values_above=False, number_of_colors=9, visible=True, color_scheme='rainbow', auto_upper_value=False, auto_lower_value=False)
db.models['class40.1'].layup_plots.create_draping_plot(name='DrapingMesh.1', show_flatwrap=True, show_draping_mesh=False)
db.models['class40.1'].create_combined_failure_criteria(name='FailureCriteria.1', set=[compolyx.Wrinkling( q_homogeneous=0.5, q_honeycomb=0.33, wf_wr=1.0),compolyx.CoreShear( ins=False, iss=False, wf_cs=1.0),compolyx.Puck( dim=2, force_global_constants=False, p21_pos=0.325, p21_neg=0.275, p22_neg=0.225, p22_pos=0.225, s=0.5, M=0.5, interface_weakening_factor=0.8, pf=True, pmA=True, pmB=True, pmC=True, pd=True, wf_pf=1.0, wf_pmA=1.0, wf_pmB=1.0, wf_pmC=1.0, wf_pd=1.0, cfps=False),compolyx.MaxStressCriterion( s1=True, s2=True, s3=False, s12=True, s13=False, s23=False, wf_s1=1.0, wf_s2=1.0, wf_s3=1.0, wf_s12=1.0, wf_s13=1.0, wf_s23=1.0),compolyx.TsaiWu( dim=2, wf=1.0)])
db.models['class40.1'].add_solution(name='Solution.1', path=u'class40_analysis_model.rst', format='ansys:rst', active=True, set=1, read_stresses_strains=True, use_felyx_to_compute_pp_results=True)
db.models['class40.1'].solutions['Solution.1'].plots.create_deformation_contour_plot(name='Deformation.1', active=True, component='usum', solution_set=-1, show_on_solids=False, data_scope=[db.models['class40.1'].element_sets.get('All_Elements')])
db.models['class40.1'].solutions['Solution.1'].plots.create_strain_plot(name='eI', ply_wise=True, solution_set=-1, active=True, component='eI', show_ply_offsets=False, ply_offset_scale_factor=1.0, spot='bot', show_on_solids=False, data_scope=[db.models['class40.1'].element_sets.get('All_Elements')])
db.models['class40.1'].solutions['Solution.1'].plots.create_strain_plot(name='e13', ply_wise=True, solution_set=-1, active=True, component='e13', show_ply_offsets=False, ply_offset_scale_factor=1.0, spot='bot', show_on_solids=False, data_scope=[db.models['class40.1'].element_sets.get('All_Elements')])
db.models['class40.1'].add_solution(name='Solution.2', path=u'bulkhead_solid_model_v150.rst', format='ansys:rst', active=True, set=1, read_stresses_strains=True, use_felyx_to_compute_pp_results=True)
db.models['class40.1'].solutions['Solution.2'].plots.create_stress_plot(name='sI', ply_wise=False, solution_set=-1, active=True, component='sI', show_ply_offsets=False, ply_offset_scale_factor=1.0, spot='bot', interlaminar_normal_stresses=False, show_on_solids=True, data_scope=[db.models['class40.1'].element_sets.get('BULKHEAD_ALL')])
db.models['class40.1'].solutions['Solution.2'].plots.create_failure_plot(name='Failure.1', ply_wise=False, show_critical_layer=False, show_ply_offsets=False, ply_offset_scale_factor=1.0, component='irf', show_on_solids=False, active=True, text_threshold=0.0, show_critical_load_case=False, show_critical_failure_mode=False, solution_set=-1, text_threshold_auto=True, data_scope=[db.models['class40.1'].element_sets.get('BULKHEAD_ALL')], failure_criteria_definition=db.models['class40.1'].definitions.get('FailureCriteria.1'))
db.models['class40.1'].create_envelope_solution(name='EnvSolution.1', solution_sets=[(db.models['class40.1'].solutions['Solution.1'],1),(db.models['class40.1'].solutions['Solution.2'],1),])
db.models['class40.1'].solutions['EnvSolution.1'].plots.create_failure_plot(name='Failure.2', ply_wise=False, show_critical_layer=False, show_ply_offsets=False, ply_offset_scale_factor=1.0, component='irf', show_on_solids=False, active=True, text_threshold=0.0, show_critical_load_case=False, show_critical_failure_mode=False, solution_set=0, text_threshold_auto=True, data_scope=[db.models['class40.1'].element_sets.get('All_Elements')], failure_criteria_definition=db.models['class40.1'].definitions.get('FailureCriteria.1'))
db.models['class40.1'].show_deformed=False
db.models['class40.1'].deformation_scale_factor=1.0
db.models['class40.1'].create_sampling_point(name='SamplingElement.1', point=(-4.664, 0.0, -0.2368), direction=(0.0, 0.0, 1.0))
db.models['class40.1'].sampling_points['SamplingElement.1'].graph_plot.query={}
db.models['class40.1'].sampling_points['SamplingElement.1'].graph_plot.core_scale_factor=1.0
db.models['class40.1'].create_solid_model(name='SolidModel.1', active=True, element_sets=[db.models['class40.1'].element_sets.get('BULKHEAD_ALL')], ex_type='analysis_ply_wise', max_thickness=1.0, ply_group_pointers=[], connect_butt_joined_plies=True, drop_off_type='inside_ply', offset_type='shell_normal', write_degenerated_elements=True, global_drop_off_material=db.models['class40.1'].material_data.materials.get('Resin'), delete_bad_elements=True, warping_limit=0.4, use_solsh_elements=False, use_solid_model_prefix=True, transfer_all_sets=True, transferred_element_sets=[], transferred_edge_sets=[], use_default_element_index=True, element_index=4084, use_default_node_index=True, node_index=4148, use_default_section_index=True, section_index=1, use_default_material_index=True, material_index=1, use_default_coordinate_system_index=True, coordinate_system_index=11)
db.models['class40.1'].create_solid_model(name='SolidModel.2', active=True, element_sets=[db.models['class40.1'].oriented_selection_sets.get('hull_bwl')], ex_type='analysis_ply_wise', max_thickness=1.0, ply_group_pointers=[], connect_butt_joined_plies=True, drop_off_type='inside_ply', offset_type='shell_normal', write_degenerated_elements=True, global_drop_off_material=db.models['class40.1'].material_data.materials.get('Resin'), delete_bad_elements=True, warping_limit=0.4, use_solsh_elements=False, use_solid_model_prefix=True, transfer_all_sets=True, transferred_element_sets=[], transferred_edge_sets=[], use_default_element_index=True, element_index=8011, use_default_node_index=True, node_index=9944, use_default_section_index=True, section_index=3928, use_default_material_index=True, material_index=5, use_default_coordinate_system_index=True, coordinate_system_index=3938)
db.models['class40.1'].create_sensor(name='AreaSensor-Elset-All', sensor_type='sensor_by_area', entities=[db.models['class40.1'].element_sets.get('All_Elements')] )
db.models['class40.1'].create_sensor(name='AreaSensor-OES-hull_all', sensor_type='sensor_by_area', entities=[db.models['class40.1'].oriented_selection_sets.get('hull_all')] )
db.models['class40.1'].create_sensor(name='AreaSensor-MP-deck-all', sensor_type='sensor_by_area', entities=[db.models['class40.1'].modeling_groups['deck'].plies.get('all.2')] )
db.models['class40.1'].create_sensor(name='MaterialSensor-Fabric-CoreA450', sensor_type='sensor_by_material', entities=[db.models['class40.1'].material_data.fabrics.get('Corecell_A450_20mm')] )
db.models['class40.1'].create_sensor(name='MaterialSensor-Stackup-Triax', sensor_type='sensor_by_material', entities=[db.models['class40.1'].material_data.stackups.get('Triax')] )
db.models['class40.1'].create_sensor(name='MaterialSensor-SubLam-Deck', sensor_type='sensor_by_material', entities=[db.models['class40.1'].material_data.sub_laminates.get('Deck')] )
db.models['class40.1'].create_view( name = u'Hull', position = (-6.047160201011722, -6.771837735299146, -7.960817293252584), orientation = (0.9999301965536853, 0.008330369386536833, 0.008378959720170664), rotation_point = (-6.176500081293945, 0.0, 0.7418074462559128), parallel_scale= 1.0, projection = 'perspective' )
db.models['class40.1'].create_view( name = u'Bulkhead', position = (3.8063476015780933, -3.213588995863823, 4.151468775596), orientation = (-0.3069635779085541, 0.05456186842431258, 0.9501559684344603), rotation_point = (-6.176500081293945, 0.0, 0.7418074462559128), parallel_scale= 1.0, projection = 'perspective' )
db.models['class40.1'].create_view( name = u'Deck', position = (-0.9421750637466486, -6.400372580275128, 8.295791501804871), orientation = (-0.45028039989336444, 0.5138250060861682, 0.7302269678616512), rotation_point = (-6.084442531484618, -0.2015291327215049, 0.7630882930947313), parallel_scale= 1.0, projection = 'perspective' )
db.models['class40.1'].create_view( name = u'Keeltower', position = (1.1811668614119197, -3.3878910452925846, 2.806395411810816), orientation = (-0.24750410582092197, 0.07294236035549909, 0.9661372209306267), rotation_point = (-5.9225982289453185, 0.032688306793821814, 0.7283094889423231), parallel_scale= 1.0, projection = 'perspective' )
db.models['class40.1'].create_scene(name='Scene.1', id='Scene.1', title='', projection='perspective', show_global_coordinate_system=True, show_legend=True, show_surface=True, show_edges=True, show_selected_mesh=False, show_normals=False, show_orientations=False, show_ref_directions=False, show_fiber_directions=False, show_draped_fiber_directions=False, show_draped_transverse_directions=False, show_transverse_directions=False, show_solid_elements=False, continuous_pick_enabled=False, active_set=["db.models['class40.1'].solid_models['SolidModel.2']","db.models['class40.1'].solid_models['SolidModel.1']","db.models['class40.1'].element_sets['NSET_24']","db.models['class40.1'].element_sets['ElementSet.1']","db.models['class40.1'].element_sets['LOWER_BULKHEAD']","db.models['class40.1'].element_sets['KEELTOWER_STB_ALL']","db.models['class40.1'].element_sets['KEELTOWER_PORT']","db.models['class40.1'].element_sets['KEELTOWER_AFT']","db.models['class40.1'].element_sets['KEELTOWER_AFT_LAYUP_1']","db.models['class40.1'].element_sets['HULL_KEEL']","db.models['class40.1'].element_sets['HULL_PORT']","db.models['class40.1'].element_sets['HULL_LAYUP_1']","db.models['class40.1'].element_sets['BULKHEAD_ALL']","db.models['class40.1'].element_sets['All_Elements']","db.models['class40.1'].element_sets['HULL_LAYUP_2']","db.models['class40.1'].element_sets['BULKHEAD']","db.models['class40.1'].element_sets['KEELTOWER_AFT_ALL']","db.models['class40.1'].element_sets['DECK_ALL']","db.models['class40.1'].element_sets['HULL_BOTTOM']","db.models['class40.1'].element_sets['BULKHEAD_LAYUP_1']","db.models['class40.1'].element_sets['KEELTOWER_PORT_ALL']","db.models['class40.1'].element_sets['HULL_ALL']","db.models['class40.1'].element_sets['KEELTOWER_STB']","db.models['class40.1'].element_sets['BULKHEAD_BAND']","db.models['class40.1'].element_sets['DECK']","db.models['class40.1'].element_sets['KEELTOWER_FRONT_LAYUP_1']","db.models['class40.1'].element_sets['HULL_ABWL']","db.models['class40.1'].element_sets['KEELTOWER_STB_LAYUP_1']","db.models['class40.1'].layup_plots['Angle.1']","db.models['class40.1'].element_sets['HULL_STB']","db.models['class40.1'].element_sets['DECK_LAYUP_1']","db.models['class40.1'].element_sets['HULL_BELWL']","db.models['class40.1'].element_sets['KEELTOWER_PORT_LAYUP_1']","db.models['class40.1'].element_sets['KEELTOWER_FRONT_ALL']","db.models['class40.1'].element_sets['KEELTOWER_FRONT']"])
p_=db.models['class40.1'].plybook
p_.reST_title_page = ''
p_.reST_chapter = ''
p_.reST_ply = ''
p_.scene = db.models['class40.1'].scenes.get('Scene.1')
db.models['class40.1'].plybook.create_chapter(name='Chapter - hull', view=db.models['class40.1'].views.get(u'Hull'), ply_entities=[db.models['class40.1'].modeling_groups['hull']])
db.models['class40.1'].plybook.create_chapter(name='Chapter - bulkhead', view=db.models['class40.1'].views.get(u'Hull'), ply_entities=[db.models['class40.1'].modeling_groups['bulkhead']])
db.models['class40.1'].plybook.create_chapter(name='Chapter - deck', view=db.models['class40.1'].views.get(u'Hull'), ply_entities=[db.models['class40.1'].modeling_groups['deck']])
db.models['class40.1'].plybook.create_chapter(name='Chapter - keeltower', view=db.models['class40.1'].views.get(u'Hull'), ply_entities=[db.models['class40.1'].modeling_groups['keeltower']])
