Versions Compared

Key

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

...

Solution > Monitors > Lift > Edit.... Then check Print to Console, Plot and Write. Click ok. The last option writes the lift coefficient data to a file that is buried in one of the subfolders that FLUENT creates in the working folder. You'll have to dig around to find it.

Solution Initialization

First, let's set the initial condition in all of the cells to a velocity of 1 m/s in the X-direction. Solution > Solution Initialization. Set Compute From to farfield1.. Click Initialize.

Next, we'll change the velocity in some of the cells to more quickly reach a sinusoidal variation of the lift coefficient. Adapt > Region....

Image Added

Then set X Min to 0.5 m, set X Max to 32 m, set Y Min to 0 m, and set Y Max to 32m.

Image Added

Click Mark then click Close. This will select the cells bounded by these four points, so we can change the initial condition in them.

.Solution > Solution Initialization. Set Compute From to farfield1.. Click Initialize. Next, click Patch. Complete the patching menu as shown below. This will change the initial Y component of velocity in the selected region from 0 to 0.2 m/s.



Click Patch,then click close.

...

We would like to create an animation of the vorticity magnitude after the solution has been calculated. To do so, we will need to export data from FLUENT to CFD-Post, the post processor used to view results. To do so, go to Solution > Calculation Activities > Execute Commands Automatic Export > Create /Edit. Now, set up the window to appear as the image below. The command entered is 'file export-to-cfd-post unsteady-%t.cdat x-velocity y-velocity velocity-curl q no no'. In this case, we will export the x and y components as well as the curl of the velocity every time step.> Solution Data Export....

Image Added

Next, change File Type to CFD-Post compatible, as this is the program we will use for post processing. Then, select Vorticity Magnitude from the list of variables on the right, so we can make an animation of contours of vorticity. Finally, click Browse, and choose a convenient file location to place the data files. Make note of this location for later use.

Image AddedImage Removed

Advance Solution in Time

Solution > Run Calculation. Set Time Step Size to 0.2 seconds and set the Number Of Time Steps to 200400.

Image Added

Now, click Calculate. (You may have to hit Calculate twice.) Now, have a cup of coffee. Continue the time-stepping until you get sinusoidal variation in the lift coefficientWhen complete, close FLUENT to return to the main project window.

Save Project



Go to Step 6: Results

See and rate the complete Learning Module

Go to all FLUENT Learning Modules