Hi!
Im having trouble with read_data for a model with bonded particles (Schramm/Richti83) using adhesive particles (washino/capillary/viscous).
I cant seem to get the format right in the data-file. Is there a way to check what format my particles have (e.g. ID x y z ...) When I use write_data to create a file I get the following format:
Atoms
1 1 9.0780778811098348e-03 8.4565641784780238e-03 1.9864876941739838e-03 1.8000000000000000e-05 1.0000000000008616e+03 0 0 0
Running read_data using this format gives me an error "incorrect atom format in data file".
If I add another column of zeros the code is ok with reading the data but I get a "segmentation fault, address not mapped" when I get to the run-command.
Attaching an in-file and data-file.
Thank you! All help appreciated!
BR
Attachment | Size |
---|---|
![]() | 4.78 KB |
![]() | 1 KB |
richti83 | Wed, 04/15/2020 - 21:16
As far as I remember you are
As far as I remember you are missing the
XX extra bond per atom
to register the internal memory.Have a look at this header and try if this works for you:
https://github.com/richti83/LIGGGHTS-WITH-BONDS/blob/master/examples/bon...
For my version the atom-columns should be
id type x y z radi dens 0
PerB | Thu, 04/16/2020 - 09:41
Thank you! This was very
Thank you! This was very helpful, much apprechiated.
mschramm | Thu, 04/16/2020 - 22:46
No changes
Hello,
No changes have been made to the file input and should be the same as what is used with richti83's version.
The format I used before I started to use the fix particletemplate multiplespheres is what Richti83 described.
mschramm | Thu, 04/16/2020 - 22:51
radi or diameter
Hello,
I don't have the ability to check right now but I think the file wants the diameter and not the radius. I should be able to confirm this later today.
PerB | Fri, 04/17/2020 - 15:35
Thank you
Yes it is diameter, not the radius.
I have gotten it to work now using the following parameters
ID, type, x, y, z, diameter, density, bonds_per_atom, surfaceLiquidContent, liquidFlux, liquidSource
Thank you
Nathan | Wed, 04/22/2020 - 05:57
Successfull examples of using bonding model and its modification
Hi guys,
You can find some good examples of how to use LIGGGHTS to model bonding particles in following papers. Some validations are available too, but there is also a difference between this model in LIGGGHTS and PFC, but these papers do not point out well.
https://www.nrcresearchpress.com/doi/10.1139/cgj-2015-0213#.Xp-_1PYRXCI
https://www.nrcresearchpress.com/doi/full/10.1139/cgj-2016-0182#.Xp_ATPY...
Cheers,
Min Zhang | Tue, 05/12/2020 - 20:34
What codes are these two papers using?
Is it PFC?
Thanks!