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

Discretization of the Governing Equations

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 15, 2015, 22:12
Default Discretization of the Governing Equations
  #1
Senior Member
 
Join Date: Aug 2014
Posts: 160
Rep Power: 12
MissCFD is on a distinguished road
In CFX-Solver theroy guide (chapter 11), it is say that the integration points are located at the center of each surface segment within an element.

It's not clear for me the location of these integration points. Can somebody please explain it to me ?

I read somewhere that the integration points are located at the center of finite volume's faces. For me, it's wrong but i would like the confirmation.
MissCFD is offline   Reply With Quote

Old   March 16, 2015, 09:55
Default
  #2
Senior Member
 
Join Date: Jun 2009
Posts: 1,869
Rep Power: 33
Opaque will become famous soon enough
That interpretation is correct in the isoparametric representation of the element.

Why do you think is wrong ?
Opaque is offline   Reply With Quote

Old   March 16, 2015, 11:01
Default
  #3
Senior Member
 
Join Date: Aug 2014
Posts: 160
Rep Power: 12
MissCFD is on a distinguished road
What is an isoparametric representation of the element ?



For me, if I think only with an 2D mesh hexa, the center of each surface segment within an element doesn’t correspond to the center of finite volume's faces, no ?.


Quote:
Originally Posted by Opaque View Post
That interpretation is correct in the isoparametric representation of the element.

Why do you think is wrong ?
MissCFD is offline   Reply With Quote

Old   March 16, 2015, 11:45
Default
  #4
Senior Member
 
Join Date: Jun 2009
Posts: 1,869
Rep Power: 33
Opaque will become famous soon enough
In a 2D case with only quad elements, a control volume shares 4 quad elements. Within an element, the faces of the control volume starts at the midpoint of the edges of the element towards the center of the element; therefore, two segments. The integration points is located at the midpoint of each segment, that means for the complete control volume you get 8 integration points.

You can look in the literature for is also called the mesh-dual. CFX solves the equations in the mesh-dual where the control volumes are polyhedrals.

http://www.arc.vt.edu/ansys_help/cfx_thry/i1311648.html
Opaque is offline   Reply With Quote

Old   March 16, 2015, 14:44
Default
  #5
Senior Member
 
Join Date: Aug 2014
Posts: 160
Rep Power: 12
MissCFD is on a distinguished road
Thank you for your explanation.



So with your example, we are agree that the integration points isn’t located at the center of the of the control volum ?



It’s a complete control volum or a complete face of control volum which give 8 integration points ? For me, it’s the last proposition but maybe there is something else that I don’t see it yet.


Quote:
Originally Posted by Opaque View Post
In a 2D case with only quad elements, a control volume shares 4 quad elements. Within an element, the faces of the control volume starts at the midpoint of the edges of the element towards the center of the element; therefore, two segments. The integration points is located at the midpoint of each segment, that means for the complete control volume you get 8 integration points.

You can look in the literature for is also called the mesh-dual. CFX solves the equations in the mesh-dual where the control volumes are polyhedrals.

http://www.arc.vt.edu/ansys_help/cfx_thry/i1311648.html
MissCFD is offline   Reply With Quote

Old   March 16, 2015, 20:10
Default
  #6
Senior Member
 
Join Date: Jun 2009
Posts: 1,869
Rep Power: 33
Opaque will become famous soon enough
You are confusing face integration points with the control volume mean value point. Integration points are to be used to evaluate surface fluxes.

Perhaps you are mixing cell-vertex discretization with cell-center discretization ?
Opaque is offline   Reply With Quote

Old   March 16, 2015, 21:43
Default
  #7
Senior Member
 
Join Date: Aug 2014
Posts: 160
Rep Power: 12
MissCFD is on a distinguished road
Can you recapitulate please ?

Used to evaluate surface fluxes, the integration points are located at the center of segment joining the centers of the edge and element centers.

1) So in the 2D case mentioned above, we are 8 integrations points for a complete volume finite (2D). In the 3D case, it gave 8 * 6 faces = 48 integrations points, is that right ?

2) So, the integration points aren't located at the center of finite volume's faces as I could read it.

Quote:
Originally Posted by Opaque View Post
You are confusing face integration points with the control volume mean value point. Integration points are to be used to evaluate surface fluxes.

Perhaps you are mixing cell-vertex discretization with cell-center discretization ?
MissCFD is offline   Reply With Quote

Old   March 16, 2015, 22:17
Default
  #8
Senior Member
 
Join Date: Jun 2009
Posts: 1,869
Rep Power: 33
Opaque will become famous soon enough
Quote:
1) So in the 2D case mentioned above, we are 8 integrations points for a complete volume finite (2D). In the 3D case, it gave 8 * 6 faces = 48 integrations points, is that right ?
Your extrapolation to 3D seems incorrect. There will be 3 faces within each element sector with an integration point in the middle of each face; therefore, the total number of integration points at control volume faces equal 8 * 3 = 24.

