|
[Sponsors] |
[OpenFOAM] How to display badFaces from surfaceCheck in paraview |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 26, 2015, 03:37 |
How to display badFaces from surfaceCheck in paraview
|
#1 |
Member
Join Date: Dec 2012
Posts: 81
Rep Power: 13 |
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. |
|
February 26, 2015, 07:55 |
|
#2 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51 |
Hi,
you can visualize them using:
__________________
Keep foaming, Tobias Holzmann |
|
February 26, 2015, 08:33 |
|
#3 |
Member
Join Date: Dec 2012
Posts: 81
Rep Power: 13 |
Hi Tobias,
thanks for the quick response. I tried the 2nd approach but it gives me the following error: Code:
--> FOAM FATAL IO ERROR: problem while reading header for object problemFaces file: /home/localuser/OpenFOAM/localuser-2.3.1/run/Straight_Wing_3d_Mesh9/constant/polyMesh/sets/problemFaces at line 1. From function regIOobject::readStream() in file db/regIOobject/regIOobjectRead.C at line 95 |
|
February 26, 2015, 08:44 |
|
#4 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51 |
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!
__________________
Keep foaming, Tobias Holzmann |
|
February 26, 2015, 08:51 |
|
#5 |
Senior Member
|
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()) { OFstream str("badFaces"); Info<< "Dumping bad quality faces to " << str.name() << endl << "Paste this into the input for surfaceSubset" << nl << nl << endl; str << problemFaces; } Code:
surfaceSubset [OPTIONS] <surfaceSubsetDict> <surfaceFile> <output surfaceFile> |
|
February 26, 2015, 09:03 |
|
#6 |
Member
Join Date: Dec 2012
Posts: 81
Rep Power: 13 |
I have tried both ways now:
for the FoamToVTK I get: Code:
--> FOAM FATAL IO ERROR: problem while reading header for object problemFaces Code:
surfaceSubset [OPTIONS] <surfaceSubsetDict> <surfaceFile> <output surfaceFile> 4(174 175 386 387) |
|
February 26, 2015, 09:25 |
|
#7 |
Member
Join Date: Dec 2012
Posts: 81
Rep Power: 13 |
uuups, for the surfaceSubset i get:
--> FOAM FATAL IO ERROR: Istream not OK for reading dictionary sorry for that! |
|
February 26, 2015, 10:02 |
|
#8 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51 |
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
__________________
Keep foaming, Tobias Holzmann |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.org] Paraview 5.4 in shell environment of5x - Segmentation fault (core dumped) | dslbkxd | OpenFOAM Installation | 1 | February 3, 2018 00:56 |
[OpenFOAM] Paraview display problem | jiejie | ParaView | 4 | October 13, 2013 21:29 |
[OpenFOAM] Xlib: extension "GLX" missing on display | goldbeard | ParaView | 5 | March 24, 2013 13:12 |
errors when installing openfoam2.1 on ubuntu12.o4 | hewei | OpenFOAM Installation | 5 | May 29, 2012 07:43 |
paraFoam reader for OpenFOAM 1.6 | smart | OpenFOAM Installation | 13 | November 16, 2009 21:41 |