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) .
- inputDict: dictionary with following entries:
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
- inputDict: dictionary with following entries:
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":
Concreteobject. - "crossSection":
CrossSectionobject.
- inputDict: dictionary with following entries:
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.
- case: String defining the type of load. Acceptable values are:
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":
Concreteobject
- 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)
- inputDict: dictionary with following entries:
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)def addDownStandBeam(self, newDSB)def addLoad(self, newLoad)def addPlate(self, newPlate)def addWall(self, newWall)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
- concreteType: string defining the standard concrete type. Possibilities are:
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.
- inputDict: dictionary with following entries: