CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Paraview & paraFoam (http://www.cfd-online.com/Forums/openfoam-paraview/)
-   -   Problem switching from terminal to paraView (http://www.cfd-online.com/Forums/openfoam-paraview/104859-problem-switching-terminal-paraview.html)

Maxime Thomas July 17, 2012 08:34

Problem switching from terminal to paraView
 
Hi everybody,

I'm new in this forum, I've registered today because I've been looking for different thread linked to my problem but I didn't find anything yet.

I'm working on Ubuntu 11.04 Natty, OpenFoam 1.7.1 and paraView 3.8.0.
I'm a begginer in CFD and in OpenFoam so I've tried to do the first tutorial called "Cavity" and I immediatly noticed that after doing "blockMesh" and paraFoam, an error message appeared:

"Application asked to unregister timer 0x6d00000d which is not registered in this thread. Fix application."
or other similar messages with the number after timer that changes.

This message appears each time I type paraFoam or I click on apply to display my block in the pipeline browser. Then I can use paraView normally, but the problem is that the terminal is blocked and I can't type icoFoam to run the program with new parameters. I am forced to close paraView, run icoFoam and open paraView again (which is quite annoying).

If somebody has any idea to help me it would be great. Please be tolerant with me I'm a poor French Windows user but I'll do my best to fix this!

Maxime

wyldckat July 17, 2012 09:38

Greetings Maxime and welcome to the forum!

If you kept reading, you would find this section: 2.1.5.5 Running the code as a background process

In other words, you can launch paraFoam as a background application by running with an ampersand in front:
Code:

paraFoam &
For a bit more information on this: http://hacktux.com/bash/ampersand


As for the warning given in ParaView... I think that one can be fixed if you upgrade or additionally install the latest OpenFOAM version: http://www.openfoam.org/download/ubuntu.php

Best regards,
Bruno

Maxime Thomas July 18, 2012 06:16

Thanks and other question about Khamsin
 
Hello,

Thank you Wyldckat, I approximately figured out my problems. You were right for the background application, now it works well with "paraFoam &", there's still something I don't get: is there a difference once I launched paraview if I type "paraFoam &" or "icoFoam &" because apparently it does the same thing but I'm not sure about the reason why.

Also it took me hours to install the latest version of OpenFoam but I finally completed it, even if I didn't manage to remove the former version 1.7.1 that was already installed. It's not a big deal, I just have the two versions installed.
The error message is still here, but it doesn't seem to prevent me from using ParaView correctly, it just appears sometimes, I close it and that's it.

I'm going to have several simulations to do for a design of a ventilation system with different geometries. Does anybody know if the Sketchup plugin called Khamsin is worth using? Because it seems to be quite complicated to be installed from Ubuntu as G Sketchup doesn't run under Linux...

Thanks again Wyldckat for this quick answer!

Maxime


All times are GMT -4. The time now is 04:34.