CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Pre-Processing

Examining a mesh

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   September 19, 2005, 05:34
Default Hello, I have a 2D wedge mes
  #1
Member
 
Fabian Peng Karrholm
Join Date: Mar 2009
Posts: 61
Rep Power: 8
fabianpk is on a distinguished road
Hello,
I have a 2D wedge mesh that I've check using checkMesh. It turns out there are many skew faces on many cells. It puts out a face list in the directory polyMesh/sets. To find out where in my mesh these cells are, my idea is to use setFields. I use the following setFieldsDict:

regions
(
faceToCell
{
set skewFaces;
option owner;
fieldValues
{
k 1.0;
}
}
);


So I set a field k to 1 wherever I have a skew face. The way I've made the dict-file is to use the one availible in the setFields source-code-directory. However, Foam responds:


Adding cells according to faceSet skewFaces ...


--> FOAM FATAL IO ERROR : Attempt to return dictionary entry as a
--> primitive

file:
../straight225e3cells/system/setFieldsDict::regions::fieldValues
from line 40 to line 41.

From function ITstream& primitiveEntry::stream() const
in file db/dictionary/dictionaryEntry/dictionaryEntry.C
at line 79.

What's wrong?

/Fabian
fabianpk is offline   Reply With Quote

Old   September 19, 2005, 06:01
Default Why not just use foamToVTK
  #2
Senior Member
 
Eugene de Villiers
Join Date: Mar 2009
Posts: 725
Rep Power: 12
eugene is on a distinguished road
Why not just use
foamToVTK <caseroot> <casename> -latestTime -faceSet skewFaces

And load the resulting vtk into paraview to look at the problem faces directly?
eugene is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Create fine mesh that grows to coarse mesh (Urgent CZ FLUENT 1 January 3, 2009 11:36
Oscillatory mesh motion setup mesh flux ERROR jaswi OpenFOAM Running, Solving & CFD 5 August 23, 2007 04:41
expirience with deforming mesh/mesh motion Js CFX 0 May 28, 2007 07:11
Icemcfd 11: Loss of mesh from surface mesh option? Joe CFX 2 March 26, 2007 18:10
Mesh Stiffness Option for Mesh Deformation Ste_Lakey CFX 3 January 19, 2006 17:33


All times are GMT -4. The time now is 07:32.