|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Sukratu Barve
Join Date: Mar 2009
Posts: 16
Rep Power: 18 ![]() |
When I type
>paraFoam $FOAM icfoam cavity I get a message saying got unknown argument paraFoam.pvs ....and a slew of instructions about how to append the command syntax for various types of things (--dr --V etc.) What is happening here? |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
|
I got this message too, saying:
Got unknown argument: paraFoam.pvs I use version-1.4.1, and I compiled with debug option. And if I use paraview-3.1.0 (or any other version) directly, when I type paraview What's different from before is that paraview cannot show contour, neither can it show continuous state of U, p, etc. I mean in Display-->Color by-->? Here, there is no interpolated variables. Could anyone tell what's wrong? Or is it a bug? |
|
![]() |
![]() |
![]() |
![]() |
#3 |
Guest
Posts: n/a
|
I take it you compiled OpenFOAM from source, right?
getting OpenFOAM to compile correctly is a major pain. To get OpenFOAM to compile right you need to install paraview in a certain way. See here http://openfoamwiki.net/index.php/Howto_compile_OpenFOAM#Compiling_and_installin g_ParaView I wish they would just bundle a copy of paraview with OpenFOAM like they do with LAM and MICO and re work the make scripts to reference it. |
|
![]() |
![]() |
![]() |
#4 |
Senior Member
Martin Beaudoin
Join Date: Mar 2009
Posts: 332
Rep Power: 23 ![]() |
By the way, try to use a "clean" version of this Howto.
For some strange reasons, a couple of spambots are hitting on that Wiki page on a regular basis. And Bernhard is doing his best to revert their actions, but still, this page is "corrupted" on a regular basis. One quick trick to find a valid version of this page: When you visit this Howto, go directly to the "history" button, located jut above the page title. Then, select the latest version modified by Bernhard (Bgschaid) or some other normal user. You could also start from the latest corrupted version, and step back in the history until you find a non corrupted version of the document.The versions modified by Fe0Eup or Lx7A2h are the one generated by the spambots. For some reasons, not only do they insert a lot of spam in the header of the file, but they also strip out all occurrences of the string "++"; so "c++" simply becomes "c". Martin |
|
![]() |
![]() |
![]() |
![]() |
#5 |
Senior Member
|
Thank you Conn, and thank ou Martin,
Yes, it is really a painful task to compile paraview, it costed me nearly 3 hours. I will try and as soon as I succeed, I will post here. But still I am thinking, what does it mean when it says :"Got unknown argument: paraFoam.pvs", I see in the paraFoam script, it use the following line: paraview paraFoam.pvs So, my question is: Is *.pvs no longer a valid argument in the new version of ParaView (3.1.0)? or what else? BTW, who is it, I mean Fe0Eup or Lx7A2h? Following Martin's hints, I found Bernhard's version. Thank you Martin. |
|
![]() |
![]() |
![]() |
![]() |
#6 |
Senior Member
Martin Beaudoin
Join Date: Mar 2009
Posts: 332
Rep Power: 23 ![]() |
Hi Daniel,
Basically, the problem you are seeing comes from the fact that your paraview Foam reader was not compiled correctly, so your file paraFoam.pvs is never generated, so your paraFoam script cannot execute properly. The PVFoamReader module has some hardcoded paths in its Cmake config files. You need to change those paths in order to properly compile the module. All of this is explained in the Howto, so take the time to read it, it will save you time. It does for me. Secondly, please try to stick to the same version of the paraview source code than the one that is suggested for OpenFOAM. For exemple, for OpenFOAM 1.4.1, that would be paraview 2.4.4. I would be surprised if you can get the PVFoamReader module working with paraview 3.x.y version. No need to boldly go where no one has gone before... yet ![]() Finally, Fe0Eup and Lx7A2h are probably not normal "human" users, but rather spamming automated scripts that log "automagically" onto the Wiki on a regular basis and insert their spam stuff in the text. If you disable those accounts, new ones will probably reappears soon afterward and continue the job. Wikis are very nice for sharing information, but also a nice target for such scripts. Martin |
|
![]() |
![]() |
![]() |
![]() |
#7 |
Senior Member
|
Morning, everyone
I have succeeded in compiling the paraFOAM just according to the instructions. And note I am using paraview 2.4.4, not 3.1.0. And now, my paraFoam works. Some days before I had to first use foamToVTK and then use paraview-3.1.0 or I had to use foamToTecplot and then Tecplot, which is a boring thing. Thank you again Martin and Conn. |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
OF15dev installation error | velan | OpenFOAM Installation | 11 | February 13, 2009 09:23 |
Help Error Installation of openfoam15dev | loneboard | OpenFOAM Installation | 4 | February 4, 2009 09:24 |
Error after installation.. | Nari | Siemens | 5 | June 28, 2007 14:02 |
Installation Error | rafal | OpenFOAM Installation | 3 | February 2, 2006 11:43 |
Fluent 6.2.16 installation with Error EOF | tuks | FLUENT | 3 | July 13, 2005 13:20 |