The model to be calculated is the flow of the air around a circle, which could be the section of a cylinder.
Files->Open...
and select the cfd_2d_example.gid model.


Then it is time to load the CFD calculation problem type and assign the material properties and the conditions to the geometry, so as the simulation could be run.
We won't focus this course in the simulation itself or the parameters needed for it, but only in the way of assigning properties and how to run a simulation within GiD.
The boundary conditions and physical properties to use in this simulation are:

Load Kratos problemtype

For loading the problem type you should go to the Data->Problem types menu and select Kratos
The start data window of the problem type appears. We are going to run a simulation of a 2D fluid flow, so we must click on the Fluid button. 

Available applications in the Kratos Market

Available applications in the Kratos Market.


In the next window, select again Fluid and 2D


This will set the kratos tree into a Fluid 2D configuration

Assign fluid material

Materials and properties->Fluid
For applying the fluid material properties double-click on Parts
You can see that a window (like the one shown in the figure) is opened with a data tree containing all the information required for the simulation.

Click in the refresh button next to the material to set the Air values for density and viscosity. Then, click on the Select button and assign the surface. Once selected the surface, click End and Ok.

Run a CFD simulation > Fluid boundaries

Conditions and initial data->Fluid flow


First of all we are going to force the fluid to have null velocity in the 'solid' boundaries of the model, which are the circumference 2D curves (that represent the surfaces of a cylinder considering it as a 3D model)


Now, we are going to set the lateral walls as Slip


Now we are going to set the conditions for the outlet region (the face of the control volume with maximum X coordinate).

You'll see that group: Outlet pressure has been created and binded to the Outlet pressure condition


It's time to set the conditions for the inlet region (the face of the control volume with minimum X coordinate).

General data

Now it is time to set the general data for the solver, like solver parameters, etc.

Solution > Parallel configuration

We are going to run this analysis using 8 processors and OpenMP.

Solution > Time parameteres

Values for the Solution parameters

Results

Results > General data

Check properties assigned

Clicking on the tree with the right-mouse button, user can check the information assigned to the model, drawing with colors the different conditions, materials, etc... (contextual menu: Draw->Draw groups...)
Tree items with data applied to groups are highlighted in bold characters 

Meshing

Make sure you are using a Body fitted mesher in Utilities > Preferences > Meshing >General> Mesh type > Body-fitted.

To mesh the model, click on the menu Mesh > Generate mesh and mesh with mesh size: 0.2

Calculation

You can run the calculation by clicking in the rocket of the left toolbar, or in the menu Calculate > Calculate (F5)

Results

Go to postprocess and check the results.

Extra > CFD 3D

Go back to preprocess and let's create a 3D case.

Go to Files > New. The application selector should appear again. This time we are selecting Fluid > Fluid > 3D. The Kratos team has developed an example to show how to run a 3D cylinder in a Air flow.

Click on the book icon in the left toolbar. 

This will generate the geometry and the tree assignations. You can navigate through the tree and see the assigned values. Save the model, mesh it and run it. (It may take some minutes).