CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[General] "Integrate Variables" and "Plot Selection Over Time" fail

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 28, 2012, 10:35
Default "Integrate Variables" and "Plot Selection Over Time" fail
  #1
Senior Member
 
Join Date: Dec 2011
Posts: 111
Rep Power: 19
haakon will become famous soon enough
Hi,

I am using OpenFOAM 2.1.0 and Paraview 2.12.0 (RPM builds for OpenSuse) and the interFoam solver to analyze a simple two-phase problem (2D flow over spillway).

What I want is to record/plot the free surface elevation over time. That can be done with the following procedure:
  1. Plot the volume fraction alpha1 over a vertical line crossing the free surface inside the domain. This is done with the "Plot over Line" filter. No problems.
  2. Integrate the volume fraction over the line. This will give an approximation of the free surface elevation relative to the lower end of the line. This is done with the "Integrate variables" filter. No problems.
  3. Plot this integrated value over time. This can (hopefully) be done with the "Plot selection over time" filter. Here is the problem.
My problem is that I really cannot get the "Plot selection over time" filter to work. I select the row with my integrated variables, and press "copy to active selection". Then I press "Apply", but the result is lots of error messages in the terminal. See attached file "PVerrors.txt" for them all. For your reference I post one error of each type here:

Code:
Warning: In /home/preston2/mattijs/rpmbuild/BUILD/ParaView-3.12.0/VTK/Common/vtkDataArrayTemplate.txx, line 452
vtkIdTypeArray (0x81aacc0): Input and output array data types do not match.
and
Code:
ERROR: In /home/preston2/mattijs/rpmbuild/BUILD/ParaView-3.12.0/VTK/Filtering/vtkTable.cxx, line 353
vtkTable (0xa26faa0): Column "k" must have 1 rows, but has 901.
and
Code:
ERROR: In /home/preston2/mattijs/rpmbuild/BUILD/ParaView-3.12.0/VTK/Charts/vtkContext2D.cxx, line 177
vtkContext2D (0x87bf870): Attempted to paint a line with <2 points.
See also attached screenshot of my PV workspace.

Can anybody help me here? Am I doing something wrong or have I missed something fundamental?

Thank you in advance.
Attached Files
File Type: gz PVerror.tar.gz (58.3 KB, 22 views)
haakon is offline   Reply With Quote

Old   July 9, 2012, 04:09
Default
  #2
Senior Member
 
Join Date: Dec 2011
Posts: 111
Rep Power: 19
haakon will become famous soon enough
The solution (or at least a workaround) was at last found: I had used the parallel OpenFOAM reader (reading the decomposed case directly), witch seems to be the cause of this error. If i reconstructed the previously parallel case and then used paraFoam, and suddenly everything worked.
haakon is offline   Reply With Quote

Old   April 20, 2015, 19:22
Default
  #3
New Member
 
Noraa
Join Date: Aug 2014
Posts: 4
Rep Power: 11
Noraa is on a distinguished road
Dear Hakon,

I am dealing with the same problem. I am using Interfoam solver for dambreak problem. I have 3D domain. I would like to to calculate the free surface time history at specific location of my domain using plot over time filter. I tried these steps but no success. It dose not show me the accurate water profile.

would you please help me with this?

thank you,
Noraa is offline   Reply With Quote

Reply

Tags
integrate, plot, selection, time

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[OpenFOAM] Paraview: "Plot selection over time" runs very slow (flow rate calculation) noboady ParaView 1 April 8, 2016 17:32
[General] Problems with Using Plot Selection Over Time smschnob ParaView 1 May 28, 2015 12:45
How to plot variables over time sven OpenFOAM 7 July 11, 2011 15:55
How can i plot variables over time? maysmech OpenFOAM 8 September 22, 2010 23:20
[OpenFOAM] Plot variables versus time jml ParaView 4 December 3, 2008 09:44


All times are GMT -4. The time now is 09:08.