CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[snappyHexMesh] Extracting cell area data for Grid Convergence Analysis

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 7, 2024, 11:47
Default Extracting cell area data for Grid Convergence Analysis
  #1
New Member
 
Ilyes SAYAD
Join Date: Jul 2021
Posts: 22
Rep Power: 5
highpressure is on a distinguished road
Hello FOAMers,

I'm currently conducting a Grid Convergence Analysis for my CFD project. Based on my literature review, I've found that using a representative cell length is preferable to merely considering the number of cells (Celik et al. 2008, and scroll down). The calculation of this representative cell length requires not only the total number of cells in the domain but also the surface area of each cell. Unfortunately, the checkMesh command does not provide this information.

My question is: given that I'm using blockMesh and snappyHexMesh for meshing, how can I extract the area of each cell to calculate the representative cell length of my mesh?

Thank you in advance for your help.

Best regards,
Ilyes
highpressure is offline   Reply With Quote

Old   August 8, 2024, 11:36
Default
  #2
Member
 
Join Date: May 2024
Location: France
Posts: 35
Rep Power: 2
rocketLauncher is on a distinguished road
Hello Ilyes,

You could use the following command line to extract the cell centres and cell dimensions
Quote:
postProcess -func writeCellCentres -time 0
Perhaps with that information you will be able to calculate the cell length? Is there some formula?

For a grid convergence study, it is a widely acceptable practice to monitor mesh size (number of cells) against different key variables, just as an fyi. Best of luck, I hope this helps.
rocketLauncher 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
Surface area of each cell for mean beam length calculation chloe612 OpenFOAM Programming & Development 0 April 14, 2021 01:12
Force can not converge colopolo CFX 13 October 4, 2011 23:03
CFX Solver Memory Error mike CFX 1 March 19, 2008 08:22
How to calculate the cell area Le FLUENT 0 February 18, 2007 23:15
Warning 097- AB Siemens 6 November 15, 2004 05:41


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