CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   fsiFoam tutorials won't run (https://www.cfd-online.com/Forums/openfoam-solving/188221-fsifoam-tutorials-wont-run.html)

AES May 25, 2017 15:07

fsiFoam tutorials won't run
 
Hi All,

I'm new here. I apologize if I'm not posting in the correct subforum.

I'm a fairly competent OpenFoam user working on MAC OS X. I have installed and run tutorial problems in foam-extend-4.0 with no problem. However, I installed the Fluid-structure interaction toolkit (Fsi_40.tar.gz --> FluidSolidInteraction when unzipped) and I can't run the tutorials.

When I try to run the 3dTube tutorial with ./Allrun I get the a series of errors all containing the line:

Abort trap: 6 $APP_RUN $* > $LOG_NAME 2>&1

Here are the errors I get:

bash-3.2$ ./Allrun
Running blockMesh on /Users/myusername/foam/myusername-4.0/run/3dTube/fluid
/Users/myusername/foam/foam-extend-4.0/bin/tools/RunFunctions: line 37: 32073 Abort trap: 6 $APP_RUN $* > $LOG_NAME 2>&1
Running setSet on /Users/myusername/foam/myusername-4.0/run/3dTube/fluid
/Users/myusername/foam/foam-extend-4.0/bin/tools/RunFunctions: line 37: 32075 Abort trap: 6 $APP_RUN $* > $LOG_NAME 2>&1
Running setsToZones on /Users/myusername/foam/myusername-4.0/run/3dTube/fluid
/Users/myusername/foam/foam-extend-4.0/bin/tools/RunFunctions: line 37: 32076 Abort trap: 6 $APP_RUN $* > $LOG_NAME 2>&1
Running blockMesh on /Users/myusername/foam/myusername-4.0/run/3dTube/fluid
/Users/myusername/foam/foam-extend-4.0/bin/tools/RunFunctions: line 37: 32077 Abort trap: 6 $APP_RUN $* > $LOG_NAME 2>&1
Running setSet on /Users/myusername/foam/myusername-4.0/run/3dTube/fluid
/Users/myusername/foam/foam-extend-4.0/bin/tools/RunFunctions: line 37: 32078 Abort trap: 6 $APP_RUN $* > $LOG_NAME 2>&1
Running setsToZones on /Users/myusername/foam/myusername-4.0/run/3dTube/fluid
/Users/myusername/foam/foam-extend-4.0/bin/tools/RunFunctions: line 37: 32079 Abort trap: 6 $APP_RUN $* > $LOG_NAME 2>&1
Running fsiFoam on /Users/myusername/foam/myusername-4.0/run/3dTube/fluid


Any ideas?

TIA!

skyoung June 10, 2017 21:46

Hello everyone and AES, I meet a similar error,do you fix it?
 
