|
[Sponsors] |
March 24, 2013, 00:28 |
paraView was working, now not working
|
#1 |
New Member
Join Date: Mar 2013
Posts: 13
Rep Power: 13 |
Hello,
I thought I had paraView working right. I was even able to get most of the way throught the cavity tutorial. But now when I give the command paraFoam, it opens paraView, but doesn't seem to run right. When I run the icoFoam command, it doesn't do anything, then the terminal acts like it is dead. I have included a screen shot of what my terminal says |
|
March 24, 2013, 00:59 |
cavity tutorial problem
|
#2 |
New Member
Join Date: Mar 2013
Posts: 13
Rep Power: 13 |
When trying to run the cavity tutorial and entering the command "paraFoam" paraview opens but then the terminal doesn't accept the icoFoam command, or any other command. I have included a picture of the message my terminal gives me.
What is going on?! I had it running for little while and was halfway through the tutorial, but now I am dead in the water. please help me |
|
March 24, 2013, 14:27 |
|
#3 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi goldbeard,
I've moved your other thread to this one, so that I wouldn't have to ask/answer twice ... I saw from your other thread on GLX issues - http://www.cfd-online.com/Forums/ope...g-display.html - that you have installed Ubuntu 12.10 and OpenFOAM 2.2.0. You didn't mention which exact instructions you followed, so I'll have to assume you've followed the ones on this page: http://www.openfoam.org/download/ubuntu.php So, let's see if I can help you isolate the problem. Questions for diagnosing:
Bruno
__________________
|
|
March 25, 2013, 12:20 |
|
#4 | |
New Member
Join Date: Mar 2013
Posts: 13
Rep Power: 13 |
Quote:
I am using the cavity lid tutorial. I copy and pasted the command: cd $FOAM_RUN/tutorials/incompressible/icoFoam/cavity then I enter the command: blockMesh then the command: paraFoam It stopped working after I ran the command paraFoam. It opened paraView but then I could not enter any more commands. I tried what you said and pressed Control + C and it removed the paraview window from the screen. I was then able to enter the command: icoFoam It worked, then I entered the command: paraFoam and I was up and running again. Is this normal? I unfortunately have no basis for normal. I don't understand why this doesn't follow the tutorial.... Last edited by goldbeard; March 25, 2013 at 12:25. Reason: oops |
||
March 25, 2013, 12:41 |
|
#5 |
New Member
Join Date: Mar 2013
Posts: 13
Rep Power: 13 |
Bruno,
Thank you so much. I was able to go farther with the openfoam tutorial, however after entering paraFoam into the terminal, it won't let me enter another command. I am able to use paraview, but when I want to run another case, the command line in my terminal wont accept commands. Am I not understanding how to use the program, or is something wrong? Thank you very much for you time! Andrew |
|
March 25, 2013, 16:32 |
|
#6 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Andrew,
I was hoping you would get to the section "2.1.5.5 Running the code as a background process" on the user guide: http://www.openfoam.org/docs/user/ca...5-220002.1.5.5 Quote:
Code:
paraFoam & Or if you prefer, the direct link to a more complete tutorial: http://linuxcommand.org/learning_the_shell.php Best regards, Bruno
__________________
|
||
March 25, 2013, 16:33 |
|
#7 |
Senior Member
Armin
Join Date: Feb 2011
Location: Helsinki, Finland
Posts: 156
Rep Power: 19 |
I'm sorry to say this, but from your posts it is quite apparent that you have very little experience with Linux or a command-line shell like "bash", right?
So at first, I would recommend you to do some little tutorial on how to use a command-line interface (CLI) in linux or maybe even better in Ubuntu as I'm not sure which shell Ubuntu uses. OpenFOAM is very much centered around editing text files and using the command-line. So learning how to use it is the price you have to pay for a first class open-source CFD code. Now to give you some immediate help on how to go on and what you are dealing with: paraFoam: This is just a wrapper script to use ParaView with OpenFOAM paraview: This is a open-source post-processing software that can handle OpenFOAM data, but is not part of OpenFOAM When you run commands in the command-line and the programs are still active they "block" the command-line, like you experienced it with paraFoam. If you are in such a situation, you have 3 options: 1) Quit the program that blocks the command-line 2) Start a new shell 3) move the active program to the background like this:
This starts the program in the background, but be careful, you cannot kill this program anymore with control+C. However, this shouldn't be a problem with paraFoam as you can always quit it just in the GUI (Graphical User Interface). Hope this helps! Armin |
|
March 25, 2013, 16:34 |
|
#8 |
Senior Member
Armin
Join Date: Feb 2011
Location: Helsinki, Finland
Posts: 156
Rep Power: 19 |
Seams I wasn't fast enough.
|
|
March 28, 2013, 23:02 |
|
#9 |
New Member
Join Date: Mar 2013
Posts: 13
Rep Power: 13 |
Thanks guys.
I am starting to figure this stuff out. You got me, I am a newb. I love the GUI, so I am out of place here in terminalland. Thank you for the posts and the guides, I am picking my way through them. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[General] Paraview launch & crash problems | dancfd | ParaView | 3 | January 17, 2013 13:04 |
[General] paraview ignores SPACING in STRUCTURED_POINTS vtk data? | jaffar | ParaView | 0 | November 27, 2012 10:36 |
Visualize checkMesh output with Paraview | Horus | OpenFOAM | 1 | May 29, 2012 12:51 |
paraview installation woes | vex | OpenFOAM Installation | 15 | January 30, 2011 08:11 |
OpenFOAM 1.6 and ThirdParty Software Paraview | dunlopjp | OpenFOAM Installation | 0 | February 24, 2010 12:35 |