CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[OpenFOAM] patch type seems Ok, Why error in paraview?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 15, 2011, 12:56
Unhappy patch type seems Ok, Why error in paraview?
  #1
Member
 
Charlie
Join Date: Dec 2010
Location: USA
Posts: 85
Rep Power: 16
cheng1988sjtu is on a distinguished road
When I'm using ParaView3.8 to check the initial condition, the paraView keep telling me that :
----------------------------------------------------------------------------------------------------------------------
"--> FOAM FATAL ERROR:
Invalid wall function specification
Patch type for patch walls must be wall
Current patch type is wall



From function nutWallFunctionFvPatchScalarField::checkType()
in file derivedFvPatchFields/wallFunctions/nutWallFunctions/nutWallFunction/nutWallFunctionFvPatchScalarField.C at line 48."
----------------------------------------------------------------------------------------------------------------------
But When I'm checking the polyMesh files, there seems no problem with my blockMesh and boundary:
In the blockMeshDict I defined :
patches
(
wall walls
(
(0 12 16 4)
(4 16 20 8)
(3 7 19 15)
(7 11 23 19)
(0 1 13 12)
(1 2 14 13)
(2 3 15 14)
(0 4 5 1)
(1 5 6 2)
(2 6 7 3)
(4 8 9 5)
(5 9 10 6)
(6 10 11 7)
(12 13 17 16)
(13 14 18 17)
(14 15 19 18)
(16 17 21 20)
(17 18 22 21)
(18 19 23 22)
)
patch atmosphere
(
(9 8 20 21)
(10 9 21 22)
(11 10 22 23)
)
);

In the boundary file I can see that :

2
(
walls
{
type wall;
nFaces 106400;
startFace 1413300;
}
atmosphere
{
type patch;
nFaces 7000;
startFace 1519700;
}
)

So could anybody help me with this problem?
cheng1988sjtu is offline   Reply With Quote

Old   January 15, 2011, 13:00
Default BTW, in the paraview
  #2
Member
 
Charlie
Join Date: Dec 2010
Location: USA
Posts: 85
Rep Power: 16
cheng1988sjtu is on a distinguished road
BTW, in paraView, I can see in the mesh types:

internalMesh
walls - patch
atmosphere - patch

Why? I did define the walls as wall, not patch!
cheng1988sjtu is offline   Reply With Quote

Reply

Tags
blockmeshdict, boundary file, patch type


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
y+ and u+ values with low-Re RANS turbulence models: utility + testcase florian_krause OpenFOAM 114 August 23, 2023 06:37
activeBaffleVelocity boundary condition ? om3ro OpenFOAM Programming & Development 10 November 17, 2020 00:26
reactingMultiphaseEulerFoam tonnykz OpenFOAM Running, Solving & CFD 2 June 15, 2020 03:09
[Commercial meshers] Mesh conversion problem (fluent3DMeshToFoam) Aadhavan OpenFOAM Meshing & Mesh Conversion 2 March 8, 2018 02:47
Time step continuity error lpz_michele OpenFOAM Running, Solving & CFD 0 October 12, 2015 07:05


All times are GMT -4. The time now is 15:05.