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

Surface area of each cell for mean beam length calculation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 14, 2021, 01:12
Default Surface area of each cell for mean beam length calculation
  #1
New Member
 
Join Date: Mar 2021
Posts: 1
Rep Power: 0
chloe612 is on a distinguished road
Dear OpenFOAM users:

I am attempting to calculate the mean beam length of each cell on a finite volume mesh on OpenFOAM (a desired length scale for radiation calculations). I am using the relationship L=3.6V/A where L is the mean beam length, V is the volume of the cell, and A is the surface area of the cell.

I know that there is a utility that easily calculates the volume of each cell (writeCellVolumes). Is there a similar utility that will calculate the surface area of each cell and output a scalar field called cArea or something similar?

I know that there is already a utility that calculates the area for all internal faces, but the one that I found does not say which area corresponds to which face. I also know there is mesh.Sf, but to my understanding this only includes internal faces as well.

Any help would be appreciated!
chloe612 is offline   Reply With Quote

Reply

Tags
mean beam length, radiation, surface area


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
y+ = 1 boundary layer mesh with snappyHexMesh Arzed23 OpenFOAM Running, Solving & CFD 6 November 23, 2022 16:15
UDF in case with DPM modle POSTHU Fluent UDF and Scheme Programming 0 March 3, 2021 08:21
[snappyHexMesh] Surface triangulation using snappyHexMesh shaileshbg OpenFOAM Meshing & Mesh Conversion 4 October 17, 2019 05:42
Surface integral calculation by undefined area Bloshchitsyn Vladimir CFX 0 November 18, 2007 23:19
Warning 097- AB Siemens 6 November 15, 2004 05:41


All times are GMT -4. The time now is 17:27.