You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

UNDER CONSTRUCTION

Step 5: Solve!

We'll use a second-order discretization scheme.

Main Menu > Solve > Controls > Solution...

Take a look at the options available. Under Discretization, set Pressure to Standard, set Momentum to Second Order Upwind, set Turbulent Kinetic Energy to Second Order Upwind, and set Specific Dissipation Rate to Second Order Upwind. All other values should remain at their default.

Unable to render embedded object: File (step5_img001.jpg) not found.
Click OK.

Set Initial Guess

Initialize the flow field to the values at the inlet:

Main Menu > Solve > Initialize > Initialize...

In the Solution Initialization menu that comes up, choose inlet under Compute From. The X Velocity for all cells will be set to 1 m/s, the Y Velocity to 0 m/s and the Gauge Pressure to 0 Pa. These values have been taken from the inlet boundary condition.

Unable to render embedded object: File (step5_img002.jpg) not found.

Click Init. This completes the initialization. Close the window.

Set Convergence Criteria

FLUENT reports a residual for each governing equation being solved. The residual is a measure of how well the current solution satisfies the discrete form of each governing equation. We'll iterate the solution until the residual for each equation falls below 1e-6.

Main Menu > Solve > Monitors > Residual...

Change the residual under Convergence Criterion for continuity, x-velocity, and y-velocity, all to 1e-5.

Also, under Options, select Plot. This will plot the residuals in the graphics window as they are calculated.

Unable to render embedded object: File (step5_img003.jpg) not found.
Click OK.

Monitor also the drag coefficient on the cylinder.

Main Menu > Solve > Monitors > Force...

Select cylinder under Wall Zones. Under Options, select Plot and Write. Note that Plot Window is 1. 

Setting Reference Values

To plot C d, we need to set the reference value.

Unknown macro: {latex}

\large
$$
C_d =

Unknown macro: {1 over 2}

Drag} \over {{\rho_{ref {V_{ref}}^2

Unknown macro: {Area}

}}
$$

Note that cross sectional area for a 2D cylinder is the diameter of the cylinder.}

Main Menu > Report > Reference Values...

Under Reference Values, change Area to 2, Density to 1, Velocity to 1 and Viscosity to 0.1.

Unable to render embedded object: File (step5_img007.jpg) not found.

This completes the problem specification. Save your work:

Main Menu > File > Write > Case...

Type in cylinder.cas for Case File. Click OK. Check that the file has been created in your working directory. If you exit FLUENT now, you can retrieve all your work at any time by reading in this case file.

Iterate Until Convergence

Start the calculation by running 1000 iterations:

Main Menu > Solve > Iterate...

In the Iterate Window that comes up, change the Number of Iterations to 1000. Click Iterate.

The residuals and drag coefficient for each iteration are printed out as well as plotted in the graphics window as they are calculated.

[!step5_img005sm.jpg!|^step5_img005.jpg]

[!step5_img006sm.jpg!|^step5_img006.jpg]

Save the solution to a data file:

Main Menu > File > Write > Data...

Enter cylinder.dat for Data File and click OK. Check that the file has been created in your working directory. You can retrieve the current solution from this data file at any time.

Go to Step 6: Analyze Results

See and rate the complete Learning Module

Go to all FLUENT Learning Modules

  • No labels