How to display badFaces from surfaceCheck in paraview
Hi FOAMers,
I have a question regarding surfaceCheck: Unfortunately OpenFOAM doesn't like my geometry according to surfaceCheck. It creates in the triSurface folder several subfolders such as badfaces, illegalFaces and problemFaces. My question is: How can I display the faces in paraview so that I know how to improve this faces? Thank you very much in advance for your help. |
Hi,
you can visualize them using:
|
Hi Tobias,
thanks for the quick response. I tried the 2nd approach but it gives me the following error: Code:
--> FOAM FATAL IO ERROR: |
As you see in your error message:
Code:
file: /home/localuser/OpenFOAM/localuser-2.3.1/run/Straight_Wing_3d_Mesh9/constant/polyMesh/sets/problemFaces at line 1. Copy it to that place! |
Hi,
You can (or should) use surfaceSubset to write results of surfaceCheck. In fact it states it explicitly (here's an example for badFaces): Code:
if (!problemFaces.empty()) Code:
surfaceSubset [OPTIONS] <surfaceSubsetDict> <surfaceFile> <output surfaceFile> |
I have tried both ways now:
for the FoamToVTK I get: Code:
--> FOAM FATAL IO ERROR: Code:
surfaceSubset [OPTIONS] <surfaceSubsetDict> <surfaceFile> <output surfaceFile> 4(174 175 386 387) |
uuups, for the surfaceSubset i get:
--> FOAM FATAL IO ERROR: Istream not OK for reading dictionary sorry for that! |
Oh you are using STL :)
I did not get that ... thought you have this faces with "checkMesh". Sorry... Once I figured it out but its long time ago because now I know how to generate beautfilul CFD STL files ;) Anyway. Maybe this will help you: http://www.cfd-online.com/Forums/ope...d-surface.html |
All times are GMT -4. The time now is 08:08. |