CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

Circumferential Averaging

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 9, 2015, 09:32
Default Circumferential Averaging
  #1
Senior Member
 
Vincent RIVOLA
Join Date: Mar 2009
Location: France
Posts: 283
Rep Power: 18
vinz is on a distinguished road
Dear foamers,

In a post-processing phase or eventually at runtime, I would like to make some homogeneity check of my flow field at the outlet of my domain.

You can see in the picture attached, the problem that I am currently simulating. The flow is entering the domain by the tube at the top and leaving the domain at the bottom where the speed is plotted.

At this specific place, I need to check the azimuthal homogeneity of my speed. Thus, for a certain number of radius, I need to compute the average of speed circumferentially and then the difference between the local speed and the circumferential average. I am interested in the maximum value of this difference for each radius from Rmin to Rmax.

Does anyone know how I could do that either in OpenFOAM or Paraview?

Thanks in advance for any tip you can give me.

Vincent
Attached Images
File Type: jpg homogeneityCheck.jpg (40.2 KB, 85 views)
vinz is offline   Reply With Quote

Old   April 10, 2015, 04:53
Default
  #2
Senior Member
 
Tom Fahner
Join Date: Mar 2009
Location: Breda, Netherlands
Posts: 637
Rep Power: 32
tomf will become famous soon enoughtomf will become famous soon enough
Send a message via MSN to tomf Send a message via Skype™ to tomf
Hi Vincent,

I think you maybe able to use the clip filter on your patch in ParaView. Then use a Sphere as Clip Type. Do this twice and you should be able to get an annulus of the outletpatch (select or deselect the Inside Out box, you have to play around with this). Then do integrate variables to get your average in the circumferential direction.

You would have to check how many steps you would like to take in the radial direction of course.

Regards,
Tom

Last edited by tomf; April 10, 2015 at 04:55. Reason: typo
tomf is offline   Reply With Quote

Old   April 10, 2015, 08:20
Default
  #3
Senior Member
 
Vincent RIVOLA
Join Date: Mar 2009
Location: France
Posts: 283
Rep Power: 18
vinz is on a distinguished road
Hi Tom,

Thanks for your reply.
We actually found a way to do the full loop with macros in Tecplot, so that will be enough for now.

It would have been nice to get it at runtime, but I don't really have much time to dig into swakExpressions to do it. I'll look at it later if I find more time.
vinz 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
Pressure averaging at the outlets. KM CFX 6 April 1, 2021 06:28
Starting field averaging using libFunctionObject after certain time eelcovv OpenFOAM Programming & Development 25 December 7, 2015 22:28
Radial Distribution chart (circumferential averaging) Hoyskipoyski CFX 0 February 25, 2015 05:53
Circumferential Averaging with time-averaged Massflow CFXstudent26 CFX 0 May 27, 2013 11:26
When to use mass flow averaging cspectre CFX 2 December 6, 2009 05:30


All times are GMT -4. The time now is 20:04.