# How to obtain the mesh size?

 User Name Remember Me Password
 Register Blogs Members List Search Today's Posts Mark Forums Read

 June 28, 2013, 03:00 How to obtain the mesh size? #1 New Member   Join Date: Mar 2012 Posts: 18 Rep Power: 7 Excuse me Is there anybody knows how to obtain the mesh size through User Fortran? I want to add a source term to the k-ω equation, and this term is a function of the maximum length of the mesh edges. I am really appreciate your help!

 June 28, 2013, 06:09 #2 Super Moderator   Glenn Horrocks Join Date: Mar 2009 Location: Sydney, Australia Posts: 13,535 Rep Power: 104 Must be a strange source term.... This is difficult to define let alone code. CFX supports tet, pyramid, prism and hex meshes - are you going to code a different case for each of them? But even trickier is that the equations are solved on control volumes centred on the nodes, and these control volumes are polyhedral. Read the documentation for more detail on this. But it means the mesh you define is not the mesh it uses for solving the equations, so working out what the longest edge length on the original mesh would appear to be of little benefit.

June 28, 2013, 06:43
#3
New Member

Join Date: Mar 2012
Posts: 18
Rep Power: 7
So, I worked out the problem with another method, that I used "Volume of Finite Volumes^0.3333" instead, and farther more, I think it's more approriate.

Quote:
 Originally Posted by ghorrocks Must be a strange source term.... This is difficult to define let alone code. CFX supports tet, pyramid, prism and hex meshes - are you going to code a different case for each of them? But even trickier is that the equations are solved on control volumes centred on the nodes, and these control volumes are polyhedral. Read the documentation for more detail on this. But it means the mesh you define is not the mesh it uses for solving the equations, so working out what the longest edge length on the original mesh would appear to be of little benefit.

 Thread Tools Display Modes Linear Mode

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

 Similar Threads Thread Thread Starter Forum Replies Last Post Althea FLUENT 22 January 4, 2017 04:19 [ANSYS Meshing] max mesh element size ulalala ANSYS Meshing & Geometry 8 January 20, 2013 18:30 Zymon enGrid 31 August 29, 2011 13:40 Luk CFX 4 March 17, 2008 03:34 echo CD-adapco 1 May 23, 2006 05:34

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

 Contact Us - CFD Online - Top