コード例 #1
0
    "ps0": -1.0,
    "pGridRatio": -1.0,
    "cMax": 5.0,
    # ---------------------------
    #   Smoothing parameters
    # ---------------------------
    "epsE": 1.0,
    "epsI": 2.0,
    "theta": 3.0,
    "volCoef": 0.25,
    "volBlend": 0.0001,
    "volSmoothIter": 100,
}

# Set up specific options that will overwrite the commonOptions

options1 = {"inputFile": surfaceFile1, "skip": False}
options2 = {"inputFile": surfaceFile2, "skip": False}
options3 = {"inputFile": surfaceFile3, "skip": False}

# Create list with different options
options = [options1, options2, options3]

# set skip list, if any
skipList = []

hyp = pyHypMulti(options=options,
                 commonOptions=commonOptions,
                 skipList=skipList)
hyp.combineCGNS(combinedFile=volumeFile)
コード例 #2
0
    "s0": 1e-6,
    "marchDist": 2.5,
    "splay": 0.5,
    # ---------------------------
    #   Pseudo Grid Parameters
    # ---------------------------
    "ps0": -1,
    "pGridRatio": -1,
    "cMax": 5,
    # ---------------------------
    #   Smoothing parameters
    # ---------------------------
    "epsE": 1.0,
    "epsI": 2.0,
    "theta": 3.0,
    "volCoef": 0.25,
    "volBlend": 0.0001,
    "volSmoothIter": 100,
}

# Now set up specific options
options1 = {"outputFile": "corner1_hyp.cgns"}

options2 = {"epsE": 4.0, "epsI": 8.0, "outputFile": "corner2_hyp.cgns"}

# Gather options in a list
options = [options1, options2]

hyp = pyHypMulti(options=options, commonOptions=commonOptions)
hyp.combineCGNS()