subroutine
Automotive
- Sep 4, 2006
- 2
Hi all,
I want to determine the Displacement Velocity and Acceleration of a damper under simulation to calculate the Damper Force in a user written subroutine. Descibing the part and marker statement are not supporetd by fortran compiler. Can any body give me some tips how this can be done.
This is how I have dont it at the moment
PART/01, MASS=1, IM=280.2, -567.0, 345.0 &
&,IP=100.0,100.0,100.0
MARKER/0101, QP=267.0, -600.0, 180.0
!
! Defining upper damper mount
!
PART/02, MASS=1, IM=293.4, -534.0, 510.0 &
&,IP=100.0,100.0,100.0
MARKER/0201 QP=307.0, -500.0, 680.0
!
! Determine displacement
!
DIS, FUNCTION=DM(01,02)
!
! Determine velocity
!
VEL, FUNCTION=VM(01,02)
!
! Determine acceleration
!
ACC, FUNCTION=ACCM(01,02)
!
I want to determine the Displacement Velocity and Acceleration of a damper under simulation to calculate the Damper Force in a user written subroutine. Descibing the part and marker statement are not supporetd by fortran compiler. Can any body give me some tips how this can be done.
This is how I have dont it at the moment
PART/01, MASS=1, IM=280.2, -567.0, 345.0 &
&,IP=100.0,100.0,100.0
MARKER/0101, QP=267.0, -600.0, 180.0
!
! Defining upper damper mount
!
PART/02, MASS=1, IM=293.4, -534.0, 510.0 &
&,IP=100.0,100.0,100.0
MARKER/0201 QP=307.0, -500.0, 680.0
!
! Determine displacement
!
DIS, FUNCTION=DM(01,02)
!
! Determine velocity
!
VEL, FUNCTION=VM(01,02)
!
! Determine acceleration
!
ACC, FUNCTION=ACCM(01,02)
!