My OS is ubuntu 12.04,so it was very easy to install code_saturne.
all was OK, but when I try to use fortran functions, it seems not to take them into account :
I have put the files as recommanded (DATA : *.xml SRC : *.f90), and the compilation is OK, excepted some warnings related to unused variables.
Code: Select all
code_saturne is running
***********************
Version: 2.1.0
Path: /usr
Result directory:
/home/...RESU/20120926-1410
Working directory (to be periodically cleaned):
/home/...
Single processor code_saturne simulation.
****************************************
Compiling user subroutines and linking
****************************************
****************************
Preparing calculation data
****************************
***************************
Preprocessing calculation
***************************
**********************
Starting calculation
**********************
****************************
Saving calculation results
****************************
Code: Select all
call getfbr('1 or BC_1 or inlet or entree', nlelt, lstelt)
do ilelt = 1, nlelt
ifac = lstelt(ilelt)
iel = ifabor(ifac)
itypfb(ifac) = ientre
rcodcl(ifac,iu,1) = 0.0d0
rcodcl(ifac,iv,1) = 10.0d0
rcodcl(ifac,iw,1) = 0.0d0
enddo
Is there something to add to force the code to use the fortran functions ?
As I've seen, one has just to add files other than fortran functions in directory DATA, (for exemple ASCII files used by fortran files), and in the code_saturne guide, the fortran files seems to have the priority on xml files !
thank you for your help