Hi everyone,
I was trying to compute a moving laser on a heat bed. I successfully define the heating at one region which is defining the coordinate of the region of the heat bed but I am trying to make that region to move ( just like a laser moving on the heat bed) where my x coordinate moves from 0,1,2,3,4,5....or should I say its something like the function x=x+1. Do you know what command that I can use to resolve this issue?
Can someone help me with this?
Thanks.
Joel Martis | Thu, 03/03/2016 - 15:18
You may have to do it manually
I'm not an expert in liggghts, but I think a sure way to solve the problem is to move it manually in discrete steps of your liking. For example, you could let it run for 1000 timesteps, unfix the laser and fix it again at the next position, and so on.
richti83 | Thu, 03/03/2016 - 15:41
The region command supports
The region command supports an move keyword with a time dependant value, see
http://www.cfdem.com/media/DEM/docu/region.html
variable v equal 1 #m/s
variable dx equal $v*step*dt
region my_reg block -1 1 -1 1 -1 1 move v_dx NULL NULL
(not tested, but should give an idea how to do this)