FEDEM Solver  R8.0
Source code of the dynamics solver
Private Member Functions | List of all members
springroutinesmodule::addinspringforces Interface Reference

Assembles system force vector contributions from a spring element. More...

Private Member Functions

subroutine addinstiffnessforces (FS, RF, spring, sam, ierr)
 Assembles system force vector contributions from a spring element. More...
 
subroutine addindampingforces (FD, RF, spring, sam, alpha2, ierr)
 Assembles system force vector contributions from a spring element. More...
 

Detailed Description

Assembles system force vector contributions from a spring element.

Member Function/Subroutine Documentation

◆ addindampingforces()

subroutine springroutinesmodule::addinspringforces::addindampingforces ( real(dp), dimension(:), intent(inout)  FD,
real(dp), dimension(:), intent(inout)  RF,
type(springtype), intent(in)  spring,
type(samtype), intent(in)  sam,
real(dp), intent(in)  alpha2,
integer, intent(inout)  ierr 
)
private

Assembles system force vector contributions from a spring element.

Parameters
FDSystem damping force vector
RFSystem reaction forces associated with constrained DOFs
[in]springThe spring element to calculate damping forces for
[in]samData for managing system matrix assembly
[in]alpha2Stiffness-proportional damping coefficient
[out]ierrError flag

This subroutine calculates the damping force contributions to the system force vector from the spring element assuming Rayleigh damping, and adds them into the system vectors FD and RF.

Author
Knut Morten Okstad
Date
31 Oct 2014

◆ addinstiffnessforces()

subroutine springroutinesmodule::addinspringforces::addinstiffnessforces ( real(dp), dimension(:), intent(inout)  FS,
real(dp), dimension(:), intent(inout)  RF,
type(springtype), intent(in)  spring,
type(samtype), intent(in)  sam,
integer, intent(inout)  ierr 
)
private

Assembles system force vector contributions from a spring element.

Parameters
FSSystem stiffness force vector
RFSystem reaction forces associated with constrained DOFs
[in]springThe spring element to calculate stiffness forces for
[in]samData for managing system matrix assembly
[out]ierrError flag

This subroutine calculates the stiffness force contributions to the system force vector from the spring element, and adds them into the system vectors FS and RF.

Author
Karl Erik Thoresen
Date
Feb 1999

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