Cant apply axial load

Submitted by ullassssss on Fri, 07/01/2016 - 12:03

Im trying to insert particle into a cylindrical container and apply axial load on it over the top plate. But it is showing error
ERROR: Fix wall/gran (id geometry): More than one wall of type 'mesh' is not supported (/build/buildd/liggghts-3.0.3+repack/src/fix_wall_gran.cpp:505)

# Shear Cell example
### Initialization
# Preliminaries
units si
atom_style sphere
boundary f f f
newton off
communicate single vel yes
#processors 2 2 2

# Declare domain
region reg block -0.021 0.021 -0.021 0.021 -0.001 0.051 units box
create_box 2 reg
neighbor 0.0002 bin
neigh_modify delay 0

### Setup
# Material and interaction properties
fix m1 all property/global youngsModulus peratomtype 1.0e5 1.0e5
fix m2 all property/global poissonsRatio peratomtype 0.31 0.31
fix m3 all property/global coefficientRestitution peratomtypepair 2 0.5 0.5 0.5 0.5
fix m4 all property/global coefficientFriction peratomtypepair 2 0.5 0.5 0.5 0.5
fix m5 all property/global characteristicVelocity scalar 2.

# Physics
pair_style gran model hertz tangential history
pair_coeff * *

# Particle setup – insertions to be handled below
fix pts1 all particletemplate/sphere 1 atom_type 1 density constant 8200 radius constant 0.0001 volume_limit 4.18879e-15
fix pdd1 all particledistribution/discrete 63243 1 pts1 1.0

# Geometry
fix cad1 all mesh/surface/stress/servo file without_dimples.stl type 1 scale 1. stress on com 0. 0. 0. ctrlPV force axis 0. 0. 0. vel_max 1.0
fix cad2 all mesh/surface/stress file bottom_plate.stl type 1 scale 1. stress on
fix ins_mesh all mesh/surface/planar file factory.stl type 1 scale 1.
fix geometry all wall/gran model hertz tangential history mesh n_meshes 2 meshes cad1 cad2

### Detailed settings
# Integration
fix integrator all nve/sphere

# Gravity
fix grav all gravity 9.81 vector 0.0 0.0 -1.0

# Timestep
timestep 0.00002

# Thermodynamic output
thermo_style custom step atoms ke cpu
thermo 10000
thermo_modify lost ignore norm no

### Execution and further settings

# Particle insertion – large particles
fix ins1 all insert/stream seed 123481 distributiontemplate pdd1 nparticles 2000 particlerate 2000 overlapcheck yes vel constant 0. 0. -0.4005 all_in yes insertion_face ins_mesh extrude_length 0.01
run 50000

# Axial load
fix cad3 all mesh/surface/stress/servo file top_plate.stl type 1 scale 1. stress on com 0. 0. 0. ctrlPV force axis 0. 0. -117.75 vel_max 1.0
fix geometry2 all wall/gran model hertz tangential history mesh n_meshes 1 meshes cad3

#parameters for gradually growing particle diameter
variable alphastart equal 0.25
variable alphatarget equal 0.50
variable growts equal 50000
variable growevery equal 40
variable relaxts equal 50000

# Set the dumps
dump dumpmesh all mesh/vtk 10000 dump*.vtk stress
dump dmp all custom 10000 dump.1 id type type x y z ix iy iz vx vy vz fx fy fz &
omegax omegay omegaz radius
#dump mov all movie 10000 Ullas/shearcell/movie.m4v type type size 1280 720

#calculate grow rate
variable Rgrowrate equal (${alphatarget}/${alphastart})^(${growevery}/(3.*${growts}))
print "The radius grow rate is ${Rgrowrate}"

#do the diameter grow
compute rad all property/atom radius

variable dgrown atom ${Rgrowrate}*2.*c_rad
fix grow all adapt ${growevery} atom diameter v_dgrown

#run
run ${growts}

#let the packing relax
unfix grow
run ${relaxts}

AttachmentSize
Binary Data stl files23.43 KB

Daniel Queteschiner | Mon, 07/11/2016 - 11:44

You have two fix wall/gran commands in your input script, but only one may be specified to define all mesh-based walls at once.

ullassssss | Wed, 07/13/2016 - 07:27

Thank you. The problem solved. I have inserted particles with young's modulus 1e5 into a cylindrical container and obtained the wall stress. Actual young's modulus of the particle is 1.2 e11. Since I was not able to insert particles with this youngs modulus I intensionally reduced young's modulus and hence im getting reduced wall stress. Is there any factor to be multiplied with the obtained stress to get the actual stress? What is the correlation between these two parameters?
Thanking you

Ullas

AlenP | Wed, 10/05/2016 - 16:28

Hello,

how did you solve the problem regarding piston mesh definition?

Best regards,
Alen

Bruno.Brunel | Tue, 12/12/2017 - 10:54

I got it to work a bit further by unfixing the previous geometry and then fixing a new one with the piston mesh:

Defining the cell without the piston:
# Geometry
fix cad1 all mesh/surface/stress/servo file mesh/shear_cell.stl type 1 scale 0.001 stress on &
com 0. 0. 0. ctrlPV force axis 0. 0. 0. vel_max 1.0
fix cad2 all mesh/surface/stress file mesh/bottom_plate.stl type 1 scale 0.001 stress on
fix ins_mesh all mesh/surface/planar file mesh/factory.stl type 1 scale 0.001
fix geometry1 all wall/gran model hertz tangential history mesh n_meshes 2 meshes cad1 cad2

And now with the piston:
fix cad3 all mesh/surface/stress/servo file mesh/top_plate.stl type 1 scale 0.001 &
stress on com 0 0 0.06 ctrlPV force axis 0. 0. 1. target_val -10.0 vel_max 1.0
unfix geometry1
fix geometry2 all wall/gran model hertz tangential history mesh n_meshes 3 meshes &
cad1 cad2 cad3

Regards,

Bruno

deepakpawar.2310 | Sun, 01/20/2019 - 16:14

Hello

I am getting following error while running above script. Can comment on the following error

LIGGGHTS (Version LIGGGHTS-PUBLIC 3.8.0, compiled 2017-12-05-18:49:45 by root, git commit unknown)
Created orthogonal box = (-0.021 -0.021 -0.001) to (0.021 0.021 0.051)
1 by 1 by 1 MPI processor grid
Fix particledistribution/discrete (id pdd1): distribution based on mass%:
pts1: d=2.000000e-02 (max. bounding sphere) mass%=100.000000%
Fix particledistribution/discrete (id pdd1): distribution based on number%:
pts1: d=2.000000e-02 (max. bounding sphere) number%=100.000000%

Reading STL file 'mesh/without_dimples.stl' (mesh processing step 1/3)

Reading STL file 'mesh/bottom_plate.stl' (mesh processing step 1/3)

Reading STL file 'mesh/factory.stl' (mesh processing step 1/3)
Setting up run at Sun Jan 20 20:50:56 2019

ERROR: Mesh error - root causes: (a) mesh empty or (b) dimensions too small - use different unit system (/home/pawar/LIGGGHTS-PUBLIC-master/src/multi_node_mesh_parallel_I.h:566)

nejme | Thu, 06/13/2019 - 18:11

i'm starting to learn about LIGGGHts, and I was wondering if some one can share the stl file and input code for this program.
It will help me a lot as I'm trying to work on triaxial simulations. Thanks