Computational Aerodynamics — CFDWARP HOWTO
 Create a Control File
Create a template control file:
AERO.201267435~> warp -w control.wrp
Edit the control file:
AERO.201267435~> pluma control.wrp
The control file uses the SOAP interpreter language, for which a manual is provided. As well, the grid generation is done through the GRIDG library. Learn how to write code in SOAP and how to generate a grid through the examples given in the manuals. See the GRIDG and SOAP manuals here: https://overbrace.com/bernardparent/vie ... 6570#p6570
 03.04.18
 Check Grid
You can create a grid post file this way:
AERO.201267435~> warp -r control.wrp -opg post.01 -pt gnuplot
Then, verify if your grid is correct by plotting the grid with GNUPLOT. See GNUPLOT HOWTO: https://overbrace.com/bernardparent/vie ... 6513#p6513
 Check Initial Conditions
You can create a post file including flow properties this way:
AERO.201267435~> warp -r control.wrp -op post.01 -pt gnuplot
Then, verify if your initial conditions are correct by using filled contour plots in GNUPLOT. See GNUPLOT HOWTO: https://overbrace.com/bernardparent/vie ... 6519#p6519
 Check Boundary Conditions
For a 2D problem, you can verify if your boundary conditions are implemented correctly through the following command:
AERO.201267435~> warp -r control.wrp -on 20 25 40
This will output to the screen the node types around the point i=20, j=25 with a bandwidth of 40 nodes.
 Run a Case
Once the grid, boundary conditions, and initial conditions have been verified to be valid, you can run a case as follows:
AERO.201267435~> warp -r control.wrp -o data.01
This will iterate the case with the boundary conditions, grid, and initial conditions specified in control.wrp and output the converged solution to the data file data.01. In case of a crash, lower the time step dt (or the CFL if using dual time stepping) within the Cycle() module.
 Restart a Case
If you wish to restart a case that is not yet converged, this can be done with the following:
AERO.201267435~> warp -r control.wrp -i data.01 -o data.02
This tells warp to read the data file data.01 instead of applying the initial conditions and to continue the iteration process which will be saved in the data file data.02.
 Post-Process the Data File
You can create a post file post.01 for GNUPLOT from a data file data.01 as follows:
AERO.201267435~> warp -r control.wrp -i data.01 -op post.01 -pt gnuplot
CFDWARP has some built-in functions within the Post() module part of the control file to help with data post-processing. For instance, using the Post() module, it is possible to find the skin friction drag or the lift coefficient (such would be tedious to obtain using GNUPLOT or other post-processing software). To run post-processing commands using the Post() module, type the following at the shell prompt:
AERO.201267435~> warp -r control.wrp -i data.01 -opm
 1,  2    Next  •  PDF 1✕1 2✕1 2✕2
 $\pi$