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

Initialization of joint objects from the solver input file. More...

Modules

module  initiatejointtypemodule
 Initialization of joint objects from the solver input file.
 

Functions/Subroutines

subroutine initiatejointtypemodule::readjoints (infp, triads, gCurves, springs, dampers, dmpElms, engines, joints, frictionSets, err)
 Initializes joint objects with data from the solver input file. More...
 
subroutine allocjointspring (joint, nDOFs, jerr)
 Initializes the inter-connected spring data for a joint. More...
 
subroutine interconnect (iDof, jDof, lDofArr, lConn)
 Defines a spring coupling between two joint DOFs. More...
 
subroutine initjointdof (jointDof, lDof, iMat, iDof, nJointDOFs, jVarInitVal, jVarInitVel, jVarInitAcc, springId, damperId, frictionId, frictionSpringId, frictionEngineId, saveVar, ierr)
 Initializes a joint DOF. More...
 
subroutine initiatejointtypemodule::readhigherpairs (infp, joints, higherPairs, err)
 Initializes higher pairs with data from the solver input file. More...
 
subroutine initiatehp (out, oDof, inp, iDof)
 Computes initial values for joint variables via a higher pair. More...
 
subroutine initiatejointtypemodule::initiatejoints (joints, forces, motions, mpreac, RF, ierr)
 Computes constraint coefficient and joint variable start values. More...
 
subroutine initiatejointtypemodule::initiatehigherpairs (higherPairs)
 Computes initial values for joint variables via higher pairs. More...
 
subroutine initiatehp (out, oDof, inp, iDof, c)
 Computes initial values for joint variables via a higher pair. More...
 

Detailed Description

Initialization of joint objects from the solver input file.

Function/Subroutine Documentation

◆ allocjointspring()

subroutine readjoints::allocjointspring ( type(springtype), intent(inout)  joint,
integer, intent(in)  nDOFs,
integer, intent(out)  jerr 
)

Initializes the inter-connected spring data for a joint.

◆ initiatehp() [1/2]

subroutine readhigherpairs::initiatehp ( type(masterslavejointtype), intent(inout)  out,
integer, intent(in)  oDof,
type(masterslavejointtype), intent(in)  inp,
integer, intent(in)  iDof 
)

Computes initial values for joint variables via a higher pair.

◆ initiatehp() [2/2]

subroutine initiatehigherpairs::initiatehp ( type(masterslavejointtype), intent(inout)  out,
integer, intent(in)  oDof,
type(masterslavejointtype), intent(in)  inp,
integer, intent(in)  iDof,
real(dp), intent(in)  c 
)

Computes initial values for joint variables via a higher pair.

◆ initjointdof()

subroutine readjoints::initjointdof ( type(jointdoftype), intent(out), target  jointDof,
integer, intent(in)  lDof,
integer, intent(in)  iMat,
integer, intent(in)  iDof,
integer, intent(in)  nJointDOFs,
real(dp), intent(in)  jVarInitVal,
real(dp), intent(in)  jVarInitVel,
real(dp), intent(in)  jVarInitAcc,
integer, intent(in)  springId,
integer, intent(in)  damperId,
integer, intent(in)  frictionId,
integer, intent(in)  frictionSpringId,
integer, intent(in)  frictionEngineId,
integer, dimension(:), intent(in)  saveVar,
integer, intent(out)  ierr 
)

Initializes a joint DOF.

◆ interconnect()

subroutine readjoints::interconnect ( integer, intent(in)  iDof,
integer, intent(in)  jDof,
integer, dimension(:), intent(in)  lDofArr,
logical, dimension(:,:), intent(out)  lConn 
)

Defines a spring coupling between two joint DOFs.