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

scalarTransportFoam out of bounds

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 12, 2010, 05:02
Default scalarTransportFoam out of bounds
  #1
New Member
 
Alexis Espinosa
Join Date: Aug 2009
Location: Australia
Posts: 20
Rep Power: 17
alexisespinosa is on a distinguished road
Hello,
I'm using OpenFOAM1.6.x

I ran the tutorial case basic/scalarTransportFoam/pitzDaily and found that close to the upper and lower walls, near the inlet, values are above 1, while I suppose that the scalar should be bounded between 0 and 1. (I'm obtaining values around T=1.007)

I was curious about that and I set diffusivity to 0.0 in the transport properties and ran again. Now I get values above T=1.5 and some very small negative values. This wrong values again are concentrated close to the upper and lower walls, specially near the inlet, but in the upper boundary it extends along the whole domain for the first row of cells close to the wall.

I supposed that this was a convection scheme problem and that it would be fixed using upwind scheme for convection. So I changed the convection scheme to upwind:

divSchemes
{
default none;
div(phi,T) Gauss upwind;
}

But the values are still out of bounds close to the wall at the inlet and close to the upper wall along the whole domain. The problem reduced a little bit, but not too much (T above 1.46)

Because this is happening close to the walls, I suppose that the zeroGradient boundary condition might not be a suitable boundary condition for a nonDiffusion case. But anyway, this problem happens even for the diffusive original example, so

What is the source of error? How can I be sure that OpenFoam will keep scalars bounded?

Thanks a lot,
Alexis
alexisespinosa is offline   Reply With Quote

Old   June 7, 2013, 05:19
Default
  #2
New Member
 
Daniele Obiso
Join Date: Apr 2012
Location: Germany
Posts: 10
Rep Power: 14
danobis is on a distinguished road
Hi Alexis,
I hope you're still in OF stuff, since your post has more then 3 years.
I'm studing a case similar to your and I have the same problem. Do you remeber if you solved that? And if yes, how?
Thanks Alexis!
danobis is offline   Reply With Quote

Reply

Tags
boundary conditions, convection schemes, scalar transport, scalartransportfoam


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
ScalarTransportFoam for RTD calculations santoo_cfd OpenFOAM Running, Solving & CFD 39 July 12, 2021 02:15
bounds error jai CFX 3 July 3, 2014 07:03
flux seems not conserved in my modified scalarTransportFoam danielr OpenFOAM Running, Solving & CFD 3 October 5, 2009 17:05
F-90::Regarding Chk bounds Arnie Main CFD Forum 4 June 10, 2005 11:40
*** WARNING #065 *** OUT OF BOUNDS VALUE??? Ted Crilly Siemens 4 March 14, 2005 13:28


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