Incorporation of a new property

Submitted by efy3mp on Thu, 01/26/2012 - 16:21

Hi

I would like to include a new material property (in this case "yield stress") into the Hertz-History model. Could you tell me which of the headers/cpp files I need to modify.

Thank you

ckloss's picture

ckloss | Mon, 01/30/2012 - 13:09

Hi efy3mp,

have a look how this is done e.g. in pair_gran_hooke_history_simple.h/cpp. Then you could code your own class

class PairGranHookeHistoryYield : public PairGranHookeHistory

Cheers, Christoph