|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Titus van den Brink
Join Date: Apr 2009
Location: breda netherlands
Posts: 17
Rep Power: 17 ![]() |
Every time I start Paraview from the terminal it tries to connect to servers that are non existent. This may take minutes! I tried to find the server.pvsc files that are described in the Paraview wiki but can't find them. Who tackled this problem and is willing to help? I use the compiled OpenFoam 1.7 version of the ETH Zurich (http://www.ifd.mavt.ethz.ch/educatio...foam/of-macosx)
Last edited by Titus; April 19, 2012 at 14:59. |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,978
Blog Entries: 45
Rep Power: 128 ![]() ![]() ![]() ![]() ![]() ![]() |
Greetings Titus,
I don't have a Mac, but I think it's best that you remove the ParaView 3.8.1 provided at that page and replace it with either 3.12.0 or 3.14.0/1 from here: http://www.paraview.org/paraview/resources/software.php Best regards, Bruno
__________________
|
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
Titus van den Brink
Join Date: Apr 2009
Location: breda netherlands
Posts: 17
Rep Power: 17 ![]() |
Thank you for the suggestion. I did but the first thing the 3.14.1 does is trying to connect non existent servers...
Best regards Titus |
|
![]() |
![]() |
![]() |
![]() |
#4 |
Senior Member
|
Move this file to the thrash then restart:
your_user/Library/Preferences/paraview.plist If it doesn't work delete again the above mentioned file (which will have been re-created by now) and the following (using the Terminal): your_user/.config/ParaView This way you'll lose all of your preferences in Paraview but you'll probably solve your problem. |
|
![]() |
![]() |
![]() |
![]() |
#5 |
New Member
Titus van den Brink
Join Date: Apr 2009
Location: breda netherlands
Posts: 17
Rep Power: 17 ![]() |
Thank you, but no solution found yet.
I can not find titus/Library/Preferences/paraview.plist I did find however a folder titus/Library/Preferences/Recent Servers. I decided to move this folder to the trash but without effect. Restarted the computer. No effect. Than I removed titus/.config/ParaView. No effect. (In this folder I found ParaView3.14.1.ini (and two older ini's)and server.pvsc) After restart of ParaView 3.14.1 there a new titus/.config/ParaView was created. In this folder now only ParaView3.14.1.ini is found. I can not open this file in terminal. Best regards Titus |
|
![]() |
![]() |
![]() |
![]() |
#6 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,978
Blog Entries: 45
Rep Power: 128 ![]() ![]() ![]() ![]() ![]() ![]() |
That is really strange... OK, try running this command for starting ParaView:
Code:
paraview -dr
__________________
|
|
![]() |
![]() |
![]() |
![]() |
#7 |
New Member
Titus van den Brink
Join Date: Apr 2009
Location: breda netherlands
Posts: 17
Rep Power: 17 ![]() |
Hello Bruno
I tried what you suggested: titus-van-den-brinks-macbook-pro-42:RiesBouwman2 titus$ paraview -dr -bash: paraview: command not found I've reported my first steps in CFD on a human powered vehicle in this blog: http://openfoamforvelomobiling.blogspot.com/ I would be very happy with feedback of an experienced aerodynamisist. |
|
![]() |
![]() |
![]() |
![]() |
#8 |
Senior Member
|
Hi, I had a look at your blog, hope you don't mind.
Seems like a nice job to me, even though it's hard to comment on it if one cannot see the whole domain, the boundary conditions or the mesh all over your domain. Anyway, there's some stuff I'd probably look at: 1. forces: no point in getting numbers from a time step only. You should get an average value from many time steps (i.e 300); 2. what's the Cd? 3. How many iterations did you run? 506 may not be enough… I would suggest you to look at the residual. Plot them against the time step to see if they've reached a stable and close to zero level. 4. I would narrow down the scale of the pressure as from those pictures it's really hard to understand what's going on. Hope this helps. |
|
![]() |
![]() |
![]() |
![]() |
#9 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,978
Blog Entries: 45
Rep Power: 128 ![]() ![]() ![]() ![]() ![]() ![]() |
Hi Titus,
Quote:
Have you seen this page: http://openfoamwiki.net/index.php/Ho...using_ParaView - namely the section "Installing and using ParaView"? Best regards, Bruno
__________________
|
||
![]() |
![]() |
![]() |
![]() |
#10 |
New Member
Titus van den Brink
Join Date: Apr 2009
Location: breda netherlands
Posts: 17
Rep Power: 17 ![]() |
Hi Bruno,
Paraview is installed in my Applications folder: /Applications/ParaView 3.14.1.app/ I took a look at the link you mention ("Installing and using ParaView"). I am a UNIX dummie (I use the compiled OF package for mac OS X of the ETH Zurich). I can't find a ~/.alias file. I did find an aliases.sh and aliases.csh in the OpenFoam/etc folder. Do I have to add the alias for parafoam here or in my .profile file. Every time I start OpenFoam I run setup_foam.sh. This is a script people of the ETH Zurich provided. Maybe I can add the alias there. I use the parafoam command on the terminal command line to start paraview. |
|
![]() |
![]() |
![]() |
![]() |
#11 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,978
Blog Entries: 45
Rep Power: 128 ![]() ![]() ![]() ![]() ![]() ![]() |
Hi Titus,
Mmm... OK, at the end of "setup_foam.sh" you'll find this: Code:
if [ ! -d ~/OpenFOAM/$LOGNAME-$OFVERSION ]; then hdiutil attach -mountroot ~/OpenFOAM $OFUSERIMAGE fi source ~/OpenFOAM/OpenFOAM-$OFVERSION/etc/bashrc } Code:
if [ ! -d ~/OpenFOAM/$LOGNAME-$OFVERSION ]; then hdiutil attach -mountroot ~/OpenFOAM $OFUSERIMAGE fi source ~/OpenFOAM/OpenFOAM-$OFVERSION/etc/bashrc alias paraview="/Applications/ParaView\ 3.14.1.app/Contents/MacOS/paraview" alias parax="touch case.foam && paraview --data=case.foam &" } I'm going to go see if I can download and unpack the images on Linux, to verify if there is anything suspicious ![]() edit: I ended up not seeing the images, because the code is browseable here: https://github.com/themiwi/OpenFOAM-1.7.x-OSX/ Best regards, Bruno
__________________
Last edited by wyldckat; April 21, 2012 at 17:37. Reason: see "edit:" |
|
![]() |
![]() |
![]() |
![]() |
#12 |
New Member
Titus van den Brink
Join Date: Apr 2009
Location: breda netherlands
Posts: 17
Rep Power: 17 ![]() |
Hi Bruno,
I can use the commands paraview and parax from the terminal command line now. tried paraview -dr and parax-dr too. paraview keeps connecting to non existent servers still... this is the place where I got my OF 1.7 http://www.ifd.mavt.ethz.ch/educatio...foam/of-macosx |
|
![]() |
![]() |
![]() |
![]() |
#13 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,978
Blog Entries: 45
Rep Power: 128 ![]() ![]() ![]() ![]() ![]() ![]() |
OK, start a new terminal and do not use "setup_foam". Then run:
Code:
/Applications/ParaView\ 3.14.1.app/Contents/MacOS/paraview Code:
/Applications/ParaView\ 3.14.1.app/Contents/MacOS/paraview -dr
__________________
|
|
![]() |
![]() |
![]() |
![]() |
#14 |
New Member
Titus van den Brink
Join Date: Apr 2009
Location: breda netherlands
Posts: 17
Rep Power: 17 ![]() |
Thank you Bruno !
I found a temporary solution: Instead of starting via paraFoam, I start paraView. When I use the recent file option ParaView does not try to connect to non existing servers. Now I only have to wait once for ParaView trying to connect to non existing servers (as long I do not want to open or save anything). It is not perfect but works ok for now. Hope an other Apple fan solves this issue eventually. |
|
![]() |
![]() |
![]() |
![]() |
#15 |
New Member
Titus van den Brink
Join Date: Apr 2009
Location: breda netherlands
Posts: 17
Rep Power: 17 ![]() |
I would like to add a server.pvsc file to the paraview directory. Does anyone now what this file should look like. (server declaration, port...)
|
|
![]() |
![]() |
![]() |
![]() |
#16 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,978
Blog Entries: 45
Rep Power: 128 ![]() ![]() ![]() ![]() ![]() ![]() |
Hi Titus,
As for the location of the folder, you probably already know this, but it's described in full here: http://paraview.org/Wiki/ParaView:Se...efault_Servers As for the default content, this is what I've got on Linux, in the file "servers.pvsc": Code:
<Servers> <Server name="builtin" resource="builtin:"> <ManualStartup/> </Server> </Servers> Bruno
__________________
|
|
![]() |
![]() |
![]() |
Tags |
connection, default server, mac os, paraview, server |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[blockMesh] Default patches not appearing in paraview | ozzythewise | OpenFOAM Meshing & Mesh Conversion | 9 | September 22, 2017 09:51 |
CFX-Pre problem, pls help!!! | cth_yao | CFX | 0 | February 17, 2012 00:52 |
Newbie: Install ParaView 3.81 on OF-1.6-ext/OpenSuse 11.2? | lentschi | OpenFOAM Installation | 1 | March 9, 2011 02:32 |
Paraview not found | fusij | OpenFOAM Installation | 2 | January 1, 2011 20:44 |
paraFoam reader for OpenFOAM 1.6 | smart | OpenFOAM Installation | 13 | November 16, 2009 21:41 |