Weird thing in AMI boundary condition in OpenFOAM
Hello,
I have noticed a weird thing about sliding-mesh problems in OpenFOAM. Consider two cases: 1. You use snappyHexmesh, topoSet and createPatch to build the mesh, cell-zones and boundary conditions. 2. You generate the mesh outside the OpenFOAM (like Pointwise, etc) and then topoSet and createPatch. The weird thing is that following method 1, you do not need to specify AMI patch in initialization files in 0 folder (U, p, nut, omega,k). You may run the case and OpenFOAM does not complain about that. But following method 2, OpenFOAM says: Cannot find patchField entry for AMI1 (or whatever the AMI patch name is). while in both cases, you have the two AMI patches in your boundary file (after running createPatch). Does anybody know the reason? |
The problem is solved. The reason was including the following lines in OpenFOAM's case setup:
//- Set patchGroups for constraint patches #includeEtc "caseDicts/setConstraintTypes" |
All times are GMT -4. The time now is 20:02. |