|
[Sponsors] | |||||
[OpenFOAM] Problems with Plot Selction Over Time in ParaView |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|
|
#1 |
|
New Member
Jack
Join Date: Sep 2012
Posts: 10
Rep Power: 15 ![]() |
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 |
|
|
|
|
|
|
|
|
#2 |
|
New Member
Join Date: Aug 2016
Location: USA
Posts: 5
Rep Power: 11 ![]() |
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. |
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
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 |