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

SimpleFoam boundary conditions changed in OF 14

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 13, 2007, 10:34
Default Hello, I've got this error
  #1
Member
 
Ervin Adorean
Join Date: Mar 2009
Posts: 68
Rep Power: 8
adorean is on a distinguished road
Hello,

I've got this error in OF 1.4 - simpleFoam with a case setup that worked in OF 1.3:

--> FOAM FATAL IO ERROR : keyword U is undefined in dictionary "/home/ervin/OpenFOAM/ervin-1.4/tutorials/simpleFoam/intake-4mm/0/p::p-out"

file: /home/ervin/OpenFOAM/ervin-1.4/tutorials/simpleFoam/intake-4mm/0/p::p-out from line 41 to line 43.

From function dictionary::lookupEntry(const word& keyword) const
in file db/dictionary/dictionary.C at line 146.

FOAM exiting

My 0/p dictionary:

/*---------------------------------------------------------------------------*\
| ========= | |
| \ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \ / O peration | Version: 1.3 |
| \ / A nd | Web: http://www.openfoam.org |
| \/ M anipulation | |
\*---------------------------------------------------------------------------*/

FoamFile
{
version 2.0;
format ascii;

root "";
case "";
instance "";
local "";

class volScalarField;
object p;
}

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


dimensions [0 2 -2 0 0 0 0];

internalField uniform 101325;

boundaryField
{
p-in
{
type totalPressure;
p0 uniform 102125;
value uniform 102125;
}

p-out
{
type totalPressure;
p0 uniform 98205;
value uniform 98205;
}

wall
{
type zeroGradient;
}

}


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

Can someone tell why it is asking for U, then phi, rho, gamma ... in the 0/p file?

Thank you,

Ervin
adorean is offline   Reply With Quote

Old   May 15, 2007, 00:17
Default Hello again, Has anyone had
  #2
Member
 
Ervin Adorean
Join Date: Mar 2009
Posts: 68
Rep Power: 8
adorean is on a distinguished road
Hello again,

Has anyone had this problem with OF 1.4 and simpleFoam - with this B.C.?

I don't understand why is it complaining about those entries in that file (0/p).

I repeat: the exactly same setup worked just fine in OF 1.3.

Anyone?

Thanks,

Ervin
adorean is offline   Reply With Quote

Old   May 26, 2007, 10:46
Default Didn't anybody observe the abo
  #3
Member
 
Ervin Adorean
Join Date: Mar 2009
Posts: 68
Rep Power: 8
adorean is on a distinguished road
Didn't anybody observe the above described behaviour of simpleFoam and rhoSimpleFoam (for those kind of B.C.)?
What changed from 1.3 to 1.4?
Am I making a mistake with the B.C. in OF 1.4?
adorean is offline   Reply With Quote

Old   May 26, 2007, 12:38
Default Sorry for the wasted space. Pr
  #4
Member
 
Ervin Adorean
Join Date: Mar 2009
Posts: 68
Rep Power: 8
adorean is on a distinguished road
Sorry for the wasted space. Problem solved.
adorean is offline   Reply With Quote

Old   June 22, 2007, 07:17
Default Hello Ervin, Could you expl
  #5
Member
 
Guido Adriaensen
Join Date: Mar 2009
Posts: 56
Rep Power: 8
guido_adriaensen is on a distinguished road
Hello Ervin,

Could you explain how you solved the problem? Thank you.

Guido
guido_adriaensen is offline   Reply With Quote

Old   June 22, 2007, 07:50
Default Hello, By using this for th
  #6
Member
 
Ervin Adorean
Join Date: Mar 2009
Posts: 68
Rep Power: 8
adorean is on a distinguished road
Hello,

By using this for the p file:


FoamFile
{
version 2.0;
format ascii;

root "";
case "";
instance "";
local "";

class volScalarField;
object p;
}

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


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

internalField uniform 101325;

boundaryField
{
p-in
{
type totalPressure;
p0 uniform 102125;
value uniform 102125;
U U;
phi phi;
rho rho;
psi none;
gamma 1.4;
}

p-out
{
type totalPressure;
p0 uniform 98205;
value uniform 98205;
U U;
phi phi;
rho rho;
psi none;
gamma 1.4;
}

wall
{
type zeroGradient;
}

}


Ervin
adorean 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
Define non uniform TKE boundary condition in simpleFOAM qtian OpenFOAM Running, Solving & CFD 9 July 30, 2007 14:54
Rotating boundary simplefoam gabriel OpenFOAM Running, Solving & CFD 4 June 4, 2007 03:41
SimpleFoam boundary conditions hani OpenFOAM Running, Solving & CFD 2 January 10, 2007 03:44
Integral boundary conditions turbulent intensitylength boundary conditions olesen OpenFOAM Running, Solving & CFD 0 July 27, 2006 07:18
Problem about water decreased and boundary changed Luke FLUENT 2 June 6, 2006 14:54


All times are GMT -4. The time now is 19:47.