def readVectorFromFile(UFile):
    ' \n\tArg: \n\ttauFile: The directory path of OpenFOAM vector file (e.g., velocity)\n\n\tRegurn: \n\tvector: Matrix of vector    \n\t'
    resMid = extractVector(UFile)
    fout = open('Utemp', 'w')
    glob_pattern = resMid.group()
    glob_pattern = re.sub('\\(', '', glob_pattern)
    glob_pattern = re.sub('\\)', '', glob_pattern)
    fout.write(glob_pattern)
    fout.close()
    vector = np.loadtxt('Utemp')
    return vector
Arg: 
tauFile: The directory path of OpenFOAM vector file (e.g., velocity)

Regurn: 
vector: Matrix of vector
def readVectorFromFile(UFile):
    ' \n\tArg: \n\ttauFile: The directory path of OpenFOAM vector file (e.g., velocity)\n\n\tRegurn: \n\tvector: Matrix of vector    \n\t'
    resMid = extractVector(UFile)
    fout = open('Utemp', 'w')
    glob_pattern = resMid.group()
    glob_pattern = re.sub('\\(', , glob_pattern)
    glob_pattern = re.sub('\\)', , glob_pattern)
    fout.write(glob_pattern)
    fout.close()
    vector = np.loadtxt('Utemp')
    return vector