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

problem running buoyantSimpleFoam

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 25, 2011, 19:35
Default problem running buoyantSimpleFoam
  #1
Member
 
Naveen
Join Date: Feb 2010
Location: Los Angeles
Posts: 65
Rep Power: 7
vetnav is on a distinguished road
Hello,

I am trying to run a 2D free convection case. The flow geometry is a closed box, the bottom wall is heated with air as the fluid. I have OpenFOAM-2.0.x on Fedora14.

My blockMesh looks like

PHP Code:
convertToMeters 0.01;

vertices
(
    (
0  0  0)
    (
60  0  0)
    (
60  10  0)
    (
0  10 0)
    (
0 0 1)
    (
60 0 1)
    (
60 10 1)
    (
0 10 1)
);

edges
(
);

blocks
(
    
hex (0 1 2 3 4 5 6 7) (120 60 1simpleGrading (1 1 1)
);

patches
(
    
wall top
    
(
        (
3 7 6 2)
    )
    
wall bottom
    
(
        (
1 5 4 0)
    )
    
wall side
    
(
        (
2 6 5 1)
        (
0 4 7 3)
    )
    empty 
frontAndBack
    
(
        (
0 3 2 1)
        (
4 5 6 7)
    )
);

mergePatchPairs
(
); 
and my pressure boundary conditions file looks like

PHP Code:
dimensions      [--2 0 0 0 0];

internalField   uniform 101325;

boundaryField
{
    
top
    
{
        
type            zeroGradient;
    }

    
bottom
    
{
        
type            zeroGradient;
    }

    
side
    
{
        
type            zeroGradient;
    }

    
frontAndBack
    
{
        
type            empty;
    }


When I try to run the code, I get a Fatal error, the output is as below
PHP Code:
Build  2.0.x-321b2e64c9f9
Exec   
buoyantSimpleFoam
Date   
Aug 25 2011
Time   
15:22:20
Host   
naveen
PID    
5771
Case   : /home/naveen/OpenFOAM/naveen-2.0.x/run/TwoDfreeconv
nProcs 
1
sigFpe 
Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking Monitoring run-time modified files using timeStampMaster
allowSystemOperations 
Disallowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh 
for time 0


Reading g
Reading thermophysical properties

Selecting thermodynamics package hPsiThermo
<pureMixture<constTransport<specieThermo<hConstThermo<perfectGas>>>>>

--> 
FOAM FATAL IO ERROR:

    
patch type 'wall' not constraint type 'empty'
    
for patch frontAndBack of field p in file "/home/naveen/OpenFOAM/naveen-2.0.x/run/TwoDfreeconv/0/p"

file: /home/naveen/OpenFOAM/naveen-2.0.x/run/TwoDfreeconv/0/p::boundaryField::frontAndBack from line 41 to line 41.

    From 
function emptyFvPatchField<Type>::emptyFvPatchField
(
    const 
fvPatchp,
    const 
Field<Type>& field,
    const 
dictionarydict
)

    
in file fields/fvPatchFields/constraint/empty/emptyFvPatchField.C at line 100.

FOAM exiting 
As you can see the geometry has empty patches. I don't understand why it complains about empty patches. Could anyone please help me.

Thank you
Naveen
vetnav is offline   Reply With Quote

Old   August 26, 2011, 03:14
Default
  #2
New Member
 
Dima Risch
Join Date: Jun 2011
Location: Cologne
Posts: 22
Rep Power: 6
dima is on a distinguished road
Hi Naveen
in OpenFOAM-2.0.x the blockMeshDict is different to OpenFOAM-1.7.x

example from the shockTube tutorial

Code:
...
boundary
(
    sides
    {
        type patch;
        faces
        (
            (1 2 6 5)
            (0 4 7 3)
        );
    }
    empty
    {
        type empty;
        faces
        (
            (0 1 5 4)
            (5 6 7 4)
            (3 7 6 2)
            (0 3 2 1)
        );
    }
);
...
and the default type is wall, i think

maybe this could be the reason

regards, Dima
dima is offline   Reply With Quote

Old   August 26, 2011, 12:18
Default
  #3
Member
 
Naveen
Join Date: Feb 2010
Location: Los Angeles
Posts: 65
Rep Power: 7
vetnav is on a distinguished road
Hi dima,

Thank you very much for the reply. Strangely, cavity test case which I copied from 1.7.1 runs fine in 2.0.x. I will try your suggestion and see.

Thank you
Naveen
vetnav is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem running buoyantFoam anke OpenFOAM 4 August 28, 2013 04:43
Problem running parallel Hernán Main CFD Forum 0 December 22, 2009 05:36
InterFoam / InterDyFoam running problem anon_c OpenFOAM Running, Solving & CFD 1 August 26, 2009 03:54
the problem of running star-cd after pro-star liu-jinsong CD-adapco 0 November 20, 2008 21:58
problem running parallel-help needed Shankar FLUENT 0 December 16, 2002 14:45


All times are GMT -4. The time now is 02:37.