# 
# ACP Pre Database File
# 
# (c) 2005 - 2013 by
# ANSYS Switzerland GmbH
# 
# Product: ANSYS Composite PrepPost
# Version: 15.0
# Revision: 18749
# Written: 2013-09-19 23:30:11
# 
db.file_revision=18749
db.import_model(name=u'ACP Model', path=u'ACP-Pre.h5', format='ansys:h5', reduced_integration=True, ignored_entities=['materials'], post_processing_model=False, unit_system_type='mpa')
db.models[u'ACP Model'].material_data.import_matml(path=u'material.engd', material_apdl_path=u'material.apdl')
db.models[u'ACP Model'].material_data.create_fabric(name='UD', material=db.models[u'ACP Model'].material_data.materials.find(lambda v: v.ext_id == 'eb761f99-7ef5-483d-b388-1bb3ccc10f58'), thickness=0.1, area_price=0.0, draping0=1.0, draping1=0.0, draping2=0.0, ignore_for_postprocessing=False, global_dropoff_material=True)
db.models[u'ACP Model'].material_data.fabrics['UD'].graph_plot.query={'polar_properties': []}
db.models[u'ACP Model'].material_data.create_fabric(name='Core', material=db.models[u'ACP Model'].material_data.materials.find(lambda v: v.ext_id == '0e275e38-ee9b-4ff2-8d8b-feda385ebe66'), thickness=10.0, area_price=0.0, draping0=1.0, draping1=0.0, draping2=0.0, ignore_for_postprocessing=False, global_dropoff_material=True)
db.models[u'ACP Model'].material_data.fabrics['Core'].graph_plot.query={'polar_properties': []}
db.models[u'ACP Model'].material_data.create_fabric(name='UD_high_modulus', material=db.models[u'ACP Model'].material_data.materials.find(lambda v: v.ext_id == 'dcfe1965-a06c-4a67-b316-0b905f2590f1'), thickness=0.1, area_price=0.0, draping0=1.0, draping1=0.0, draping2=0.0, ignore_for_postprocessing=False, global_dropoff_material=True)
db.models[u'ACP Model'].material_data.fabrics['UD_high_modulus'].graph_plot.query={'polar_properties': []}
db.models[u'ACP Model'].material_data.create_fabric(name='UD_wet', material=db.models[u'ACP Model'].material_data.materials.find(lambda v: v.ext_id == '7ecdb87a-6925-438e-9d5d-13bd9bb794f2'), thickness=0.1, area_price=0.0, draping0=1.0, draping1=0.0, draping2=0.0, ignore_for_postprocessing=False, global_dropoff_material=True)
db.models[u'ACP Model'].material_data.fabrics['UD_wet'].graph_plot.query={'polar_properties': []}
db.models[u'ACP Model'].material_data.create_sub_laminate(name='SubLaminate.1', symmetry='No Symmetry', layup_sequence='Top-Down', fabrics=[(db.models[u'ACP Model'].material_data.fabrics.get('UD'), 0.0), (db.models[u'ACP Model'].material_data.fabrics.get('UD'), 45.0), (db.models[u'ACP Model'].material_data.fabrics.get('UD'), -45.0)])
db.models[u'ACP Model'].material_data.sub_laminates['SubLaminate.1'].graph_plot.query={'layup': [], 'polar_properties': [], 'text_plot': []}
db.models[u'ACP Model'].create_element_set(name='All_Elements', op='add', middle_offset=False)
db.models[u'ACP Model'].create_element_set(name='els_kiteboard', op='add', middle_offset=False)
db.models[u'ACP Model'].create_element_set(name='support_binding_left', op='add', middle_offset=False)
db.models[u'ACP Model'].create_element_set(name='support_binding_right', op='add', middle_offset=False)
db.models[u'ACP Model'].create_parallel_rule(name='ParallelRule.1', origin=(0.0, 0.0, 0.0), direction=(1.0, 0.0, 0.0), pos_distance=500.0, neg_distance=-500.0, relative_rule_type=False, include_rule_type=True )
db.models[u'ACP Model'].create_cylindrical_rule(name='CylindricalRule.left_binding', origin=(-270.0, 0.0, 0.0), direction=(0.0, 0.0, 1.0), radius=120.0, relative_rule_type=False, include_rule_type=True )
db.models[u'ACP Model'].create_cylindrical_rule(name='CylindricalRule.right_binding', origin=(270.0, 0.0, 0.0), direction=(0.0, 0.0, 1.0), radius=120.0, relative_rule_type=False, include_rule_type=True )
db.models[u'ACP Model'].create_oriented_element_set(name='oes_all', orientation_point=(0.0, 0.0, 0.0), orientation_direction=(0.0, 0.0, 1.0), rosette_selection_method='minimum_angle', element_sets=[db.models[u'ACP Model'].element_sets.get('All_Elements')], rosettes=[db.models[u'ACP Model'].rosettes.get('Rosette')], 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[u'ACP Model'].create_oriented_element_set(name='oes_binding_left', orientation_point=(-110.9538, -32.2002, 0.542), orientation_direction=(1.258018172928442e-19, 2.515142342760152e-18, 1.0), rosette_selection_method='minimum_angle', element_sets=[db.models[u'ACP Model'].element_sets.get('els_kiteboard')], rosettes=[db.models[u'ACP Model'].rosettes.get('Rosette')], rules=[db.models[u'ACP Model'].rules.get('CylindricalRule.left_binding')], 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[u'ACP Model'].create_oriented_element_set(name='oes_binding_right', orientation_point=(-150.6689, -73.1765, 0.542), orientation_direction=(0.0, 0.0, 1.0), rosette_selection_method='minimum_angle', element_sets=[db.models[u'ACP Model'].element_sets.get('All_Elements')], rosettes=[db.models[u'ACP Model'].rosettes.get('Rosette')], rules=[db.models[u'ACP Model'].rules.get('CylindricalRule.right_binding')], 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[u'ACP Model'].create_modeling_ply_group(name='Bottom_Layup')
db.models[u'ACP Model'].modeling_ply_groups['Bottom_Layup'].create_modeling_ply(name='mp_1_sublaminate', 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=17.2360797872, thickness_definition='nominal', global_ply_nr=1, ply_material=db.models[u'ACP Model'].material_data.sub_laminates.get('SubLaminate.1'), active=True, oriented_element_sets=[db.models[u'ACP Model'].oriented_element_sets.get('oes_all')])
db.models[u'ACP Model'].modeling_ply_groups['Bottom_Layup'].create_modeling_ply(name='mp_1_reinforcement_bindings', ply_angle=0.0, number_of_layers=2, 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=19.3205405188, thickness_definition='nominal', global_ply_nr=2, ply_material=db.models[u'ACP Model'].material_data.sub_laminates.get('SubLaminate.1'), active=True, oriented_element_sets=[db.models[u'ACP Model'].oriented_element_sets.get('oes_binding_left'),db.models[u'ACP Model'].oriented_element_sets.get('oes_binding_right')])
db.models[u'ACP Model'].modeling_ply_groups['Bottom_Layup'].create_modeling_ply(name='mp_2_ud', ply_angle=0.0, number_of_layers=6, 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=17.2360797872, thickness_definition='nominal', global_ply_nr=3, ply_material=db.models[u'ACP Model'].material_data.fabrics.get('UD'), active=True, oriented_element_sets=[db.models[u'ACP Model'].oriented_element_sets.get('oes_all')])
db.models[u'ACP Model'].modeling_ply_groups['Bottom_Layup'].create_modeling_ply(name='mp_3_ud_center', ply_angle=0.0, number_of_layers=4, 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=17.2360797872, thickness_definition='nominal', global_ply_nr=4, ply_material=db.models[u'ACP Model'].material_data.fabrics.get('UD'), active=True, oriented_element_sets=[db.models[u'ACP Model'].oriented_element_sets.get('oes_all')], rules=[(db.models[u'ACP Model'].rules.get('ParallelRule.1'),False,(0.0, 0.0))])
db.models[u'ACP Model'].create_modeling_ply_group(name='Core')
db.models[u'ACP Model'].modeling_ply_groups['Core'].create_modeling_ply(name='mp_4_core', 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=17.2360797872, thickness_definition='from_geometry', global_ply_nr=5, ply_material=db.models[u'ACP Model'].material_data.fabrics.get('Core'), active=True, oriented_element_sets=[db.models[u'ACP Model'].oriented_element_sets.get('oes_all')], core_geometry=db.models[u'ACP Model'].cad_geometries.get('kiteboard_core.stp'))
db.models[u'ACP Model'].create_modeling_ply_group(name='Top_Layup')
db.models[u'ACP Model'].modeling_ply_groups['Top_Layup'].create_modeling_ply(name='mp_5_ud_center', ply_angle=0.0, number_of_layers=4, 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=17.2360797872, thickness_definition='nominal', global_ply_nr=6, ply_material=db.models[u'ACP Model'].material_data.fabrics.get('UD'), active=True, oriented_element_sets=[db.models[u'ACP Model'].oriented_element_sets.get('oes_all')], rules=[(db.models[u'ACP Model'].rules.get('ParallelRule.1'),False,(0.0, 0.0))])
db.models[u'ACP Model'].modeling_ply_groups['Top_Layup'].create_modeling_ply(name='mp_6_ud', ply_angle=0.0, number_of_layers=6, 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=17.2360797872, thickness_definition='nominal', global_ply_nr=7, ply_material=db.models[u'ACP Model'].material_data.fabrics.get('UD'), active=True, oriented_element_sets=[db.models[u'ACP Model'].oriented_element_sets.get('oes_all')])
db.models[u'ACP Model'].modeling_ply_groups['Top_Layup'].create_modeling_ply(name='mp_7_reinforcement_bindings', ply_angle=0.0, number_of_layers=2, 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=19.3205405188, thickness_definition='nominal', global_ply_nr=8, ply_material=db.models[u'ACP Model'].material_data.sub_laminates.get('SubLaminate.1'), active=True, oriented_element_sets=[db.models[u'ACP Model'].oriented_element_sets.get('oes_binding_left'),db.models[u'ACP Model'].oriented_element_sets.get('oes_binding_right')])
db.models[u'ACP Model'].modeling_ply_groups['Top_Layup'].create_modeling_ply(name='mp_7_sublaminate', 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=17.2360797872, thickness_definition='nominal', global_ply_nr=9, ply_material=db.models[u'ACP Model'].material_data.sub_laminates.get('SubLaminate.1'), active=True, oriented_element_sets=[db.models[u'ACP Model'].oriented_element_sets.get('oes_all')])
db.models[u'ACP Model'].create_section_cut(name='SectionCut.1', 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=3.0, core_scale_factor=1.0, intersection_type='normal_to_surface', section_cut_type='analysis_ply_wise' )
db.models[u'ACP Model'].create_sensor(name='Sensor.1', sensor_type='SENSOR_BY_AREA', entities=[db.models[u'ACP Model'].oriented_element_sets.get('oes_all')] )
db.models[u'ACP Model'].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[u'ACP Model'].element_sets.get('All_Elements')])
db.models[u'ACP Model'].layup_plots.create_angle_plot(name='Angle.1', ply_offset_scale_factor=1.0, show_ply_offsets=False, show_on_section_cuts=True, show_on_solids=False, data_scope=[db.models[u'ACP Model'].element_sets.get('All_Elements')])
db.models[u'ACP Model'].create_scene(name='Scene.1', id='Scene.1', title='', projection='parallel', show_global_coordinate_system=True, show_legend=True, show_surface=True, show_edges=False, 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_flatwrap=False, show_solid_elements=False, active_set=["db.models[u'ACP Model'].section_cuts['SectionCut.1']","db.models[u'ACP Model'].element_sets['All_Elements']","db.models[u'ACP Model'].layup_plots['Thickness.1']","db.models[u'ACP Model'].rosettes['Rosette']"])
p_=db.models[u'ACP Model'].plybook
p_.reST_title_page = ''
p_.reST_chapter = ''
p_.reST_ply = ''
db.models[u'ACP Model'].create_published_parameter(name=u'ParallelRule.UpperLimit', source="db.models[u'ACP Model'].rules['ParallelRule.1'].pos_distance", category='input', acp_type='float', description=u'upper extent of ud_center layers', lower_limit=None, upper_limit=None, cyclic=False)
db.models[u'ACP Model'].create_published_parameter(name='mp_3_ud_center.ply_material', source="db.models[u'ACP Model'].modeling_ply_groups['Bottom_Layup'].plies['mp_3_ud_center'].ply_material", category='input', acp_type='string', description=u'Material of Modeling Ply 3 (UD_center)', string_list=["db.models[u'ACP Model'].material_data.fabrics['UD']", "db.models[u'ACP Model'].material_data.fabrics['UD_high_modulus']", "db.models[u'ACP Model'].material_data.fabrics['UD_wet']"])
db.models[u'ACP Model'].create_published_parameter(name=u'Sensor.1.Weight', source="db.models[u'ACP Model'].sensors['Sensor.1'].weight", category='output', acp_type='float', description=u'Total mass of layup', lower_limit=None, upper_limit=None, cyclic=False)
db.models[u'ACP Model'].create_published_parameter(name=u'ParallelRule.LowerLimit', source="db.models[u'ACP Model'].rules['ParallelRule.1'].neg_distance", category='input', acp_type='float', description=u'lower extent of ud_center layers', lower_limit=None, upper_limit=None, cyclic=False)
db.models[u'ACP Model'].create_published_parameter(name='mp_2_ud.ply_material', source="db.models[u'ACP Model'].modeling_ply_groups['Bottom_Layup'].plies['mp_2_ud'].ply_material", category='input', acp_type='string', description='', string_list=["db.models[u'ACP Model'].material_data.fabrics['UD']", "db.models[u'ACP Model'].material_data.fabrics['UD_high_modulus']", "db.models[u'ACP Model'].material_data.fabrics['UD_wet']", "db.models[u'ACP Model'].modeling_ply_groups['Bottom_Layup'].plies['mp_2_ud']"])
db.models[u'ACP Model'].create_published_parameter(name='mp_5_ud_center.ply_material', source="db.models[u'ACP Model'].modeling_ply_groups['Top_Layup'].plies['mp_5_ud_center'].ply_material", category='input', acp_type='string', description='', string_list=["db.models[u'ACP Model'].material_data.fabrics['UD']", "db.models[u'ACP Model'].material_data.fabrics['UD_high_modulus']", "db.models[u'ACP Model'].material_data.fabrics['UD_wet']"])
db.models[u'ACP Model'].create_published_parameter(name='mp_6_ud.ply_material', source="db.models[u'ACP Model'].modeling_ply_groups['Top_Layup'].plies['mp_6_ud'].ply_material", category='input', acp_type='string', description='', string_list=["db.models[u'ACP Model'].material_data.fabrics['UD']", "db.models[u'ACP Model'].material_data.fabrics['UD_high_modulus']", "db.models[u'ACP Model'].material_data.fabrics['UD_wet']"])
db.models[u'ACP Model'].create_published_parameter(name='mp_2_ud.number_of_layers', source="db.models[u'ACP Model'].modeling_ply_groups['Bottom_Layup'].plies['mp_2_ud'].number_of_layers", category='input', acp_type='int', description='', lower_limit=None, upper_limit=None, cyclic=False)
db.models[u'ACP Model'].create_published_parameter(name='mp_3_ud_center.number_of_layers', source="db.models[u'ACP Model'].modeling_ply_groups['Bottom_Layup'].plies['mp_3_ud_center'].number_of_layers", category='input', acp_type='int', description='', lower_limit=None, upper_limit=None, cyclic=False)
db.models[u'ACP Model'].create_published_parameter(name='mp_5_ud_center.number_of_layers', source="db.models[u'ACP Model'].modeling_ply_groups['Top_Layup'].plies['mp_5_ud_center'].number_of_layers", category='input', acp_type='int', description='', lower_limit=None, upper_limit=None, cyclic=False)
db.models[u'ACP Model'].create_published_parameter(name='mp_6_ud.number_of_layers', source="db.models[u'ACP Model'].modeling_ply_groups['Top_Layup'].plies['mp_6_ud'].number_of_layers", category='input', acp_type='int', description='', lower_limit=None, upper_limit=None, cyclic=False)
