[Risolto] INSTALLAZIONE OpenFOAM 1.7.1 SU UBUNTU
Re: INSTALLAZIONE OpenFOAM 1.7.1 SU UBUNTU
Scusami se ti rispondo adesso ma ho avuto un imprevisto.....
Ecco il risultato:
spinosa@ubuntu:~$ ls -l /opt/openfoam171/etc/
totale 108
-rw-r--r-- 1 root root 2383 2010-10-18 16:44 aliases.csh
-rw-r--r-- 1 root root 2365 2010-10-18 16:44 aliases.sh
drwxr-xr-x 5 root root 4096 2010-12-22 14:44 apps
-rw-r--r-- 1 root root 8420 2010-11-09 15:15 bashrc
-rw-r--r-- 1 root root 7754 2010-10-18 16:44 cellModels
-rw-r--r-- 1 root root 27486 2010-10-18 16:44 controlDict
-rw-r--r-- 1 root root 8859 2010-10-18 16:44 cshrc
-rw-r--r-- 1 root root 1904 2010-10-18 16:44 prefs.csh-EXAMPLE
-rw-r--r-- 1 root root 1891 2010-10-18 16:44 prefs.sh-EXAMPLE
-rw-r--r-- 1 root root 10332 2010-10-18 16:44 settings.csh
-rw-r--r-- 1 root root 10034 2010-10-18 16:44 settings.sh
drwxr-xr-x 2 root root 4096 2010-12-22 14:44 thermoData
spinosa@ubuntu:~$ tail -n 5 ~/.bashrc
# sources /etc/bash.bashrc).
if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
. /etc/bash_completion
fi
. /opt/openfoam171/etc/bashrc
spinosa@ubuntu:~$
Grazie ancora x la tua disponibiltà
Ecco il risultato:
spinosa@ubuntu:~$ ls -l /opt/openfoam171/etc/
totale 108
-rw-r--r-- 1 root root 2383 2010-10-18 16:44 aliases.csh
-rw-r--r-- 1 root root 2365 2010-10-18 16:44 aliases.sh
drwxr-xr-x 5 root root 4096 2010-12-22 14:44 apps
-rw-r--r-- 1 root root 8420 2010-11-09 15:15 bashrc
-rw-r--r-- 1 root root 7754 2010-10-18 16:44 cellModels
-rw-r--r-- 1 root root 27486 2010-10-18 16:44 controlDict
-rw-r--r-- 1 root root 8859 2010-10-18 16:44 cshrc
-rw-r--r-- 1 root root 1904 2010-10-18 16:44 prefs.csh-EXAMPLE
-rw-r--r-- 1 root root 1891 2010-10-18 16:44 prefs.sh-EXAMPLE
-rw-r--r-- 1 root root 10332 2010-10-18 16:44 settings.csh
-rw-r--r-- 1 root root 10034 2010-10-18 16:44 settings.sh
drwxr-xr-x 2 root root 4096 2010-12-22 14:44 thermoData
spinosa@ubuntu:~$ tail -n 5 ~/.bashrc
# sources /etc/bash.bashrc).
if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
. /etc/bash_completion
fi
. /opt/openfoam171/etc/bashrc
spinosa@ubuntu:~$
Grazie ancora x la tua disponibiltà
Re: INSTALLAZIONE OpenFOAM 1.7.1 SU UBUNTU
mi pare che openfoam sia installato ora. dov'è il problema?
Re: INSTALLAZIONE OpenFOAM 1.7.1 SU UBUNTU
Le istruzioni dicono:
# Open a new2 \relax \special {t4ht= terminal window and test that the icoFoam application, from the OpenFOAM package, is working by typing
icoFoam -help
# A “Usage” message should appear. Your installation and user configuration is complete.
Il risultato sul mio terminale è:
spinosa@ubuntu:~$ icoFoam -help
Usage: icoFoam [-parallel] [-case dir] [-help] [-doc] [-srcDoc]
Che significa?
# Open a new2 \relax \special {t4ht= terminal window and test that the icoFoam application, from the OpenFOAM package, is working by typing
icoFoam -help
# A “Usage” message should appear. Your installation and user configuration is complete.
Il risultato sul mio terminale è:
spinosa@ubuntu:~$ icoFoam -help
Usage: icoFoam [-parallel] [-case dir] [-help] [-doc] [-srcDoc]
Che significa?
Re: INSTALLAZIONE OpenFOAM 1.7.1 SU UBUNTU
vuol dire che funziona 
Re: INSTALLAZIONE OpenFOAM 1.7.1 SU UBUNTU
significa che il comando icoFoam si può usare con le opzioni che ti vengono scritte.
Re: INSTALLAZIONE OpenFOAM 1.7.1 SU UBUNTU
Davvero?!? Grazie ragazzi...
Adesso per cominciare ad usare il programma, nella guida c'è scritto:
Getting Started
Create a project directory within the $HOME/OpenFOAM directory named -1.7.1 (e.g. chris-1.7.1 for user chris and OpenFOAM version 1.7.1) and create a directory named run within it, e.g. by typing:
* mkdir -p $FOAM_RUN
Copy the tutorial examples directory in the OpenFOAM distribution to the run directory. If the OpenFOAM environment variables are set correctly, then the following command will be correct:
* cp -r $FOAM_TUTORIALS $FOAM_RUN
Run the first example case of incompressible laminar flow in a cavity:
* cd $FOAM_RUN/tutorials/incompressible/icoFoam/cavity
* blockMesh
* icoFoam
* paraFoam
Refer to the OpenFOAM User Guide to get started.
Reporting Bugs in OpenFOAM
We appreciate that bugs in OpenFOAM are reported so we can fix them. Please refer to the OpenFOAM bugs pages to report bugs.
Nel mio caso, devo procedere allo stesso modo?
Adesso per cominciare ad usare il programma, nella guida c'è scritto:
Getting Started
Create a project directory within the $HOME/OpenFOAM directory named -1.7.1 (e.g. chris-1.7.1 for user chris and OpenFOAM version 1.7.1) and create a directory named run within it, e.g. by typing:
* mkdir -p $FOAM_RUN
Copy the tutorial examples directory in the OpenFOAM distribution to the run directory. If the OpenFOAM environment variables are set correctly, then the following command will be correct:
* cp -r $FOAM_TUTORIALS $FOAM_RUN
Run the first example case of incompressible laminar flow in a cavity:
* cd $FOAM_RUN/tutorials/incompressible/icoFoam/cavity
* blockMesh
* icoFoam
* paraFoam
Refer to the OpenFOAM User Guide to get started.
Reporting Bugs in OpenFOAM
We appreciate that bugs in OpenFOAM are reported so we can fix them. Please refer to the OpenFOAM bugs pages to report bugs.
Nel mio caso, devo procedere allo stesso modo?
Re: INSTALLAZIONE OpenFOAM 1.7.1 SU UBUNTU
beh, se vuoi usare il programma penso che devi seguire queste indicazioni
Re: INSTALLAZIONE OpenFOAM 1.7.1 SU UBUNTU
Ok grazie ReMichael....
Un'ultima cosa, ma qnd mi dice: Copy the tutorial examples directory in the OpenFOAM distribution to the run directory.
Come si fà?
Per trovare un programma in linux con le sue cartelle, come si fà?
Un'ultima cosa, ma qnd mi dice: Copy the tutorial examples directory in the OpenFOAM distribution to the run directory.
Come si fà?
Per trovare un programma in linux con le sue cartelle, come si fà?
Re: INSTALLAZIONE OpenFOAM 1.7.1 SU UBUNTU
spina1985, quello è solo un tutorial, ma è utile per farti capire alcune potenzialità del software. comunque, prima di imparare ad utilizzare openfoam, ti consiglierei vivamente di imparare ad usare linux, più che altro perché il primo è strettamente connesso al secondo.
Re: INSTALLAZIONE OpenFOAM 1.7.1 SU UBUNTU
sono d'accordo con quanto detto da zeruel85, ti conviene imparare almeno i comandi base per poter gestire un sistema linux.
detto questo, la guida ti scrive sotto il comando che devi utilizzare:
detto questo, la guida ti scrive sotto il comando che devi utilizzare:
Codice: Seleziona tutto
cp -r $FOAM_TUTORIALS $FOAM_RUNRe: INSTALLAZIONE OpenFOAM 1.7.1 SU UBUNTU
Sono pienamente d'accordo con voi ragazzi.....
Grazie mille ReMichael sei stato davvero molto gentile, senza di te nn so come avrei fatto.
Buone feste a tutti.
Grazie mille ReMichael sei stato davvero molto gentile, senza di te nn so come avrei fatto.
Buone feste a tutti.
Re: INSTALLAZIONE OpenFOAM 1.7.1 SU UBUNTU
per favore, metti [Risolto] davanti al titolo del primo post. basta che torni al primo post e clicchi sul tasto "modifica".
Chi c’è in linea
Visualizzano questa sezione: Bing [Bot] e 9 ospiti

