From 2115ac8971ad4d4a22bbd995adec2174f3697059 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Mon, 12 Aug 2024 21:25:42 -0400 Subject: [PATCH] use compliant box creation for 2d --- .../PACKAGES/dpd-smooth/2d-diffusion-in-shear-flow/in.lammps | 2 +- examples/PACKAGES/dpd-smooth/2d-diffusion/in.lammps | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/PACKAGES/dpd-smooth/2d-diffusion-in-shear-flow/in.lammps b/examples/PACKAGES/dpd-smooth/2d-diffusion-in-shear-flow/in.lammps index dd50a5e69f..8dabebc03c 100644 --- a/examples/PACKAGES/dpd-smooth/2d-diffusion-in-shear-flow/in.lammps +++ b/examples/PACKAGES/dpd-smooth/2d-diffusion-in-shear-flow/in.lammps @@ -16,7 +16,7 @@ variable mass equal $a*$a*$a*${rho_0} variable dt equal 1e-3 # timestep microseconds variable skin equal 0.2*$h -region box block -${Lb} ${Lb} -${Lb} ${Lb} 0 ${a} units box +region box block -${Lb} ${Lb} -${Lb} ${Lb} -0.5 0.5 units box create_box 4 box lattice sq $a diff --git a/examples/PACKAGES/dpd-smooth/2d-diffusion/in.lammps b/examples/PACKAGES/dpd-smooth/2d-diffusion/in.lammps index 2e0e821480..12b2a75434 100644 --- a/examples/PACKAGES/dpd-smooth/2d-diffusion/in.lammps +++ b/examples/PACKAGES/dpd-smooth/2d-diffusion/in.lammps @@ -14,7 +14,7 @@ variable mass equal $a*$a*$a*${rho_0} variable dt equal 1e-3 # timestep microseconds variable skin equal 0.2*$h -region box block -$L $L -$L $L 0 $a units box +region box block -$L $L -$L $L -0.5 0.5 units box create_box 2 box lattice sq $a