CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

elements, nodes and faces

Register Blogs Community New Posts Updated Threads Search

Like Tree16Likes
  • 1 Post By Andy
  • 8 Post By Johnny
  • 3 Post By Robin
  • 4 Post By Robin

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 24, 2006, 05:20
Default elements, nodes and faces
  #1
Andy
Guest
 
Posts: n/a
Hello everbody, I have a question concerning the terms "elements", "nodes" and "faces". I am generating meshes with ICEMCFD which shows me a certain number of elements at the end. When converting the mesh into CFX and starting the run, CFX will show me a slightly lower number of elements in the .out-file. I assume that this number is lower because the surface elements that were counted by ICEM are not counted by CFX, right?

In addition I also get values for "nodes" and "faces" that are far lower than my element amount. That makes no sense to me. Can anyone explain to me what these "nodes" and "faces" are supposed to be?

My mesh stats in the .out-file are: Total Number of Nodes = 430941 Total Number of Elements = 2234526 Total Number of Tetrahedrons = 2150826 Total Number of Prisms = 83700 Total Number of Faces = 109804

Thanks Andy
amin_gls likes this.
  Reply With Quote

Old   November 24, 2006, 07:26
Default Re: elements, nodes and faces
  #2
Johnny
Guest
 
Posts: n/a
Number of elements = number of tets + number of prisms in your .out file.

1 tet element has 4 nodes. When you have a number of tet elements in a mesh, each will share a large number of nodes. So typically in a tet mesh, your element count will be roughly 5 times larger than your number of nodes. In a hex mesh, it is closer to 1 node for each element.

Faces in the .out file refers to boundary faces.
amin_gls, skim277, sagarg and 5 others like this.
  Reply With Quote

Old   November 24, 2006, 11:51
Default Re: elements, nodes and faces
  #3
Andy
Guest
 
Posts: n/a
Thanks, I think I can imagine that and it sounds reasonable. However this raises another question for me. CFX uses a vertex-centered approach, right? That means when generating the mesh with ICEM CFX will build a new volume around each node of the ICEM mesh. When ICEM is showing me that it has generated let's say 2Mio elements this mesh will have about 400 000 nodes (following your argumentation). Summing up these two arguments (less nodes than elements and vertex-centered method) it follows that CFX will only create 400 000 elements, one around each vertex?! However the mesh stats in ICEM and CFX are showing that in both cases the number of elements is equal. How can that be? Even when considering possible effects at the boundaries (half element at the wall, etc.) this gap cannot be explained, I think.

Thank you for your efforts, Andy
  Reply With Quote

Old   November 24, 2006, 12:25
Default Re: elements, nodes and faces
  #4
Johnny
Guest
 
Posts: n/a
CFX is a nodal based solver, but the statistics shown in the .out file are for the elements and nodes in the physical tet/hex/prism mesh, not the polyhedral mesh created by CFX.

The number of polyhedral elements built around the nodes would be equal to the number of nodes.

  Reply With Quote

Old   November 24, 2006, 12:29
Default Re: elements, nodes and faces
  #5
Robin
Guest
 
Posts: n/a
Hi Andy,

You are getting elements and control volumes confused. The number of elements is what is reported. CFX constructs control volumes around the nodes from element sectors, thus the number of control volumes is equal to the number of nodes, not elements.

In a cell centered code, such as Fluent or Star-CD, the elements are the same as the control volumes, so these are often used interchangably. This is obviously not the case with CFX.

-Robin
  Reply With Quote

Old   November 27, 2006, 06:11
Default Re: elements, nodes and faces
  #6
Andy
Guest
 
Posts: n/a
Thank you, that explains a lot!

Regards, Andy
  Reply With Quote

Old   November 28, 2006, 04:56
Default Re: elements, nodes and faces - another thought
  #7
Andy
Guest
 
Posts: n/a
Hello again, overnight another thought or question came to my mind concerning the elements and nodes.

