示例#1
0
from postprocess.control_vars import *
from postprocess import limit_state_data as lsd
from postprocess.xcVtk.FE_model import vtk_display_limit_state as dls

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

#Load properties to display:
execfile(cfg.verifCrackFreqFile)

#  Config
argument = 'wk'  #Possible arguments: 'N', 'My','Mz','s_rmax','eps_sm','wk'
fUnitConv = 1e3  #unit conversion factor (i.e m->mm => fUnitConv= 1e3)
setDisp = decks  #Set of shell elements to be displayed
viewName = 'XYZPos'  #predefined view names: 'XYZPos','XNeg','XPos','YNeg',
#'YPos','ZNeg','ZPos'  (defaults to 'XYZPos')
rgMinMax = (0, 0.3)  #truncate values to be included in the range
#(if None -> don't truncate)
#  End config

dls.displayFieldDirs1and2(limitStateLabel=lsd.freqLoadsCrackControl.label,
                          argument=argument,
                          elementSet=setDisp,
                          component=None,
                          fUnitConv=fUnitConv,
                          fileName=None,
                          captionTexts=cfg.capTexts,
                          defFScale=0.0,
                          viewName=viewName,
                          rgMinMax=rgMinMax)
from postprocess import limit_state_data as lsd
from postprocess.xcVtk.FE_model import vtk_display_limit_state as dls
from postprocess import RC_material_distribution

execfile('xc_model_data.py')  #data for FE model generation

#Load properties to display:
#preprocessor= FEcase.getPreprocessor
execfile('results/verifications/verifRsl_shearULS.py')
execfile('captionTexts.py')
#Elements with an assigned section.
reinfConcreteSectionDistribution = RC_material_distribution.loadRCMaterialDistribution(
)
elementsWithSection = reinfConcreteSectionDistribution.getElementSet(
    preprocessor)

limitStateLabel = lsd.shearResistance.label
#attributeName= limitStateLabel + 'Sect1'   #Shear limit state direction 1.
#attributeName= limitStateLabel + 'Sect2'   #Shear limit state direction 2

#Possible arguments: 'CF', 'N', 'My', 'Mz', 'Mu', 'Vy', 'Vz', 'theta', 'Vcu', 'Vsu', 'Vu'
argument = 'CF'

# #Flatten values.
# if( "FCCP" in attributeName):
#   extrapolate_elem_attr.flatten_attribute(elemSet,attributeName,1,2)

setDisp = elementsWithSection
dls.displayFieldDirs1and2(limitStateLabel, argument, setDisp, None, 1.0, None,
                          capTexts)  #,viewName="-X+Y+Z",defFScale=0.0)
示例#3
0
from postprocess.control_vars import *
from postprocess import limit_state_data as lsd
from postprocess.xcVtk.FE_model import vtk_display_limit_state as dls

model_path = "../"
#Project directory structure
execfile(model_path + 'project_directories.py')

modelDataInputFile = model_path + "model_data.py"  #data for FE model generation
execfile(modelDataInputFile)

#Load properties to display:
fName = model_path + check_results_directory + 'verifRsl_crackingSLS_freq.py'
execfile(fName)
execfile('../captionTexts.py')

limitStateLabel = lsd.freqLoadsCrackControl.label
#Possible arguments: 'N', 'My','Mz','s_rmax','eps_sm','wk'
argument = 'wk'
argument = 'Mz'

setDisp = deck
dls.displayFieldDirs1and2(limitStateLabel,
                          argument,
                          setDisp,
                          component=None,
                          fUnitConv=1e3,
                          fileName=None,
                          captionTexts=capTexts,
                          defFScale=0.0)
# -*- coding: utf-8 -*-

from postprocess.control_vars import *
from postprocess import limit_state_data as lsd
from postprocess.xcVtk.FE_model import vtk_display_limit_state as dls


model_path="../"
#Project directory structure
execfile(model_path+'project_directories.py')

modelDataInputFile=model_path+"model_data.py" #data for FE model generation
execfile(modelDataInputFile)


#Load properties to display:
fName= model_path+check_results_directory+'verifRsl_crackingSLS_qperm.py'
execfile(fName)


limitStateLabel= lsd.quasiPermanentLoadsCrackControl.label

#Possible arguments: 'getMaxSteelStress', 'getCF'
argument= 'getMaxSteelStress'

setDisp= allShells
dls.displayFieldDirs1and2(limitStateLabel,argument,setDisp,None,1.0,None,cfg.capTexts,defFScale=1.0)
示例#5
0
from postprocess.control_vars import *
from postprocess import limit_state_data as lsd
from postprocess.xcVtk.FE_model import vtk_display_limit_state as dls

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

#Load properties to display:
execfile(cfg.verifNormStrFile)

#  Config
argument = 'CF'  #Possible arguments: 'CF', 'N', 'My','Mz'
fUnitConv = 1.0  #unit conversion factor (i.e N->kN => fUnitConv= 1e-3)
setDisp = foot  #Set of shell elements to be displayed
viewName = 'XYZPos'  #predefined view names: 'XYZPos','XNeg','XPos','YNeg',
#'YPos','ZNeg','ZPos'  (defaults to 'XYZPos')
rgMinMax = (0, 1.0)  #truncate values to be included in the range
#(if None -> don't truncate)
#  End config

dls.displayFieldDirs1and2(limitStateLabel=lsd.normalStressesResistance.label,
                          argument=argument,
                          elementSet=setDisp,
                          component=None,
                          fUnitConv=fUnitConv,
                          fileName=None,
                          captionTexts=cfg.capTexts,
                          defFScale=0.0,
                          viewName=viewName,
                          rgMinMax=rgMinMax)
示例#6
0
# -*- coding: utf-8 -*-
from postprocess.control_vars import *
from postprocess import limit_state_data as lsd
from postprocess.xcVtk.FE_model import vtk_display_limit_state as dls

model_path = "./"
#Project directory structure
execfile(model_path + 'project_directories.py')

modelDataInputFile = model_path + "model_data.py"  #data for FE model generation
execfile(modelDataInputFile)

#Load properties to display:
fName = model_path + check_results_directory + 'verifRsl_normStrsULS.py'
execfile(fName)
execfile('./captionTexts.py')

limitStateLabel = lsd.normalStressesResistance.label

#Possible arguments: 'CF', 'N', 'My', 'Mz'
argument = 'CF'
setDisp = setDeck
#setDisp= setDock
#setDisp= setParapet

# if("FCCP" in attributeName):
#   extrapolate_elem_attr.flatten_attribute(xcSet.getElements,attributeName,1,2)

dls.displayFieldDirs1and2(limitStateLabel, argument, setDisp, None, 1.0, None,
                          capTexts)