|
[Sponsors] |
August 7, 2012, 06:41 |
paraFoam on windows 7
|
#1 |
Senior Member
Julien
Join Date: Jun 2012
Location: France
Posts: 152
Rep Power: 13 |
Hi every body,
may I ask you a naive question? I have openFoam on my linux server, and I installed ParaView on my windows PC. My linux server has a "samba" protocol file so that my PC can read the results of openFoam. BUT I don't have the foam reader in ParaView. So I cannot use my windows-paraview to post process my calculations... Does anybody has a solution? My wish is to use the graphical enhanced capabilities of my PC (with its tough graphical cards) instead of the CPU time of my linux server (not efficient at all for that: it takes more than 2 minutes to refresh the screen!) Thanks, DJU |
|
August 7, 2012, 07:22 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Greetings Julien,
Create a dummy file with the name "case.foam" inside your case folder. The file can be left empty. Then open that file in ParaView and you're good to go! On the plus side, you can even open a decomposed case when using this internal reader! I'll take the opportunity to do a shameless plug to blueCFD-SingleCore's "paraFoam.bat" batch file (I'm the guy responsible for this project ): http://openfoam21x.bluecfd-singlecor...n/paraFoam.bat This batch file assumes that ParaView is visible from the Windows command line. Best regards, Bruno
__________________
|
|
August 7, 2012, 11:20 |
Nothing more ?!?
|
#3 |
Senior Member
Julien
Join Date: Jun 2012
Location: France
Posts: 152
Rep Power: 13 |
I did not expect a so simple solution !!!
It works fine ! Thanks, and excuse me for not having looked up in the filter list... |
|
August 29, 2012, 08:41 |
|
#4 |
Senior Member
Julien
Join Date: Jun 2012
Location: France
Posts: 152
Rep Power: 13 |
Hi Bruno,
In found in ParaView User Guide that there is some parameters for the OpenFOAMReader. http://paraview.org/Wiki/ParaView/Users_Guide/List_of_readers#OpenFOAMReader But how to access to these parameters? Hos to change them? I tried to write them in the*.foam "dummy" file, without success... ----------------------------------------------------------------------------------------------------------------------- And 10 minutes later: Stuby boy! You can choose these parameters in the "property inspector" of your *.foam case in your pipeline! Nevertheless, thanks bruno! Regards, Julien (the so impatient) |
|
November 30, 2012, 05:31 |
Error in reading décomposed case
|
#5 |
Senior Member
Julien
Join Date: Jun 2012
Location: France
Posts: 152
Rep Power: 13 |
Hi Everybody,
I have a new problem with ParaView on windows reading files on Linux: If I try to read a decomposed case, there is an error: ERROR: In ..\..\..\..\src\VTK\IO\vtkOpenFOAMReader.cxx, line 8481 vtkOpenFOAMReader (000000000AE9BB50): Can't open Z:\OpenFOAM\julien-2.1.x\run\Bordeaux3\processor0/constant/ I think there is problem with the file separator (be aware about the slash / and antislash \ in the previous error message). Does anybody have a solution? |
|
December 1, 2012, 07:42 |
|
#6 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Greetings Julien,
I suggest you make a copy of the folder "Bordeaux3" to your real Windows machine, because sometimes there is a problem with the virtual file system. As for the slash and backslashes: they both should be valid in ParaView's perspective, at least when working on Windows. Nonetheless, you can try and change the base folder in ParaView's Object Inspector to this: Code:
Z:/OpenFOAM/julien-2.1.x/run/Bordeaux3/ Bruno
__________________
|
|
December 3, 2012, 05:03 |
|
#7 |
Senior Member
Julien
Join Date: Jun 2012
Location: France
Posts: 152
Rep Power: 13 |
Hi Bruno,
thanks for help. I was prefering not to move the data, because it is not very convenient. But my I.T. manager suggests me also to make these moves, for traffic issues... Nevertheless, I tried your solution (replacing \ by / in the Object Inspector): and paraview crashed! First a classic 'Output Massages' window with a red "ERROR :", and then very quickly a Windows window saying paraview.exe has stopped working.. By the way, I do not understand: my_case/processor0 does NOT have a "constant" folder ! It has only time folders. "Constant" is not is a processor, but at the "root" of my case. Why does paraview search for this folder ? This could be the source of the error, no? |
|
December 3, 2012, 11:16 |
|
#8 |
Senior Member
Julien
Join Date: Jun 2012
Location: France
Posts: 152
Rep Power: 13 |
Hi ,
I just tried to copy on my local disk before to open the case with paraview. But it does the same! Same error window, and then paraview crashes. With or without changing the pathname in the Object Properties Inspector... |
|
December 3, 2012, 16:33 |
|
#9 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Hi Julien,
Mmm... the contant folder isn't always necessary for parallel cases. Older versions of OpenFOAM always had a "constant" folder, but nowadays it's not obligatory. Which ParaView version are you using? And is there any OpenFOAM tutorial in particular with which you get the same issue, so that I can try and replicate the same steps!? Best regards, Bruno
__________________
|
|
December 4, 2012, 04:10 |
|
#10 |
Senior Member
Julien
Join Date: Jun 2012
Location: France
Posts: 152
Rep Power: 13 |
My Paraview is version: 3.14.1 64-bit
I tried pitzDailyMapped and it works fine. BUT there IS a constant folder in each processor# directory. I founded the option -constant for decomposePar programm. But it dosenot work properly: decomposePar -constant --> FOAM FATAL IO ERROR: size 247153 is not equal to the given value of 249000 I should emphasis that decomposePar with no arguments works properly. Before this, I - ran blockMesh, (=> 249000 cells) - edited decomposeParDict to put "ptscotch", - ran snappyHexMesh (=> 247153 cells) Thanks for your help, Djub Last edited by Djub; December 4, 2012 at 06:04. Reason: To complete my Post before any answer has been given |
|
December 4, 2012, 16:11 |
|
#11 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Hi Djub,
OK, now it's starting to make more sense! Although... there are two possibilities from your description:
Best regards, Bruno
__________________
|
|
December 5, 2012, 04:22 |
|
#12 |
Senior Member
Julien
Join Date: Jun 2012
Location: France
Posts: 152
Rep Power: 13 |
By Bruno,
For the moment, I run sHM in normal mode because it is still too difficult in parallel (I am working on it but with no success!). So, you think that I should run - sHM with -overwrite and - decomposePar with -constant Yes? I tried like this. There is no more paraView error (and the processor#/constant folders exist), BUT paraView crashes (a window from windows saying "paraView.exe has stopped working"). I precise that running on reconstruct case works (for time 0, I have both original and decomposed cases). One solution is -of cource!- to reconstruct my case before to view it. But I am a bit disapointed ! It would be very more convenient without this additional step! Last edited by Djub; December 6, 2012 at 11:12. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Compile Fluent UDF with Windows 10 | daniel_pramudita | FLUENT | 15 | May 13, 2020 22:29 |
[OpenFOAM.com] paraFoam cannot open due to Qt issues - [Solved/Information] | u2berggeist | OpenFOAM Installation | 2 | July 2, 2018 17:03 |
CFX11 + Fortran compiler ? | Mohan | CFX | 20 | March 30, 2011 18:56 |
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 | wyldckat | OpenFOAM Announcements from Other Sources | 3 | September 8, 2010 06:25 |
[OpenFOAM] Install paraFoam on Windows for postprocessing | melanie | ParaView | 11 | March 13, 2010 17:44 |