CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   Does the inlet boundary condition *generate* air? (https://www.cfd-online.com/Forums/cfx/166596-does-inlet-boundary-condition-generate-air.html)

federernadal February 12, 2016 17:42

Does the inlet boundary condition *generate* air?
 
Hi, so I have a model - think a small rectangular box within another big rectangular box.

I would like air to come in on 2 sides of the small box and out its top. So in order to make that happen, I am thinking of defining an outlet on the sides of the small rectangular box. I have air coming in from the large rectangular box.

Now, I would like air that came in to shoot out the top (and into the big rectangular box). Should I define the top face as an inlet - will it use the air that came in on its sides or will it generate new air to spit out the top?

evcelica February 12, 2016 18:08

It will *generate* new air with the properties you give it.
The Outlet will have air disappear entirely, not come into the small box. I think you need to use interfaces, and do some tutorials, as this is really basic fundamental stuff.

federernadal February 12, 2016 19:37

So what do you recommend? Use opening BC for the sides of the box? The small box is actually an air handler (sucks air from the sides and spits it from the top) - so what BC would you recommend?

Or generate a new domain for the small box?

ghorrocks February 13, 2016 05:25

Air which goes out an outlet disappears. Air which comes in an inlet is magically generated. You could couple the flow rate of air at an inlet to the flow rate out of the outlet - you may have convergence issues with this.

Another approach is to use a momentum source term. This just adds momentum to the flow, such as what a fan does. Then it is the same air going around and around, but the momentum source term is giving it energy to move it all about.

You can also use the interface Erik suggests - this is really a momentum source term on a interface surface. This makes it a bit easier to apply.

federernadal February 13, 2016 12:19

Ok, so in the small box, I think Ill just put an outlet on the sides of mass flow rate say 100lb/s each side (200lb/s total). Let it magically disappear.

Then, I will put a mass flow rate of 200lb/s on the top (magically generated). I dont really care about the flow within the small box, more interested to see what it is doing relative reference to the big box...

ghorrocks February 14, 2016 04:03

OK, this sounds like a pretty simple way to do it.

federernadal February 14, 2016 12:34

Will doing a body sizing and making the tetra mesh elements small be good enough? Should I add some inflation at the outlets/inlets as well (the bigger room has 12 inlets and 12 outlets as well)?

ghorrocks February 14, 2016 16:44

You do not put inflation layers over inlets or outlets.

What mesh size is required? This is problem dependent so there is no universal answer. Do a mesh size sensitivity check and find out in your case.

federernadal February 14, 2016 16:57

So inflation goes only over walls? I thought inflation by definition means "boundary"?

By the way, I want to do the tutorials in ANSYS help section, but cant find the 3d renders/models? Where do they keep those?

ghorrocks February 14, 2016 17:02

Go back to the basics - why do you put inflation layers on walls anyway? It is because there are steep gradients of flow variables near the wall due to the boundary layer. Steep gradients mean you need a fine mesh to resolve it. So walls need inflation layers (keeping in mind this applies to mid and high Reynolds number flows only, non-Newtonian and multiphase flows are more complex etc etc; the usual exceptions)

Are there steep variable gradients at inlet and outlet boundaries? No. In fact some options of inlets/outlets apply zero normal gradient to make there no gradient at all. So no steep gradient means inflation is not required.

There are also issues about high aspect ratio elements and flow direction - I will discuss that if you are interested.

federernadal February 14, 2016 17:10

So like in a serpentine shaped heat exchanger, we would put inflation on the the curved areas due to a drastic change in flow?

I used to think a good mesh by definition is one that has the mesh metric skewness really tight? It seems this is not the case? We can have good meshes without a low skewness?

ghorrocks February 15, 2016 00:05

You put inflation layers on wall boundaries. I do not see how a serpentine heat exchanger is any different to any other device in that respect.

The key mesh quality measures are aspect ratio, orthogonality and size ratio of adjacent volumes. But what mesh quality your simulation requires is strongly dependent on what you are modelling. Some flows work fine with horrible meshes (eg low Re flows), some flows require meshes which are just about perfect and have almost no tolerance to deviations from 1:1 aspect ratio and 90 degree orthogonality (eg surface tension models).


All times are GMT -4. The time now is 13:10.