Acoustic emission--No such attribute: recordMoments

Asked by Yang Zou on 2020-07-28

Dear Sir/Madam,

I want to monitor the acoustic emission and use the engine as this:

Law2_ScGeom_JCFpmPhys_JointedCohesiveFrictionalPM(smoothJoint=True, recordCracks=True, recordMoments=True, Key='identifier', label='interactionLaw')

referring '4.4.3 Activating the algorithm within Yade' in Yade documentation.

But I get an information:

AttributeError: No such attribute: recordMoments.

Then I checked the attributes by dir(Law2_ScGeom_JCFpmPhys_JointedCohesiveFrictionalPM), also didn't find recordMoments.

My Yade version is 2020.01a

Would you please tell me how to active the recordMoments attribute?

Tanks a lot in advance.

Best regards
Yang

Question information

Language:
English Edit question
Status:
Solved
For:
Yade Edit question
Assignee:
No assignee Edit question
Solved by:
Yang Zou
Solved:
2020-08-05
Last query:
2020-08-05
Last reply:
2020-07-29
Robert Caulk (rcaulk) said : #1

Hello,

2020.01a compiled from source certainly has recordMoments [1]. The newest yadedaily version also has the recordMoments attribute.

Please provide the necessary information for us to help you [2]. Most notably, what is your method of installation (compiled or packages). What is the output of yade -v or yadedaily -v? Provide an MWE if you seek further assistance [2].

Cheers,

Robert

[1]https://gitlab.com/yade-dev/trunk/-/blob/2020.01a/pkg/dem/JointedCohesiveFrictionalPM.hpp#L160
[2]https://www.yade-dem.org/wiki/Howtoask

Yang Zou (yang-zou) said : #2

Dear Robert,

Thanks for your information.

I checked the version again, and found it is 2018.02b installed through packages.

After I reinstall the yadedaily, the recordMoments is found.

Cheers
Yang