1. ## Boundary layer.

Could someone give me some programming idea to predict boundary flow over a 2d chaannel please?..I'm reaaly poor in programmng..some steps on how to carry out this..

2. Well then this is definitely something you shouldn't try if you are poor at programming. From my mechanical engineering classes, like fluid mechanics and heat and mass transfer, I know some of these formulas can be fairly complicated and usually need Calculus to solve.

If you gave more information as to what exactly you are trying to accomplish, there may be an easier way than calculating flow patterns and shape vectors.

3. Welcome to the forum, sunish5!

Now take your complicated math problem, and go home. << just kidding >>

4. It has already been previously pointed out in this thread that boundary layer flow problems are not particularly easy to solve, and since you openly admit that your programming experience is rather limited I suggest that using a Computational Fluid Library is your best option. One of the best ones open source ones I can find is OpenFOAM although this is actually a C++ library, which means you would have to become quite familiar with classes, inheritance, friendship (personally, I virtually never use it because it by and large seems to defeat the point of Object Orientation IMO), namespacing and a few other crafty tricks that C++ uses.

If you are new to C, then you may have a lot to learn before you know C and C++ to an adequate level to make full use of this library.

Ofcourse, the alternative is that you program your own, much smaller and more specialised library which is written in C and specifically geared towards the problems you are trying to solve. This would involve writing quite a few functions and then having to test them extensively before you could put them together to solve fluid flow problems.

Unfortunately, however you try and look at it, the situation looks a bit bleak, but the second option (writing your own library) would probably get the job done quicker than having to learn lots of C++ and would give you a lot of practice at C, but again, the learning curve will be very steep.

Edit: You could try finding CFD libraries written in C, but given the complexity of CFD as a topic, I don't think there are many (if any) which are written entirely without object orientation. Ofcourse, if you do intend to start writing your own basic C code to solve this specific type of problem then people on this forum would be more than happy to help, so feel free to post code if you get stuck or need advice.

Edit 2: For some reason, Adak seems to be going a bit overboard with the Welcome messages recently. lol. I do find it slightly amusing, but question for Adak - Why? Are you just trying to be friendly? lol.