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

Solving Flow past Square Cylinder

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread 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: 12
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 Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24
nimasam is on a distinguished road
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?
__________________
My Personal Website (http://nimasamkhaniani.ir/)
Telegram channel (https://t.me/cfd_foam)
nimasam is offline   Reply With Quote

Old   October 4, 2013, 13:28
Default
  #3
Member
 
Jace
Join Date: Oct 2012
Posts: 77
Rep Power: 15
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: 12
sam.ho is on a distinguished road
Thank you for suggestion.. Now resolved the issue...
sam.ho 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
transsonic nozzle with rhoSimpleFoam Unseen OpenFOAM Running, Solving & CFD 8 July 1, 2022 06:54
Extrusion with OpenFoam problem No. Iterations 0 Lord Kelvin OpenFOAM Running, Solving & CFD 8 March 28, 2016 11:08
Velocity blows up suddenly after 30,000+ iterations lordvon OpenFOAM Running, Solving & CFD 15 October 19, 2015 13:52
Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 bookie56 OpenFOAM Installation 8 August 13, 2011 04:03
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 02:58


All times are GMT -4. The time now is 04:26.