CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   error in createBaffles -overwirte after blockMesh and snappyHexMesh (https://www.cfd-online.com/Forums/openfoam/251983-error-createbaffles-overwirte-after-blockmesh-snappyhexmesh.html)

baezacaljo September 19, 2023 07:45

error in createBaffles -overwirte after blockMesh and snappyHexMesh
 
Good night dear all i am facing an error when i apply the createBaffles -overwirte command. But let me explain
i created my geometry in salome shaper in four parts, inlet.stl, inlet_pipe.slt, plate.stl and outlet.stl, then i applied the following commands:
surfaceFeatures
blockMesh
snappyHexMesh -overwrite


Then i open the boundary file located in polyMesh folder and i deleted the defaultPatch and instead of having 5 i change it to 4.


Then i apply the setFields and finally the createBaffles -overwirte in here is when problem arises



--> FOAM FATAL ERROR:
Problem : Patch inlet starts at 700821
Current face counter at 466735
Are patches in incremental order?


It seems in the boundary file because i deleted the defualtPatch, but if i do not delete such a patch, i will get an error as well.



i already tried to change the blockMesh and the snappyHexMesh but i have no success.


hence, do you any idea how to solve it?


finally i am using openFoam11

baezacaljo September 19, 2023 17:54

I found the problem, in snappyHexMesh the typeInfo needs to be specified.


Now one problem Solved


All times are GMT -4. The time now is 05:03.