CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

Paraview error reading lagrangian positions

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 10, 2019, 10:59
Default Paraview error reading lagrangian positions
  #1
New Member
 
Joaquín Aranciaga
Join Date: Oct 2018
Posts: 14
Rep Power: 2
joaran is on a distinguished road
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: Unable to read Positions file in IcoUncoupledParcelFoam in Paraview

Last edited by joaran; September 10, 2019 at 13:22. Reason: Found the answer
joaran is offline   Reply With Quote

Reply

Tags
lagrangian fields, openfoam 6, paraview 5.4.0

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Other] Writing the old 'positions' file in Lagrangian solvers as of OpenFOAM 5.x wyldckat OpenFOAM Community Contributions 0 July 13, 2019 17:04
Problem with the positions data file in lagrangian foam shanvach OpenFOAM Post-Processing 1 April 5, 2018 03:40
[OpenFOAM] paraFoam vs paraView builtin reader for lagrangian solvers Yann ParaView 2 September 9, 2017 05:32
paraFoam reader for OpenFOAM 1.6 smart OpenFOAM Installation 13 November 16, 2009 21:41
[OpenFOAM] Animating Lagrangian Particles in ParaView xiao ParaView 4 April 8, 2008 02:24


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