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

cannot visualize the lagrangian data using Paraview from OpenFOAM 5.0

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 3, 2018, 12:56
Default cannot visualize the lagrangian data using Paraview from OpenFOAM 5.0
  #1
Senior Member
 
Join Date: Jan 2013
Posts: 372
Rep Power: 14
openfoammaofnepo is on a distinguished road
Hello,

When I load the lagrangian data generated OpenFOAM 5.x, I always meet a problem from the data about the particle position. Since OpenFOAM 5.0, it seems that new algorithms have been used for lagrangian particle tracking: https://cfd.direct/openfoam/free-sof...tric-tracking/.

However, it makes the particle date visualization a little bit difficult. I am not sure if any of you also have the same problem.

I attached the snapshot here and please check that. I directly run "paraFoam" in the working directory, and the version of paraview is 5.4.0.

Thanks!

OFFO
Attached Images
File Type: jpg Capture.jpg (71.6 KB, 59 views)
openfoammaofnepo is offline   Reply With Quote

Old   June 4, 2018, 04:25
Default
  #2
Senior Member
 
zhangyan's Avatar
 
Yan Zhang
Join Date: May 2014
Posts: 120
Rep Power: 12
zhangyan is on a distinguished road
I have met this before.
You should use paraFoam in OF-5.0.
__________________
https://openfoam.top
zhangyan is offline   Reply With Quote

Old   June 4, 2018, 04:27
Default
  #3
Senior Member
 
Join Date: Jan 2013
Posts: 372
Rep Power: 14
openfoammaofnepo is on a distinguished road
Thank you very much. Which version did you use for OpenFOAM 5.0? The source pack?

There are several from the below link:
https://openfoam.org/version/5-0/

Thanks!

Quote:
Originally Posted by zhangyan View Post
I have met this before.
You should use paraFoam in OF-5.0.
openfoammaofnepo is offline   Reply With Quote

Old   June 4, 2018, 04:32
Default
  #4
Senior Member
 
zhangyan's Avatar
 
Yan Zhang
Join Date: May 2014
Posts: 120
Rep Power: 12
zhangyan is on a distinguished road
I used this: sudo apt-get -y install openfoam5
And I think others are OK.
__________________
https://openfoam.top
zhangyan is offline   Reply With Quote

Old   June 4, 2018, 04:34
Default
  #5
Senior Member
 
Join Date: Jan 2013
Posts: 372
Rep Power: 14
openfoammaofnepo is on a distinguished road
Thanks. You do this directly in linux or install a linux subsystem in windows? Thanks!

Quote:
Originally Posted by zhangyan View Post
I used this: sudo apt-get -y install openfoam5
And I think others are OK.
openfoammaofnepo is offline   Reply With Quote

Old   June 4, 2018, 04:39
Default
  #6
Senior Member
 
zhangyan's Avatar
 
Yan Zhang
Join Date: May 2014
Posts: 120
Rep Power: 12
zhangyan is on a distinguished road
I have tried both. Both are OK!
__________________
https://openfoam.top
zhangyan is offline   Reply With Quote

Old   June 4, 2018, 04:41
Default
  #7
Senior Member
 
Join Date: Jan 2013
Posts: 372
Rep Power: 14
openfoammaofnepo is on a distinguished road
OK, I will try as well. Thank you very much for your help.

I previously used blueCFD, i.e. run OF in windows, it does not work.

Quote:
Originally Posted by zhangyan View Post
I have tried both. Both are OK!
openfoammaofnepo is offline   Reply With Quote

Old   June 4, 2018, 13:16
Default
  #8
Senior Member
 
Join Date: Jan 2013
Posts: 372
Rep Power: 14
openfoammaofnepo is on a distinguished road
Hi Zhang Yan,

I tried to install ubuntu on Win 10, following the procedures given here: https://openfoam.org/download/windows-10/

Everything is fine now. When I tried to run one tutorial in OpenFOAM 5.0, I go the attached error about write permission. Did you also have this issue? How did you resolve this? Thanks!


Quote:
Originally Posted by zhangyan View Post
I have tried both. Both are OK!
Attached Images
File Type: jpg Capture.jpg (46.1 KB, 17 views)
openfoammaofnepo is offline   Reply With Quote

Old   June 4, 2018, 22:45
Default
  #9
Senior Member
 
zhangyan's Avatar
 
Yan Zhang
Join Date: May 2014
Posts: 120
Rep Power: 12
zhangyan is on a distinguished road
Sorry, I didn't have the same problem.
__________________
https://openfoam.top
zhangyan is offline   Reply With Quote

Old   June 5, 2018, 03:10
Default
  #10
Senior Member
 
Join Date: Jan 2013
Posts: 372
Rep Power: 14
openfoammaofnepo is on a distinguished road
I solved the problem - thanks.

Quote:
Originally Posted by zhangyan View Post
Sorry, I didn't have the same problem.
openfoammaofnepo is offline   Reply With Quote

Old   September 11, 2019, 10:11
Default
  #11
New Member
 
Joaquín Aranciaga
Join Date: Oct 2018
Posts: 21
Rep Power: 8
joaran is on a distinguished road
Hi! For future interested readers, here is the solution for the problem you posted:



Writing the old 'positions' file in Lagrangian solvers as of OpenFOAM 5.x


Joaquín
joaran is offline   Reply With Quote

Reply


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] how to visualize mapped data using ParaView ggulgulia ParaView 2 April 16, 2019 05:40
Visualize Star-CCM+ data in Paraview peresah STAR-CCM+ 3 April 9, 2019 04:25
[OpenFOAM.org] Two different versions of ParaView with same OpenFOAM release FJSJ OpenFOAM Installation 2 July 23, 2017 06:48
[OpenFOAM.org] Using OpenFOAM 2.3.0 from Deb pack in Ubuntu 14.04 + ParaView 5 from OpenFOAM 4.1 ad2eb OpenFOAM Installation 12 May 28, 2017 15:30
[General] 2 datas on one plot Akuji ParaView 46 December 1, 2013 15:06


All times are GMT -4. The time now is 12:34.