|
[Sponsors] |
December 9, 2005, 01:42 |
Hello...
I'm a new user of
|
#1 |
Guest
Posts: n/a
|
Hello...
I'm a new user of foam... I have been studying the tutorials. I'm trying to make run the shockTube of sonicFoam, but from the beginning appears nan when run the program... Can you help me to run the program?... Please. Regards Marcelo. |
|
December 9, 2005, 07:33 |
You most likely forgot to init
|
#2 |
Super Moderator
Niklas Nordin
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 693
Rep Power: 29 |
You most likely forgot to initialize the fields.
Go to the setShock directory and compile the code with wmake. and then run setShock before you run sonicFoam if you get an error message from running setShock you probably forgot to rehash (update the executables in your $PATH). N |
|
December 9, 2005, 15:48 |
I can't run setShock. I did no
|
#3 |
Guest
Posts: n/a
|
I can't run setShock. I did not understand that I had to do to avoid the error...
foam@linux:~/OpenFOAM/foam-1.2/run/tutorials/sonicFoam/shockTube> shockTube . setShock bash: shockTube: command not found foam@linux:~/OpenFOAM/foam-1.2/run/tutorials/sonicFoam/shockTube> Marcelo |
|
December 9, 2005, 17:52 |
Doh!
setShock
|
#4 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33 |
Doh!
setShock <root> <case> setShock $FOAM_RUN shockTube You will, of course, need to compile it first - it lives in the tutorial directory. Better? Hrv
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
December 10, 2005, 02:46 |
Even errors appears... I don't
|
#5 |
Guest
Posts: n/a
|
Even errors appears... I don't know what I am doing badly...
when I write setShock $FOAM_RUN shockTube appear --> FOAM FATAL ERROR : setShock: Cannot open case directory "/home/FOAM/OpenFOAM/foam-1.2/run/shockTube" and when I write ~/OpenFOAM/foam-1.2/run/tutorials/sonicFoam/shockTube> setShock . shockTube appear -> FOAM FATAL ERROR : setShock: Cannot open case directory "/home/FOAM/OpenFOAM/foam-1.2/run/tutorials/sonicFoam/shockTube/shockTube" Marcelo |
|
December 10, 2005, 02:57 |
Hi.
In sonicFoam directory, t
|
#6 |
New Member
Charles Ju
Join Date: Mar 2009
Posts: 15
Rep Power: 17 |
Hi.
In sonicFoam directory, type $ blockMesh . shockTube if you have not done this yet. Then type $ sonicFoam . shockTube Hope this helps. |
|
December 10, 2005, 03:57 |
OK, you did exactly what i sus
|
#7 |
Super Moderator
Niklas Nordin
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 693
Rep Power: 29 |
OK, you did exactly what i suspected, but you obviously dont know enough unix to understand what the problem is, so I suggest you close ALL your terminal windows and open a new terminal window and try in that.
N |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
SonicFoam | stvtiegh | OpenFOAM Running, Solving & CFD | 1 | June 26, 2008 10:30 |
PISO in sonicFoam | srinath | OpenFOAM Running, Solving & CFD | 0 | June 20, 2008 04:21 |
SonicFoam and SIMPLE | lgriffiths | OpenFOAM Running, Solving & CFD | 1 | March 8, 2008 11:28 |
SonicFoam error | 21kalee | OpenFOAM Running, Solving & CFD | 6 | January 2, 2008 15:00 |
SonicFoam 141dev changes what do they mean | mike_jaworski | OpenFOAM Running, Solving & CFD | 0 | December 30, 2007 16:55 |