Skip to main content

PeriDigmMaterial

C++: phynexis::peridigm::PeriDigmMaterial
Python: phynexis.peridigm.PeriDigmMaterial
Header: src/peridigm/peridigm_material.hpp

Description

Material model for peridynamic simulations. Currently supports linear elastic material.

Constructors

PeriDigmMaterial()

Creates a material with default elastic properties.

Example:

import phynexis
mat = phynexis.peridigm.PeriDigmMaterial()
print(mat.type)

Output:

Type.Elastic

Methods

write_input_file(os)

Writes the material definition to a stream in Peridigm input format.

Parameters:

ParameterTypeDescription
osfile-likeOutput stream

Properties

PropertyTypeAccessDescription
typePeriDigmMaterial.Typeread/writeMaterial type
densityfloatread/writeMass density
youngs_modulusfloatread/writeYoung's modulus
poissons_ratiofloatread/writePoisson's ratio

Enums

Type

ValueDescription
ElasticLinear elastic material