Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

We'll use a second-order discretization scheme. Under Discretization, set Flow to Second Order Upwind. Under Solver Parameters, set the Courant Number to 0.1.

  Image Modified

Click OK .

Solve > Initialize > Initialize...

This is where we set the initial guess values for the iterative solution. We'll use the farfield values (M=3, p=1 atm, T=300 K) as the initial guess for the entire flowfield. Select farfield under Compute From .This fills in values from the farfield boundary in the corresponding boxes. (Alternately, I could have typed in these values but I like to palm off as much grunt work as possible to the computer.)

Image Modified
 

Click Init . Now, for each cell in the mesh, M=3, p=1 atm, T=300 K. These values will of course get updated as we iterate the solution below.

...

Set Absolute Criteria for all equations to 1e-6.

Image Modified

Also, under Options , select Plot . This will plot the residuals in the graphics window as they are calculated, giving you a visual feel for if/how the iterations are proceeding to convergence.

...