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

A newbie's question -- NaN in icoFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 12, 2012, 21:15
Default A newbie's question -- NaN in icoFoam
  #1
New Member
 
einat lev
Join Date: Dec 2010
Posts: 2
Rep Power: 0
BigMatilda is on a distinguished road
Hello world
I am a brand new user to OpenFoam. I am trying to set up a very simple flow -- a rectangular pipe, with flow coming in and going out... Sadly, I keep getting NaN. I compared my U and p and boundary files to those of the OffsetCylinder example, as well as those of the cavity example, and can't figure out what's wrong...
Any advice would be greatly appreciated!

U:

dimensions [0 1 -1 0 0 0 0];

internalField uniform (0 0 0);

boundaryField
{
a
{
type fixedValue;
value uniform (-1e-5 0 0);
}

c
{
type zeroGradient;
}

b
{
type fixedValue;
value uniform (0 0 0);
}

d
{
type fixedValue;
value uniform (0 0 0);
}
e
{
type fixedValue;
value uniform (0 0 0);
}

f
{
type fixedValue;
value uniform (0 0 0);
}

defaultFaces
{
type empty;
}
}


p:


internalField uniform 0;

boundaryField
{
a
{
type zeroGradient;
}

c
{
type fixedValue;
value uniform 0;
}

b
{
type zeroGradient;
}

d
{
type zeroGradient;
}

e
{
type zeroGradient;
}

f
{
type zeroGradient;
}

defaultFaces
{
type empty;
}
}

boundary:

6
(
a
{
type patch;
nFaces 390;
startFace 340881;
}

b
{
type wall;
nFaces 4816;
startFace 341271;
}

c
{
type patch;
nFaces 386;
startFace 346087;
}

d
{
type wall;
nFaces 4696;
startFace 346473;
}

e
{
type wall;
nFaces 8798;
startFace 351169;
}

f
{
type wall;
nFaces 8964;
startFace 359967;
}
)

Thanks!
BigMatilda is offline   Reply With Quote

Old   July 13, 2012, 07:22
Default A newbie's question -- NaN in icoFoam Reply to Thread
  #2
New Member
 
Vignesh V
Join Date: Jun 2012
Posts: 16
Rep Power: 14
Vignesh V is on a distinguished road
Hi Lev,

I think you can better go through these tutorials.

If u want your case to be run in icoFoam. I can help you out.

http://www.somogyibence.hu/documents.../Cornell1.html

Regards,
Vignesh V
Vignesh V 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
Newbie Question IcoFoam - Courant Number explodes sprobst76 OpenFOAM Running, Solving & CFD 12 March 1, 2018 08:35
question about uds tanven FLUENT 2 July 5, 2015 12:22
Question about PISO in IcoFoam titio OpenFOAM Running, Solving & CFD 5 September 17, 2010 14:31
Question about Table applicaiton. universez OpenFOAM Running, Solving & CFD 0 January 12, 2010 21:31
CHANNEL FLOW: a question and a request Carlos Main CFD Forum 4 August 23, 2002 06:55


All times are GMT -4. The time now is 00:33.