August 15, 2023, 20:11
|
patchField entry error for propeller simulation using pimpleFoam
|
#1
|
New Member
Join Date: Nov 2022
Posts: 1
Rep Power: 0
|
For my first ever OpenFOAM project I am running simulations on a propeller to replicate open water performance curves, and I am using the files from the pimpleFoam propeller tutorial as a template. The differences with my model...
- my propeller/hub geometry is one piece (not the three stems and tip like in the tutorial); and
- my geometry files for the propeller/hub and domain cylinders are *.stl (not *.obj like in the tutorial).
I have modified the Dict files as required and followed the scripts to create the mesh...
blockMesh
surfaceFeatureExtract
snappyHexMesh -overwrite This all went smooth and I am able to view an okay looking mesh in Paraview...
mesh1.jpg
mesh2.jpg
mesh3.jpg However, at the next step renumberMesh -overwrite I get the following error...
--> FOAM FATAL IO ERROR: (openfoam-2212 patch=230110)
Cannot find patchField entry for inner_cylinder_small
file: 0/U.boundaryField at line 11 to 46.
From void Foam::GeometricBoundaryField<Type, PatchField, GeoMesh>::readField(const Foam: imensionedField<TypeR, GeoMesh>&, const Foam::dictionary&) [with Type = Foam::Vector<double>; PatchField = Foam::fvPatchField; GeoMesh = Foam::volMesh]
in file ./src/OpenFOAM/lnInclude/GeometricBoundaryField.C at line 177.
FOAM exiting I understand from some of the other threads that this error comes up when one of the patches isn't given a boundary condition in the U file, but the inner cylinder isn't a boundary but only used to define the AMI. Besides, I've only changed the tutorial files as described above and can't see the reason why my files would create this error when the tutorial ran fine for me.
Any advice would be greatly appreciated. Please let me know if there are any files that would be useful and I'd be happy to post them.
|
|
|