You have said that CFX is using the nodes generated by ICEM as the centers of its control volumes that is in this case CFX will use about 400k CVs and ergo will store e.g. 400k pressures.

Now my question is: When using ICEM to generate the mesh and afterwards a cell-centered solver instead of a node-cenered one, will there be 2Mio points in which the variables will be stored. In other words: Is ICEM that less efficient(or more accurate in terms of space resolution) when used with cell-centered solvers?

Regards Andy
  Reply With Quote

Old   December 4, 2006, 17:03
Default Re: elements, nodes and faces - another thought
  #8
Robin
Guest
 
Posts: n/a
Hi Andy,

ICEM CFD has nothing to do with it; it just provides the mesh.

Since CFX is element vertex centered, you will get fewer control volumes in an unstructured mesh than you would in a cell centered method. So yes, there will be fewer points where the the primitive variables (Pressure, Velocity u|v|w, Temperature, etc.) are stored. At first you might assume this means you have less accuracy, but you also have to consider how these values are obtained. CFX will have many more integration points and it uses linear elements (assumes a linear variation of the variable across the element), which increases the accuracy at each node.

While the variables are stored at the nodes, the equations you are solving for are assembled for the flows through the faces at the integration points. In any Finite Volume method, the equations are essentially an application of Gauss' theorem, which converts a volume integral into a surface integral. When these are discretized, the integration is done over discrete faces. The accuracy of the integral equations will increase with the number of faces (i.e. the number of integration points) and the assumptions on how the values vary over the faces (constant or linear variation).

In a tet mesh, a cell centered control volume has only 4 integration points whereas CFX has ~60 (it varies depending on the connectivity) so the integration accuracy that leads to the nodal value is much higher in CFX. It is for this reason that many cell centered codes are turning to "arbitrary polyhedral" control volumes; something CFX has been doing since it's inception (even TASCflow did this, although the initial mesh had to be structured). It has been demonstrated with other codes that a coarser polyhedral mesh can give a more accurate solution than a finer tetrahedral mesh; the same applies here.

Another way to look at it is the number of integration points per element. Vertex centered (CFX) vs. cell centered (CC) value are:

Element Type, Vertex Centered (CFX), Cell Centered tet, 6, 4 pyramid, 8, 5 prism, 9, 5 hex, 12, 6

Sorry for the long winded answer, but it is kindof a loaded question.

Hope this helps.

Regards, Robin
  Reply With Quote

Old   July 6, 2013, 01:15
Default hii
  #9
New Member
 
Ilyas
Join Date: Nov 2011
Posts: 7
Rep Power: 14
ilyas_mufeen03 is on a distinguished road
I want to know how to Calculate elements for model in FEA,and i need to

know how this elements is sufficient for that particular model......
ilyas_mufeen03 is offline   Reply With Quote

Old   July 6, 2013, 07:22
Default
  #10
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,844
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
If you are asking how to determine how many elements to use in a CFD analysis, try this: http://journaltool.asme.org/Template...umAccuracy.pdf

If you are asking about a FEA analysis (ie stress/strain modelling) then you are asking the wrong forum. Try a FEA forum.
ghorrocks is offline   Reply With Quote

Old   July 7, 2013, 23:40
Default Thnxs ghorrocks
  #11
New Member
 
Ilyas
Join Date: Nov 2011
Posts: 7
Rep Power: 14
ilyas_mufeen03 is on a distinguished road
Thnxs for ur guide,its useful for me.....
ilyas_mufeen03 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
Problem in running ICEM grid in Openfoam Tarak OpenFOAM 6 September 9, 2011 18:51
Problem in IMPORT of ICEM input file in FLUENT csvirume FLUENT 2 September 9, 2009 02:08
Error to re-open fluent case file J.Gimbun FLUENT 0 April 27, 2006 09:42
meshing F1 front wing Steve FLUENT 0 April 17, 2003 13:37
Nodes, elements and faces Michael CFX 2 October 10, 2002 07:53


All times are GMT -4. The time now is 01:44.