FEDEM Solver  R8.0
Source code of the dynamics solver
Modules | Functions/Subroutines | Variables
contactElementRoutinesModule.f90 File Reference

Subroutines for contact element calculations. More...

Modules

module  contactelementroutinesmodule
 Module with subroutines for contact element calculations.
 

Functions/Subroutines

integer function contactelementroutinesmodule::getactivepointindex (cElem, cpIndex)
 
subroutine, public contactelementroutinesmodule::addincontactelementstiffmat (includeStressStiff, scaleK, Nmat, cElem, sam, ierr, Rhs)
 Calculates the stiffness matrix for each contact spring. More...
 
subroutine, public contactelementroutinesmodule::addincontactelementdampermat (includeStressStiff, scaleC, scaleK, Nmat, cElem, sam, ierr, Rhs)
 Calculates the damping matrix for each contact damper. More...
 
subroutine, public contactelementroutinesmodule::addincontactelementforces (F, RF, cElem, sam, ierr, addSprings, addDampers, addFriction)
 Calculates system force vector terms from a contact element. More...
 
subroutine, public contactelementroutinesmodule::updatecontactelements (cElems, timeStep, ierr)
 Updates all contact elements. More...
 
subroutine contactelementroutinesmodule::updatecontactposition (cElem, cSurf, lpu)
 Updates the local coordinates of the contact element follower. More...
 
subroutine checklooping (loopLength, Z, Zprev)
 Adjusts the previous slide variable when looping contact curve. More...
 
subroutine contactelementroutinesmodule::updatecontactvelecc (cElem, CP1, CP2)
 Updates the contact point velocities and eccentricty vectors. More...
 
subroutine contactelementroutinesmodule::updatecontactsprdmp (cElem, timeStep, ierr)
 Updates the contact springs and dampers. More...
 

Variables

real(dp), parameter contactelementroutinesmodule::epszero_p = 1.0e-15_dp
 Zero tolerance. More...
 

Detailed Description

Subroutines for contact element calculations.

Function/Subroutine Documentation

◆ checklooping()

subroutine updatecontactposition::checklooping ( real(dp), intent(in)  loopLength,
real(dp), intent(in)  Z,
real(dp), intent(inout)  Zprev 
)

Adjusts the previous slide variable when looping contact curve.