unfix ins

Submitted by Rahul Kumar on Sun, 02/17/2019 - 14:37

Hi everyone
I am doing a silo simulation. I want to unfix insertion of particle after certain timestep. I have written the following code but it is showing some error
#--------------------code---------------------------
#insert the first particles so that dump is not empty
run 1
dump dmp all custom/vtk 200 post/bulk_*.vtk id type type x y z ix iy iz vx vy vz fx fy fz omegax omegay omegaz radius
dump dumpstress all mesh/gran/VTK 200 post/mesh_*.vtk stress wear cad1 cad3

#insert particles
run 10000 upto

# removing the gate
#unfix granwalls
unfix cad2
#fix granwalls1 all wall/gran model hertz tangential history mesh n_meshes 2 meshes cad1 cad3
unfix ins1
unfix ins2
run 20000 upto
#--------------------------------------------------------------------------

#-------------------------error------------------------------------------
ERROR: Could not locate a fix/property storing value(s) for release_fix_insert_stream as requested by insert/stream. (../modify_liggghts.cpp:413)
#--------------------------------------------------------------------------

Please help me to get through this.

richti83's picture

richti83 | Mon, 02/18/2019 - 18:03

I can reproduce this in lmp380. The order is important, you need first unfix ins2 and than unfix ins1.
(because ins1 doesn't know about ins2 it unfixes internal fix release_fix_insert_stream, but ins2 knows about ins1, so it keeps the internal fix release_fix_insert_stream).

I'm not an associate of DCS GmbH and not a core developer of LIGGGHTS®
ResearchGate | Contact

Rahul Kumar | Thu, 02/21/2019 - 11:28

Thanks sir for your advice, it is working

arnom's picture

arnom | Thu, 02/21/2019 - 11:29

Thanks for pointing this out. I'll put it on our internal bug tracker so as to fix it. As usual, we welcome contributions by the community to fix issues as it might take a while until we get to it.

DCS team member & LIGGGHTS(R) core developer