paraView was working, now not working
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
cavity tutorial problem
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
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:
I am using the cavity lid tutorial.
I copy and pasted the command:
then I enter the command:
then the command:
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:
It worked, then I entered the command:
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....
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!
I was hoping you would get to the section "188.8.131.52 Running the code as a background process" on the user guide: http://www.openfoam.org/docs/user/ca...5-220002.1.5.5
Or if you prefer, the direct link to a more complete tutorial: http://linuxcommand.org/learning_the_shell.php
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!
Seams I wasn't fast enough. :)
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.
|All times are GMT -4. The time now is 04:25.|