def getCNormalForce_3(odb, masterName, slaveName):
    values = valueExtractor.ContactValueExtractor(odb, masterName, slaveName)
    values.setField('CNORMF')
    values.setComponent('CNF3')
    vector = values.getEvolution()
    resForce = [sum([a for a in vecValue if a > 0]) for vecValue in vector]
    return resForce
def getCNormalForce(odb, masterName, slaveName):
    values = valueExtractor.ContactValueExtractor(odb, masterName, slaveName)
    values.setField('CNORMF')
    vector = values.getEvolution()
    return vector.norm()
def getCSlip2(odb, masterName, slaveName):
    values = valueExtractor.ContactValueExtractor(odb, masterName, slaveName)
    values.setField('CSLIP2')
    return values.getEvolution()
def getCPressure(odb, masterName, slaveName):
    values = valueExtractor.ContactValueExtractor(odb, masterName, slaveName)
    values.setField('CPRESS')
    return values.getEvolution()
def getCOpening(odb, masterName, slaveName):
    values = valueExtractor.ContactValueExtractor(odb, masterName, slaveName)
    return values.getEvolution()
def getFinalCSlip1(odb, masterName, slaveName):
    values = valueExtractor.ContactValueExtractor(odb, masterName, slaveName)
    values.setField('CSLIP1')
    return values.getFinalValue()
def getCShearForce(odb, masterName, slaveName):
    values = valueExtractor.ContactValueExtractor(odb, masterName, slaveName)
    values.setField('CSHEARF')
    return values.getEvolution()
def getFinalCShearStress2(odb, masterName, slaveName):
    values = valueExtractor.ContactValueExtractor(odb, masterName, slaveName)
    values.setField('CSHEAR2')
    return values.getFinalValue()
def getFinalCOpening(odb, masterName, slaveName):
    values = valueExtractor.ContactValueExtractor(odb, masterName, slaveName)
    return values.getFinalValue()