Emilie Stud
Subscriber

Hello Mike, here are the commands that I use. I previously created the 2 functions that I saved on my computer in files. I then read these two files here. The commands used to read them are copied form the .log file, I did the manipulation on the GUI at first . Then I apply the corresponding displacement to my node of interest.

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
! READ FUNCTION COS X
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
*DEL,_FNCNAME  
*DEL,_FNCMTID  
*DEL,_FNCCSYS  
*SET,_FNCNAME,'COSX'
*SET,_FNCCSYS,0
! /INPUT,epscosX.func,,,1  
*DIM,%_FNCNAME%,TABLE,6,6,1,,,,%_FNCCSYS%  
!  
! Begin of equation: 0.0006*cos(70*{X})
*SET,%_FNCNAME%(0,0,1), 0.0, -999  
*SET,%_FNCNAME%(2,0,1), 0.0
*SET,%_FNCNAME%(3,0,1), 0.0
*SET,%_FNCNAME%(4,0,1), 0.0
*SET,%_FNCNAME%(5,0,1), 0.0
*SET,%_FNCNAME%(6,0,1), 0.0
*SET,%_FNCNAME%(0,1,1), 1.0, -1, 0, 70, 0, 0, 2
*SET,%_FNCNAME%(0,2,1), 0.0, -2, 0, 1, -1, 3, 2
*SET,%_FNCNAME%(0,3,1),   0, -1, 10, 1, -2, 0, 0
*SET,%_FNCNAME%(0,4,1), 0.0, -2, 0, 0.0006, 0, 0, -1
*SET,%_FNCNAME%(0,5,1), 0.0, -3, 0, 1, -2, 3, -1
*SET,%_FNCNAME%(0,6,1), 0.0, 99, 0, 1, -3, 0, 0
! End of equation: 0.0006*cos(70*{X})  
!-->

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
! READ FUNCTION SIN Y
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
*DEL,_FNCNAME  
*DEL,_FNCMTID  
*DEL,_FNCCSYS  
*SET,_FNCNAME,'SINY'
*SET,_FNCCSYS,0
! /INPUT,epssinY.func,,,1  
*DIM,%_FNCNAME%,TABLE,6,6,1,,,,%_FNCCSYS%  
!  
! Begin of equation: 0.0006*sin(70*{Y})
*SET,%_FNCNAME%(0,0,1), 0.0, -999  
*SET,%_FNCNAME%(2,0,1), 0.0
*SET,%_FNCNAME%(3,0,1), 0.0
*SET,%_FNCNAME%(4,0,1), 0.0
*SET,%_FNCNAME%(5,0,1), 0.0
*SET,%_FNCNAME%(6,0,1), 0.0
*SET,%_FNCNAME%(0,1,1), 1.0, -1, 0, 70, 0, 0, 3
*SET,%_FNCNAME%(0,2,1), 0.0, -2, 0, 1, -1, 3, 3
*SET,%_FNCNAME%(0,3,1),   0, -1, 9, 1, -2, 0, 0
*SET,%_FNCNAME%(0,4,1), 0.0, -2, 0, 0.0006, 0, 0, -1
*SET,%_FNCNAME%(0,5,1), 0.0, -3, 0, 1, -2, 3, -1
*SET,%_FNCNAME%(0,6,1), 0.0, 99, 0, 1, -3, 0, 0
! End of equation: 0.0006*sin(70*{Y})  
!-->
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


nsel,s,,,1
D,all,ux,%COSX%
D,all,uy,%SINY%