CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS

Moving load help

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 31, 2018, 10:41
Default Moving load help
  #1
New Member
 
Alexander Kibbe
Join Date: Jul 2018
Posts: 3
Rep Power: 8
morpheuskibbe is on a distinguished road
OK so i wrote some code. The idea is to apply a load and them move it with time. The applying a load part works fine but the moving part doesn't

Project file is attached, you can see the code blocks (each is separate so i just suppress them) specifically the code that is failing to move over time is the below. Does anyone know why its not working.

! Commands inserted into this file will be executed just prior to the ANSYS SOLVE command.
! These commands may supersede command settings set by Workbench.
! Active UNIT system in Workbench when this object was created: Metric (mm, kg, N, s, mV, mA)
! NOTE: Any data that requires units (such as mass) is assumed to be in the consistent solver unit system.
! See Solving Units in the help system for more information.
! Create heat function on global CS (0)
*DIM,HEAT_FLX,TABLE,6,23,1,,,,12 ! The last number corresponds to the ID number for the coordinate system
!
! Begin of equation: B*exp(-2*(SQRT({X}^2+{Y}^2)/w)^n)
!
*SET,HEAT_FLX(0,0,1), 0.0, -999
*SET,HEAT_FLX(2,0,1), 0.0
*SET,HEAT_FLX(3,0,1), 0.0
*SET,HEAT_FLX(4,0,1), 0.0
*SET,HEAT_FLX(5,0,1), 0.0
*SET,HEAT_FLX(6,0,1), 0.0
*SET,HEAT_FLX(0,1,1), 1.0, -1, 0, 0, 0, 0, 0
*SET,HEAT_FLX(0,2,1), 0.0, -2, 0, 1, 0, 0, -1
*SET,HEAT_FLX(0,3,1), 0, -3, 0, 1, -1, 2, -2
*SET,HEAT_FLX(0,4,1), 0.0, -1, 0, 2, 0, 0, -3
*SET,HEAT_FLX(0,5,1), 0.0, -2, 0, 1, -3, 3, -1
*SET,HEAT_FLX(0,6,1), 0.0, -1, 0, 2, 0, 0, 2
*SET,HEAT_FLX(0,7,1), 0.0, -3, 0, 1, 2, 17, -1
*SET,HEAT_FLX(0,8,1), 0.0, -1, 0, 2, 0, 0, 3
*SET,HEAT_FLX(0,9,1), 0.0, -4, 0, 1, 3, 17, -1
*SET,HEAT_FLX(0,10,1), 0.0, -1, 0, 1, -3, 1, -4
*SET,HEAT_FLX(0,11,1), 0.0, -1, 16, 1, -1, 0, 0
*SET,HEAT_FLX(0,12,1), 0.0, -3, 0, 5, 0, 0, -1 !W=beamwidth
*SET,HEAT_FLX(0,13,1), 0.0, -4, 0, 1, -1, 4, -3
*SET,HEAT_FLX(0,14,1), 0.0, -1, 0, 10, 0, 0, -4 !n=order
*SET,HEAT_FLX(0,15,1), 0.0, -3, 0, 1, -4, 17, -1
*SET,HEAT_FLX(0,16,1), 0.0, -1, 0, 1, -2, 3, -3
*SET,HEAT_FLX(0,17,1), 0.0, -1, 7, 1, -1, 0, 0
*SET,HEAT_FLX(0,18,1), 0.0, -2, 0, 2000000, 0, 0, -1 !B=power
*SET,HEAT_FLX(0,19,1), 0.0, -3, 0, 1, -2, 3, -1
*SET,HEAT_FLX(0,20,1), 0.0, 99, 0, 1, -3, 0, 0
!
! End of equation: B*exp(-2*(SQRT({X}^2+{Y}^2)/w)^n)
!-->
xpos=-15
ypos=0
zpos=0
xrot=-90
yrot=0
zrot=0
time_step_size=5
time_now=0
*do,i,0,5
local,12,CART,xpos+5*i,ypos,zpos,zrot,xrot,yrot
sf,top,hflux,%HEAT_FLX%
kbc,1 ! ramped loading
time_now=time_now+time_step_size
time,time_now ! specify time at the end of load step
autots,on ! use automatic time-stepping
deltim, time_step_size/5, time_step_size/10, time_step_size/2, on
lswrite,i+1
!sfdele,all,all
*enddo
Attached Files
File Type: zip gauss.zip (7.7 KB, 3 views)
morpheuskibbe is offline   Reply With Quote

Reply

Tags
apdl, load, loop, move


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Modeling a Vehicle load moving on a simply supported bridge with one span in 3D Adi_ Structural Mechanics 0 June 14, 2018 04:36
Get load values at each substep ploi ANSYS 0 March 10, 2016 16:07
Cfd to ansys thermal to ansys structural interface ssixr ANSYS 17 July 31, 2015 16:18
[Other] How to set up a dynamic mesh for a piston moving through a tube of variable diameter? karkar OpenFOAM Meshing & Mesh Conversion 0 July 4, 2012 07:54
moving load problem aditi chauhan ANSYS 0 October 9, 2010 05:47


All times are GMT -4. The time now is 19:34.