FEDEM Solver
R8.0
Source code of the dynamics solver
|
Module with subroutines for prescribed motion calculations. More...
Data Types | |
interface | updateprescribedmotions |
Updates the prescribed motions. More... | |
Functions/Subroutines | |
subroutine | updateprescribedmotionsa (t, h, beta, gamma, sysVel, sysAcc, motions, linearStatic, ierr, lpu) |
Updates the prescribed motions. More... | |
subroutine | updateprescribedmotionsb (motions, ierr) |
Updates the prescribed motions. More... | |
subroutine, public | initprescribedvelacc (motions, sysVel, sysAcc) |
Inserts prescribed motion values into the system vectors. More... | |
Module with subroutines for prescribed motion calculations.
This module contains a set of subroutines for updating the state- dependent prescribed motion objects.
subroutine, public motionroutinesmodule::initprescribedvelacc | ( | type(motiontype), dimension(:), intent(in) | motions, |
real(dp), dimension(:), intent(inout) | sysVel, | ||
real(dp), dimension(:), intent(inout) | sysAcc | ||
) |
Inserts prescribed motion values into the system vectors.
[in] | motions | Array of all prescribed motions in the model |
sysVel | System velocity vector | |
sysAcc | System acceleration vector |
Only for prescribed velocities and accelerations. Does nothing for prescribed displacements.
|
private |
Updates the prescribed motions.
[in] | t | Current simulation time |
[in] | h | Time increment size |
[in] | beta | Newmark time integration parameter |
[in] | gamma | Newmark time integration parameter |
[in] | sysVel | System velocity vector |
[in] | sysAcc | System acceleration vector |
motions | Array of all prescribed motions in the model | |
[in] | linearStatic | If .true., multi-load case linear static analysis |
[in] | lpu | File unit number for debug output of motions from file |
[out] | ierr | Error flag |
A prescribed motion can be updated either by evaluating the general function connected to it, or by reading new values from the binary file provided. The latter approach is typically used in sub-model analysis.
subroutine motionroutinesmodule::updateprescribedmotionsb | ( | type(motiontype), dimension(:), intent(inout) | motions, |
integer, intent(out) | ierr | ||
) |
Updates the prescribed motions.
motions | Array of all prescribed motions in the model | |
[out] | ierr | Error flag |
This version only (re)evaluates the prescribed motion functions, and is typically used after the initial configuration has been defined in order to ensure that all functions depending on other state variables are up to date before starting the time integration.