CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   Two Inlets with Different Velocities (https://www.cfd-online.com/Forums/fluent/72112-two-inlets-different-velocities.html)

khimkhim January 26, 2010 00:07

Two Inlets with Different Velocities
 
Hi all,

I have 2 inlets at different walls with different velocities.
How can i simulate the air flow within the domain with this 2 inlets allowing air entrance simultaneously?

-mAx- January 26, 2010 00:55

define each BC as separate velocity inlets

khimkhim January 26, 2010 01:05

Hi max,

Thanks for replying, i've already define them as different velocity inlets with their respective velocity.
Problem is i found that when come to "Solution Initialization", i can only choose 1 inlet to initiate with.
I'm wondering how can i compute from 2 inlets in the same initialization.

jack1980 January 26, 2010 04:06

The following might work.

First the simple one. Assuming that one inlet is in the lower half and one is in the upper half of your domain:

- initialize in the usual way from the lower inlet
- adapt > region: select a region that includes the upper half of your domain. Press 'Mark'.
- solve > initialize > patch: select either X or Y Velocity (wathever you want to set), enter the value associated with the upper inlet, and under Registers to Patch select hexahedron-r0 (this is the region you marked). Press 'Patch'

This would be the fast way. Still, this may give you akward initial conditions. A nicer solution would be to define a linear Field Function that matches both boundary conditions:

- initialize in the usual form from an inlet
- define > custom field functions: play around with this window to define your linear field function that matches both boundary conditions. Name it 'xvelocity0' or something.
- solve > initialize > patch: select X Velocity, checkbox Use Field Function, select xvelocity0, and select Zones to Patch: fluid.

good luck!

Philipov January 27, 2010 04:09

I think you are unaware of the idea of initialization.... this is a step for giving a kind of preliminary values for the iteration process... that's why it is not possible to guess from multiple inlets.... it is like you know the solution!!!!!!
It is possible to initialize from the "whole domain"... try using this....

khimkhim January 27, 2010 07:20

Initialize from whole domain?
How am i gonna set the boundary condition such as inlets velocities?

Philipov January 27, 2010 07:38

Initialization is the final step before Iteration.... setting BC has to be done before that.... in the BC panel ... there you must find your boundary and to set up the values....
Are you sure you didn't give one and the same name to the boundaries?

khimkhim January 27, 2010 07:55

I did set them as different boundary names although they both of type velocity inlet.
Meaning to say i just need to key in the velocities, then in initialization tab, i select "Compute from" Interior-#?

Philipov January 27, 2010 07:58

post a picture of the BC tab...... I am not sure I can understand the problem

Philipov January 27, 2010 08:13

Quote:

Originally Posted by khimkhim (Post 243740)
Hi max,

Thanks for replying, i've already define them as different velocity inlets with their respective velocity.
Problem is i found that when come to "Solution Initialization", i can only choose 1 inlet to initiate with.
I'm wondering how can i compute from 2 inlets in the same initialization.

From here I understand that you define different BC velocity inlets... and you want to initialize the computation from the 2 inlets..... that's why I wrote my first reply....
Now you are telling me something different?!?!?!?!?!?

khimkhim January 27, 2010 08:26

Ya, you understand my question correctly a, sorry i make it sounds like something else, :p
What i meaning to say is that i've already set the velocities in Define - Boundary Condition. When it comes to Solve - Initialize stage, i nd to select a boundary to "Compute From" right?
Here is where i don't understand what you mean by "whole domain". Does it mean "all-zones"?

Philipov January 27, 2010 08:32

yes... all zones

khimkhim January 27, 2010 09:12

I shall try then.
Really thanks a lot for the advice~


All times are GMT -4. The time now is 00:49.