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

Cyclic boundary giving wrong gradient

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 15, 2013, 08:41
Default Cyclic boundary giving wrong gradient
  #1
New Member
 
Ralf Kuehn
Join Date: Mar 2009
Posts: 4
Rep Power: 17
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


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
udf error srihari FLUENT 1 October 31, 2016 14:18
Error finding variable "THERMX" sunilpatil CFX 8 April 26, 2013 07: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 19:23


All times are GMT -4. The time now is 09:18.