Problems with self-created contact model

Submitted by Phil93 on Fri, 01/07/2022 - 09:56

Hey,
I'm supposed to optimize an existing simulation. I noticed that Reading STL comes an "error/warning" that.

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

fix walls all wall/gran model hertz tangential history rolling_friction epsd2 mesh n_meshes 1 meshes cad1
WARNING:
The contact model you specified is not located in any whitelist.
Because of this the model will be run in an unoptimized version (increasing runtime by up to 20%).
In order to optimize this model you have the following options:
(i) Run the genAutoExamplesWhitelist.sh script in your LIGGGHTS(R) source folder to automatically parse the input script
(ii) Add the model combination by hand to your style_contact_model_user.whitelist that can be found in your LIGGGHTS(R) source folder
If you perform one of the steps above LIGGGHTS(R) needs to be recompiled to generate the optimized code.

(../contact_models.h:364)

I have already added several times the contact model - GRAN_MODEL(HERTZ, TANGENTIAL_HISTORY, COHESION_SJKR, ROLLING_EPSD2, SURFACE_DEFAULT) - recommended to me in the whitelist and recompiled everything with "make clean-all" and then "make auto".
The new contact model is also afterwards in the style_contact_model.h.

Am I doing something wrong or is this a bug or is the contact model compiled and the "warning" is wrong?

Liggghts-Public Version 3.8.0

Thanks for your help

Phil

mschramm | Fri, 01/14/2022 - 04:54

Hello
GRAN_MODEL(HERTZ, TANGENTIAL_HISTORY, COHESION_SJKR, ROLLING_EPSD2, SURFACE_DEFAULT)
would be the incorrect entry for the model
hertz tangential history rolling_friction epsd2

Also, if you are using newer hardware and gcc 8+, I have not noticed too much of a difference if the model is whitelisted or not.
What you would want is
GRAN_MODEL(HERTZ, TANGENTIAL_HISTORY, COHESION_OFF, ROLLING_EPSD2, SURFACE_DEFAULT)

tiresurvivor | Wed, 12/13/2023 - 08:39

To get a more accurate assessment of the situation, I recommend reaching out to the developers or the community forum associated with the project. They can provide you with more specific guidance and support based on their knowledge and experience with the codebase.
moto x3m