Beispiel #1
0
from postprocess import RC_material_distribution
from postprocess import element_section_map

# Reinforced concrete material distribution over the elements of the FE model.
# Concrete of type concrete01 with no tension branch

#FE model generation
execfile("../model_data.py")

#RC-sections definition file.
execfile("../sectionsDef.py")

#list of RC sections (from those whose attributes (materials, geometry, refinforcement, set of elements to which apply, ... are defined in the file 'sectionsDef.py') that we want to process in order to run different limit-state checkings.
lstOfSectRecords = [murestrZ1RCSects, murestrZ2RCSects]

reinfConcreteSectionDistribution = RC_material_distribution.RCMaterialDistribution(
)
sections = reinfConcreteSectionDistribution.sectionDefinition  #sections container

#Generation of 2 fiber sections (1 and 2 direction) for each record in list
#lstOfSectRecords. Inclusion of these section-groups in the sections container
for secRec in lstOfSectRecords:
    sections.append(secRec)

#Generation of the distribution of material extended to the elements of the
#FE model, assigning to each element the section-group that corresponds to it
for secRec in lstOfSectRecords:
    elset = prep.getSets.getSet(secRec.elemSetName)
    reinfConcreteSectionDistribution.assign(elemSet=elset.elements,
                                            setRCSects=secRec)
reinfConcreteSectionDistribution.dump()
Beispiel #2
0
from postprocess import limit_state_data as lsd
from postprocess import RC_material_distribution
#from materials.ehe import EHE_limit_state_checking as lscheck  #Checking material for shear limit state according to EHE08
from materials.sia262 import SIA262_limit_state_checking as lscheck

execfile("../model_gen.py")  #FE model generation
lsd.LimitStateData.envConfig = cfg

#choose env_config file:
execfile("../env_config_deck.py")
#execfile("../env_config_abutment.py")
#
#Reinforced concrete sections on each element.
#reinfConcreteSections=RC_material_distribution.RCMaterialDistribution()
#reinfConcreteSections.mapSectionsFileName='./mapSectionsReinforcement.pkl'
reinfConcreteSections = RC_material_distribution.loadRCMaterialDistribution()
#stcalc=setArmadosEstr
#stcalc=setArmVol
#stcalc=setArmCart
#stcalc=setArmLosa
#stcalc=setArmPil
stcalc = setArmados
#stcalc=setArmadosEstr
#stcalc=setArmZapEstr
#stcalc=setArmMurEstr
# variables that control the output of the checking (setCalc,
# appendToResFile .py [defaults to 'N'], listFile .tex [defaults to 'N']
outCfg = lsd.VerifOutVars(setCalc=stcalc,
                          appendToResFile='N',
                          listFile='N',
                          calcMeanCF='N')