CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Solver for Curved Channel

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By saadat66
  • 1 Post By saadat66

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 17, 2013, 01:24
Default Solver for Curved Channel
  #1
New Member
 
Mohammad
Join Date: Jul 2013
Posts: 10
Rep Power: 13
mohammad81 is on a distinguished road
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
mohammad81 is offline   Reply With Quote

Old   July 17, 2013, 03:29
Default
  #2
New Member
 
Steven
Join Date: Jul 2013
Posts: 5
Rep Power: 13
Darth2013 is on a distinguished road
I also have a similar problem.

Anybody has an idea?
Thanks.
Steven
Darth2013 is offline   Reply With Quote

Old   July 17, 2013, 10:42
Default
  #3
Senior Member
 
lakeat's Avatar
 
Daniel WEI (老魏)
Join Date: Mar 2009
Location: Beijing, China
Posts: 689
Blog Entries: 9
Rep Power: 21
lakeat is on a distinguished road
Send a message via Skype™ to lakeat
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
Email
lakeat is offline   Reply With Quote

Old   July 17, 2013, 11:09
Default
  #4
New Member
 
Steven
Join Date: Jul 2013
Posts: 5
Rep Power: 13
Darth2013 is on a distinguished road
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
Darth2013 is offline   Reply With Quote

Old   August 1, 2013, 17:38
Default
  #5
New Member
 
Mohammad
Join Date: Oct 2010
Posts: 4
Rep Power: 0
saadat66 is on a distinguished road
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.
Darth2013 likes this.
saadat66 is offline   Reply With Quote

Old   August 1, 2013, 17:54
Default
  #6
New Member
 
Mohammad
Join Date: Oct 2010
Posts: 4
Rep Power: 0
saadat66 is on a distinguished road
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
Darth2013 likes this.
saadat66 is offline   Reply With Quote

Old   June 1, 2014, 12:02
Default
  #7
Member
 
Niu
Join Date: Apr 2014
Posts: 55
Rep Power: 12
Z.Q. Niu is on a distinguished road
Dear Mohammad,
Is Ubar the mean velocity at the inlet ?
Z.Q. Niu is offline   Reply With Quote

Old   June 1, 2014, 15:38
Default
  #8
New Member
 
Mohammad
Join Date: Oct 2010
Posts: 4
Rep Power: 0
saadat66 is on a distinguished road
Dear Z.Q. Niu,
yes, Ubar is the mean velocity that you can calculate it from bulk Reynolds number (Re=H*Ub/nu).
saadat66 is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 15:41.