CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Post-Processing (https://www.cfd-online.com/Forums/openfoam-post-processing/)
-   -   Paraview error reading lagrangian positions (https://www.cfd-online.com/Forums/openfoam-post-processing/220521-paraview-error-reading-lagrangian-positions.html)

joaran September 10, 2019 10:59

Paraview error reading lagrangian positions
 
Hello everyone!


I'm running DPMFoam for simulating a flow with lagrangian particles injection. It solves ok, but when I try to represent lagrangian particles in Paraview, the following error pops up: "Error reading line [...] /lagrangian/kinematicCloud/positions: Expected punctuation token ')', found 0". When I open the referenced file, it looks like this:
Code:

FoamFile
{
    version    2.0;
    format      ascii;
    class      Cloud<basicKinematicCollidingParcel>;
    location    "0.16/lagrangian/kinematicCloud";
    object      positions;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

3662
(
(0.102713 0.696032 0.141691 0.0595641) 2366 7101 1
(0.602895 0.154628 0.0348942 0.207583) 4217 12426 2
(0.486605 0.232876 0.00321136 0.277308) 3351 8547 2
(0.142719 0.455968 0.00755616 0.393757) 3552 10507 1
(0.684581 0.153382 0.119875 0.0421625) 3212 9515 1

...

Is this format ok? or compatible with Paraview? It looks to me like Paraview is trying to read three coordinates because it complains that after the third number there's no a ')', but there are actually four numbers between parenthesis.


I'm using OF v6, and paraview 5.4.0


I've tried both opening the .foam file and exporting to VTK, but similar errors show up.



Thank you!




I just found the answer here: https://www.cfd-online.com/Forums/pa...tml#post696204

vonboett April 22, 2020 17:00

...same problem with me on Ubuntu 19.10, OF6
is it due to https://www.cfd-online.com/Forums/op...nfoam-5-x.html ?


All times are GMT -4. The time now is 07:24.