Example #1
0
        }
    },
    "families": "wall",
    # ---------------------------
    #        Grid Parameters
    # ---------------------------
    "N": NpExtrude,
    "s0": yWall,
    "marchDist": marchDist,
    # ---------------------------
    #   Pseudo Grid Parameters
    # ---------------------------
    "ps0": -1,
    "pGridRatio": -1,
    "cMax": 1.0,
    # ---------------------------
    #   Smoothing parameters
    # ---------------------------
    "epsE": 2.0,
    "epsI": 4.0,
    "theta": 2.0,
    "volCoef": 0.20,
    "volBlend": 0.0005,
    "volSmoothIter": 20,
}

hyp = pyHyp(options=options)
hyp.run()
# hyp.writeCGNS('volumeMesh.cgns')
hyp.writePlot3D("volumeMesh.xyz")
Example #2
0
    # ---------------------------
    'epsE': 1.0,
    'epsI': 2.0,
    'theta': 3.0,
    'volCoef': .2,
    'volBlend': 0.0005,
    'volSmoothIter': 20,
    # ---------------------------
    #   Solution Parameters
    # ---------------------------
    'kspRelTol': 1e-10,
    'kspMaxIts': 1500,
    'kspSubspaceSize': 50
}

hyp = pyHyp(options=options_front)
hyp.run()
hyp.writeCGNS('wing_vol_front.cgns')

#rst front_end

# Back wing vol mesh
options_back = {
    # ---------------------------
    #   General options
    # ---------------------------
    'inputFile': 'wing.cgns',
    'fileType': 'cgns',
    'unattachedEdgesAreSymmetry': True,
    'outerFaceBC': 'overset',
    'autoConnect': 'True',