CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

problem finding bad faces from outside mesher

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   Yesterday, 13:50
Default problem finding bad faces from outside mesher
  #1
Senior Member
 
Alan w
Join Date: Feb 2021
Posts: 287
Rep Power: 6
boffin5 is on a distinguished road
Hi Folks,

After using an outside meshing tool, I brought the polyMesh folder into openFoam. Then, checkMesh said there was an error with some wrongOrientedFaces.

Now, I'm trying to visualize those faces with surfaceSubset. According to help, the usage for this command is:

surfaceSubset [OPTIONS] <surface file> <output surface file> <surfaceSubsetDict

I could specify the <output surface file> as an stl file, but I am puzzled about the input <surface file>, since it did not originate with an stl file. This would be specified in the system/surfaceSubsetDict file, which I currently have as:
Code:
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    object      surfaceSubsetDict;
}

faces #include "~/cfdaero/civic-bodyonly/constant/polyMesh";

localPoints ();

edges ();

zone ();

addFaceNeighbours no;

invertSelection false;
When I run surfaceSubset, I get this message:
Code:
--> FOAM FATAL IO ERROR: 
Istream not OK for reading dictionary 

file: surfaceSubsetDict at line 1.
How do I write the surfaceSubsetDict file, and what is the command to run to create an stl file of the bad faces?
boffin5 is offline   Reply With Quote

Old   Yesterday, 13:53
Default
  #2
Senior Member
 
Alan w
Join Date: Feb 2021
Posts: 287
Rep Power: 6
boffin5 is on a distinguished road
Forgot to check my post before submitting! I meant to show the command I am using:

surfaceSubset wrongOrientedFaces wrongfaces.stl surfaceSubsetDict

But of course this is wrong.
boffin5 is offline   Reply With Quote

Old   Yesterday, 14:57
Default
  #3
Senior Member
 
Alan w
Join Date: Feb 2021
Posts: 287
Rep Power: 6
boffin5 is on a distinguished road
Found a solution to my problem in this thread:
Visualizing checkMesh results in Paraview
boffin5 is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Foam::error::PrintStack almir OpenFOAM Running, Solving & CFD 92 May 21, 2024 08:56
decomposePar problem: Cell 0contains face labels out of range vaina74 OpenFOAM Pre-Processing 37 July 20, 2020 06:38
[snappyHexMesh] [checkMesh] Highly skew faces detected after snappyHexMesh during checkMesh Vignesh Veeresparan OpenFOAM Meshing & Mesh Conversion 1 March 9, 2020 00:24
[snappyHexMesh] No layers in a small gap bobburnquist OpenFOAM Meshing & Mesh Conversion 6 August 26, 2015 10:38
SigFpe when running ANY application in parallel Pj. OpenFOAM Running, Solving & CFD 3 April 23, 2015 15:53


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