Module platepy.createModel

Defines the classes and methods needed to initialize the model and define the geometry.

Classes

class Column (inputDict, isInPlate=False)

A column object contains all characteristics regarding geometry and support conditions.

INPUT
  • inputDict: dictionary with following entries:
    • "outlineCoords": 1 x 2 numpy array with the x and y coordinates of the column.
    • "width": Width of the column (square-shaped).
    • "support": Numpy array of length 3, each element is either 1 or 0 to block or leave free the relative degree of freedom.
  • isInPlate = False: Boolean, True if the columns is positioned inside a plate (default is False) .
class Concrete (inputDict)

A concrete object contains all characteristics regarding the material used for plates and downstand beams.

INPUT
  • inputDict: dictionary with following entries:
    • "eModule": Elastic modulus E.
    • "gModule": Shear modulus G.
    • "nu": Poisson's ratio.

Subclasses

class CrossSection (A, Iy, Iz, b, h)

A crossSection object contains all the geometrical information used in downstand beams.

INPUT
  • A: Area of the cross section.
  • Iy: Second moment of area in respect to the y-axis.
  • Iz: Second moment of area in respect to the z-axis.
  • b: Width of the structural element.
  • h : High of the structural element.
class DownStandBeam (inputDict)

A downStandBeam object contains all characteristics regarding geometry and material.

INPUT
  • inputDict: dictionary with following entries:
    • "outlineCoords": n x 2 numpy array with n x-y couples, representing the points defining the downstand beam's outline.
    • "body": Concrete object.
    • "crossSection": CrossSection object.
class Load (case, magnitude)

A load object contains all information which define a load, including magnitude, type and position.

INPUT
  • case: String defining the type of load. Acceptable values are:
    • "line": Line load, outline is to be additionally defined.
    • "area": Constant load distributed on the entire structure.
    • "point": Concentrated load, position is to be additionally defined.
  • magnitude: Numpy array of length 3, each element define the magnitude of the applied load for the relative degree of freedom.
class Plate (inputDict, isUnterZug=False, t=0)

A plate object contains all characteristics regarding geometry and material.

INPUT
  • inputDict: dictionary with following entries:
    • "outlineCoords": n x 2 numpy array with n x-y couples, representing the boundaries of the plate
    • "thickness": thickness of the plate
    • "body": Concrete object
  • isUnterZug = False: Boolean, True if the plate aims to model a downstand beam (default is False)
  • t = 0: If the plate aims to model a downstand beam, thickness of the surrounding plate (default is 0)
class PlateModel

A PlateModel object is used as basis for the calculation of FE-model. Is used to store structural elements, mesh and results.

Methods

def addColumn(self, newColumn)

Add a column to the plateModel.

INPUT

newColumn: Column object to be added.

def addDownStandBeam(self, newDSB)

Add a downstand beam to the plateModel.

INPUT

newDSB: DownStandBeam object to be added.

def addLoad(self, newLoad)

Add a load to the plateModel.

INPUT

newLoad: Load object to be added.

def addPlate(self, newPlate)

Add a plate object to the plateModel.

INPUT

newPlate: Plate object to be added.

def addWall(self, newWall)

Add a wall to the plateModel.

INPUT

newWall: Wall object to be added.

def clearMesh(self)

Method to delete the current mesh of the plateModel.

class StandardConcrete (concreteType)

Defines a concrete object from a repository of standard concretes.

INPUT
  • concreteType: string defining the standard concrete type. Possibilities are:
    • "C25_30"
    • "C30_37"
    • "unit"

Ancestors

class Wall (inputDict, verticalDisplacement=False)

A wall object contains all characteristics regarding geometry and support conditions.

INPUT
  • inputDict: dictionary with following entries:
    • "outlineCoords": n x 2 numpy array with n x-y couples, representing the points defining the wall's outline.
    • "thickness": thickness of the wall
    • "support": Numpy array of length 3, each element is either 1 or 0 to block or leave free the relative degree of freedom.