CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Paraview & paraFoam

Plotting the averages on section cuts

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

LinkBack Thread Tools Display Modes
Old   February 2, 2014, 09:47
Default Plotting the averages on section cuts
Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,123
Blog Entries: 39
Rep Power: 110
wyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of light
I answered today to a private message on the topic of the title. The objective is to do the averages (integrate) on each section-cut and then plot all of the averages in a single graph.

You can use ParaView to do the following steps:
  1. Apply the filter "Slice" as many times as you need, for each section cut location.
  2. Apply the filter "Integrate Variables" to each "Slice" entry.
  3. Select all "Integrate Variables" entries.
  4. Apply the filter "Append Datasets", while all "Integrate Variables" entries are selected.
  5. Apply the "Plot Data" filter to the "Append Datasets".
Note: for the inlet and the outlet, it's best not to use the Slice filter. Instead open the ".OpenFOAM" file two more times, but on the first one choose only the inlet patch and on the second choose the outlet patch. Then apply the "Integrate Variables" to each one and then treat them as part of the others.

Note 2: ParaView does allow making several section cuts in a single entry, by using the offsets list. The problem is that the "Integrate Variables" will integrate it all into a single point.

Best regards,
wyldckat is offline   Reply With Quote


Thread Tools
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
converting Fluent mesh to openfoam standard mesh deepesh OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 31 March 29, 2017 05:59
dsmcInitialise - dsmcFoam archymedes OpenFOAM Pre-Processing 94 July 15, 2016 16:14
Links Section - Major Update! pete Site News & Announcements 0 February 6, 2012 08:51
LiftDrag utility from v12 to v141 cfdphil OpenFOAM Running, Solving & CFD 2 December 5, 2007 06:49
making wing section cuts in Fluent? mimi FLUENT 0 May 8, 2007 03:42

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