|
[Sponsors] |
[OpenFOAM] Problem switching from terminal to paraView |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 17, 2012, 09:34 |
Problem switching from terminal to paraView
|
#1 |
New Member
Maxime Thomas
Join Date: Jul 2012
Posts: 4
Rep Power: 14 |
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 |
|
July 17, 2012, 10:38 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
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 & 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
__________________
|
|
July 18, 2012, 07:16 |
Thanks and other question about Khamsin
|
#3 |
New Member
Maxime Thomas
Join Date: Jul 2012
Posts: 4
Rep Power: 14 |
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 |
|
January 17, 2014, 00:51 |
|
#4 |
New Member
Steven
Join Date: Jan 2014
Posts: 14
Rep Power: 12 |
Hi everyone,
Sorry for digging up this old thread, but I am having a similar issue as the original poster. I've been going through the lid-driven cavity tutorial and noticed ever since the cavityFine portion where you run the icoFoam as a background process everything runs as a foreground process. i.e., icoFoam > log & cat log For example, before I could run "kate blockMeshDict", keep it open, and run other commands like "paraFoam". While paraFoam is open I could run other commands. Now it seems I have to close everything in order to get the command prompt to pop back up. Does anyone have a clue what has changed, or how to change it back? Thanks in advance! |
|
January 26, 2014, 15:19 |
|
#5 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Steven,
Didn't you read my post #2? The ampersand "&"! It's the ampersand that gives the ability to launch commands and make them run as background jobs. Best regards, Bruno
__________________
|
|
January 26, 2014, 17:28 |
|
#6 |
New Member
Steven
Join Date: Jan 2014
Posts: 14
Rep Power: 12 |
Hi Bruno,
I did read your post but I was more curious about what I had changed that requires me to now use the ampersand. I'm still not to sure what I did but I've learned to just work with it. Thank you for your reply, Steven |
|
January 30, 2014, 18:32 |
|
#7 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Steven,
I forgot to be clear on one detail, regarding these two commands you mentioned in the other post: Code:
icoFoam > log & cat log By the way, if you're curious on learning more about the shell (command line), have a look here: http://linuxcommand.org/learning_the_shell.php Best regards, Bruno
__________________
|
|
January 30, 2014, 22:08 |
|
#8 |
New Member
Steven
Join Date: Jan 2014
Posts: 14
Rep Power: 12 |
Hi Bruno,
Thank you for the clarification, I am slowly learning these things . I am most definitely interested in learning more about the shell (fairly new to the whole Linux thing, but I enjoy it so much now I've completely wiped Windows off my computer), I will take a look, thank you! Regards, Steven |
|
October 2, 2014, 13:22 |
|
#9 | |
New Member
Marta Drabek
Join Date: Oct 2014
Posts: 7
Rep Power: 12 |
Quote:
Thanks, Marta |
||
October 3, 2014, 02:34 |
|
#10 | |
Senior Member
|
Hi,
Quote:
2. Issue "bg" command (this will send paraview to background) |
||
October 4, 2014, 11:59 |
|
#11 | ||
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings to all!
@Marta: Quote:
And how did I find this? Remember reading the following in post #7? Quote:
Best regards, Bruno
__________________
|
|||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[PyFoam] unknown or ambiguous terminal type x11 | Tobi | OpenFOAM Community Contributions | 6 | August 13, 2020 12:09 |
ParaView Execute problem | insta | OpenFOAM Installation | 2 | June 9, 2014 03:37 |
[General] Problem in using paraview | meballav | ParaView | 11 | October 12, 2012 17:03 |
Yet another Paraview problem | gascortado | OpenFOAM | 5 | February 21, 2010 07:39 |
[OpenFOAM] Problem with Colors in ParaView | sven | ParaView | 1 | May 31, 2009 09:13 |