suanPan
CDPM2 Class Referencefinal

The CDPM2 class. More...

#include <CDPM2.h>

Inheritance diagram for CDPM2:
Collaboration diagram for CDPM2:

Public Types

enum class  DamageType { NODAMAGE , ISOTROPIC , ANISOTROPIC }
 

Public Member Functions

 CDPM2 (unsigned, double, double, double, double, double, double, double, double, double, double, double, double, double, double, DamageType, double)
 
int initialize (const shared_ptr< DomainBase > &) override
 
unique_ptr< Materialget_copy () override
 
double get_parameter (ParameterType) const override
 
int update_trial_status (const vec &) override
 
int clear_status () override
 
int commit_status () override
 
int reset_status () override
 
vector< vec > record (OutputType) override
 
void print () override
 
- Public Member Functions inherited from Material3D
 Material3D (unsigned, double)
 
vector< vec > record (OutputType) override
 
- Public Member Functions inherited from Material
 Material (unsigned=0, MaterialType=MaterialType::D0, double=0.)
 
 Material (const Material &)=default
 
 Material (Material &&)=delete
 
Materialoperator= (const Material &)=delete
 
Materialoperator= (Material &&)=delete
 
 ~Material () override=default
 
double get_density () const
 
MaterialType get_material_type () const
 
PlaneType get_plane_type () const
 
int initialize_base (const shared_ptr< DomainBase > &)
 
virtual int initialize (const shared_ptr< DomainBase > &)=0
 
virtual void initialize_couple (const shared_ptr< DomainBase > &)
 
virtual void initialize_history (unsigned)
 
virtual void set_initial_history (const vec &)
 
void set_initialized (bool) const
 
void set_symmetric (bool) const
 
void set_support_couple (bool) const
 
bool is_initialized () const
 
bool is_symmetric () const
 
bool is_support_couple () const
 
void set_characteristic_length (double) const
 
double get_characteristic_length () const
 
virtual double get_parameter (ParameterType) const
 
virtual const vec & get_trial_strain ()
 
virtual const vec & get_trial_strain_rate ()
 
virtual const vec & get_trial_strain_acc ()
 
virtual const vec & get_trial_stress ()
 
virtual const mat & get_trial_stiffness ()
 
virtual const mat & get_trial_secant ()
 
virtual const mat & get_trial_damping ()
 
virtual const mat & get_trial_inertial ()
 
virtual const vec & get_current_strain ()
 
virtual const vec & get_current_strain_rate ()
 
virtual const vec & get_current_strain_acc ()
 
virtual const vec & get_current_stress ()
 
virtual const mat & get_current_stiffness ()
 
virtual const mat & get_current_secant ()
 
virtual const mat & get_current_damping ()
 
virtual const mat & get_current_inertial ()
 
virtual const vec & get_initial_history () const
 
virtual const mat & get_initial_stiffness () const
 
virtual const mat & get_initial_damping () const
 
virtual const mat & get_initial_inertial () const
 
virtual const vec & get_trial_curvature ()
 
virtual const vec & get_trial_couple_stress ()
 
virtual const mat & get_trial_couple_stiffness ()
 
virtual const vec & get_current_curvature ()
 
virtual const vec & get_current_couple_stress ()
 
virtual const mat & get_current_couple_stiffness ()
 
virtual const mat & get_initial_couple_stiffness () const
 
virtual unique_ptr< Materialget_copy ()=0
 
int update_incre_status (double)
 
int update_incre_status (double, double)
 
int update_incre_status (double, double, double)
 
int update_trial_status (double)
 
int update_trial_status (double, double)
 
int update_trial_status (double, double, double)
 
virtual int update_incre_status (const vec &)
 
virtual int update_incre_status (const vec &, const vec &)
 
virtual int update_incre_status (const vec &, const vec &, const vec &)
 
virtual int update_trial_status (const vec &)
 
virtual int update_trial_status (const vec &, const vec &)
 
virtual int update_trial_status (const vec &, const vec &, const vec &)
 
int update_couple_incre_status (double)
 
int update_couple_incre_status (double, double)
 
int update_couple_incre_status (double, double, double)
 
int update_couple_trial_status (double)
 
int update_couple_trial_status (double, double)
 
int update_couple_trial_status (double, double, double)
 
virtual int update_couple_incre_status (const vec &)
 
virtual int update_couple_incre_status (const vec &, const vec &)
 
virtual int update_couple_incre_status (const vec &, const vec &, const vec &)
 
virtual int update_couple_trial_status (const vec &)
 
virtual int update_couple_trial_status (const vec &, const vec &)
 
virtual int update_couple_trial_status (const vec &, const vec &, const vec &)
 
virtual int clear_status ()=0
 
virtual int commit_status ()=0
 
virtual int reset_status ()=0
 
virtual int clear_couple_status ()
 
virtual int commit_couple_status ()
 
