must remove and respecify fix lb/fluid around reset_timestep command

This commit is contained in:
Axel Kohlmeyer
2022-03-12 16:16:15 -05:00
parent fe9b426c7e
commit 484b7e6d33
2 changed files with 11 additions and 1 deletions

View File

@ -173,9 +173,17 @@ else &
#equilibration run
run 10000
unfix 2
unfix FL
# data gathering run
reset_timestep 0
reset_timestep 0
if "${is_bonded} == 1" then &
"fix FL all lb/fluid 1 1.0 0.0009982071 stencil ${stpts} dx 1.2 noise 300.0 181920" &
else &
"fix FL all lb/fluid 1 1.0 0.0009982071 stencil ${stpts} dx 1.2 noise 300.0 181920 dof 6"
fix 2 all lb/viscous
#----------------------------------------------------------------------------
# Create variables containing the positions/velocity of the colloids center
# of mass.

View File

@ -465,6 +465,8 @@ pair_coeff * * 0.0 0.0
timestep 0.025
unfix FL
reset_timestep 0
#variable total_force equal 0.2