CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Post-Processing (https://www.cfd-online.com/Forums/openfoam-post-processing/)
-   -   Patches created but not viewed by paraview (https://www.cfd-online.com/Forums/openfoam-post-processing/230710-patches-created-but-not-viewed-paraview.html)

furystep October 2, 2020 04:06

Patches created but not viewed by paraview
 
Hi everyone,
I have a weird problem with paraview. I am using snappyHexMesh for internal meshes, in this case a simple elbow. I have written an allrun file to launch different utilities I wrote in c++ to manage and edit the dictionaries. During the process, after blockMesh, surfaceFeatureExtract and decomposePar, I launch snappyHexMesh only for the castellatedMesh and the snapping phases. After them I find the internal mesh which has a unique boundary (a wall named "solid"). So, I launch an external utility which writes topoSetDict and a createPatchDict to define inlet and outlet (I create ONLY these two patches, because the remaining boundaries are walls, called "solid"). These processes are completed successfully. Then, I change the snappyHexMesh in order to complete the phase of layers addition only on "solid", which is the remaining wall. The problem is that when I open controlDict from paraview I find 3 mesh steps, castellated mesh, snapped and a third step in which the new boundaries do not exist, as if the controlDict has not been updated. It seems that the addition layers overwrite the file, even if the layers do not exist.

Someone could help me please?


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