From 484b7e6d33877539932122dfa4c558fec64b637a Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Sat, 12 Mar 2022 16:16:15 -0500 Subject: [PATCH] must remove and respecify fix lb/fluid around reset_timestep command --- .../PACKAGES/latboltz/diffusingsphere/in.trapnewsphere | 10 +++++++++- examples/PACKAGES/latboltz/toycar/in.toycar | 2 ++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/examples/PACKAGES/latboltz/diffusingsphere/in.trapnewsphere b/examples/PACKAGES/latboltz/diffusingsphere/in.trapnewsphere index 0b40b1fbad..15ecfb5476 100644 --- a/examples/PACKAGES/latboltz/diffusingsphere/in.trapnewsphere +++ b/examples/PACKAGES/latboltz/diffusingsphere/in.trapnewsphere @@ -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. diff --git a/examples/PACKAGES/latboltz/toycar/in.toycar b/examples/PACKAGES/latboltz/toycar/in.toycar index dba1012478..726dcde7b9 100644 --- a/examples/PACKAGES/latboltz/toycar/in.toycar +++ b/examples/PACKAGES/latboltz/toycar/in.toycar @@ -465,6 +465,8 @@ pair_coeff * * 0.0 0.0 timestep 0.025 +unfix FL + reset_timestep 0 #variable total_force equal 0.2