CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   Orifice Plate on OpenFOAM (https://www.cfd-online.com/Forums/main/230952-orifice-plate-openfoam.html)

Matheus.Costa October 13, 2020 21:49

Orifice Plate on OpenFOAM
 
1 Attachment(s)
Hello there, I'm trying to simulate an orifice plate on OpenFOAM using the PimpleFOAM solver (turbulent and incompressible). I'm trying to make only a cylinder first using the blockMeshDict archive, but when I run paraview it returns an error, is it better to make a .stl model then import it to OpenFOAM? I would be very thankful if any of you guys could help me out.
I'm making my simulation based on the pitzdaily tutorial and the error that shows when I run paraview is:

--> FOAM FATAL IO ERROR:

Cannot find patchField entry for wall



file: /mnt/c/Users/Casa/Desktop/Cilindro/0/p/boundaryField from line 25 to line 46.



From function void Foam::GeometricField<Type, PatchField, GeoMesh>::Boundary::readField(const Foam::DimensionedField<TypeR, GeoMesh>&, const Foam::dictionary&) [with Type = double; PatchField = Foam::fvPatchField; GeoMesh = Foam::volMesh]

in file /home/ubuntu/OpenFOAM/OpenFOAM-8/src/OpenFOAM/lnInclude/GeometricBoundaryField.C at line 184.



FOAM exiting



Segmentation fault (core dumped)

Krapf October 14, 2020 04:14

As the error message says, you are missing an entry for wall in the p file. E. g.:
Code:

...
wall
{
    type    zeroGradient;
}
...


Matheus.Costa October 14, 2020 09:45

Thank you! When I checked my "0" folder it indeed didn't have any entry for "wall", it only had: upperWall, lowerWall and frontAndBack from the pitzdaily tutorial, once again thanks!


All times are GMT -4. The time now is 17:43.