CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   cannot visualize the lagrangian data using Paraview from OpenFOAM 5.0 (https://www.cfd-online.com/Forums/openfoam/202534-cannot-visualize-lagrangian-data-using-paraview-openfoam-5-0-a.html)

openfoammaofnepo June 3, 2018 11:56

cannot visualize the lagrangian data using Paraview from OpenFOAM 5.0
 
1 Attachment(s)
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

zhangyan June 4, 2018 03:25

I have met this before.
You should use paraFoam in OF-5.0.

openfoammaofnepo June 4, 2018 03:27

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 (Post 694473)
I have met this before.
You should use paraFoam in OF-5.0.


zhangyan June 4, 2018 03:32

I used this: sudo apt-get -y install openfoam5
And I think others are OK.

openfoammaofnepo June 4, 2018 03:34

Thanks. You do this directly in linux or install a linux subsystem in windows? Thanks!

Quote:

Originally Posted by zhangyan (Post 694477)
I used this: sudo apt-get -y install openfoam5
And I think others are OK.


zhangyan June 4, 2018 03:39

I have tried both. Both are OK!

openfoammaofnepo June 4, 2018 03:41

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 (Post 694483)
I have tried both. Both are OK!


openfoammaofnepo June 4, 2018 12:16

1 Attachment(s)
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 (Post 694483)
I have tried both. Both are OK!


zhangyan June 4, 2018 21:45

Sorry, I didn't have the same problem.

openfoammaofnepo June 5, 2018 02:10

I solved the problem - thanks.

Quote:

Originally Posted by zhangyan (Post 694588)
Sorry, I didn't have the same problem.


joaran September 11, 2019 09:11

Hi! For future interested readers, here is the solution for the problem you posted:



https://www.cfd-online.com/Forums/op...nfoam-5-x.html


Joaquín


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