|
[Sponsors] |
May 6, 2005, 18:17 |
Hi,
I tried the tutorial, b
|
#1 |
New Member
xiaosi feng
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 3
Rep Power: 17 |
Hi,
I tried the tutorial, but it did not work. Any suggestion? Thanks. Xs. > blockMesh .cavity /*---------------------------------------------------------------------------*\ | ========= | | | \ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \ / O peration | Version: 1.1 | | \ / A nd | Web: http://www.openfoam.org | | \/ M anipulation | | \*---------------------------------------------------------------------------*/ Exec : blockMesh .cavity Date : May 06 2005 Time : 14:06:43 Host : nunatak1.westgrid.ca PID : 809 Usage: blockMesh <root> <case> [-blockTopology] --> FOAM FATAL ERROR : Wrong number of arguments, expected 2 found 1 Function: argList::check() const in file: global/argList/argList.C at line: 458. FOAM exiting >> runFoamX Cannot find JDK at /global/home/xs/OpenFOAM/linux/j2sdk1.4.2_05. Please set JAVA_PATH to the JDK installation directory. |
|
May 6, 2005, 18:59 |
xiaosi
you should
cd
|
#2 |
New Member
Manuel Garcia
Join Date: Mar 2009
Posts: 9
Rep Power: 17 |
xiaosi
you should cd $HOME/OpenFOAM/<username>-1.1/run/tutorials/icoFoam then blockMesh . cavity notice the space between the <root> directory "." and the <case> name "cavity" The second problem is that is not finding java to run runFoamX, You have to be sure that java is installed in your machine and JAVA_PATH set to the proper directory. By the way which OS are you running at? (I'm also running in the westgrid). manuel |
|
May 8, 2005, 00:24 |
Hi manuel,
Thanks for your
|
#3 |
New Member
xiaosi feng
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 3
Rep Power: 17 |
Hi manuel,
Thanks for your reply. >> cd $HOME/OpenFOAM/<username>-1.1/run/tutorials/icoFoam then blockMesh . cavity I did run the command in that directory. nunatak3|xiaosi|25> cd $HOME/OpenFOAM/xiaosi-1.1/run/tutorials/icoFoam nunatak3|icoFoam|26> blockMesh .cavity I already put the Java library into /global/home/xiaosi/OpenFOAM/linux/j2sdk1.4.2_05. How to set the JAVA_PATH? I remembered that the Java path was set in /global/home/xiaosi/OpenFOAM/OpenFOAM-1.1/.cshrc. The OS is RedHat 9.0 at glacier cluster. Xiaosi. |
|
May 8, 2005, 01:24 |
Hi manuel,
I missed the spa
|
#4 |
New Member
xiaosi feng
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 3
Rep Power: 17 |
Hi manuel,
I missed the space. The command is blockMesh . cavity, but I run blockMesh .cavity. Thanks. Xiaosi. |
|
May 10, 2005, 14:18 |
Hi Xiaosi
$JAVA_HOME (not J
|
#5 |
New Member
Manuel Garcia
Join Date: Mar 2009
Posts: 9
Rep Power: 17 |
Hi Xiaosi
$JAVA_HOME (not JAVA_PATH ) is defined in /global/home/xiaosi/OpenFOAM/OpenFOAM-1.1/.cshrc but the default value should work. I also have Redhat9. what do you get with this command? which java |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Why canbt I view the change of U | ivanyao | OpenFOAM Running, Solving & CFD | 0 | January 4, 2009 00:01 |
[OpenFOAM] Help streamline canbt be shown | alice | ParaView | 6 | November 4, 2008 04:49 |
Canbt install on Suse 102 | klausb | OpenFOAM Bugs | 1 | December 1, 2007 21:05 |
[OpenFOAM] Cavity tutorial visualization failure | jabowery | ParaView | 6 | March 7, 2007 00:40 |
[OpenFOAM] HI all I cant find display button in paraview when i execute cavity tutorial there is only parameter button in the paraview | chan | ParaView | 2 | February 13, 2006 08:37 |