CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Paraview & paraFoam (http://www.cfd-online.com/Forums/openfoam-paraview/)
-   -   patch type seems Ok, Why error in paraview? (http://www.cfd-online.com/Forums/openfoam-paraview/83927-patch-type-seems-ok-why-error-paraview.html)

cheng1988sjtu January 15, 2011 12:56

patch type seems Ok, Why error in paraview?
 
:confused: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 January 15, 2011 13:00

BTW, in the paraview
 
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!


All times are GMT -4. The time now is 14:02.