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

[OpenFOAM] Problems with Plot Selction Over Time in ParaView

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 7, 2019, 08:00
Default Problems with Plot Selction Over Time in ParaView
  #1
New Member
 
Jack
Join Date: Sep 2012
Posts: 10
Rep Power: 15
madfan123 is on a distinguished road
Hello all,


I use OpenFOAM for simulation of water transport in pipes by VOF method and ParaView for post-processing of the results. I am facing face with the problem in ParaView when I am trying to evaluate water flow rate through custom cross section in the pipe. In my geometry there is small siphon with water in front of desired cross section. Coming air pushes this water downstream of the pipe causing splashing, so in this case water flow through the cross section is not continual. When I try to evaluate flow rate value for each time step it works perfectly with different options (by integration of water velocity field or using Surface Flow filter). But when I try to use filter Plot Selection Over Time to get flow rate evolution in time I get the message that "Input and Output data array do not match" or "Type mismatch: Source: double Dest: idtype". It seems that for time steps when there is no water passing the cross section ParaView excludes the column from the array instead of putting 0 value. When I was using the 3rd version of ParaView I've found that if I multiply flow rate value by 1 in the calculator then ParaView put in the array 0 values. Now I am using 5th version and similar manipulations do not work. I would appreciate any hints or recommendations which could help me to solve this issue.

Thank you very much in advance.

Sincerely,
Yevgeniy
madfan123 is offline   Reply With Quote

Old   December 30, 2020, 13:39
Default
  #2
New Member
 
Join Date: Aug 2016
Location: USA
Posts: 5
Rep Power: 11
edsaac is on a distinguished road
I find this error appears when the results folders have more variables than the initial 0 folder, leading to uneven VTK files.



For instance, if 0 has files for U and p, but for some reason the solver writes result files U, p and someThirdVariable, when translated to VTK, someThirdVariable will be missing the value at time 0, raising the error.



A quick fix is delete the VTK files corresponding to the time 0 and reload the set in Paraview.
edsaac is offline   Reply With Quote

Reply

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
Elastic or Plastic Deformations in OpenFOAM NickolasPl OpenFOAM Pre-Processing 36 September 23, 2023 09:22
courant number increases to rather large values 6863523 OpenFOAM Running, Solving & CFD 22 July 6, 2023 00:48
LES, Courant Number, Crash, Sudden Alhasan OpenFOAM Running, Solving & CFD 5 November 22, 2019 03:05
Micro Scale Pore, icoFoam gooya_kabir OpenFOAM Running, Solving & CFD 2 November 2, 2013 14:58
dynamic Mesh is faster than MRF???? sharonyue OpenFOAM Running, Solving & CFD 14 August 26, 2013 08:47


All times are GMT -4. The time now is 19:18.