CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   nonuniform velocity at the inlet (http://www.cfd-online.com/Forums/openfoam-solving/67013-nonuniform-velocity-inlet.html)

sambatra July 31, 2009 03:20

nonuniform velocity at the inlet
 
Hi there,
It's been a while,
I'm actually implementing boundary condition of the velocity at the inlet,the thing is that the velocity at the inlet is nonuniform
in fact for my case, the inlet is split into three portions and each portion has its own velocity,here what I tried:
inlet
{
type fixedvalue;
value nonuniform<Listvector>
100
(
......
)

}
But it didnt work!!!
for more information, the field is rectangular with 100*50 cells
the width contains 50 cells
the length contains 100 cells
and inlet is along the length.
Can anybody help me out?Please
Best Regards!

sega July 31, 2009 03:27

I think
Code:

inlet
{
    type      fixedvalue;
    value    nonuniform List<vector> 100
    (
          (0 0 0)
          (0 0 1)
          ...
    );
}

is the right syntax in your case!

sambatra July 31, 2009 05:42

thanks for the information I will try it.

Best regards

Prash October 20, 2012 12:13

Hi Guys,

I am stuck same problem. Has anybody tried this snippet

inlet { type fixedvalue; value nonuniform List<vector> 100 ( (0 0 0) (0 0 1) ... ); }

I could not get it to run, appreciate your help.

fcollonv October 23, 2012 03:29

Hi Prash,

OpenFOAM is case sensitive. Try
Code:

inlet
{
    type fixedValue;
    value nonuniform List<vector>
    100(
    (0 0 0)
    ...
    );
}

Remark: OpenFOAM usually provides info about the reason it is not working. Please add it to the post, it helps the others to give you the solution to your problem.... And not a guess like I just have done.

Best regards,

Frederic

QLintulsa June 17, 2014 17:39

error in the nonuniform inlet
 
Quote:

Originally Posted by fcollonv (Post 388051)
Hi Prash,

OpenFOAM is case sensitive. Try
Code:

inlet
{
    type fixedValue;
    value nonuniform List<vector>
    100(
    (0 0 0)
    ...
    );
}

Remark: OpenFOAM usually provides info about the reason it is not working. Please add it to the post, it helps the others to give you the solution to your problem.... And not a guess like I just have done.

Best regards,

Frederic

I have used this method to use experiment data as inlet, but it doesn't work for me, does anyone use this method? thanks


All times are GMT -4. The time now is 07:33.