LIGGGHTS® - User Forum

LIGGGHTS® related topics can be discussed here: discussion about models, installation, feature requests and general discussion

"No such file or directory"

Submitted by ccallejonh on Sun, 10/01/2017 - 22:47

Hi,

I'm new to LIGGGHTS and was trying to run the in.movingMeshGran example on the terminal. The input was "mpirun -np 4 lmp_auto -echo both< in.movingMeshGran" which produced the following output: "in.movingMeshGran: No such file or directory"

What may I be doing wrong? I'm certain the file exists and can open it using TextEdit on Mac to view it.

Thanks
C CH

Property/atom Command

Submitted by govind on Sat, 09/30/2017 - 13:29

Hi All,

I want to know id of an atom during computation for that I am using property/atom command like this

compute ID impactor property/atom id
variable aID equal c_ID[1]

here impactor group only has one atom. And I access this with v_aID. But it throws an error :

ERROR: Compute used in variable between runs is not current. Use the update_on_run_end option for computes to avoid this.

After following this error message I change the compute command

compute ID impactor property/atom update_on_run_end yes id

issue with compiling a liquid bridge model

Submitted by AliBlues on Thu, 09/28/2017 - 14:20

Hi,
I'm trying to implement a liquid bridge model and wanted to use the available washino model in LIGGGHTS as starting point. So I just renamed the file:
cohesion_model_washino_capillary_viscous.h
cohesion_model_lqb.h

and within the file adjusted accordingly the name. Also for the identifier, gave it a value of 9:
#ifdef COHESION_MODEL
COHESION_MODEL(COHESION_LQB,lqb,9)
#else

When I try to compile the code I get error regarding redefinition of the model parameters. E.g.

Forcefield Array

Submitted by Bernhard on Thu, 09/28/2017 - 11:47

Hey all,

I have got a 2D-array of different values for a force field depending on the region from another program (matlab) in a txt.file (other files are also easily possible).
I want to add these values via the addforce command to the particles in my simulation.
Depending on the position of each particle, it should give me an unique forcevector.

Confining pressure (fix mesh/surface/stress/servo)

Submitted by z3490628 on Thu, 09/28/2017 - 10:12

Hi all,

I have try to use the 'fix mesh/surface/stress/servo' to apply confining pressure on each sides of a cubic box. (100mm*100mm*100mm)

I want to apply 200kPa confining pressure on each sides with the following command. Take the left side as an example

fix zservo2 all mesh/surface/stress/servo file meshes/rwall4.stl type 1 com 0. 0. 0. ctrlPV force axis 1. 0. 0. target_val 2000 vel_max 100. kp 1e-2. ki 0. kd 0. #left

Error occurs during make fedora,spirit,etc.

Submitted by fabregas04 on Wed, 09/27/2017 - 05:37

Hi guys,
I am currently using Red hat .
I tries to compile LIGGGHTS(3.5.0) by using make fedora but error occurs as follows :

/usr/bin/ld: cannot find -l-lsundials_cvode
collect2: ld returned 1 exit status
make[1]: *** [../lmp_fedora] Error 1
make[1]: Leaving directory `/share/apps/LIGGGHTS-PUBLIC-master/src/Obj_fedora'
make: *** [fedora] Error 2

so I tried make spirit instead of make fedora but it gets the same error :

Changing particles sizes in the restart file

Submitted by cs222 on Tue, 09/26/2017 - 17:57

Hi,
I am using liggghts data for a macro-scale simulation, where there is aggregation happening leading to increase in the size of the particles. I want to restart the simulations from the previous state but with the new particle sizes. Is there a way to achieve that. Merely changing the sizes in the new infile leads to an insertion error.

Thank you for your help!

-Chai.

Pages

Subscribe to RSS - LIGGGHTS® - User Forum