# nonuniform velocity at the inlet

 Register Blogs Members List Search Today's Posts Mark Forums Read

 July 31, 2009, 03:20 nonuniform velocity at the inlet #1 New Member   andrianomena Join Date: Mar 2009 Location: madagascar Posts: 23 Rep Power: 16 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 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!

 July 31, 2009, 03:27 #2 Senior Member     Sebastian Gatzka Join Date: Mar 2009 Location: Frankfurt, Germany Posts: 729 Rep Power: 19 I think Code: ```inlet { type fixedvalue; value nonuniform List 100 ( (0 0 0) (0 0 1) ... ); }``` is the right syntax in your case! __________________ Schrödingers wife: "What did you do to the cat? It's half dead!"

 July 31, 2009, 05:42 #3 New Member   andrianomena Join Date: Mar 2009 Location: madagascar Posts: 23 Rep Power: 16 thanks for the information I will try it. Best regards

 October 20, 2012, 12:13 #4 New Member   Prashant Gupta Join Date: Mar 2011 Location: Edinburgh Posts: 29 Rep Power: 14 Hi Guys, I am stuck same problem. Has anybody tried this snippet inlet { type fixedvalue; value nonuniform List 100 ( (0 0 0) (0 0 1) ... ); } I could not get it to run, appreciate your help.

 October 23, 2012, 03:29 #5 Member   Frederic Collonval Join Date: Apr 2009 Location: Technische Universitaet Munich - Lehrstuhl fuer Thermodynamik Posts: 53 Rep Power: 16 Hi Prash, OpenFOAM is case sensitive. Try Code: ```inlet { type fixedValue; value nonuniform List 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 BSengupta likes this. __________________ Frederic Collonval Technische Universität München Thermodynamics Dpt.

June 17, 2014, 17:39
error in the nonuniform inlet
#6
New Member

Qi Li
Join Date: Jun 2014
Posts: 1
Rep Power: 0
Quote:
 Originally Posted by fcollonv Hi Prash, OpenFOAM is case sensitive. Try Code: ```inlet { type fixedValue; value nonuniform List 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