# -*- coding: mbcs -*-
#
# Abaqus/CAE Version 6.7-1 replay file
# Internal Version: 2007_05_01-12.35.33 79448
# Run by Marco on Sat May 16 20:49:15 2009
#

# from driverUtils import executeOnCaeGraphicsStartup
# executeOnCaeGraphicsStartup()
#: Executing "onCaeGraphicsStartup()" in the site directory ...
from abaqus import *
from abaqusConstants import *
session.Viewport(name='Viewport: 1', origin=(0.0, 0.0), width=334.268463134766, 
    height=263.933319091797)
session.viewports['Viewport: 1'].makeCurrent()
session.viewports['Viewport: 1'].maximize()
from caeModules import *
from driverUtils import executeOnCaeStartup
executeOnCaeStartup()
openMdb('Lagerbock.cae')
#: The model database "D:\Studium\BSK\Abaqus\Lagerbock.cae" has been opened.
session.viewports['Viewport: 1'].setValues(displayedObject=None)
p = mdb.models['Lagerbock'].parts['Platte M']
session.viewports['Viewport: 1'].setValues(displayedObject=p)
a = mdb.models['Lagerbock'].rootAssembly
session.viewports['Viewport: 1'].setValues(displayedObject=a)
session.viewports['Viewport: 1'].assemblyDisplay.setValues(interactions=ON, 
    constraints=ON, connectors=ON, engineeringFeatures=ON)
session.viewports['Viewport: 1'].view.setValues(nearPlane=6531.75, 
    farPlane=10475.6, width=550.593, height=324.491, viewOffsetX=-1105.28, 
    viewOffsetY=306.303)
mdb.models['Lagerbock'].ConnectorSection(name='ConnSect-1', assembledType=WELD)
session.viewports['Viewport: 1'].assemblyDisplay.setValues(interactions=OFF, 
    constraints=OFF, connectors=OFF, engineeringFeatures=OFF, 
    adaptiveMeshConstraints=ON)
session.viewports['Viewport: 1'].assemblyDisplay.setValues(interactions=ON, 
    constraints=ON, connectors=ON, engineeringFeatures=ON, 
    adaptiveMeshConstraints=OFF)
session.viewports['Viewport: 1'].view.setValues(nearPlane=6295.2, 
    farPlane=10712.1, width=4015.69, height=2366.64, viewOffsetX=286.284, 
    viewOffsetY=776.382)
a = mdb.models['Lagerbock'].rootAssembly
del a.features['Part-1-1']
del mdb.models['Lagerbock'].sections['ConnSect-1']
session.viewports['Viewport: 1'].view.setValues(nearPlane=6243.16, 
    farPlane=10764.1, width=3998.78, height=2356.67, viewOffsetX=240.424, 
    viewOffsetY=762.222)
mdb.models['Lagerbock'].ConnectorSection(name='ConnSect-1', assembledType=WELD)
session.viewports['Viewport: 1'].view.setValues(nearPlane=6223, 
    farPlane=10784.3, width=4240.29, height=2499.01, viewOffsetX=325.39, 
    viewOffsetY=799.503)
session.viewports['Viewport: 1'].view.setValues(nearPlane=6566.14, 
    farPlane=10292.7, width=4474.1, height=2636.8, cameraPosition=(7487.19, 
    3861.2, -104.625), cameraUpVector=(-0.809134, 0.537564, -0.237334), 
    viewOffsetX=343.332, viewOffsetY=843.588)
session.viewports['Viewport: 1'].view.setValues(nearPlane=6754.55, 
    farPlane=10153, width=4602.48, height=2712.46, cameraPosition=(8202.46, 
    2789.26, 648.886), cameraUpVector=(-0.698395, 0.685046, -0.20726), 
    viewOffsetX=353.183, viewOffsetY=867.793)
session.viewports['Viewport: 1'].view.setValues(nearPlane=6473.03, 
    farPlane=10434.5, width=7588.57, height=4472.31, viewOffsetX=1302.94, 
    viewOffsetY=1738.41)
