Ejemplo n.º 1
0
 def __init__(self,
              modelSpace=None,
              loadCaseName='',
              loadCaseExpr='',
              outputStyle=output_styles.OutputStyle()):
     ''' Constructor.'''
     super(QuickGraphics, self).__init__(modelSpace, outputStyle)
     self.loadCaseName = loadCaseName
     self.loadCaseExpr = loadCaseExpr
Ejemplo n.º 2
0
    def __init__(self,
                 modelSpace=None,
                 outputStyle=output_styles.OutputStyle()):
        '''Defines the dimension of the space and the number 
         of DOFs for each node.

         :param modelSpace: FE model data
         :param outputStyle: style of the output.
        '''
        self.modelSpace = modelSpace
        self.outputStyle = outputStyle
Ejemplo n.º 3
0
 def __init__(self,
              feProblem,
              loadCaseName='',
              loadCaseExpr='',
              outputStyle=output_styles.OutputStyle()):
     modelSpace = predefined_spaces.getModelSpaceFromPreprocessor(
         feProblem.getPreprocessor)
     super(LoadCaseResults, self).__init__(modelSpace, loadCaseName,
                                           loadCaseExpr, outputStyle)
     self.feProblem = feProblem
     if (self.feProblem):
         self.prep = feProblem.getPreprocessor
Ejemplo n.º 4
0
from model.sets import sets_mng as sets
from materials import typical_materials as tm
from model.geometry import geom_utils as gut
from materials.astm_aisc import ASTM_materials as astm
from actions import loads
from actions import load_cases as lcases
from actions.wind import base_wind as bw

# Default configuration of environment variables.
from postprocess.config import default_config
from postprocess import output_styles as outSty
from postprocess import output_handler as outHndl

workingDirectory = default_config.findWorkingDirectory() + '/'
execfile(workingDirectory + 'env_config.py')
sty = outSty.OutputStyle()

#Data
execfile(workingDirectory + 'data.py')

#             *** GEOMETRIC model (points, lines, surfaces) - SETS ***
FEcase = xc.FEProblem()
preprocessor = FEcase.getPreprocessor
prep = preprocessor  #short name
nodes = prep.getNodeHandler
elements = prep.getElementHandler
elements.dimElem = 3
# Problem type
modelSpace = predefined_spaces.StructuralMechanics3D(nodes)  #Defines the
# dimension of the space: nodes by three coordinates (x,y,z) and
# six DOF for each node (Ux,Uy,Uz,thetaX,thetaY,thetaZ)