use compliant box creation for 2d
This commit is contained in:
@ -16,7 +16,7 @@ variable mass equal $a*$a*$a*${rho_0}
|
|||||||
variable dt equal 1e-3 # timestep microseconds
|
variable dt equal 1e-3 # timestep microseconds
|
||||||
variable skin equal 0.2*$h
|
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
|
create_box 4 box
|
||||||
lattice sq $a
|
lattice sq $a
|
||||||
|
|
||||||
|
|||||||
@ -14,7 +14,7 @@ variable mass equal $a*$a*$a*${rho_0}
|
|||||||
variable dt equal 1e-3 # timestep microseconds
|
variable dt equal 1e-3 # timestep microseconds
|
||||||
variable skin equal 0.2*$h
|
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
|
create_box 2 box
|
||||||
lattice sq $a
|
lattice sq $a
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user