CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM

Cyclic boundary giving wrong gradient

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

Reply
 
LinkBack Thread Tools Display Modes
Old   November 15, 2013, 09:41
Default Cyclic boundary giving wrong gradient
  #1
New Member
 
Ralf Kuehn
Join Date: Mar 2009
Posts: 4
Rep Power: 8
rakue is on a distinguished road
Hi,
I'm trying to simulate a simple test case. A fully developed laminar flow through a channel with simpleFoam using cyclic BC on the inlet and outlet (simple 2D channel, length 0.5 m height 0.05 m, viscosity 100 Pas, rho 1000 kg/m3).
I set up the average cyclic velocity ubar (0.05 0 0) into the fvOptions dict and setup 'type cyclic' for the inlet and outlet boundaries.
After solving the case i get the expected parabolic velocity profile.

Looking into the log for the pressure gradient, I got a number with the correct magnitude (expected -24.0), but the wrong sign (.. "Pressure gradient source: uncorrected Ubar = 0.05, pressure gradient = 23.666" ...)
As the channel flow is driven by the pressure gradient, it should be negative ???!
Can anybody give me a hint, what's going wrong?

Thanks
rakue is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error finding variable "THERMX" sunilpatil CFX 8 April 26, 2013 07:00
udf error srihari FLUENT 0 February 9, 2009 10:00
New topic on same subject - Flow around race car Tudor Miron CFX 15 April 2, 2004 06:18
Please help with flow around car modelling! Tudor Miron CFX 17 March 19, 2004 20:23


All times are GMT -4. The time now is 03:54.