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

Adding surfaceScalarField to fieldAverage

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 6, 2015, 19:18
Default Adding surfaceScalarField to fieldAverage
  #1
New Member
 
Daniel Tiago Muller
Join Date: Nov 2015
Location: Brazil
Posts: 3
Rep Power: 11
dtmuller is on a distinguished road
Hello everyone,

I´m trying to implement into fieldAverage at foam-extend 3.1 the computation of mean surfaceScalarFields. I know that this is already implemented at openFoam 2.3. But I´m having trouble to find where to change the code at foam-extend 3.1 to do this?

Can anyone help me please?

Thanks,

Daniel
dtmuller is offline   Reply With Quote

Old   February 9, 2016, 08:36
Default Solution implementend
  #2
New Member
 
Daniel Tiago Muller
Join Date: Nov 2015
Location: Brazil
Posts: 3
Rep Power: 11
dtmuller is on a distinguished road
Hello everyone,

I could find a solution. I made some changes at fieldAverage.C, fieldAverage.H and fieldAverageTemplates.C and now foam-extend 3.1 is also calculating meanScalarFields.
I'm attaching archives if somebody wants to use it.
Attached Files
File Type: c fieldAverage.C (11.3 KB, 6 views)
File Type: h fieldAverage.H (8.6 KB, 3 views)
File Type: c fieldAverageTemplates.C (11.2 KB, 2 views)
dtmuller 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
How I can introduce my power heat (W) in chtMultiRegionFoam? aminem OpenFOAM Pre-Processing 32 August 29, 2019 03:23
chtMultiRegionSimpleFoam samiam1000 OpenFOAM Running, Solving & CFD 39 March 31, 2016 09:43
Compressible fluid at high velocity in Muti-region solver vineet_bhola OpenFOAM Running, Solving & CFD 16 October 26, 2015 06:54
Problems in my first attempt with chtMultiRegionSimpleFoam zfaraday OpenFOAM Running, Solving & CFD 1 April 8, 2014 19:20
Help with chtMultiRegionFoam jbvw96 OpenFOAM Running, Solving & CFD 2 December 26, 2010 18:16


All times are GMT -4. The time now is 06:07.