I am a newbie in OpenFoam. I am an electrical engineer, so I do not have much experience related with OpenFoam.
I am trying implement simulation of a journal bearing. I created the mesh but I am sure about the 'boundary' blockMeshDict and initial velocity 'U'. I defined fixed wall, moving walls and frontAndback. Then I defined the initial angular velocity in 'U' directory. However, when I am running openFoam I am getting the following error:
'Foam fatal IO error: Cannot find patchField entry for movingWall'
I couldn't find why I am getting this error I created the mesh without boundary conditions. Normally, inner bearing pin should rotate inside but I could not implement the movement because something is wrong with 'boundary - blockMeshDict' and 'boundaryField - U'.
The code is in the attachment. Any help would be great! Thanks.