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

AreaWeightedAverage during runTime

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 5, 2023, 08:46
Default AreaWeightedAverage during runTime
  #1
New Member
 
Zeinab Abosedaira
Join Date: Mar 2022
Posts: 24
Rep Power: 4
ZeinabM is on a distinguished road
Hello,
I am developing a new solver and I would like to calculate the volumeAverage of the temperature in the runtime to use it afterwards. Is there any ready-made function or should I use the formula of calculating the volumeAverage?
ZeinabM is offline   Reply With Quote

Old   July 5, 2023, 09:06
Default
  #2
Senior Member
 
Yann
Join Date: Apr 2012
Location: France
Posts: 1,068
Rep Power: 26
Yann will become famous soon enough
Hello,

It sounds like the volFieldValue function object would do the job:
Hope this helps,
Yann
Yann 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
Duplicate entry alphaContactAngle in runtime selection table fvPatchField Roesch OpenFOAM Programming & Development 2 January 12, 2021 03:35
Probes/Sensors in runtime gabitinho OpenFOAM Post-Processing 9 August 14, 2015 12:55
Sloshing Case - Probing or Sampling free surface during runtime Esweer OpenFOAM Running, Solving & CFD 0 February 17, 2015 03:34
Problem in3D model processing mebinitap OpenFOAM 2 December 12, 2014 04:40
runTime out of scope in functionObject Sune OpenFOAM Programming & Development 2 September 26, 2012 02:11


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