virtual int reset_couple_status ()
 
virtual std::vector< vec > record (OutputType)
 
- Public Member Functions inherited from Tag
 Tag (unsigned=0)
 
 Tag (const Tag &)=default
 
 Tag (Tag &&)=default
 
Tagoperator= (const Tag &)=delete
 
Tagoperator= (Tag &&)=delete
 
virtual ~Tag ()=default
 
void set_tag (unsigned) const
 
unsigned get_tag () const
 
void enable ()
 
void disable ()
 
void guard ()
 
void unguard ()
 
bool is_active () const
 
bool is_guarded () const
 
virtual void print ()
 

Additional Inherited Members

- Protected Member Functions inherited from Material3D
 Material3D (unsigned, double)
 
vector< vec > record (OutputType) override
 
- Protected Member Functions inherited from Material
 Material (unsigned=0, MaterialType=MaterialType::D0, double=0.)
 
 Material (const Material &)=default
 
 Material (Material &&)=delete
 
Materialoperator= (const Material &)=delete
 
Materialoperator= (Material &&)=delete
 
 ~Material () override=default
 
double get_density () const
 
MaterialType get_material_type () const
 
PlaneType get_plane_type () const
 
int initialize_base (const shared_ptr< DomainBase > &)
 
virtual int initialize (const shared_ptr< DomainBase > &)=0
 
virtual void initialize_couple (const shared_ptr< DomainBase > &)
 
virtual void initialize_history (unsigned)
 
virtual void set_initial_history (const vec &)
 
void set_initialized (bool) const
 
void set_symmetric (bool) const
 
void set_support_couple (bool) const
 
bool is_initialized () const
 
bool is_symmetric () const
 
bool is_support_couple () const
 
void set_characteristic_length (double) const
 
double get_characteristic_length () const
 
virtual double get_parameter (ParameterType) const
 
virtual const vec & get_trial_strain ()
 
virtual const vec & get_trial_strain_rate ()
 
virtual const vec & get_trial_strain_acc ()
 
virtual const vec & get_trial_stress ()
 
virtual const mat & get_trial_stiffness ()
 
virtual const mat & get_trial_secant ()
 
virtual const mat & get_trial_damping ()
 
virtual const mat & get_trial_inertial ()
 
virtual const vec & get_current_strain ()
 
virtual const vec & get_current_strain_rate ()
 
virtual const vec & get_current_strain_acc ()
 
virtual const vec & get_current_stress ()
 
virtual const mat & get_current_stiffness ()
 
virtual const mat & get_current_secant ()
 
virtual const mat & get_current_damping ()
 
virtual const mat & get_current_inertial ()
 
virtual const vec & get_initial_history () const
 
virtual const mat & get_initial_stiffness () const
 
virtual const mat & get_initial_damping () const
 
virtual const mat & get_initial_inertial () const
 
virtual const vec & get_trial_curvature ()
 
virtual const vec & get_trial_couple_stress ()
 
virtual const mat & get_trial_couple_stiffness ()
 
virtual const vec & get_current_curvature ()
 
virtual const vec & get_current_couple_stress ()
 
virtual const mat & get_current_couple_stiffness ()
 
virtual const mat & get_initial_couple_stiffness () const
 
virtual unique_ptr< Materialget_copy ()=0
 
int update_incre_status (double)
 
int update_incre_status (double, double)
 
int update_incre_status (double, double, double)
 
int update_trial_status (double)
 
int update_trial_status (double, double)
 
int update_trial_status (double, double, double)
 
virtual int update_incre_status (const vec &)
 
virtual int update_incre_status (const vec &, const vec &)
 
virtual int update_incre_status (const vec &, const vec &, const vec &)
 
virtual int update_trial_status (const vec &)
 
virtual int update_trial_status (const vec &, const vec &)
 
virtual int update_trial_status (const vec &, const vec &, const vec &)
 
int update_couple_incre_status (double)
 
int update_couple_incre_status (double, double)
 
int update_couple_incre_status (double, double, double)
 
int update_couple_trial_status (double)
 
int update_couple_trial_status (double, double)
 
int update_couple_trial_status (double, double, double)
 
virtual int update_couple_incre_status (const vec &)
 
virtual int update_couple_incre_status (const vec &, const vec &)
 
virtual int update_couple_incre_status (const vec &, const vec &, const vec &)
 
virtual int update_couple_trial_status (const vec &)
 
virtual int update_couple_trial_status (const vec &, const vec &)
 
virtual int update_couple_trial_status (const vec &, const vec &, const vec &)
 
virtual int clear_status ()=0
 
virtual int commit_status ()=0
 
virtual int reset_status ()=0
 
virtual int clear_couple_status ()
 
virtual int commit_couple_status ()
 
virtual int reset_couple_status ()
 
virtual std::vector< vec > record (OutputType)
 
