CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

Surface area of each cell for mean beam length calculation

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   April 14, 2021, 00:12
Default Surface area of each cell for mean beam length calculation
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


mean beam length, radiation, surface area

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 15:15
UDF in case with DPM modle POSTHU Fluent UDF and Scheme Programming 0 March 3, 2021 07:21
[snappyHexMesh] Surface triangulation using snappyHexMesh shaileshbg OpenFOAM Meshing & Mesh Conversion 4 October 17, 2019 04:42
Surface integral calculation by undefined area Bloshchitsyn Vladimir CFX 0 November 18, 2007 22:19
Warning 097- AB Siemens 6 November 15, 2004 04:41

All times are GMT -4. The time now is 12:23.