A 3D quad face reduces to a line face in 2D, the i.p. at the middle of the quad face collapses to the midpoint of the edge.
Opaque is offline   Reply With Quote

Old   March 16, 2015, 22:57
Default
  #9
Senior Member
 
Join Date: Aug 2014
Posts: 160
Rep Power: 12
MissCFD is on a distinguished road
I'm sorry but I don't understand why * 3 ? I think that I don't see the three faces within each element sector ...

On the picture, I draw the 8 integration points. For me, the grid area correspond to one face (seen from above) of the control volume.
Should I imagine an extrusion of this grid area in the direction perpendicular at this view ?

Quote:
Originally Posted by Opaque View Post
Your extrapolation to 3D seems incorrect. There will be 3 faces within each element sector with an integration point in the middle of each face; therefore, the total number of integration points at control volume faces equal 8 * 3 = 24.

A 3D quad face reduces to a line face in 2D, the i.p. at the middle of the quad face collapses to the midpoint of the edge.
Attached Images
File Type: png Sans titre.png (58.9 KB, 10 views)
MissCFD is offline   Reply With Quote

Old   March 17, 2015, 08:25
Default
  #10
Senior Member
 
Join Date: Jun 2009
Posts: 1,869
Rep Power: 33
Opaque will become famous soon enough
An element sector is always a hex sub-element; therefore, 6 faces. Of those 6 , 3 faces are interior faces within the control volume and shared with the neighbor control volume element sectors.

When you evaluate the surface fluxes, the interior fluxes cancel each other (conservation); therefore, those faces do not count (though you can keep them in the topology if you want)

Then, you get 8 hex-octants with 3 external faces each = 24 integration points.
Opaque is offline   Reply With Quote

Old   March 17, 2015, 10:32
Default
  #11
Senior Member
 
Join Date: Aug 2014
Posts: 160
Rep Power: 12
MissCFD is on a distinguished road
Thank you very much; it seems clearer in my mind but not completely yet …



To be sure to visualize your comments, I join two pictures.


On the first, the green contour shows an element sector (6 faces). On the second, the blue lines show interior faces within the control volume, I can only make out two and so four faces are shared with the neighbor control volume element sectors. What is wrong in my way of thinking?


Quote:
Originally Posted by Opaque View Post
An element sector is always a hex sub-element; therefore, 6 faces. Of those 6 , 3 faces are interior faces within the control volume and shared with the neighbor control volume element sectors.

When you evaluate the surface fluxes, the interior fluxes cancel each other (conservation); therefore, those faces do not count (though you can keep them in the topology if you want)

Then, you get 8 hex-octants with 3 external faces each = 24 integration points.
Attached Images
File Type: png 1.png (50.3 KB, 4 views)
File Type: png 2.png (50.1 KB, 4 views)
MissCFD is offline   Reply With Quote

Old   March 17, 2015, 11:09
Default
  #12
Senior Member
 
Join Date: Jun 2009
Posts: 1,869
Rep Power: 33
Opaque will become famous soon enough
You are drawing 2D, and try to understand 3D w/o spatial visualization. My advice is to get paper and scissors and built a set of 8 cubes.

Use the cubes for control volume sector, and join them. You will see which are the shared faces between the sectors.
Opaque is offline   Reply With Quote

Old   March 17, 2015, 22:55
Default
  #13
Senior Member
 
Join Date: Aug 2014
Posts: 160
Rep Power: 12
MissCFD is on a distinguished road
Yes, thank you very much. I realized my mistake after my post.

By contrast, can you explain me the general approach of CFX solver to solve equations ?

I understand that the initialization allows to give an initial pressure and an initial velocity field on the nodes of mesh, throughout the domain. But what happens at the following iteration ? We are news values on the node of mesh and we interpolate these values at integration points to solve N-S equation and continuity ?

Quote:
Originally Posted by Opaque View Post
You are drawing 2D, and try to understand 3D w/o spatial visualization. My advice is to get paper and scissors and built a set of 8 cubes.

Use the cubes for control volume sector, and join them. You will see which are the shared faces between the sectors.
MissCFD 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
Question about governing equations of standard solvers Jerry L.D. Cheng OpenFOAM 0 March 8, 2015 08:22
Adding extra terms in governing equations Alek CFX 6 February 10, 2014 13:21
Adding extra terms in governing equations Alek FLUENT 0 January 30, 2014 11:20
Question about governing equations newmancfd OpenFOAM 0 May 15, 2013 11:41
CFD governing equations m.gos Main CFD Forum 0 April 30, 2011 15:21


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