CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

icoFsiFoam in OF1.6-ext does not work

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 7, 2011, 15:42
Default icoFsiFoam in OF1.6-ext does not work
  #1
Senior Member
 
Join Date: Jun 2011
Posts: 163
Rep Power: 15
mechy is on a distinguished road
Hi all

I add to "sources.list"
deb http://ppa.launchpad.net/cae-team/ppa/ubuntu/ lucid main
deb-src http://ppa.launchpad.net/cae-team/ppa/ubuntu/ lucid main


then I install openfoam-1.6-ext by synaptic
the solvers of openfoam is worked correctly
except icoFsiFoam solver
when I execute ./Allrun in (flappingConsoleSmall icoFsiFoam tuturial ) I encounter bellow error

blockMesh already run on /home/yas/OpenFOAM/yas-1.6-ext/run/tutorials/stressAnalysis/icoFsiFoam/flappingConsoleSmall/fluid: remove log file to run
ln: creating symbolic link `solid/constant': File exists
ln: creating symbolic link `solid/0': File exists
blockMesh already run on /home/yas/OpenFOAM/yas-1.6-ext/run/tutorials/stressAnalysis/icoFsiFoam/flappingConsoleSmall/solid: remove log file to run
/home/yas/OpenFOAM/yas-1.6-ext/run/tutorials/stressAnalysis/icoFsiFoam/flappingConsoleSmall
./Allrun: 23: makeFsiCaseLinks: not found
icoFsiFoam already run on /home/yas/OpenFOAM/yas-1.6-ext/run/tutorials/stressAnalysis/icoFsiFoam/flappingConsoleSmall/fluid: remove log file to run
./Allrun: 27: makeFsiResultsLinks: not found


