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

Strange incorrect inlet behavior for reactingFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 24, 2007, 16:05
Default Hi all, I finally got back
  #1
Member
 
Michael Rangitsch
Join Date: Mar 2009
Location: Midland, Michigan, USA
Posts: 31
Rep Power: 17
mrangitschdowcom is on a distinguished road
Hi all,
I finally got back to using openFoam and ran into an old problem again, but I've found out more about it. I have a model with two inlets that doesn't seem to calculate the temperature correctly. The domain is a 'pipe in a pipe' with only a quarter of the system modeled (two symmetry planes). The inlet boundary condition on the inner pipe seems to work fine. All the species & temperature are advected downstream as one would expect. The other inlet (actually an annulus) does not. The species are advected correctly, but the temperature is not. In fact, it is not advected at all. The boundary nodes have the correct temperature values, but the downstream values do not change, even though all the species advect correctly. I haven't a clue as to what is going wrong. The boundary conditions are defined exactly the same for both inlets.

The grid for the model comes from gambit, if that has any impact on the system. It is quite orthogonal at the inlets, and most of the domain is a hex mesh.

Any help would be greatly appreciated!


Mike
mrangitschdowcom is offline   Reply With Quote

Old   August 24, 2007, 16:13
Default Did checkMesh report any incon
  #2
Senior Member
 
Srinath Madhavan (a.k.a pUl|)
Join Date: Mar 2009
Location: Edmonton, AB, Canada
Posts: 703
Rep Power: 21
msrinath80 is on a distinguished road
Did checkMesh report any inconsistencies? Also if you're really confident that the Boundary conditions are in order, you could always run a much simpler test case (say a cube in a cube) with the mesh done using blockMesh to single out any GAMBIT related issues.
msrinath80 is offline   Reply With Quote

Old   August 24, 2007, 16:44
Default checkMesh show OK's across the
  #3
Member
 
Michael Rangitsch
Join Date: Mar 2009
Location: Midland, Michigan, USA
Posts: 31
Rep Power: 17
mrangitschdowcom is on a distinguished road
checkMesh show OK's across the board. I used my chemkin file and modified boundary files for the example case (backward step) that comes with the reactingFoam files from the wiki. It seems to work correctly. What the backwards step doesn't have is the symmetry boundaries, but these seem to work. The problem is just in the temperature equation.

My temperature boundary condition file is below (the one that doesn't work is inlet_cycle):



inferno:0> more T
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \ / O peration | Version: 1.4.1 |
| \ / A nd | Web: http://www.openfoam.org |
| \/ M anipulation | |
\*---------------------------------------------------------------------------*/

FoamFile
{
version 2.0;
format binary;

root "/home/u091108/OpenFOAM/u091108-1.4.1/run/tutorials/reactingFoam";
case "reactingTest";
instance "0";
local "";

class volScalarField;
object T;
}

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [0 0 0 1 0 0 0];

internalField uniform 323.15;

boundaryField
{
wall
{
type zeroGradient;
}
cone
{
type zeroGradient;
}
hole
{
type zeroGradient;
}
finger_outer
{
type zeroGradient;
}
finger_end
{
type zeroGradient;
}
finger_inner
{
type zeroGradient;
}
inlet_oxygen
{
type fixedValue;
value uniform 293.15;
}
inlet_cycle
{
type fixedValue;
value uniform 383.15;
}
outlet
{
type zeroGradient;
}
symmetry2
{
type symmetryPlane;
}
symmetry1
{
type symmetryPlane;
}
}

// ************************************************** *********************** //




Thanks much!

Mike
mrangitschdowcom is offline   Reply With Quote

Old   August 27, 2007, 17:03
Default Hi again all, Just checked
  #4
Member
 
Michael Rangitsch
Join Date: Mar 2009
Location: Midland, Michigan, USA
Posts: 31
Rep Power: 17
mrangitschdowcom is on a distinguished road
Hi again all,
Just checked what's going on using a different grid (the pitz daily grid supplied with the reactingFoam example). With the above temperature boundary condition file, the 383.15K flow (inlet_cycle) doesn't advect into the domain like it should. The temperature at the inlet plane is set correctly, but it is never convected downstream with the flow. The other variables are -- all species, k, epsilon... but not the temperature. Does anyone have an idea why this may be?

Thanks in advance

Mike
mrangitschdowcom is offline   Reply With Quote

Old   August 29, 2007, 16:55
Default Found the problem! It turne
  #5
Member
 
Michael Rangitsch
Join Date: Mar 2009
Location: Midland, Michigan, USA
Posts: 31
Rep Power: 17
mrangitschdowcom is on a distinguished road
Found the problem!

It turned out that there was a boundary condition problem, but one that I wouldn't have thought would have made a difference in the temperature equation. I had left out a species from my chemkin file, and the summation of my mole fractions of the other species didn't come to 1.0. Somehow this caused the temperature equation to go haywire. There is no consistency check in the startup for the mole fractions (I think).

Does openFOAM solve for all the species, or can you specify Nspecies-1 mole fractions and have it compute the other one by 1.0 - sum(Y1+Y2+Y3+...)?

Thanks for the help!


Mike
mrangitschdowcom 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
strange solver behavior---Treatment of Rough Wall Yi CFX 6 April 14, 2010 19:31
The behavior of droplets at the symmetry boundary SJLee Siemens 0 April 17, 2007 02:50
very strange behavior of residuals Mohammad El-Alti Siemens 0 March 30, 2007 05:28
CFX-Solver, issue with convergence behavior Andy CFX 7 September 5, 2006 04:24
Dirichlet BC downind strange behavior sampaio OpenFOAM Running, Solving & CFD 0 August 1, 2006 11:25


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