OpenSeesPyAssistant 1.1
OpenSeesPy for everyone
MaterialModels Namespace Reference

Module for the material models. More...

Classes

class  ConfMander1988Circ
 Class that stores funcions and material properties of a RC circular section with Mander 1988 as the material model for the confined reinforced concrete and the OpenSeesPy command type used to model it is Concrete04 or Concrete01. More...
 
class  ConfMander1988CircRCCircShape
 Class that is the children of ConfMander1988Circ and combine the class RCCircShape (section) to retrieve the information needed. More...
 
class  ConfMander1988Rect
 Class that stores funcions and material properties of a RC rectangular section with Mander 1988 as the material model for the confined reinforced concrete and the OpenSeesPy command type used to model it is Concrete04 or Concrete01. More...
 
class  ConfMander1988RectRCRectShape
 Class that is the children of ConfMander1988Rect and combine the class RCRectShape (section) to retrieve the information needed. More...
 
class  GMP1970
 Class that stores funcions and material properties of the vertical steel reinforcement bars with Giuffré, Menegotto and Pinto 1970 as the material model and the OpenSeesPy command type used to model it is Steel02. More...
 
class  GMP1970RCRectShape
 Class that is the children of GMP1970 and combine the class RCRectShape (section) to retrieve the information needed. More...
 
class  Gupta1999
 Class that stores funcions and material properties of a steel double symmetric I-shape profile with Gupta 1999 as the material model for the panel zone and the OpenSeesPy command type used to model it is Hysteresis. More...
 
class  Gupta1999SteelIShape
 Class that is the children of Gupta1999 and combine the class SteelIShape (section) to retrieve the information needed. More...
 
class  MaterialModels
 Parent abstract class for the storage and manipulation of a material model's information (mechanical and geometrical parameters, etc) and initialisation in the model. More...
 
class  ModifiedIMK
 Class that stores funcions and material properties of a steel double symmetric I-shape profile with modified Ibarra-Medina-Krawinkler as the material model for the nonlinear springs and the OpenSeesPy command type used to model it is Bilin. More...
 
class  ModifiedIMKSteelIShape
 Class that is the children of ModifiedIMK and combine the class SteelIShape (section) to retrieve the information needed. More...
 
class  Skiadopoulos2021
 Class that stores funcions and material properties of a steel double symmetric I-shape profile with Skiadopoulos 2021 as the material model for the panel zone and the OpenSeesPy command type used to model it is Hysteresis. More...
 
class  Skiadopoulos2021RCS
 WIP: Class that is the children of Skiadopoulos2021 and it's used for the panel zone spring in a RCS (RC column continous, Steel beam). More...
 
class  Skiadopoulos2021SteelIShape
 Class that is the children of Skiadopoulos2021 and combine the class SteelIShape (section) to retrieve the information needed. More...
 
class  UnconfMander1988
 Class that stores funcions and material properties of a RC rectangular or circular section with Mander 1988 as the material model for the unconfined reinforced concrete and the OpenSeesPy command type used to model it is Concrete04 or Concrete01. More...
 
class  UnconfMander1988RCCircShape
 Class that is the children of UnconfMander1988 and combine the class RCCircShape (section) to retrieve the information needed. More...
 
class  UnconfMander1988RCRectShape
 Class that is the children of UnconfMander1988 and combine the class RCRectShape (section) to retrieve the information needed. More...
 
class  UniaxialBilinear
 Class that stores funcions and material properties of a simple uniaxial bilinear model with the OpenSeesPy command type used to model it is Steel01. More...
 
class  UniaxialBilinearSteelIShape
 Class that is the children of UniaxialBilinear and combine the class SteelIShape (section) to retrieve the information needed. More...
 
class  UVC
 Class that stores funcions and material properties of a steel profile or reinforcing bar with Updated Voce-Chaboche as the material model and the OpenSeesPy command type used to model it is UVCuniaxial. More...
 
class  UVCCalibrated
 Class that is the children of UVC that retrieve calibrated parameters from UVC_calibrated_parameters.txt. More...
 
class  UVCCalibratedRCCircShape
 Class that is the children of UVCCalibrated and combine the class RCCircShape (section) to retrieve the information needed. More...
 
class  UVCCalibratedRCRectShape
 Class that is the children of UVCCalibrated and combines the class RCRectShape (section) to retrieve the information needed. More...
 
class  UVCCalibratedSteelIShapeFlange
 Class that is the children of UVCCalibrated and combine the class SteelIShape (section) to retrieve the information needed for the material model of the flange (often used fo the entire section). More...
 
