Skip to content

Running HI Mach

Jeremiah Goates edited this page Jan 17, 2024 · 2 revisions

Once compiled, HI-Mach may be run by executing

./himach.exe <input_filename>

from the directory where the HI-Mach executable is stored. Unless the verbosity has been set to False in the input, HI-Mach will then output to the terminal something like the following:


       -----/   ~ ~  ~  ~ ~  ~  ~ ~  ~ ~  ~
      -----/  ___      ~  ~    ~    ~     ~  ~
     -----/  /   \           ~         ~
    -----|  |      \              ~            ~  ~
   ------|  |   _    \     HI-Mach (c) 2023 USU Aerolab
  -------|  |  |_|    )               v1.0
   ------|  |        /                  ~
    -----|  |      /              ~            ~
     -----\  \___/           ~         ~
      -----\           ~  ~    ~    ~     ~  ~
       -----\   ~   ~  ~ ~  ~  ~ ~  ~ ~  ~

 Got input file: .\dev\input\blunted_cone_input.json

 Reading and analyzing surface mesh
      Reading surface mesh in from file dev/meshes/spherically_blunted_cone.vtk... Done.
      Surface mesh has    4801 vertices and    9550 panels.
      User has selected linear surface property distributions.
      Locating adjacent panels...Done. Found   14350 edges.
      Calculating Vertex geometric parameters... Done.
      Characterizing edges...Done.

 Initializing based on flow properties
     Finding shielded panels... Done.

 Running inviscid solver using the modified-newtonian impact method and the prandtl-meyer leeward method.
     Calculating surface pressures... Done.
         Maximum pressure coefficient:   1.8305532256359303
         Minimum pressure coefficient:  -1.0543538286677539E-002
     Caclulating forces from inviscid pressures... Done.
         Cx: -0.80350342301064726
         Cy:   1.6232311832474258
         Cz:  -8.2905467294882781E-018
     Calculating moments... Done.
         CMx:   2.8162797292933259E-016
         CMy:   7.8213328283567585E-016
         CMz:  -3.0224490010789902

 Writing result to file
           Surface: dev/results/spherically_blunted_cone_test.vtk
            Report: dev/results/spherically_blunted_cone_test.json

 HI-Mach Execution Time    0.2960 s

Once HI-Mach has finished executing, the result can be found in the file locations specified in the input file.

The input files are described in Input File Structure.

Clone this wiki locally