In the geometry step, we give it a key input for the mathematical model, i.e., the domain over which we
Want to solve the governing equations.
2. Click generate.
And they'll generate the area.
And this is what is sent forth to the mesher and the solver.
And that appears under one part one body.
So like that.
4. And the thickness doesn't enter anywhere in our mathematical model, because we have an
axisymmetric mathematical model.
Create Mesh
the meshing step, we are actually affecting the numerical solution procedure-- how that mathematical
model is going to be solved. The meshing step doesn't affect the mathematical model.
1. To start the mesher, double-click on Mesh.
After a little bit, the meshing tool comes up.
2. Let's try what the default mesh looks like.
highlight Mesh in the tree and click Update.
that gives me a coarse mesh.
It's just one division along the radial direction.
Too coarse of a mesh, so I want to put in more cells.
I can control that by putting in what I call sizing.
3. So I go to Mesh Control,
Click Sizing,
and let's select the edge selection filter,
select left edge, hold down the Control key, and select right edge, Click Apply in details
of edge sizing-sizing.
And then I can set the number of divisions I want along those edges,
so I'll go Under Type I'll click Number of Divisions instead of element , and let's go with
10.
And if I zoom in here, I see that I get some triangles and so on. This is simple geometry.
you can see that you have a nice regular mesh so you can actually store the information in this mesh in
a two-dimensional area because there's a nice structure in the axial direction and the radial direction.
We see that it's modified, it's not giving me uniform spacing over here,
so what it did was it used the inputs I gave it as guidance.
5. Let's tell it don't mess with inputs. Use it as hard setting.
So I can go into Edge Sizing and set Behavior to Hard.
You want to do this only for simple geometries. For complex geometries, you want to leave it at soft.
You just want to give some guidance on how to mesh it or what kind of element size you want.
The bullseye that you see is showing me the sizings that are actually under here, that's called the
Advanced Size Function. This is very useful for complex geometries and the defaults are set for complex
geometries.
I like to turn it off for simple geometries.
the solver is going to calculate the velocity and pressure at the centers
The solver will have to solve a system of 3,000 algebraic equations, most of which are nonlinear.
And in writing the algebraic equation for mass conservation for this cell, for instance, as we saw, it will
relate the velocity at this cell center to the velocity at this cell center and the velocity at this cell center.
So we can see how we have given it some key information about the numerical solution procedure
when we have provided the mesh
Label Boundaries
in the Fluent solver, you cannot click on a boundary and give the associated boundary condition.
What you have to do is you have to label the boundary in the mesher, and then in the Fluent solver, you
have to use that label to give the boundary condition.
So let's label the boundaries.
1.
2.
And if I go in Names Selections oin tree outline, I see that that name selection appears.
And if I highlight it, it shows me what the corresponding boundary is.
3. Similarly, give a name selection for the outlet.
4. This I will call pipe wall-- pipe_wall.
5. And this I will call centerline.
And I can Control click on all the Named Selections
to see what each label-- what boundary it corresponds to.
6. It's also a good idea to give a label for the flow domain.
This is not necessary, but it's a good idea.
To do that, highlight the Face Selection filter
and select the area corresponding to the flow domain, right click.
I'll get to Create Named Selection option.
And I'll call this flow_domain.
Model Setup
Start-Up
Defining the governing equations and boundary conditions.
1. Go to the project page and double click on setup to bring up the fluent solver.
And in the fluent launcher, I will select double precision.
This will use 64 bits for each floating point number.
So you're going to get increased precision for each number.
In this particular case, it's not going to really affect the solution.
I've seen it affect, you know, the residuals that are reported.
The trade off is that you get increased precision,
but you're also going to use more memory and you might also
take a performance hit.
But in this case, that's not an issue.
a) Let's go under scale, and we see that the horizontal accent is from 0 to 3 and the
vertical accent is from 0 to 0.1.
And by default, you can see that the 2D space, same version of the conservation equations,
are turned on.
That is we want to solve the conservation equations and the cylindrical coordinates. And
so, click on axis symmetric.
And that's a big change in the mathematical model.
This is one click. It's a big change in the mathematical model.
clicked on axis symmetric, it switched--
And that'll give us the Reynolds number 100 that we want.
And you see that the material being used is air and not go-big-red.
So once I change that, now the, you know, the values of row and meu being used in the flow
domain are the ones we want.
That completes the definition of the governing equations.
and just pick Default. Or I can click Front view and click Apply and
Close.
The absolute pressure is the pressure measured with respect to absolute 0 or perfect
vacuum.
And that can be a big number. For atmospheric pressure it's of the order of 10 to the power of 5
in Pascals, and that's a big number.
Why is that a problem?
To understand that let me go back to my mesh.
So let's say the solver is doing conservation of momentum in the x direction, so one of the
contributing terms is the pressure on that particular control volume.
And to calculate the pressure in the axial direction
it would need the pressure on Left and the pressure on right faces.
So let's say that pressure force is pressure on the right face times an area,
and the pressure force on this face is pressure on the left face times an area.
Now, in this kind of a flow you're going to get very little variations in the absolute pressure
across the cell.
as you refine the mesh those variations are going to be even smaller, which means you're going
to get small differences of large numbers.
And that leads to round off errors because of the finite precision
of the computer.
So how do we get around this problem of having
small differences of large numbers?
It's done by working in terms of a gauge pressure.
So you split the absolute pressure into a reference pressure plus a gauge pressure.
And the reference pressure is picked by the user.
So if you pick the reference pressure to be an appropriate value, the gauge pressure is going to
basically check variations from that reference.
As an analogy, let's say on the left face the pressure force is 2,000.02 in whatever the units.
And if your computer has only a precision of four digits
that's going to be rounded off to 2000.
And on the right face let's say it's 2,000.01.
So when it takes a difference, if you have precision of only four digits-the left face the pressure force is going to be 2,000, the right face the pressure force
this is going to be 2,000-- it's going to say, hey, there's no pressure differential.
Whereas that small number matters, i.e. .02 and .01
Whereas if I subtract out 2000, and take 2000 as my reference.
I'm going to get the difference between 0.02 and 0.01 at gauge pressure.
And that will fit within the precision of a four digits,
and I'm going to get the right result, As shown below.
2000
Boundary Conditions
Go back to the boundary conditions from the pre-analysis.
1.
Let's with the inlet. And we need to specify the velocity at the inlet.
highlight boundary conditions.
Select inlet.
the type is set to velocity inlet.
So here the solver is guessing.
It's saying that, hey, you called this the inlet,
so probably the flow is going to come in here.
And there's an incompressible flow, so you probably
want to set the velocity here.
And so that's right.
and check the operating pressure over here, and that's under operating conditions. And
that's 1 atmosphere.
Essentially we have set the absolute pressure
to be 1 atmosphere as the initial guess at the inlet.
OK.
And just say OK.
And one thing to keep in mind is that so for a axis symmetry problem,
your horizontal axis is always set to the axis boundary condition.
the domain over which the governing equations that need to be solved we
gave in the geometry step
And we have also given boundary conditions at the edges of that domain.
So governing equations define a domain, boundary conditions
define the edges of the domain.
So if you define all of that, and that means our boundary value problem
is completely defined.
And our mathematical model is completely defined.
And let's move on to getting the solver to solve that numerically using
the finite volume method.