Esempio n. 1
0
    filename = modelname + ext # (save-filename)
    jobname = modelname + 'Job'
    Neig = 25   # Number of eigenmodes

    # Main dimensions
    xm = 5.0 # x-module length [m]
    ym = 2.5 # y-module height [m]
    zm = 5.0 # z-module width [m]
    # No. of modules
    nm = [2, 1, 1] # [# modules long,# modules high,# modules wide]
    inst_prefix = ['xBeam', 'yColumn', 'zBeam', 'xWaLL', 'yFloor', 'zWaLL'] # prefixs for instance names
    import instancename # uses instancsysename.py located in ... C:\Program Files\SIMULIA\Abaqus\6.10-2\Python\usercreated
    xin,xnm   = instancename.xBeamname(  nm,inst_prefix[0]) # x Beam   instance name, x  number module (nm)
    yin,ynm   = instancename.yColumnname(nm,inst_prefix[1]) # y Cloumn instance name, y  number module (nm)
    zin,znm   = instancename.zBeamname(  nm,inst_prefix[2]) # z Beam   instance name, z  number module (nm)
    xWin,xWnm = instancename.xWallname(  nm,inst_prefix[3]) # x Wall   instance name, xW number module (nm)
    yFin,yFnm = instancename.yFloorname( nm,inst_prefix[4]) # y Floor  instance name, yF number module (nm)
    zWin,zWnm = instancename.zWallname(  nm,inst_prefix[5]) # z Wall   instance name, zW number module (nm)
    skeletonparts = [0, 1, 2] # Skeleton order num "0, 1, 2" in the inst_prefix list
    
    removeplane = [0,0,0]
    removeplane = [nm[2]+1,1,0] # remove plane number [xy, xz, yz]
    
    # Material properties
    Ec = 30E9   # Young's Modulus (concrete)
    vc = 0.2    # Poisson's ratio (concrete)
    denc = 2350 # density (concrete)
    E0 = 1E7    # Young's Modulus (material-0)
    v0 = 0.2    # Poisson's ratio (material-0)
    den0 = 1   # density (material-0)
Esempio n. 2
0
# Mesh size
deviationfactor   = 0.1

seedsize          = 0.3
seedsize_skeleton = 0.3


# No. of modules
nm = [4, 3, 1] # [# modules long,# modules high,# modules wide]
inst_prefix = ['xBeam', 'yColumn', 'zBeam', 'xWaLL', 'yFloor', 'zWaLL'] # prefixs for instance names
import instancename # uses instancsysename.py located in ... C:\Program Files\SIMULIA\Abaqus\6.10-2\Python\usercreated
xin,xnm   = instancename.xBeamname(  nm,inst_prefix[0]) # x Beam   instance name, x  number module (nm)
yin,ynm   = instancename.yColumnname(nm,inst_prefix[1]) # y Cloumn instance name, y  number module (nm)
zin,znm   = instancename.zBeamname(  nm,inst_prefix[2]) # z Beam   instance name, z  number module (nm)
#xWin,xWnm = instancename.xWallname(  nm,inst_prefix[3]) # x Wall   instance name, xW number module (nm)
xWin,xWnm = instancename.xWallname(  nm,substrname[0]) # x Wall   instance name, xW number module (nm)
#yFin,yFnm = instancename.yFloorname( nm,inst_prefix[4]) # y Floor  instance name, yF number module (nm)
yFin,yFnm = instancename.yFloorname( nm,substrname[1]) # y Floor  instance name, yF number module (nm)
#zWin,zWnm = instancename.zWallname(  nm,inst_prefix[5]) # z Wall   instance name, zW number module (nm)
zWin,zWnm = instancename.zWallname(  nm,substrname[2]) # z Wall   instance name, zW number module (nm)
skeletonparts = [0, 1, 2] # Skeleton order num "0, 1, 2" in the inst_prefix list

removeplane = [0,0,0]
removeplane = [nm[2]+1,1,0] # remove plane number [xy, xz, yz]

######################################




## Saving .cae file in dir