본문 바로가기

LIGGGHTS

unfix move/mesh

LIGGGHTS에서 동일 atom (wall)에 다수의 move/mesh fix가 지정되는 경우, unfix를 시키기 위해서는 reverse order로 하라고 한다.

예를 들어, 이렇게 하면,

# Define moving of funnel
fix                 funnel_xmove_1  all move/mesh mesh funnel_d10 viblin axis 1 0 0 order 1 amplitude 0.005 phase -1.57 period 0.1 
fix                 funnel_ymove_1  all move/mesh mesh funnel_d10 viblin axis 0 1 0 order 1 amplitude 0.005 phase -1.57 period 1.0 
fix                 funnel_zmove    all move/mesh mesh funnel_d10 linear 0 0 0.004 

run                 10000000

unfix               funnel_xmove_1
unfix               funnel_ymove_1
unfix               funnel_zmove
ERROR: Illegal deletion of a fix move/mesh. There is another fix move/mesh command active on the same mesh. Superposed fix move/mesh commands must be unfixed in reverse order of creation (../fix_move_mesh.cpp:137)

 

순서를 반대로 하라고 한다. 역순으로 unfix 하자. 이렇게

 

# Define moving of funnel
fix                 funnel_xmove_1  all move/mesh mesh funnel_d10 viblin axis 1 0 0 order 1 amplitude 0.005 phase -1.57 period 0.1 
fix                 funnel_ymove_1  all move/mesh mesh funnel_d10 viblin axis 0 1 0 order 1 amplitude 0.005 phase -1.57 period 1.0 
fix                 funnel_zmove    all move/mesh mesh funnel_d10 linear 0 0 0.004 

run                 10000000

unfix               funnel_zmove
unfix               funnel_ymove_1
unfix               funnel_xmove_1

 

'LIGGGHTS' 카테고리의 다른 글

libboost libraries  (0) 2024.01.31
fix particletemplate/superquadric  (0) 2024.01.17
mesh/surface/stress 기준 coordinate  (0) 2023.11.11
WALL의 Information 획득하기  (0) 2023.11.06
servo controls  (0) 2023.10.19