Rate This Document
Findability
Accuracy
Completeness
Readability

Running and Verifying SU2

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Download the test case package su2code.github.io-master.zip.

    The parameters in the case configuration files of SU2 6.X.X and SU2 7.X.X are greatly changed. You need to obtain the case configuration file of the corresponding version from the corresponding source code package.

  3. Use an SFTP tool to upload the SU2 test case package to the /path/to/CASE directory on the server.
  4. Run the following command to decompress the test case package:
    unzip su2code.github.io-master.zip
  5. Run the following command to switch to the directory generated after the package is decompressed:
    cd su2code.github.io-master
  6. Run the following command to create a testcase folder:
    mkdir testcase
  7. Run the following commands to copy the testcase folder and rename it Inviscid_Bump:
    cd testcase
    cp -rf /path/to/CASE/su2code.github.io-master/testcase /Inviscid_Bump
  8. Run the following command to go to the Inviscid_Bump test case package:
    cd ../Inviscid_Bump
  9. Run the following command to start SU2:
    mpirun --allow-run-as-root -np 16 SU2_CFD inv_channel.cfg

    Information similar to the following is displayed.

    ----------------------- Residual Evolution Summary ----------------------
    log10[Maximum residual]: -7.391.
    Maximum residual point 511, located at (3, 0.003).
    -------------------------------------------------------------------------
     Iter    Time(s)     Res[Rho]     Res[RhoE]      CL(Total)      CD(Total)
      600   0.087015    -9.260167     -3.862403       0.000291       0.000007
      601   0.087013    -9.271532     -3.873152       0.000291       0.000007
      602   0.087011    -9.282237     -3.883903       0.000291       0.000007
      603   0.087010    -9.293729     -3.894743       0.000291       0.000007
      604   0.087008    -9.305008     -3.905581       0.000291       0.000007
      605   0.087006    -9.316490     -3.916410       0.000291       0.000007
      606   0.087006    -9.327466     -3.927381       0.000291       0.000007
      607   0.087004    -9.338974     -3.938270       0.000291       0.000007
      608   0.087002    -9.350370     -3.949267       0.000291       0.000007
      609   0.087000    -9.361588     -3.960211       0.000291       0.000007
      610   0.086998    -9.373061     -3.971327       0.000291       0.000007
      611   0.086997    -9.384581     -3.982358       0.000291       0.000007
    -------------------------- File Output Summary --------------------------
    Writing comma-separated values (CSV) surface files.
    Loading solution output data locally on each rank.
    Sorting output data across all ranks.
    Writing binary SU2 native restart file.
    -------------------------------------------------------------------------
    ------------------------- Solver Postprocessing -------------------------
    Deleted CNumerics container.
    Deleted CIntegration container.
    Deleted CSolver container.
    Deleted CIteration container.
    Deleted CInterpolator container.
    Deleted CTransfer container.
    Deleted CGeometry container.
    Deleted CFreeFormDefBox class.
    Deleted CSurfaceMovement class.
    Deleted CVolumetricMovement class.
    Deleted CConfig container.
    Deleted COutput class.
    -------------------------------------------------------------------------
    Completed in 53.260358 seconds on 16 cores.
    ------------------------- Exit Success (SU2_CFD) ------------------------