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

fully developed channel flow with kOmega, wrong results

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 19, 2016, 11:46
Default fully developed channel flow with kOmega, wrong results
  #1
New Member
 
Bob
Join Date: Nov 2014
Posts: 1
Rep Power: 0
boshynova is on a distinguished road
Hi, everyone:

I am validating RANS models with channel flow using OpenFOAM-2.3.1, however, it went wrong with kOmega and kOmegaSST.

The mesh is 2D, meanwhile, 1 cell in the streamwise direction. The bottom and upper boundaries are walls, which y+ =0.7. The left and right side are set to cyclic bc, and the frontAndBack is set to empty.(physical model, mesh and boundary conditions are shown in physical.jpg and mesh&bc.jpg)

kOmega, kOmegaSST, and kEpsilon are used. kqRWallFunction, omegaWallFunction, nutkWallFunction, epsilonWallFunction are used for k, omega, nut, and epsilon.

A pressure gradient term was added to simpleFoam, renaming as simpleFullyDevelopFoam, giving a pressure gradient to drive the fluid flow.
Modification in UEqn.H
Code:
    //solve(UEqn() == -fvc::grad(p));
    solve(UEqn() == -fvc::grad(p)-pGrad);
Modification in pEqn.H
Code:
    //U = HbyA - rAU*fvc::grad(p);
    U = HbyA - rAU*fvc::grad(p) - rAU*pGrad;
The case file is cavity_pGrad_1cells_H_simple.

The results, however, is very wrong for kOmega.
As can be seen from kOmega-res.jpg, there is a discontinuity of du/dy and dk/dy in the center of the channel. Also, kOmega converged to different results given different initial ux value.
On the other hand, the kEpsilon do not exhibits such misbahavior (kEpsilon-res.jpg).

Given all that shown, I am wondering if there is something wrong with kOmega and kOmegaSST model.
Or, is there something wrong with the method that I added the pressure gradient? Is there a better way to achieve this?

Hope to hear your suggestions.

Best wishes,
boshynova
Attached Images
File Type: jpg mesh&bc.jpg (63.9 KB, 25 views)
File Type: png kEpsilon-res.png (157.5 KB, 34 views)
File Type: png kOmega-res.png (184.1 KB, 34 views)
Attached Files
File Type: zip simpleFullyDevelopFoam.zip (172.9 KB, 10 views)
File Type: zip cavity_pGrad_1cells_H_simple.zip (28.8 KB, 9 views)

Last edited by boshynova; April 19, 2016 at 22:27.
boshynova is offline   Reply With Quote

Old   April 20, 2016, 11:54
Default Should you try to use OpenFOAM-dev?
  #2
New Member
 
Xinze
Join Date: Mar 2009
Location: Shenyang, China
Posts: 15
Rep Power: 17
Xinze is on a distinguished road
The turbulence library has been rewriten in the latest version, OpenFOAM-dev. you should try to use OpenFOAM-dev and check if it is a bug.

xz
Xinze is offline   Reply With Quote

Reply

Tags
boundary layer, fully developed, komega, openfoam 2.3.1

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
fully developed channel with cyclic using simplefoam ArathoN OpenFOAM Running, Solving & CFD 4 February 21, 2014 10:53
UDF for 3D turbulent fully developed flow howhs Fluent UDF and Scheme Programming 0 August 1, 2013 12:47
Fully developed flow ,CEL expression kmgraju CFX 0 August 6, 2010 05:15
fully developed turbulent channel flow pankaj saha Main CFD Forum 0 August 24, 2007 19:15
on unconvincing results for channel flow simulatio yf yap Main CFD Forum 6 January 30, 2001 00:18


All times are GMT -4. The time now is 00:10.