Problem about contactArea

Submitted by 374390895 on Sat, 12/20/2014 - 08:09

Hi,guys

I want to calculate the average contactarea between particles,below is my command:

compute area particle pair/gran/local contactArea
variable avearea equal ave(c_area)
thermo_style custom step atoms ke v_avearea

but, it pointed out that mismatched compute in variable formula.........

I don't know why , who can tell me ?

thanks

ckloss's picture

ckloss | Wed, 01/14/2015 - 15:27

Hi,

the compute will give a list of contact areas (local values) where thermo output requires a global value. Try to use compute reduce to calculate a global value

Christoph