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

Solving Flow past Square Cylinder

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

Reply
 
LinkBack Thread Tools Display Modes
Old   October 4, 2013, 06:16
Default Solving Flow past Square Cylinder
  #1
Senior Member
 
Join Date: Sep 2013
Location: Bangalore India
Posts: 134
Rep Power: 3
sam.ho is on a distinguished road
Hi FOamers

I am a biginner and running my first case.. Please help me over come this error
sml5kor@BMH301562:~/OpenFOAM/sml5kor-2.2.1/run/Sangamesh-block$ icoFoam
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.2.1 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.2.1-57f3c3617a2d
Exec : icoFoam
Date : Oct 04 2013
Time : 15:22:18
Host : "BMH301562"
PID : 5910
Case : /home/sml5kor/OpenFOAM/sml5kor-2.2.1/run/Sangamesh-block
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 transportProperties

Reading field p



--> FOAM FATAL IO ERROR:
Cannot find patchField entry for movingWall

file: /home/sml5kor/OpenFOAM/sml5kor-2.2.1/run/Sangamesh-block/0/p.boundaryField from line 27 to line 41.

From function GeometricField<Type, PatchField, GeoMesh>::GeometricBoundaryField::readField(const DimensionedField<Type, GeoMesh>&, const dictionary&)
in file /home/sml5kor/OpenFOAM/OpenFOAM-2.2.1/src/OpenFOAM/lnInclude/GeometricBoundaryField.C at line 198.

FOAM exiting

sml5kor@BMH301562:~/OpenFOAM/sml5kor-2.2.1/run/Sangamesh-block$

and initial condition for pressure P is as follows
dimensions [0 2 -2 0 0 0 0];

internalField uniform 0;

boundaryField
{
movingwall
{
inlet
{
type freestreamPressure;
}
outlet
{
type freestreamPressure;
}
}
fixedWalls
{
type zeroGradient;
}

frontAndBack
{
type empty;
}
}
sam.ho is offline   Reply With Quote

Old   October 4, 2013, 07:59
Default
  #2
Senior Member
 
Nima Sam
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,123
Blog Entries: 1
Rep Power: 14
nimasam is on a distinguished road
Send a message via Yahoo to nimasam
Quote:
--> FOAM FATAL IO ERROR:
Cannot find patchField entry for movingWall

file: /home/sml5kor/OpenFOAM/sml5kor-2.2.1/run/Sangamesh-block/0/p.boundaryField from line 27 to line 41.

From function GeometricField<Type, PatchField, GeoMesh>::GeometricBoundaryField::readField(const DimensionedField<Type, GeoMesh>&, const dictionary&)
in file /home/sml5kor/OpenFOAM/OpenFOAM-2.2.1/src/OpenFOAM/lnInclude/GeometricBoundaryField.C at line 198.

FOAM exiting
where is moving wall patch in pressure (p) file in directory 0?
__________________
Training Course on OpenFOAM at (http://www.isme.ir/)
My Weblog (http://openfoam.blogfa.com/)
nimasam is offline   Reply With Quote

Old   October 4, 2013, 13:28
Default
  #3
Member
 
Jace
Join Date: Oct 2012
Posts: 77
Rep Power: 5
zhengzh5 is on a distinguished road
Quote:
Originally Posted by sam.ho View Post
Hi FOamers

I am a biginner and running my first case.. Please help me over come this error
sml5kor@BMH301562:~/OpenFOAM/sml5kor-2.2.1/run/Sangamesh-block$ icoFoam
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.2.1 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.2.1-57f3c3617a2d
Exec : icoFoam
Date : Oct 04 2013
Time : 15:22:18
Host : "BMH301562"
PID : 5910
Case : /home/sml5kor/OpenFOAM/sml5kor-2.2.1/run/Sangamesh-block
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 transportProperties

Reading field p



--> FOAM FATAL IO ERROR:
Cannot find patchField entry for movingWall

file: /home/sml5kor/OpenFOAM/sml5kor-2.2.1/run/Sangamesh-block/0/p.boundaryField from line 27 to line 41.

From function GeometricField<Type, PatchField, GeoMesh>::GeometricBoundaryField::readField(const DimensionedField<Type, GeoMesh>&, const dictionary&)
in file /home/sml5kor/OpenFOAM/OpenFOAM-2.2.1/src/OpenFOAM/lnInclude/GeometricBoundaryField.C at line 198.

FOAM exiting

sml5kor@BMH301562:~/OpenFOAM/sml5kor-2.2.1/run/Sangamesh-block$

and initial condition for pressure P is as follows
dimensions [0 2 -2 0 0 0 0];

internalField uniform 0;

boundaryField
{
movingwall
{
inlet
{
type freestreamPressure;
}
outlet
{
type freestreamPressure;
}
}
fixedWalls
{
type zeroGradient;
}

frontAndBack
{
type empty;
}
}
why do you have inlet and outlet nested inside movingwall? shouldn't it be a patch of its own.
zhengzh5 is offline   Reply With Quote

Old   October 6, 2013, 23:34
Default Hi
  #4
Senior Member
 
Join Date: Sep 2013
Location: Bangalore India
Posts: 134
Rep Power: 3
sam.ho is on a distinguished road
Thank you for suggestion.. Now resolved the issue...
sam.ho 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
transsonic nozzle with rhoSimpleFoam Unseen OpenFOAM Running, Solving & CFD 7 April 16, 2014 03:38
Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 bookie56 OpenFOAM Installation 8 August 13, 2011 04:03
Extrusion with OpenFoam problem No. Iterations 0 Lord Kelvin OpenFOAM 6 April 12, 2011 11:24
Velocity blows up suddenly after 30,000+ iterations lordvon OpenFOAM 14 October 27, 2010 11:13
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 02:58


All times are GMT -4. The time now is 01:38.