forked from su2code/SU2
-
Notifications
You must be signed in to change notification settings - Fork 0
Windows Demo
chamsolli edited this page May 20, 2016
·
1 revision
This tutorial is intended to demonstrate 1) How to set up system variable, 2) How to run SU2 on Windows.
- Click Windows key
- Type "environ" in the search/run box of the start menu, select "edit the system environment variables"
- Click "Environment Variables..."
- Click "Path" system variable and then click "Edit" (or select "New" if "Path" system variable doesn't exist)
- You need to add path to SU2 exectuables. In this example, we add C:\SU2 in the Path variable. If you didn't use the default values from the installer, you should add the path where your executables exist ex) "C:\Program Files (x86)\SU2"
- Don't forget to click "OK"
- Click Windows key
- Type "cmd" in the search/run box of the start menu, select "Command Prompt"
- Move to the directory containing the config file and the mesh file
- Run the executable by entering "SU2_CFD inv_channel.cfg" at the command line. If you didn't add the path to SU2 executables in system variable "Path", this command won't work
- SU2 will print residual updates with each iteration of the flow solver, and the simulation will finish after reaching the specified convergence criteria
- Files containing the results will be written upon exiting SU2. The flow solution can be visualized in ParaView (.vtk) or Tecplot (.dat for ASCII). To visualize the flow solution in ParaView update the OUTPUT_FORMAT setting in the configuration file
Home | Quick Start | User Docs | User Tutorials | Developer Docs | FAQ | License | Contact
Copyright © 2012-2016 SU2, the open-source CFD code.