/group/pawsey0115/skyoung/foam/foam-extend-4.0/etc/bashrc: line 75: cation: command not found
Application 7650366 resources: utime ~0s, stime ~0s, Rss ~4904, inblocks ~77, outblocks ~128
rm: cannot remove `0/solid': No such file or directory
rm: cannot remove `constant/solid': No such file or directory
rm: cannot remove `system/solid': No such file or directory
Application 7650367 resources: utime ~0s, stime ~0s, Rss ~4904, inblocks ~45, outblocks ~0
Application 7650369 resources: utime ~0s, stime ~0s, Rss ~4904, inblocks ~45, outblocks ~0
Cleaning /group/pawsey0115/skyoung/foam/foam-extend-4.0/extend-bazaar/FluidSolidInteraction/run/weakFsiFoam/beamInCrossFlow/fluid case
Cleaning /group/pawsey0115/skyoung/foam/foam-extend-4.0/extend-bazaar/FluidSolidInteraction/run/weakFsiFoam/beamInCrossFlow/solid case
wclean setInletVelocity
Application 7650370 resources: utime ~0s, stime ~0s, Rss ~4904, inblocks ~777, outblocks ~18
Running blockMesh on /group/pawsey0115/skyoung/foam/foam-extend-4.0/extend-bazaar/FluidSolidInteraction/run/weakFsiFoam/beamInCrossFlow/fluid
Running setSet on /group/pawsey0115/skyoung/foam/foam-extend-4.0/extend-bazaar/FluidSolidInteraction/run/weakFsiFoam/beamInCrossFlow/fluid
/group/pawsey0115/skyoung/foam/foam-extend-4.0/bin/tools/RunFunctions: line 37: 12445 Aborted $APP_RUN $* > $LOG_NAME 2>&1
Running setsToZones on /group/pawsey0115/skyoung/foam/foam-extend-4.0/extend-bazaar/FluidSolidInteraction/run/weakFsiFoam/beamInCrossFlow/fluid
/group/pawsey0115/skyoung/foam/foam-extend-4.0/bin/tools/RunFunctions: line 37: 12447 Aborted $APP_RUN $* > $LOG_NAME 2>&1
Running blockMesh on /group/pawsey0115/skyoung/foam/foam-extend-4.0/extend-bazaar/FluidSolidInteraction/run/weakFsiFoam/beamInCrossFlow/fluid
/group/pawsey0115/skyoung/foam/foam-extend-4.0/bin/tools/RunFunctions: line 37: 12461 Aborted $APP_RUN $* > $LOG_NAME 2>&1
Running setSet on /group/pawsey0115/skyoung/foam/foam-extend-4.0/extend-bazaar/FluidSolidInteraction/run/weakFsiFoam/beamInCrossFlow/fluid
/group/pawsey0115/skyoung/foam/foam-extend-4.0/bin/tools/RunFunctions: line 37: 12476 Aborted $APP_RUN $* > $LOG_NAME 2>&1
Running setsToZones on /group/pawsey0115/skyoung/foam/foam-extend-4.0/extend-bazaar/FluidSolidInteraction/run/weakFsiFoam/beamInCrossFlow/fluid
/group/pawsey0115/skyoung/foam/foam-extend-4.0/bin/tools/RunFunctions: line 37: 12480 Aborted $APP_RUN $* > $LOG_NAME 2>&1
wmakeLnInclude: linking include files to ./lnInclude
Making dependency list for source file setInletVelocity.C
SOURCE=setInletVelocity.C ; CC -Dcrayxc -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wno-unused-local-typedefs -O3 -DNoRepository -ftemplate-depth-100 -I../../../../src/fluidSolidInteraction/lnInclude -I/group/pawsey0115/skyoung/foam/foam-extend-4.0/src/finiteVolume/lnInclude -I/group/pawsey0115/skyoung/foam/foam-extend-4.0/src/finiteArea/lnInclude -I/group/pawsey0115/skyoung/foam/foam-extend-4.0/src/meshTools/lnInclude -I/group/pawsey0115/skyoung/foam/foam-extend-4.0/src/dynamicMesh/dynamicFvMesh/lnInclude -I/group/pawsey0115/skyoung/foam/foam-extend-4.0/src/lagrangian/basic/lnInclude -IlnInclude -I. -I/group/pawsey0115/skyoung/foam/foam-extend-4.0/src/foam/lnInclude -I/group/pawsey0115/skyoung/foam/foam-extend-4.0/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/crayxcGccDPOpt/setInletVelocity.o
'/group/pawsey0115/skyoung/foam/foam-extend-4.0/lib/crayxcGccDPOpt/libsetInletVelocity.so' is up to date.
Running weakFsiFoam on /group/pawsey0115/skyoung/foam/foam-extend-4.0/extend-bazaar/FluidSolidInteraction/run/weakFsiFoam/beamInCrossFlow/fluid
/group/pawsey0115/skyoung/foam/foam-extend-4.0/bin/tools/RunFunctions: line 37: 12596 Aborted $APP_RUN $* > $LOG_NAME 2>&1
Application 7650371 exit codes: 134
Application 7650371 resources: utime ~2s, stime ~2s, Rss ~210344, inblocks ~168483, outblocks ~915

AES June 12, 2017 11:31

Hi skyoung,

No, I didn't manage to fix it. I tried install earlier versions of foam-extend and fsiFoam, it's still not working but I'm getting different errors...

skyoung June 12, 2017 21:05

I try it on Ubuntu, it works well. But on a Cray XC40 supercomputer, it doesn't work and occurs the above errors. I checked the log.blockmesh, I found it is successful. But log.setSet, it failed and reminded me "a ")"request in the line...".Then I checked the point-file in the folder of polymesh, but it is normal. I am so confused.

AES June 13, 2017 10:45

OK, so I got fsiFoam/FluidSturctureInteraction to work on my Mac -- but to do that I had to download Oracle's VirtualBox to run a virtual Ubuntu OS on my Mac. Then I followed the directions for installing foam-extend and FluidStructureInteraction on Linux and everything works fine. It's kind of an extreme solution, but it works. The openFoam documentation is just so much better for Linux than for Mac OS.


All times are GMT -4. The time now is 18:50.