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

Field Average Over a Dynamic Mesh

Register Blogs Community New Posts Updated Threads Search

Like Tree4Likes
  • 4 Post By tecmul

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 27, 2018, 17:12
Default Field Average Over a Dynamic Mesh
  #1
Member
 
Join Date: Sep 2018
Posts: 53
Rep Power: 8
tecmul is on a distinguished road
Hello,

I've implemented temporal averaging of my velocity field with the function object fieldAverage in the controlDict file. Am I correct in assuming that the function is averaging cell values over time, not domain points? This would be a problem as the cell centers move with time.

What I want is to average the velocity field at each point in the domain over time. Do I have to map the velocity field of the dynamic mesh to an underlying static mesh at each time step and then average that? Is there a simpler method? Any help would be appreciated.

Last edited by tecmul; November 27, 2018 at 19:18.
tecmul is offline   Reply With Quote

Old   January 1, 2019, 14:40
Default
  #2
Member
 
Join Date: Sep 2018
Posts: 53
Rep Power: 8
tecmul is on a distinguished road
self bump....
tecmul is offline   Reply With Quote

Old   April 24, 2019, 05:30
Default
  #3
Member
 
Join Date: Sep 2018
Posts: 53
Rep Power: 8
tecmul is on a distinguished road
For anyone else facing this problem, there's a simple, albeit not perfect, solution with Paraview. The "resample to image" filter enables the mapping of a dataset to another mesh. Use this filter to map your data to a static grid, then implement temporal averaging. A better solution would be to something similar at runtime so all time steps are available for averaging, so if anyone has any ideas on how to do that, feel free to comment.
serles, s1291, a.abadani and 1 others like this.
tecmul is offline   Reply With Quote

Reply

Tags
average, dynamic mesh, fieldaverage, moving mesh


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 to set periodic boundary conditions Ganesh FLUENT 15 November 18, 2020 07:09
decomposePar problem: Cell 0contains face labels out of range vaina74 OpenFOAM Pre-Processing 37 July 20, 2020 06:38
''unknown radialModelType type Gidaspow'' PROBLEM WITH THE BED TUTORIAL AndoniBM OpenFOAM Running, Solving & CFD 2 March 25, 2015 19:44
dynamic Mesh is faster than MRF???? sharonyue OpenFOAM Running, Solving & CFD 14 August 26, 2013 08:47
Problem with rhoSimpleFoam matteo_gautero OpenFOAM Running, Solving & CFD 0 February 28, 2008 07:51


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