Skip to content

Outputs

Logan Freeman edited this page Feb 27, 2024 · 3 revisions

HI-Mach can be configured to produce several different outputs once the flow solution has been computed. These outputs are specified in the Output section of the input file. There are two types of output from HI-Mach: body results, and report files.

Body Results

HI-Mach will output pressures, inclination angles, shielded regions, etc. on the surface of the body being analyzed. If the mesh is being mirrored and the freestream flow is not symmetric with the mesh, then the calculated results on the mirrored half of the mesh may also be exported.

The following data are contained in the body vtk file:

Label Type Explanation
C_p Cell Pressure coefficient.
N_discontinuous_edges Cell Number of edges of each panel which are considered discontinuous for the higher-order singularity distributions.
centroid Cell Location of the centroid of each panel.
dC_f Cell Dimensionless force vector acting on each panel due to external pressures.
normals Cell Panel normal vector.
theta Cell Panel inclination angle.
shielded Cell Number of vertices of each windward panel which are shielded by other upstream panels.
separation Cell Whether a panel is considered a base region.

Report File

The report file contains general information about the case, how and when it was run, the results and timing, and the input used. If multiple cases were run, the report file will contain results for each case. The structure of the report file (assuming the run was successful) is as follows:

{
    "info" : {
        "generated_by" : "HI-Mach (c) 2023 USU Aerolab",
        "executed" : <EXECUTION DATE AND TIME>
    },
    "mesh_info" : {
        "N_body_panels" : <NUMBER OF PANELS ON THE BODY>,
        "N_body_vertices" : <NUMBER OF VERTICES ON THE BODY>,
        "average_characteristic_length" : <AVERAGE CHARACTERISTIC LENGTH (SQUARE ROOT OF PANEL AREA) FOR THE BODY>
    },
    "total_forces" : {
        "Cx" : <TOTAL FORCE IN THE X DIRECTION>,
        "Cy" : <TOTAL FORCE IN THE Y DIRECTION>,
        "Cz" : <TOTAL FORCE IN THE Z DIRECTION>,
        "C_L" : <BODY LIFT COEFFICIENT [ONLY PROVIDED IF FREESTREAM FLOW WAS DEFINED BY ALPHA]>
    },
    "total_moments" : {
        "CMx" : <TOTAL MOMENT ABOUT THE X AXIS>,
        "CMy" : <TOTAL MOMENT ABOUT THE Y AXIS>,
        "CMz" : <TOTAL MOMENT ABOUT THE Z AXIS>
    },
    "input" : {
        <INPUT AS SUPPLIED TO HI-MACH>
        ...
    },
    "total_runtime" : <TOTAL (WALL) TIME REQUIRED TO RUN MACHLINE>
}