class  UVCCalibratedSteelIShapeWeb
 Class that is the children of UVCCalibrated and combine the class SteelIShape (section) to retrieve the information needed for the material model of the web. More...
 

Functions

def Concrete01Funct (fc, ec, fpcu, ecu, discretized_eps)
 Function with the equation of the curve of the Concrete01 model. More...
 
def Concrete04Funct (fc, discretized_eps, ec, Ec)
 Function with the equation of the curve of the confined and unconfined concrete (Popovics 1973). More...
 
def PlotConcrete01 (fc, ec, fpcu, ecu, ax, ID=0)
 Function that plots the Concrete01 stress-strain curve. More...
 
def PlotConcrete04 (fc, Ec, ec, ecu, str Type, ax, ID=0)
 Function that plots the confined/unconfined Concrete04 stress-strain curve. More...
 

Detailed Description

Module for the material models.

Carmine Schipani, 2021

Function Documentation

◆ Concrete01Funct()

def MaterialModels.Concrete01Funct (   fc,
  ec,
  fpcu,
  ecu,
  discretized_eps 
)

Function with the equation of the curve of the Concrete01 model.

For more information, see Kent-Scott-Park concrete material object with degraded linear unloading/reloading stiffness according to the work of Karsan-Jirsa and no tensile strength.

Parameters
fc(float): Compressive concrete yield stress (negative).
ec(float): Compressive concrete yield strain (negative).
fpcu(float): Concrete crushing strength (negative).
ecu(float): Concrete strain at crushing strength (negative).
discretized_eps(float): Variable strain.
Returns
float: Stress in function of variable strain.

Definition at line 2969 of file MaterialModels.py.

2969def Concrete01Funct(fc, ec, fpcu, ecu, discretized_eps):
2970 """
2971 Function with the equation of the curve of the Concrete01 model.
2972 For more information, see Kent-Scott-Park concrete material object with
2973 degraded linear unloading/reloading stiffness according to the work of Karsan-Jirsa and no tensile strength.
2974
2975 @param fc (float): Compressive concrete yield stress (negative).
2976 @param ec (float): Compressive concrete yield strain (negative).
2977 @param fpcu (float): Concrete crushing strength (negative).
2978 @param ecu (float): Concrete strain at crushing strength (negative).
2979 @param discretized_eps (float): Variable strain.
2980
2981 @returns float: Stress in function of variable strain.
2982 """
2983 if discretized_eps > ec:
2984 eta = discretized_eps/ec;
2985 return fc*(2*eta-eta*eta);
2986 else:
2987 Ttangent = (fc-fpcu)/(ec-ecu)
2988 return fc + Ttangent*(discretized_eps-ec);
2989
2990
def Concrete01Funct(fc, ec, fpcu, ecu, discretized_eps)
Function with the equation of the curve of the Concrete01 model.

◆ Concrete04Funct()

def MaterialModels.Concrete04Funct (   fc,
  discretized_eps,
  ec,
  Ec 
)

Function with the equation of the curve of the confined and unconfined concrete (Popovics 1973).

Parameters
fc(float): Compressive concrete yield stress (negative).
discretized_eps(float): Variable strain.
ec(float): Compressive concrete yield strain (negative).
Ec(float): Concrete Young modulus.
Returns
float: Stress in function of variable strain.

Definition at line 2913 of file MaterialModels.py.

2913def Concrete04Funct(fc, discretized_eps, ec, Ec):
2914 """
2915 Function with the equation of the curve of the confined and unconfined concrete (Popovics 1973).
2916
2917 @param fc (float): Compressive concrete yield stress (negative).
2918 @param discretized_eps (float): Variable strain.
2919 @param ec (float): Compressive concrete yield strain (negative).
2920 @param Ec (float): Concrete Young modulus.
2921
2922 @returns float: Stress in function of variable strain.
2923 """
2924 x = discretized_eps/ec
2925 r = Ec / (Ec - fc/ec)
2926 return fc*x*r / (r-1+x**r)
2927
2928
def Concrete04Funct(fc, discretized_eps, ec, Ec)
Function with the equation of the curve of the confined and unconfined concrete (Popovics 1973).

◆ PlotConcrete01()

def MaterialModels.PlotConcrete01 (   fc,
  ec,
  fpcu,
  ecu,
  ax,
  ID = 0 
)

Function that plots the Concrete01 stress-strain curve.

Parameters
fc(float): Compressive concrete yield stress (negative).
ec(float): Compressive concrete yield strain (negative).
fpcu(float): Concrete crushing strength (negative).
ecu(float): Concrete strain at crushing strength (negative).
ax(matplotlib.axes._subplots.AxesSubplot): The figure's wrapper.
ID(int, optional): ID of the material model. Defaults to 0 (= not defined).

Example: to create the plot, call this line to pass the correct ax: fig, ax = plt.subplots()

Definition at line 2991 of file MaterialModels.py.

2991def PlotConcrete01(fc, ec, fpcu, ecu, ax, ID = 0):
2992 """
2993 Function that plots the Concrete01 stress-strain curve.
2994
2995 @param fc (float): Compressive concrete yield stress (negative).
2996 @param ec (float): Compressive concrete yield strain (negative).
2997 @param fpcu (float): Concrete crushing strength (negative).
2998 @param ecu (float): Concrete strain at crushing strength (negative).
2999 @param ax (matplotlib.axes._subplots.AxesSubplot): The figure's wrapper.
3000 @param ID (int, optional): ID of the material model. Defaults to 0 (= not defined).
3001
3002 Example: to create the plot, call this line to pass the correct ax:
3003 fig, ax = plt.subplots()
3004 """
3005
3006 # Data for plotting
3007 N = 1000
3008 x_axis = np.zeros(N)
3009 y_axis = np.zeros(N)
3010 for i in range(N):
3011 x_axis[i] = i/N*ecu
3012 y_axis[i] = Concrete01Funct(fc, ec, fpcu, ecu, x_axis[i])
3013
3014
3015 ax.plot(x_axis*100.0, y_axis/MPa_unit, 'k--', label = "Co01")
3016 ax.set(xlabel='Strain [%]', ylabel='Stress [MPa]',
3017 title='Mander 1988 (Concrete01) material model (ID={})'.format(ID))
3018 plt.legend()
3019 plt.grid()
3020
3021
3022# Private functions
def PlotConcrete01(fc, ec, fpcu, ecu, ax, ID=0)
Function that plots the Concrete01 stress-strain curve.

◆ PlotConcrete04()

def MaterialModels.PlotConcrete04 (   fc,
  Ec,
  ec,
  ecu,
str  Type,
  ax,
  ID = 0 
)

Function that plots the confined/unconfined Concrete04 stress-strain curve.

Parameters
fc(float): Compressive concrete yield strength (needs to be negative).
Ec(float): Young modulus.
ec(float): Compressive concrete yield strain.
ecu(float): Compressive concrete failure strain (negative).
Type(str): Type of concrete (confined = 'C', unconfined = 'U')
ax(matplotlib.axes._subplots.AxesSubplot): The figure's wrapper.
ID(int, optional): ID of the material model. Defaults to 0 (= not defined).
Exceptions
NameError

Example: to create the plot, call this line to pass the correct ax: fig, ax = plt.subplots()

Definition at line 2929 of file MaterialModels.py.

2929def PlotConcrete04(fc, Ec, ec, ecu, Type: str, ax, ID = 0):
2930 """
2931 Function that plots the confined/unconfined Concrete04 stress-strain curve.
2932
2933 @param fc (float): Compressive concrete yield strength (needs to be negative).
2934 @param Ec (float): Young modulus.
2935 @param ec (float): Compressive concrete yield strain.
2936 @param ecu (float): Compressive concrete failure strain (negative).
2937 @param Type (str): Type of concrete (confined = 'C', unconfined = 'U')
2938 @param ax (matplotlib.axes._subplots.AxesSubplot): The figure's wrapper.
2939 @param ID (int, optional): ID of the material model. Defaults to 0 (= not defined).
2940
2941 @exception NameError:
2942
2943 Example: to create the plot, call this line to pass the correct ax:
2944 fig, ax = plt.subplots()
2945 """
2946 if Type == "C":
2947 name = "Confined (Co04)"
2948 elif Type == "U":
2949 name = "Unconfined (Co04)"
2950 else:
2951 raise NameError("Type should be C or U (ID={})".format(ID))
2952
2953 # Data for plotting
2954 N = 1000
2955 x_axis = np.zeros(N)
2956 y_axis = np.zeros(N)
2957 for i in range(N):
2958 x_axis[i] = i/N*ecu
2959 y_axis[i] = Concrete04Funct(fc, x_axis[i], ec, Ec)
2960
2961
2962 ax.plot(x_axis*100.0, y_axis/MPa_unit, 'k-', label = name)
2963 ax.set(xlabel='Strain [%]', ylabel='Stress [MPa]',
2964 title='Mander 1988 (Concrete04) material model (ID={})'.format(ID))
2965 plt.legend()
2966 plt.grid()
2967
2968
def PlotConcrete04(fc, Ec, ec, ecu, str Type, ax, ID=0)
Function that plots the confined/unconfined Concrete04 stress-strain curve.