CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Two different inlets (https://www.cfd-online.com/Forums/openfoam-solving/61822-two-different-inlets.html)

lasb August 3, 2007 07:27

Two different inlets
 
Hi,

Is it possible (I think so) to have two different inlets with different characteristics (e.g. different velocity)?

If yes, how do you do it or where can I read how to do it?

Regards,

Lasse

make August 3, 2007 08:11

What should be the problem? I
 
What should be the problem?
I have three different inlets. You simply have three different patches then defined with inlet conditions (of course they have to exist in your grid (constant/polyMesh/boundary)).

.e.g in U
INLET1
{
type fixedValue;
value uniform (10 0 0);
}
INLET2
{
type fixedValue;
value uniform (5 0 0);
}
INLET3
{
type fixedValue;
value uniform (8 0 0);
}

Let me know if you consider any difficulties. Perhaps I can help you.

lasb August 3, 2007 09:09

Hi, Thanks. I found out
 
Hi,

Thanks.

I found out that you can just rename them. I did that first, but forgot a "(" somewhere so it complained about the patchname. I therefore thought you couldn't do that.

It works now so I am happy about that.

Have a nice weekend.

-- Lasse


All times are GMT -4. The time now is 16:23.