also I can not run ./Allwmake in application folder (cannot create directory `linux64GccDPOpt': Permission denied)
and when I use sudo ./Allwmake I enconter bellow error

Error: Current directory in not $WM_PROJECT_DIR/applications
The environment variable are not consistent with the installation.
Check the OpenFOAM entries in your dot-files and source them.


how can I remove this error ?

Yasser
mechy is offline   Reply With Quote

Old   July 24, 2011, 10:57
Default
  #2
Member
 
Santiago
Join Date: Dec 2009
Posts: 85
Rep Power: 17
gascortado is on a distinguished road
Quote:
Originally Posted by mechy View Post
Hi all

I add to "sources.list"
deb http://ppa.launchpad.net/cae-team/ppa/ubuntu/ lucid main
deb-src http://ppa.launchpad.net/cae-team/ppa/ubuntu/ lucid main


then I install openfoam-1.6-ext by synaptic
the solvers of openfoam is worked correctly
except icoFsiFoam solver
when I execute ./Allrun in (flappingConsoleSmall icoFsiFoam tuturial ) I encounter bellow error

blockMesh already run on /home/yas/OpenFOAM/yas-1.6-ext/run/tutorials/stressAnalysis/icoFsiFoam/flappingConsoleSmall/fluid: remove log file to run
ln: creating symbolic link `solid/constant': File exists
ln: creating symbolic link `solid/0': File exists
blockMesh already run on /home/yas/OpenFOAM/yas-1.6-ext/run/tutorials/stressAnalysis/icoFsiFoam/flappingConsoleSmall/solid: remove log file to run
/home/yas/OpenFOAM/yas-1.6-ext/run/tutorials/stressAnalysis/icoFsiFoam/flappingConsoleSmall
./Allrun: 23: makeFsiCaseLinks: not found
icoFsiFoam already run on /home/yas/OpenFOAM/yas-1.6-ext/run/tutorials/stressAnalysis/icoFsiFoam/flappingConsoleSmall/fluid: remove log file to run
./Allrun: 27: makeFsiResultsLinks: not found

how can I remove this error ?

Yasser
I have these same errors and I cannot make icoFsiFoam to run. Does anyone knows how to solve this issue? Thanks
gascortado is offline   Reply With Quote

Old   July 25, 2011, 02:44
Default
  #3
Senior Member
 
Join Date: Jun 2011
Posts: 163
Rep Power: 15
mechy is on a distinguished road
replace your RunFunctions (in bin/tools/) with the latest version at
http://openfoam-extend.svn.sourcefor...ext/bin/tools/
mechy is offline   Reply With Quote

Old   July 25, 2011, 23:40
Default
  #4
Member
 
Santiago
Join Date: Dec 2009
Posts: 85
Rep Power: 17
gascortado is on a distinguished road
Hi Mechy, thanks for you reply.

I recently downloaded OF-1.6-ext. In bin/tools the RunFunctions file looks just like the one that your link has:

makeFsiCaseLinks ()
{
cd $1
cd system
ln -s ../../$2/system $2
cd ../constant
ln -s ../../$2/constant $2
cd ../0
ln -s ../../$2/0 $2
cd ../..
}

makeFsiResultsLinks ()
{
cd $1
TIME_DIRS=`foamInfoExec -times | sed '1,/constant/d'`
echo "makeFsiResultsLinks for" $TIME_DIRS
cd ../$2
for T in $TIME_DIRS
do
ln -s ../$1/${T}/solid ${T}
done
cd ..
}


however when I run /.allrun I get the error. I also tried to compile the solver with "wmake all" and I get the following error:

Making dependency list for source file tractionDisplacement/tractionDisplacementFvPatchVectorField.C
could not open file tetFemMatrices.H for source file icoFsiFoam.C
could not open file tetPointFields.H for source file icoFsiFoam.C
could not open file faceTetPolyPatch.H for source file icoFsiFoam.C
could not open file tetPolyPatchInterpolation.H for source file icoFsiFoam.C
could not open file fixedValueTetPolyPatchFields.H for source file icoFsiFoam.C
SOURCE=tractionDisplacement/tractionDisplacementFvPatchVectorField.C ; g++ -m32 -Dlinux -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/usr/lib/OpenFOAM-1.6-ext/src/finiteVolume/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/dynamicMesh/dynamicFvMesh/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/dynamicMesh/dynamicMesh/lnInclude -DFACE_DECOMP -I/usr/lib/OpenFOAM-1.6-ext/src/tetDecompositionFiniteElement/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/dynamicMesh/meshMotion/tetDecompositionMotionSolver/lnInclude -IlnInclude -I. -I/usr/lib/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGccDPOpt/tractionDisplacementFvPatchVectorField.o
SOURCE=icoFsiFoam.C ; g++ -m32 -Dlinux -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/usr/lib/OpenFOAM-1.6-ext/src/finiteVolume/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/dynamicMesh/dynamicFvMesh/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/dynamicMesh/dynamicMesh/lnInclude -DFACE_DECOMP -I/usr/lib/OpenFOAM-1.6-ext/src/tetDecompositionFiniteElement/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/dynamicMesh/meshMotion/tetDecompositionMotionSolver/lnInclude -IlnInclude -I. -I/usr/lib/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGccDPOpt/icoFsiFoam.o
icoFsiFoam.C:38: fatal error: tetFemMatrices.H: No such file or directory
compilation terminated.
make: *** [Make/linuxGccDPOpt/icoFsiFoam.o] Error 1
make: *** Waiting for unfinished jobs....
santiago@santiago-laptop:~/OpenFOAM/OpenFOAM-1.6-ext/applications/solvers/stressAnalysis/icoFsiFoam$ wmake all
SOURCE=icoFsiFoam.C ; g++ -m32 -Dlinux -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/usr/lib/OpenFOAM-1.6-ext/src/finiteVolume/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/dynamicMesh/dynamicFvMesh/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/dynamicMesh/dynamicMesh/lnInclude -DFACE_DECOMP -I/usr/lib/OpenFOAM-1.6-ext/src/tetDecompositionFiniteElement/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/dynamicMesh/meshMotion/tetDecompositionMotionSolver/lnInclude -IlnInclude -I. -I/usr/lib/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGccDPOpt/icoFsiFoam.o
icoFsiFoam.C:38: fatal error: tetFemMatrices.H: No such file or directory
compilation terminated.
make: *** [Make/linuxGccDPOpt/icoFsiFoam.o] Error 1
santiago@santiago-laptop:~/OpenFOAM/OpenFOAM-1.6-ext/applications/solvers/stressAnalysis/icoFsiFoam$ cd
santiago@santiago-laptop:~$ cd $FOAM_RUN/Thesis/FSI/solverAndTestCaseFSI/testVorflexFoam
santiago@santiago-laptop:~/OpenFOAM/santiago-1.6-ext/run/Thesis/FSI/solverAndTestCaseFSI/testVorflexFoam$ ./Allrun
bash: ./Allrun: No such file or directory
santiago@santiago-laptop:~/OpenFOAM/santiago-1.6-ext/run/Thesis/FSI/solverAndTestCaseFSI/testVorflexFoam$ wmake all
SOURCE=testVorflexFoam.C ; g++ -m32 -Dlinux -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/usr/lib/OpenFOAM-1.6-ext/src/dynamicMesh/dynamicFvMesh/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/dynamicMesh/dynamicMesh/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/meshTools/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/turbulenceModels/incompressible/turbulenceModel -I/usr/lib/OpenFOAM-1.6-ext/src/transportModels -I/usr/lib/OpenFOAM-1.6-ext/src/transportModels/incompressible/singlePhaseTransportModel -I/usr/lib/OpenFOAM-1.6-ext/src/finiteVolume/lnInclude -DFACE_DECOMP -I/usr/lib/OpenFOAM-1.6-ext/src/tetDecompositionFiniteElement/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/dynamicMesh/meshMotion/tetDecompositionMotionSolver/lnInclude -IlnInclude -I. -I/usr/lib/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGccDPOpt/testVorflexFoam.o
testVorflexFoam.C:41: fatal error: tetFemMatrices.H: No such file or directory
compilation terminated.
make: *** [Make/linuxGccDPOpt/testVorflexFoam.o] Error 1


however, I looked into OpenFOAM-1.6-ext/SRC/tetDecompositionFiniteElement/tetFemMatrix and all of the files that are mentioned in the error above are there (e.g tetFemMatrices). I dont understand why is not reading the files. Is it possible that the compiler is not looking in the right folder for these files?

I would appreciate any help. Thanks man
gascortado is offline   Reply With Quote

Old   July 26, 2011, 04:14
Default
  #5
Senior Member
 
Join Date: Jun 2011
Posts: 163
Rep Power: 15
mechy is on a distinguished road
are you install OF-1.6-ext from source file ?
for installation follow the bellow steps

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E0BD7612

add to your "sources.list" /etc/apt/sources.list.d/debian.list (on a real debian distribution)
deb http://ppa.launchpad.net/cae-team/ppa/ubuntu/ lucid main
deb-src http://ppa.launchpad.net/cae-team/ppa/ubuntu/ lucid main

#deb http://ftp.debian.org/debian/ sid main contrib non-free #non-free is needed for libparmetis3.1 (this line is only necessary on some debian based distibutions like SIDUX)

sudo apt-get install openfoam-1.6-ext openfoam-1.6-ext-dev

add the following line to your ~/.bashrc
alias startOF16ext='source /usr/lib/OpenFOAM-1.6-ext/etc/bashrc'
startOF16ext
# source the OpenFOAM aliases (src, tut, sol, ...)
source $WM_PROJECT_DIR/etc/aliases.sh

in (settings.sh) change FOAM_TUTORIALS
export FOAM_TUTORIALS=/usr/share/doc/openfoam-1.6-ext/examples

# create $FOAM_RUN firectory
mkdir -p $HOME/OpenFOAM/${USER}-${WM_PROJECT_VERSION}/run

cp -r $FOAM_TUTORIALS $HOME/OpenFOAM/${USER}-${WM_PROJECT_VERSION}/run
mechy is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
ATTENTION! Reliability problems in CFX 5.7 Joseph CFX 14 April 20, 2010 16:45
work station power needed Greg Main CFD Forum 4 September 16, 2008 04:29
cfx+Fortran cannot work with 2 CPUs on windows PC lee CFX 1 May 8, 2006 11:36
Help! Subroutine can't work! Miko CFX 6 June 4, 2003 22:04
Work Space Allocation ? Farid CFX 1 September 5, 2002 14:03


All times are GMT -4. The time now is 22:10.