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

Cannot find patchField entry

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 26, 2018, 20:38
Unhappy Cannot find patchField entry
  #1
New Member
 
hadi pelavar
Join Date: Jul 2018
Posts: 1
Rep Power: 0
hadip is on a distinguished road
hi
I tried to solve heat transfer with solver "buoyantBoussinesqSimpleFoam" and I changed tutorial file of that and I get following error:
Reading field alphat



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

file: /home/hadi/OpenFOAM/hadi-5.0/run/hotRoom/0/alphat.boundaryField from line 26 to line 46.

From function void Foam::GeometricField<Type, PatchField, GeoMesh>::Boundary::readField(const Foam:imensionedField<TypeR, GeoMesh>&, const Foam::dictionary&) [with Type = double; PatchField = Foam::fvPatchField; GeoMesh = Foam::volMesh]
in file /home/ubuntu/OpenFOAM/OpenFOAM-5.x/src/OpenFOAM/lnInclude/GeometricBoundaryField.C at line 191.


and blockMesh of my problem is :

convertToMeters .001;

vertices
(
(0 0 0)
(75 0 0)
(75 75 0)
(0 75 0)
(0 0 1)
(75 0 1)
(75 75 1)
(0 75 1)
);

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

edges
(
);

boundary
(
frontAndBack
{
type empty;
faces
(
(0 1 5 4)
(2 3 7 6)
);
}

topAndBottom
{
type wall;
faces
(
(4 5 6 7)
(3 2 1 0)
);
}

hot
{
type wall;
faces
(
(4 7 3 0)
);
}

cold
{
type wall;
faces
(
(6 5 1 2)
);
}
);

mergePatchPairs
(
);

also I should say I changed the flow to laminar in turbulenceProperties :
simulationType laminar;

RAS
{
RASModel laminar;

turbulence off;

printCoeffs off;
}
cold you help me please the reason of this error???????
of course the alphat file is following
dimensions [0 2 -1 0 0 0 0];

internalField uniform 0;

boundaryField
{
frontAndBack
{
type empty;

topAndBottom
{
type alphatWallFunction;
Prt 0.85;
value uniform 0;
}

hot
{
type alphatWallFunction;
Prt 0.85;
value uniform 0;
}

cold
{
type alphatWallFunction;
Prt 0.85;
value uniform 0;
}
}
thanks
hadip is offline   Reply With Quote

Old   July 27, 2018, 11:44
Default
  #2
Senior Member
 
Join Date: Jul 2013
Posts: 124
Rep Power: 12
wildfire230 is on a distinguished road
You are missing a right bracket after:


frontAndBack
{
type empty;
}
wildfire230 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
Cannot find patchField entry for InletWall range_rover OpenFOAM Running, Solving & CFD 5 November 18, 2020 21:21
decomposePar fails "Cannot find patchField entry for maxY" JasonQuinn OpenFOAM Pre-Processing 2 April 4, 2017 01:07
meshing of a compound volume in GMSH shawn3531 OpenFOAM 4 March 12, 2015 10:45
OpenFOAM 1.6-ext git installation on Ubuntu 11.10 x64 Attesz OpenFOAM Installation 45 January 13, 2012 12:38
Converting Starccm+ mesh Ladnam OpenFOAM 0 September 14, 2011 06:30


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