|
[Sponsors] |
[OpenFOAM.com] paraview 5.10.0-RC problem and a possible solution. |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 12, 2024, 14:34 |
paraview 5.10.0-RC problem and a possible solution.
|
#1 |
New Member
Fausto Arinos Barbuto
Join Date: Feb 2024
Location: Brazil
Posts: 2
Rep Power: 0 |
Hello,
I have a Ubuntu 22.04 computer. I installed OpenFOAM 2312 on it. OpenFOAM needs Paraview, thus I installed it (v. 5.10.0-RC1) via Synaptic (GUI for the APT package manager). OpenFOAM runs fine, but when I invoke paraFoam as usual I get a paraview SIGSEGV (segmentation fault) error. Having no options left, I downloaded Paraview v. 5.12 pre-compiled binaries from the official site, unzipped it into a folder under ~ and, to my surprise, that version did work. The problem is, paraFoam calls the broken Paraview in /usr/bin, not the functional binary I downloaded and unzipped. But, if instead of running paraFoam I simply execute the functional binary (by giving its full path), I get nowhere. I must before transform the simulation outputs to VTK with foamToVTK and run the binary to open the visualization files. This works but it is not efficient. I prefer the old way. paraFoam is a script that, in a nutshell, calls paraview. I wonder how I could change this script so that it would call the pre-compiled binary I mentioned right above. The second problem is: I'm not good at scripting and don't understand what paraFoam really does internally. TL; DR: I want to run a paraview binary installed on an alternative location with paraFoam. Would I have to modify paraFoam? How? Thanks a lot for any help. |
|
February 15, 2024, 05:03 |
|
#2 |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40 |
The paraFoam script will simply call the first paraview that it finds in the PATH. Try changing your path so that the newly downloaded paraview binary is found before the one in /usr/bin and it should work. Hint: try with "which paraview" from the command-line to see which paraview is being found first.
|
|
February 15, 2024, 14:14 |
|
#3 |
New Member
Fausto Arinos Barbuto
Join Date: Feb 2024
Location: Brazil
Posts: 2
Rep Power: 0 |
By changing the PATH in .bashrc, you mean? Sounds like a good idea.
Presently (and I've already done that, obviously), "which paraview" shows "/usr/bin/paraview". Tks. |
|
Tags |
parafoam problem, paraview, scripting |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[General] Problem with reading in multiple grouped Ensight .case files into paraview | scro1022 | ParaView | 0 | November 27, 2020 09:00 |
SU2 7.0.7 Built on CentOS 7, parallel computation pyscript mpi exit error? | EternalSeekerX | SU2 | 3 | October 9, 2020 19:28 |
[Other] Openfoam for windows 16.02 [CFD support] -problem with paraview | ditmeyer | OpenFOAM Installation | 3 | May 15, 2017 13:04 |
[General] Plotting solution vector from Matlab in Paraview | crg123 | ParaView | 0 | November 20, 2016 13:19 |
Problem with pimpleDyMFoam: Initialise steady state solution | Lancester | OpenFOAM Running, Solving & CFD | 2 | September 29, 2015 10:49 |