|
[Sponsors] |
July 17, 2013, 01:24 |
Solver for Curved Channel
|
#1 |
New Member
Mohammad
Join Date: Jul 2013
Posts: 10
Rep Power: 13 |
Dear Foamer,
I want to model 2D laminar incompressible flow in a curved channel (a finite length of a channel), say something like cavity problem, except that the bottom and top walls are curved and fixed walls (the driving force is the pressure gradient). I want to use cyclic boundary conditions for the problem. Do you know what solver shall I use? icoFoam, simpleFoam, pimpleFoam, etc. (A solver that can handle cyclic BC.) I know channelFoam was a good one, but it is removed in OF 2.2.1 and my flow is laminar. Thank you so much. Mohammad |
|
July 17, 2013, 03:29 |
|
#2 |
New Member
Steven
Join Date: Jul 2013
Posts: 5
Rep Power: 13 |
I also have a similar problem.
Anybody has an idea? Thanks. Steven |
|
July 17, 2013, 10:42 |
|
#3 |
Senior Member
Daniel WEI (老魏)
Join Date: Mar 2009
Location: Beijing, China
Posts: 689
Blog Entries: 9
Rep Power: 21 |
Should be easy. Get back the channelFoam or do some combination with simpleFoam algorithm in case you want to do a steady RANS.
__________________
~ Daniel WEI ------------- Boeing Research & Technology - China Beijing, China |
|
July 17, 2013, 11:09 |
|
#4 |
New Member
Steven
Join Date: Jul 2013
Posts: 5
Rep Power: 13 |
Hi Daniel,
Thanks for the reply. I do not need RANS, since my flow is laminar. 1. But I do not understand your comment of getting back to ChannelFoam?! 2. Shall I also add a pressure gradient to the code? (since the driving force is pressure gradient) and if yes how? 3. I used cyclic BC for U and Fan BC for P. Do you think this is correct? I mean does this Fan BC creates a kind of pressure gradient pr I have to do something else? Thanks so much. Mohammad |
|
August 1, 2013, 17:38 |
|
#5 |
New Member
Mohammad
Join Date: Oct 2010
Posts: 4
Rep Power: 0 |
Dear mohammad81,
you can use ChannelFoam solver to simulate laminar flow in finite pipe. you should use channelFoam toturial test case and simply change LESModel in (your case directory/constant/LESProperties) from SGS model to "laminar". then run channelFoam command to run your case. but you see error messages and your run don't start. to overcome these errors you should add approprate divergence schemes to fvSchemes file(simply change nuEff to nu and etc). I hope this help you. |
|
August 1, 2013, 17:54 |
|
#6 |
New Member
Mohammad
Join Date: Oct 2010
Posts: 4
Rep Power: 0 |
Dear Darth2013
if you use channelFoam solver to simulate your laminar test case with approprate modifications from previous post, you don't need to know any pressure gradient and also no need to change the main code. but you should know mean velocity in your test case (pipe, channel and etc). and simply add this parameter in transportProperties such as below: Ubar Ubar [ 0 1 -1 0 0 0 0 ] ( 15.631 0 0 ); channelFoam solver calculate pressure gradient at every time step and write it in time directory. I hope this help you. Mohammad |
|
June 1, 2014, 12:02 |
|
#7 |
Member
Niu
Join Date: Apr 2014
Posts: 55
Rep Power: 12 |
Dear Mohammad,
Is Ubar the mean velocity at the inlet ? |
|
June 1, 2014, 15:38 |
|
#8 |
New Member
Mohammad
Join Date: Oct 2010
Posts: 4
Rep Power: 0 |
Dear Z.Q. Niu,
yes, Ubar is the mean velocity that you can calculate it from bulk Reynolds number (Re=H*Ub/nu). |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Unexplained Error during Solver Runs | cfb | CFX | 6 | November 9, 2012 16:42 |
Strange residuals of the Density Based Solver | Pat84 | FLUENT | 0 | October 22, 2012 16:59 |
Quarter Burner mesh with periosic condition | SamCanuck | FLUENT | 2 | August 31, 2011 12:34 |
Working directory via command line | Luiz | CFX | 4 | March 6, 2011 21:02 |
why the solver reject it? Anyone with experience? | bearcat | CFX | 6 | April 28, 2008 15:08 |