- Protected Member Functions inherited from Tag
 Tag (unsigned=0)
 
 Tag (const Tag &)=default
 
 Tag (Tag &&)=default
 
Tagoperator= (const Tag &)=delete
 
Tagoperator= (Tag &&)=delete
 
virtual ~Tag ()=default
 
void set_tag (unsigned) const
 
unsigned get_tag () const
 
void enable ()
 
void disable ()
 
void guard ()
 
void unguard ()
 
bool is_active () const
 
bool is_guarded () const
 
virtual void print ()
 
- Protected Attributes inherited from DataCDPM2
const double elastic_modulus = 3E4
 
const double poissons_ratio = .3
 
const double ft = 3.
 
const double fc = 30.
 
const double qh0 = .3
 
const double hp = .01
 
const double df = .85
 
const double ah = .08
 
const double bh = .003
 
const double ch = 2.
 
const double dh = 1E-6
 
const double as = 5.
 
const double eft = 5E-4
 
const double efc = 5E-4
 
const double e
 
const double e0 = ft / elastic_modulus
 
const double ftfc = ft / fc
 
const double m0 = 3. * (fc / ft - ftfc) * e / (1. + e)
 
const double lndf = log(df + 1.) - log(2. * df - 1.)
 
const double sqrtdf = ft * sqrt(2. / (3. + 6. * df * df))
 
const double eh = bh - dh
 
const double fh = ch * eh / (ah - bh)
 
const double ra = (1. + e) * (1. - e)
 
const double rb = pow(2. * e - 1., 2.)
 
const double rc = rb * e * (5. * e - 4.)
 
- Protected Attributes inherited from DataMaterial
const double density = 0.
 
const MaterialType material_type = MaterialType::D0
 
const PlaneType plane_type = PlaneType::N
 
const double tolerance = 1E-14
 
const double characteristic_length = -1.
 
vec current_strain {}
 
vec current_strain_rate {}
 
vec current_strain_acc {}
 
vec current_stress {}
 
vec trial_strain {}
 
vec trial_strain_rate {}
 
vec trial_strain_acc {}
 
vec trial_stress {}
 
vec incre_strain {}
 
vec incre_strain_rate {}
 
vec incre_strain_acc {}
 
vec incre_stress {}
 
vec initial_history {}
 
vec current_history {}
 
vec trial_history {}
 
mat initial_stiffness {}
 
mat current_stiffness {}
 
mat trial_stiffness {}
 
mat initial_damping {}
 
mat current_damping {}
 
mat trial_damping {}
 
mat initial_inertial {}
 
mat current_inertial {}
 
mat trial_inertial {}
 
- Protected Attributes inherited from DataCoupleMaterial
vec current_curvature {}
 
vec current_couple_stress {}
 
vec trial_curvature {}
 
vec trial_couple_stress {}
 
vec incre_curvature {}
 
vec incre_couple_stress {}
 
mat initial_couple_stiffness {}
 
mat current_couple_stiffness {}
 
mat trial_couple_stiffness {}
 

Detailed Description

The CDPM2 class.

A 3D concrete material model that supports stiffness degradation.

Author
tlc
Date
17/10/2023
Version
1.1.0

Member Enumeration Documentation

◆ DamageType

enum class CDPM2::DamageType
strong
Enumerator
NODAMAGE 
ISOTROPIC 
ANISOTROPIC 

Constructor & Destructor Documentation

◆ CDPM2()

CDPM2::CDPM2 ( unsigned  T,
double  E,
double  V,
double  FT,
double  FC,
double  QH0,
double  HP,
double  DF,
double  AH,
double  BH,
double  CH,
double  DH,
double  AS,
double  EFT,
double  EFC,
DamageType  DT,
double  R 
)

Member Function Documentation

◆ clear_status()

int CDPM2::clear_status ( )
overridevirtual

Implements Material.

Here is the call graph for this function:

◆ commit_status()

int CDPM2::commit_status ( )
overridevirtual

Implements Material.

◆ get_copy()

unique_ptr< Material > CDPM2::get_copy ( )
overridevirtual

Implements Material.

◆ get_parameter()

double CDPM2::get_parameter ( ParameterType  P) const
overridevirtual

Reimplemented from Material.

◆ initialize()

int CDPM2::initialize ( const shared_ptr< DomainBase > &  )
overridevirtual

Implements Material.

Here is the call graph for this function:

◆ print()

void CDPM2::print ( )
overridevirtual

Reimplemented from Tag.

◆ record()

vector< vec > CDPM2::record ( OutputType  P)
overridevirtual

Reimplemented from Material.

Here is the call graph for this function:

◆ reset_status()

int CDPM2::reset_status ( )
overridevirtual

Implements Material.

Here is the caller graph for this function:

◆ update_trial_status()

int CDPM2::update_trial_status ( const vec &  t_strain)
overridevirtual

Reimplemented from Material.

Here is the call graph for this function:

The documentation for this class was generated from the following files: