Mr. Alasdair Honeyman 0 Report post Posted February 3, 2015 Hi Carsten I have made that change now, still not much progress, error log: [Captured output from application /home/alasdair/OpenFOAM/AH81_OpenFOAM_Propeller/manual_results/baseline/Runner//Allrun]/home/alasdair/OpenFOAM/AH81_OpenFOAM_Propeller/manual_results/baseline/Runner//Allrun: 8: /home/alasdair/OpenFOAM/AH81_OpenFOAM_Propeller/manual_results/baseline/Runner//Allrun: source: not foundRunning blockMesh on /home/alasdair/OpenFOAM/AH81_OpenFOAM_Propeller/manual_results/baseline/RunnerRunning surfaceFeatureExtract on /home/alasdair/OpenFOAM/AH81_OpenFOAM_Propeller/manual_results/baseline/RunnerRunning snappyHexMesh on /home/alasdair/OpenFOAM/AH81_OpenFOAM_Propeller/manual_results/baseline/RunnerRunning renumberMesh on /home/alasdair/OpenFOAM/AH81_OpenFOAM_Propeller/manual_results/baseline/RunnerRunning topoSet on /home/alasdair/OpenFOAM/AH81_OpenFOAM_Propeller/manual_results/baseline/RunnerRunning createPatch on /home/alasdair/OpenFOAM/AH81_OpenFOAM_Propeller/manual_results/baseline/Runner/home/alasdair/OpenFOAM/AH81_OpenFOAM_Propeller/manual_results/baseline/Runner//Allrun: 18: /home/alasdair/OpenFOAM/AH81_OpenFOAM_Propeller/manual_results/baseline/Runner//Allrun: runApplication: not found/home/alasdair/OpenFOAM/AH81_OpenFOAM_Propeller/manual_results/baseline/Runner//Allrun: 1: /home/alasdair/OpenFOAM/AH81_OpenFOAM_Propeller/manual_results/baseline/Runner//Allrun: getApplication: not found/home/alasdair/OpenFOAM/AH81_OpenFOAM_Propeller/manual_results/baseline/Runner//Allrun: 20: /home/alasdair/OpenFOAM/AH81_OpenFOAM_Propeller/manual_results/baseline/Runner//Allrun: runParallel: not found/home/alasdair/OpenFOAM/AH81_OpenFOAM_Propeller/manual_results/baseline/Runner//Allrun: 22: /home/alasdair Allrun file: #!/bin/sh cd ${0%/*} || exit 1 # run from this directory #wmUNSET. /home/alasdair/OpenFOAM/OpenFOAM-2.3.1/etc/bashrc # Source tutorial run functionssource $WM_PROJECT_DIR/bin/tools/RunFunctions chmod +x Allrun.pre touch case.foam ./Allrun.pre runApplication decomposePar runParallel `getApplication` 4 runApplication reconstructPar Sorry that this is taking so long! Alasdair. Share this post Link to post Share on other sites
Mr. Carsten Fuetterer 9 Report post Posted February 3, 2015 no problem, please do not use "source" instead use "." Share this post Link to post Share on other sites
Mr. Alasdair Honeyman 0 Report post Posted February 3, 2015 Hi Carsten, I think we have success! copy of the error log below: [Captured output from application /home/alasdair/OpenFOAM/AH81_OpenFOAM_Propeller/manual_results/baseline/Runner//Allrun]Running blockMesh on /home/alasdair/OpenFOAM/AH81_OpenFOAM_Propeller/manual_results/baseline/RunnerRunning surfaceFeatureExtract on /home/alasdair/OpenFOAM/AH81_OpenFOAM_Propeller/manual_results/baseline/RunnerRunning snappyHexMesh on /home/alasdair/OpenFOAM/AH81_OpenFOAM_Propeller/manual_results/baseline/RunnerRunning renumberMesh on /home/alasdair/OpenFOAM/AH81_OpenFOAM_Propeller/manual_results/baseline/RunnerRunning topoSet on /home/alasdair/OpenFOAM/AH81_OpenFOAM_Propeller/manual_results/baseline/RunnerRunning createPatch on /home/alasdair/OpenFOAM/AH81_OpenFOAM_Propeller/manual_results/baseline/RunnerRunning decomposePar on /home/alasdair/OpenFOAM/AH81_OpenFOAM_Propeller/manual_results/baseline/RunnerRunning pimpleDyMFoam in parallel on /home/alasdair/OpenFOAM/AH81_OpenFOAM_Propeller/manual_results/baseline/Runner using 4 processesRunning reconstructPar on /home/alasdair/OpenFOAM/AH81_OpenFOAM_Propeller/manual_results/baseline/Runner Thanks, Alasdair. Share this post Link to post Share on other sites
Mr. Carsten Fuetterer 9 Report post Posted February 3, 2015 great!! Share this post Link to post Share on other sites
Mr. Jussi Kangas 0 Report post Posted February 4, 2015 Hello Im still strugling with this one: Here is stdouterroroutput.redirect file from project folder: Moving /home/jussi/jjo/ahmedbody/manual_results/baseline/computation/input/0.org to /home/jussi/jjo/ahmedbody/manual_results/baseline/computation//0.orgMoving /home/jussi/jjo/ahmedbody/manual_results/baseline/computation/input/Allrun to /home/jussi/jjo/ahmedbody/manual_results/baseline/computation//AllrunMoving /home/jussi/jjo/ahmedbody/manual_results/baseline/computation/input/constant to /home/jussi/jjo/ahmedbody/manual_results/baseline/computation//constantMoving /home/jussi/jjo/ahmedbody/manual_results/baseline/computation/input/system to /home/jussi/jjo/ahmedbody/manual_results/baseline/computation//system[Captured output from application /home/jussi/jjo/ahmedbody/manual_results/baseline/computation//Allrun]No OpenFOAM environment detected. Attempt to load specified foamDotFile: /opt/openfoam221/etc/bashrcSuccessRunning blockMesh on /home/jussi/jjo/ahmedbody/manual_results/baseline/computationRunning decomposePar on /home/jussi/jjo/ahmedbody/manual_results/baseline/computationRunning surfaceFeatureExtract on /home/jussi/jjo/ahmedbody/manual_results/baseline/computationRunning snappyHexMesh on /home/jussi/jjo/ahmedbody/manual_results/baseline/computationRunning potentialFoam on /home/jussi/jjo/ahmedbody/manual_results/baseline/computationRunning simpleFoam on /home/jussi/jjo/ahmedbody/manual_results/baseline/computationUsing: log : log.simpleFoam database : /opt/openfoam221/bin/tools/foamLog.db awk file : ./logs/foamLog.awk files to : ./logsExecuting: awk -f ./logs/foamLog.awk log.simpleFoamGenerated XY files for:EndExiting Allrun This is from CAESES console: *** INFO computation : Preparing process ... [design: baseline]*** INFO computation : Writing command files ... [design: baseline]*** INFO computation : Finished preparation - running external process ... [design: baseline]*** INFO Multi Body STL Export : processing [exporting 1 object(s)]*** INFO computation : running external process [Allrun in design baseline]*** INFO LocalResourceManager : Updated permissions on external process file /home/jussi/jjo/ahmedbody/manual_results/baseline/computation//Allrun.*** INFO computation : finished results [design: baseline]*** INFO computation : finished results [design: baseline]*** INFO FGenIntReader : Could not open file /home/jussi/jjo/ahmedbody/manual_results/baseline/computation//postProcessing/forces/0/forceCoeffs.dat for reading [parsing process aborted]*** INFO FResultsGenInt : File read error [Failed to open file /home/jussi/jjo/ahmedbody/manual_results/baseline/computation/logs/Ux_0]*** INFO FResultsGenInt : File read error [Failed to open file /home/jussi/jjo/ahmedbody/manual_results/baseline/computation/logs/Uy_0]*** INFO FResultsGenInt : File read error [Failed to open file /home/jussi/jjo/ahmedbody/manual_results/baseline/computation/logs/Uz_0]*** INFO FResultsGenInt : File read error [Failed to open file /home/jussi/jjo/ahmedbody/manual_results/baseline/computation/logs/contGlobal_0]*** INFO FResultsGenInt : File read error [Failed to open file /home/jussi/jjo/ahmedbody/manual_results/baseline/computation/logs/contLocal_0]*** INFO FResultsGenInt : File read error [Failed to open file /home/jussi/jjo/ahmedbody/manual_results/baseline/computation/logs/k_0]*** INFO FResultsGenInt : File read error [Failed to open file /home/jussi/jjo/ahmedbody/manual_results/baseline/computation/logs/omega_0]*** INFO FResultsGenInt : File read error [Failed to open file /home/jussi/jjo/ahmedbody/manual_results/baseline/computation/logs/p_0] Share this post Link to post Share on other sites
Mr. Jussi Kangas 0 Report post Posted February 4, 2015 And this is allrun file that I use: #!/bin/bash # ----- OpenFOAM Environment# Check/source OpenFOAM Environment if [ -z $WM_PROJECT_DIR ] ; thenFOAMDOTFILE=<entry>FOAMDOTFILE</entry>echo "No OpenFOAM environment detected. Attempt to load specified foamDotFile: $FOAMDOTFILE" if [ -f $FOAMDOTFILE ] ; then. $FOAMDOTFILEecho -e "Success"elseecho -e "\n*** ERROR: OpenFOAM source file not found [Failed to open $FOAMDOTFILE]"echo -e "\nTry to modify your setup according to your local OpenFOAM installation."exit 1fielseecho "OpenFOAM environment detected."fi # Source tutorial run functions. $WM_PROJECT_DIR/bin/tools/RunFunctions chmod +x Allrun # ----- case preparation touch case.foam # Get number of processors to run on from decomposeParDict ( could be inserted here by CAESES, too )nProcs=$(getNumberOfProcessors) # ----- Mesh generation runApplication blockMeshrunApplication decomposeParrunApplication surfaceFeatureExtract if [[ $nProcs > 2 ]] ; then#- parallel running runParallel snappyHexMesh $nProcs -overwritels -d processor* | xargs -i rm -rf ./{}/0 $1ls -d processor* | xargs -i cp -r 0.org ./{}/0 $1 else#- non-parallel running runApplication snappyHexMesh -overwritecp -r 0.org 0 > /dev/null 2>&1fi # ----- Solving if [[ $nProcs > 2 ]] ; then#- parallel running runParallel potentialFoam $nProcs -noFunctionObjects -writeprunParallel $(getApplication) $nProcs else#- non-parallel running runApplication potentialFoam -noFunctionObjects -writeprunApplication $(getApplication)fi # ----- Postprocessing if [[ $nProcs > 2 ]] ; thenrunApplication reconstructParMesh -constantrunApplication reconstructPar -latestTimefi foamLog log.$(getApplication) echo -e "\n\nExiting Allrun"# ----------------------------------------------------------------- end-of-file Share this post Link to post Share on other sites
Mr. Carsten Fuetterer 9 Report post Posted February 4, 2015 hi jussi, i get the same result. I try to get a solution today. Share this post Link to post Share on other sites
Mr. Jussi Kangas 0 Report post Posted February 4, 2015 OKThanks. Share this post Link to post Share on other sites
Mr. Carsten Fuetterer 9 Report post Posted February 4, 2015 could it be that you use Ubuntu 14.04lts? and that you therefore had to compile OpenFoam for your own? Then you have to write of230 to load the bashrc.So try to insert "of230" at the second position of the Allrun script. Mabe you have to adjust the version number. Maybe you can have a look on your profile ~/.bashrc file Share this post Link to post Share on other sites
Mr. Jussi Kangas 0 Report post Posted February 4, 2015 Hello Currently: Release 12.04 (precise) 64-bit.But Im running openfoam 2.2.1 amd 64 bit edition. at ~/.bashrc I have source to 221 version. Share this post Link to post Share on other sites
Mr. Carsten Fuetterer 9 Report post Posted February 5, 2015 does it work? Share this post Link to post Share on other sites
Mr. Jussi Kangas 0 Report post Posted February 5, 2015 Hello It did not work, but I reinstalled ubundu and OF230.Then it did work right away, i think my ubuntu was too mixup, as i have been trying different things. Now I need just more practice...Thanks, I will post some stuff as I get my project on that state. Share this post Link to post Share on other sites
Mr. Carsten Fuetterer 9 Report post Posted February 6, 2015 sounds great. Feel always free to post your questions here :-) cheers Carsten Share this post Link to post Share on other sites