CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

scalarTransportFoam out of bounds

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

LinkBack Thread Tools Search this Thread Display Modes
Old   March 12, 2010, 04:02
Default scalarTransportFoam out of bounds
New Member
Alexis Espinosa
Join Date: Aug 2009
Location: Australia
Posts: 18
Rep Power: 14
alexisespinosa is on a distinguished road
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:

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,
alexisespinosa is offline   Reply With Quote

Old   June 7, 2013, 04:19
New Member
Daniele Obiso
Join Date: Apr 2012
Location: Germany
Posts: 10
Rep Power: 11
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


boundary conditions, convection schemes, scalar transport, scalartransportfoam

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

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