CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Cannot find patchField entry for wall???? (https://www.cfd-online.com/Forums/openfoam/132824-cannot-find-patchfield-entry-wall.html)

Dream April 6, 2014 21:54

Cannot find patchField entry for wall????
 
We set up the separator model, and stimulates the multiphase flow. After we ran the setFields, the following information occurred:

Setting field default values
Setting internal values of volScalarField alphaair
Setting internal values of volScalarField alphawater


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

file: /home/dell/OpenFOAM/damBreak4phaseFinelmxlmx/0/alphawater.boundaryField from line 34 to line 56.

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

FOAM exiting
-----------------------------------alphawater-------------------------------------------
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.2.2 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0";
object alphawater;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [0 0 0 0 0 0 0];

internalField uniform 1;

boundaryField
{
Wall
{
type zeroGradient;
//value uniform 0;
}
new_new_out
{
type fixedValue;//;
value uniform 1;
}
new_out
{
type fixedValue;
value uniform 1;
}
out
{
type fixedValue;//outletInlet;
value uniform 1;
}
in
{
type outletOutlet;
outletValue uniform 0;
value uniform 0;
}
}

-----------------------------
Maybe the boundary conditions were set incorrectly, but we didn't know how to revise them.
Thanks so much for help!

bieshuxuhe April 6, 2014 22:45

hi
if you use blockMesh to create the grid , please check the blockMeshDict !
maybe there is not a "wall" in the boudary.

may you success!

Dream April 7, 2014 03:33

Quote:

Originally Posted by bieshuxuhe (Post 484253)
hi
if you use blockMesh to create the grid , please check the blockMeshDict !
maybe there is not a "wall" in the boudary.

may you success!

Thanks so much!
We used the Gambit to model, and used the tool fluent3DMeshToFoam to convert.

Dream April 7, 2014 04:01

Quote:

Originally Posted by bieshuxuhe (Post 484253)
hi
if you use blockMesh to create the grid , please check the blockMeshDict !
maybe there is not a "wall" in the boudary.

may you success!



thanks so much!
we have solved this problem. the reason is that we wrote the capital letter W with respect to the word wall.

6863523 December 8, 2016 14:00

Quote:

Originally Posted by Dream (Post 484308)
thanks so much!
we have solved this problem. the reason is that we wrote the capital letter W with respect to the word wall.

Thanks so much. The OpenFOAM is so strict.
I also misused a capital letter for wall.

Jamessmp23 October 14, 2020 23:27

Quote:

Originally Posted by bieshuxuhe (Post 484253)
hi
if you use blockMesh to create the grid , please check the blockMeshDict !
maybe there is not a "wall" in the boudary.

may you success!

Thank you, on my case is Inlet >> inlet :D

export geometry by Spaceclaim .stl with ASCII > cfmesh .fms > setFields solved.


All times are GMT -4. The time now is 12:44.