Skip to content

volume mesh generation in pHYP #85

@bhargavisrinivas666

Description

@bhargavisrinivas666

I'm trying to generate volume mesh for wing+body using pyHYP .I'm able to run pyhyp script without errors,but the grid is only generating for some distance instead of given march distance. this is the script

from pyhyp import pyHyp

options = {
    # ---------------------------
    #   General options
    # ---------------------------
    "inputFile": "wb_1.6ar_0.67s.cgns",
    "fileType": "CGNS",
    "unattachedEdgesAreSymmetry": False,
    "outerFaceBC": "farfield",
    "autoConnect": True,
    "BC": {1: {"iHigh": "zSymm"},5: {"jLow": "zSymm"},6: {"jHigh": "zSymm"},7: {"jHigh": "zSymm"},8: {"jLow": "zSymm"},9: {"jLow": "zSymm"},10: {"jLow": "zSymm"},11: {"iHigh": "zSymm"},12: {"jHigh": "zSymm"},14: {"iHigh": "zSymm"}, 15: {"iHigh": "zSymm"}, 17: {"iLow": "zSymm","iHigh": "zSymm"},25: {"jLow": "zSymm"},26: {"jLow": "zSymm"},27: {"jHigh": "zSymm"}},
    
    "families": "wall",

    # ---------------------------
    #   Grid Parameters
    # ---------------------------
    "N":129,
    "s0": 1e-6,
    "marchDist" : 22.5,
    "nConstantStart":100,
    
   
    # ---------------------------
    #   Pseudo Grid Parameters
    # ---------------------------
    "ps0": -1.0,
    "pGridRatio":-1.0,
    "cMax":1.0,
   
    # ---------------------------
    #   Smoothing parameters
    # ---------------------------
    "epsE": 3.0,
    "epsI": 6.0,
    "theta": 3.0,
    "volCoef": 0.15,
    "volBlend": 0.0005,
    "volSmoothIter": 100,
    "volSmoothSchedule": [[0, 10], [0.4, 50], [1.0, 100]],
    "slExp":0.073,
  
    # ---------------------------
    #   Solution Parameters
    # ---------------------------
    "kspRelTol": 1e-10,
    "kspMaxIts": 1500,
    "kspSubspaceSize": 120,
    "writeMetrics":True,
}

hyp = pyHyp(options=options)
hyp.run()
hyp.writeCGNS("wb_vol.cgns")

what changes can avoid this.Thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions