PeriPyDIC
Public Member Functions | Public Attributes | List of all members
IO.ccm.CCM_calcul Class Reference

Class to compute the well-known strain and stress tensors defined in the classical continuum mechanics. More...

Collaboration diagram for IO.ccm.CCM_calcul:
Collaboration graph

Public Member Functions

def __init__ (self, deck, data_solver)
 Constructor. More...
 
def X_vector_state (self, data_solver, i, p)
 Provide the image of (xi - xp) under the reference position vector state X. More...
 
def Y_vector_state (self, data_solver, i, p, t_n)
 Provide the image of (xi - xp) under the deformation vector state Y. More...
 
def K_shape_tensor (self, data_solver, i)
 Provide the shape tensor K related to Node "i". More...
 
def deformation_gradient (self, data_solver, i, t_n)
 Provide the deformation gradient tensor related to Node "i". More...
 
def strain_tensor (self, data_solver, i, t_n)
 Provide the strain tensor related to Node "i". More...
 
def compute_global_strain_tensor (self, data_solver)
 Compute the global strain tensor storing the strain tensor for each node at each time step. More...
 
def compute_u_displacement (self)
 Compute the displacement for each node at each time step.
 

Public Attributes

 x
 Nodes' initial position.
 
 y
 Nodes' positions stored for each time step.
 
 force_int
 Global internal force density array storing the force density attached to each node for each time step.
 
 ext
 Extension array storing the extension for each node between itself and its family.
 
 dim
 Dimension of the data_solver (1D, 2D or 3D)
 
 num_nodes
 Amount of nodes in the data_solver.
 
 time_steps
 Amount of time step.
 
 node_volumes
 Volume related to each node.
 
 influence_function
 Influence function.
 
 global_strain
 Golbal strain tensor storing the strain tensor for each node at each time step.
 
 u
 Displacement vector between two consecutives time steps for each node.
 

Detailed Description

Class to compute the well-known strain and stress tensors defined in the classical continuum mechanics.

Constructor & Destructor Documentation

§ __init__()

def IO.ccm.CCM_calcul.__init__ (   self,
  deck,
  data_solver 
)

Constructor.

Parameters
deckThe input deck
data_solverData from the peridynamic problem/solving class

Member Function Documentation

§ compute_global_strain_tensor()

def IO.ccm.CCM_calcul.compute_global_strain_tensor (   self,
  data_solver 
)

Compute the global strain tensor storing the strain tensor for each node at each time step.

Parameters
data_solverData from the peridynamic problem/solving class

§ deformation_gradient()

def IO.ccm.CCM_calcul.deformation_gradient (   self,
  data_solver,
  i,
  t_n 
)

Provide the deformation gradient tensor related to Node "i".

Parameters
data_solverData from the peridynamic problem/solving class
iId of Node "i"
t_nId of the time step
Returns
Deformation gradient tensor related to Node "i"

§ K_shape_tensor()

def IO.ccm.CCM_calcul.K_shape_tensor (   self,
  data_solver,
  i 
)

Provide the shape tensor K related to Node "i".

Parameters
data_solverData from the peridynamic problem/solving class
iId of Node "i"
Returns
Shape tensor K

§ strain_tensor()

def IO.ccm.CCM_calcul.strain_tensor (   self,
  data_solver,
  i,
  t_n 
)

Provide the strain tensor related to Node "i".

Parameters
data_solverData from the peridynamic problem/solving class
iId of Node "i"
t_nId of the time step
Returns
Strain tensor related do Node "i"

§ X_vector_state()

def IO.ccm.CCM_calcul.X_vector_state (   self,
  data_solver,
  i,
  p 
)

Provide the image of (xi - xp) under the reference position vector state X.

Parameters
data_solverData from the peridynamic problem/solving class
iId of Node "i"
pId of Node "p" with Node "i" family
Returns
Image of (xi - xp) under the deformation vector state X

§ Y_vector_state()

def IO.ccm.CCM_calcul.Y_vector_state (   self,
  data_solver,
  i,
  p,
  t_n 
)

Provide the image of (xi - xp) under the deformation vector state Y.

Parameters
data_solverData from the peridynamic problem/solving class
iId of Node "i"
pId of Node "p" with Node "i" family
t_nId of the time step
Returns
Image of (xi - xp) under the deformation vector state Y

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