a = mdb.models['Lagerbock'].rootAssembly
c1 = a.instances['Rohr-1-V-1'].cells
cells1 = c1.getSequenceFromMask(mask=('[#1 ]', ), )
c2 = a.instances['Rohr-5-H-1'].cells
cells2 = c2.getSequenceFromMask(mask=('[#1 ]', ), )
c3 = a.instances['Rohr-1-V-1-1'].cells
cells3 = c3.getSequenceFromMask(mask=('[#1 ]', ), )
c4 = a.instances['Rohr-2-H-1'].cells
cells4 = c4.getSequenceFromMask(mask=('[#1 ]', ), )
c5 = a.instances['Rohr-3-H-1'].cells
cells5 = c5.getSequenceFromMask(mask=('[#1 ]', ), )
c6 = a.instances['Rohr-1-V-2'].cells
cells6 = c6.getSequenceFromMask(mask=('[#1 ]', ), )
c7 = a.instances['Rohr-5-H-2'].cells
cells7 = c7.getSequenceFromMask(mask=('[#1 ]', ), )
c8 = a.instances['Rohr-1-V-3'].cells
cells8 = c8.getSequenceFromMask(mask=('[#1 ]', ), )
c9 = a.instances['Rohr-2-H-2'].cells
cells9 = c9.getSequenceFromMask(mask=('[#1 ]', ), )
c10 = a.instances['U-Profil-1'].cells
cells10 = c10.getSequenceFromMask(mask=('[#1 ]', ), )
c11 = a.instances['U-Profil-2'].cells
cells11 = c11.getSequenceFromMask(mask=('[#1 ]', ), )
c12 = a.instances['U-Profil-3'].cells
cells12 = c12.getSequenceFromMask(mask=('[#1 ]', ), )
c13 = a.instances['U-Profil-4'].cells
cells13 = c13.getSequenceFromMask(mask=('[#1 ]', ), )
c14 = a.instances['U-Profil-5'].cells
cells14 = c14.getSequenceFromMask(mask=('[#1 ]', ), )
c15 = a.instances['U-Profil-6'].cells
cells15 = c15.getSequenceFromMask(mask=('[#1 ]', ), )
c16 = a.instances['U-Profil-7'].cells
cells16 = c16.getSequenceFromMask(mask=('[#1 ]', ), )
c17 = a.instances['U-Profil-8'].cells
cells17 = c17.getSequenceFromMask(mask=('[#1 ]', ), )
c18 = a.instances['U-Profil-9'].cells
cells18 = c18.getSequenceFromMask(mask=('[#1 ]', ), )
c19 = a.instances['U-Profil-10'].cells
cells19 = c19.getSequenceFromMask(mask=('[#1 ]', ), )
c20 = a.instances['U-Profil-11'].cells
cells20 = c20.getSequenceFromMask(mask=('[#1 ]', ), )
c21 = a.instances['Platte-L-1'].cells
cells21 = c21.getSequenceFromMask(mask=('[#1 ]', ), )
c22 = a.instances['Platte-R-1'].cells
cells22 = c22.getSequenceFromMask(mask=('[#1 ]', ), )
c23 = a.instances['Platte M-1'].cells
cells23 = c23.getSequenceFromMask(mask=('[#1 ]', ), )
f24 = a.instances['Rohr 6 S-2'].faces
faces24 = f24.getSequenceFromMask(mask=('[#3ffff ]', ), )
f25 = a.instances['Rohr 6 S-1'].faces
faces25 = f25.getSequenceFromMask(mask=('[#3ffff ]', ), )
a.Set(faces=faces24+faces25, cells=cells1+cells2+cells3+cells4+cells5+cells6+\
    cells7+cells8+cells9+cells10+cells11+cells12+cells13+cells14+cells15+\
    cells16+cells17+cells18+cells19+cells20+cells21+cells22+cells23, 
    name='Set-1')
#: The set 'Set-1' has been created (23 cells, 36 faces).
session.viewports['Viewport: 1'].view.setValues(nearPlane=6571.91, 
    farPlane=10335.6, width=6399.22, height=3771.37, viewOffsetX=1259.35, 
    viewOffsetY=1617.69)
del mdb.models['Lagerbock'].rootAssembly.sets['Set-1']
session.viewports['Viewport: 1'].assemblyDisplay.setValues(interactions=OFF, 
    constraints=OFF, connectors=OFF, engineeringFeatures=OFF, 
    adaptiveMeshConstraints=ON)
session.viewports['Viewport: 1'].assemblyDisplay.setValues(interactions=ON, 
    constraints=ON, connectors=ON, engineeringFeatures=ON, 
    adaptiveMeshConstraints=OFF)
session.viewports['Viewport: 1'].view.setValues(nearPlane=7067.91, 
    farPlane=9839.59, width=464.25, height=273.605, viewOffsetX=1039.05, 
    viewOffsetY=1118.9)
a = mdb.models['Lagerbock'].rootAssembly
s1 = a.instances['Rohr-1-V-1'].faces
side1Faces1 = s1.getSequenceFromMask(mask=('[#4 ]', ), )
a.Surface(side1Faces=side1Faces1, name='Surf-1')
#: The surface 'Surf-1' has been created (1 face).
a = mdb.models['Lagerbock'].rootAssembly
s1 = a.instances['Rohr-2-H-1'].faces
side1Faces1 = s1.getSequenceFromMask(mask=('[#10 ]', ), )
a.Surface(side1Faces=side1Faces1, name='Surf-2')
#: The surface 'Surf-2' has been created (1 face).
session.viewports['Viewport: 1'].view.setValues(width=436.538, height=257.273, 
    viewOffsetX=1032.04, viewOffsetY=1113.64)
mdb.models['Lagerbock'].ContactProperty('IntProp-1')
mdb.models['Lagerbock'].interactionProperties['IntProp-1'].NormalBehavior(
    pressureOverclosure=HARD, allowSeparation=ON, 
    constraintEnforcementMethod=DEFAULT)
#: The interaction property "IntProp-1" has been created.
mdb.models['Lagerbock'].ContactExp(name='Int-1', createStepName='Initial')
r11=mdb.models['Lagerbock'].rootAssembly.surfaces['Surf-2']
r12=mdb.models['Lagerbock'].rootAssembly.surfaces['Surf-1']
mdb.models['Lagerbock'].interactions['Int-1'].includedPairs.setValuesInStep(
    stepName='Initial', useAllstar=OFF, addPairs=((r11, r12), ))
mdb.models['Lagerbock'].interactions['Int-1'].contactPropertyAssignments.appendInStep(
    stepName='Initial', assignments=((GLOBAL, SELF, 'IntProp-1'), ))
#: The interaction "Int-1" has been created.
del mdb.models['Lagerbock'].interactions['Int-1']
del mdb.models['Lagerbock'].interactionProperties['IntProp-1']
del mdb.models['Lagerbock'].rootAssembly.surfaces['Surf-1']
del mdb.models['Lagerbock'].rootAssembly.surfaces['Surf-2']
del mdb.models['Lagerbock'].sections['ConnSect-1']
