Some issues in the application of the frictional cohesive crack model to dam-foundation joints