Mr. Alasdair Honeyman
-
Content Count
9 -
Joined
-
Last visited
Posts posted by Mr. Alasdair Honeyman
-
-
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 found
Running blockMesh on /home/alasdair/OpenFOAM/AH81_OpenFOAM_Propeller/manual_results/baseline/Runner
Running surfaceFeatureExtract on /home/alasdair/OpenFOAM/AH81_OpenFOAM_Propeller/manual_results/baseline/Runner
Running snappyHexMesh on /home/alasdair/OpenFOAM/AH81_OpenFOAM_Propeller/manual_results/baseline/Runner
Running renumberMesh on /home/alasdair/OpenFOAM/AH81_OpenFOAM_Propeller/manual_results/baseline/Runner
Running topoSet on /home/alasdair/OpenFOAM/AH81_OpenFOAM_Propeller/manual_results/baseline/Runner
Running 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/alasdairAllrun file:
#!/bin/sh
cd ${0%/*} || exit 1 # run from this directory
#wmUNSET
. /home/alasdair/OpenFOAM/OpenFOAM-2.3.1/etc/bashrc
# Source tutorial run functions
source $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.
-
Hi Carsten, I have already done that as I saw the post when I forst started trying to get this to work - please see below copy paste from my CAESES -FFW file:
export FOAM_INST_DIR=/data/app/OpenFOAM
foamDotFile=$FOAM_INST_DIR/OpenFOAM-2.3.1/etc/bashrc
[ -f $foamDotFile ] && . $foamDotFile
Regards,
Alasdair.
-
Hi Carsten,
yes, plase see copy and paste from teminal from within tools directory (afte typing ls):
alasdair@alasdair-HP-xw4600-Workstation:~/OpenFOAM/OpenFOAM-2.3.1/bin/tools$ ls
CleanFunctions foamListBinDirs pre-commit-hook
doxyFilter foamListSourceFiles pre-receive-hook
doxyFilter.awk foamListThirdPartyBinDirs README
doxyFilter-ignore.awk foamLog.db replaceAllShellSun
doxyFilter.sed gtagsrc RunFunctions
doxyFilter-table.awk inlineReplace scanpackages
doxyFilter-top.awk MakefileDirs
foamConfigurePaths org-batch
alasdair@alasdair-HP-xw4600-Workstation:~/OpenFOAM/OpenFOAM-2.3.1/bin/tools$Alasdair.
-
Hi Carsten,
I tried changing the file path as suggested and removin wmUNSET, error file reads:
/home/alasdair/OpenFOAM/AH81_OpenFOAM_Propeller/manual_results/baseline/Runner//Allrun: 1: /home/alasdair/OpenFOAM/OpenFOAM-2.3.1/etc/bashrc: /data/app/OpenFOAM/OpenFOAM-2.3.1/bin/foamEtcFile: not found
/home/alasdair/OpenFOAM/AH81_OpenFOAM_Propeller/manual_results/baseline/Runner//Allrun: 1: /home/alasdair/OpenFOAM/OpenFOAM-2.3.1/etc/bashrc: /data/app/OpenFOAM/OpenFOAM-2.3.1/bin/foamCleanPath: not found
/home/alasdair/OpenFOAM/AH81_OpenFOAM_Propeller/manual_results/baseline/Runner//Allrun: 1: /home/alasdair/OpenFOAM/OpenFOAM-2.3.1/etc/bashrc: /data/app/OpenFOAM/OpenFOAM-2.3.1/bin/foamCleanPath: not found
/home/alasdair/OpenFOAM/AH81_OpenFOAM_Propeller/manual_results/baseline/Runner//Allrun: 1: /home/alasdair/OpenFOAM/OpenFOAM-2.3.1/etc/bashrc: /data/app/OpenFOAM/OpenFOAM-2.3.1/bin/foamCleanPath: not found
/home/alasdair/OpenFOAM/AH81_OpenFOAM_Propeller/manual_results/baseline/Runner//Allrun: 141: .: Can't open /data/app/OpenFOAM/OpenFOAM-2.3.1/etc/config/settings.shhere ae the contents of the OpnFOAM2.3.1 folder (from typing ls in terminal from within etc directory)
alasdair@alasdair-HP-xw4600-Workstation:~/OpenFOAM/OpenFOAM-2.3.1/etc$ ls
bashrc caseDicts codeTemplates controlDict thermoData
bashrc~ cellModels config cshrc
alasdair@alasdair-HP-xw4600-Workstation:~/OpenFOAM/OpenFOAM-2.3.1/etc$
Regards,
Alasdair.
-
Hi Carsten, I have done that, and that changes the error file to:
/home/alasdair/OpenFOAM/AH81_OpenFOAM_Propeller/manual_results/baseline/Runner//Allrun: 4: /home/alasdair/OpenFOAM/AH81_OpenFOAM_Propeller/manual_results/baseline/Runner//Allrun: wmUNSET: not found
/home/alasdair/OpenFOAM/AH81_OpenFOAM_Propeller/manual_results/baseline/Runner//Allrun: 5: .: Can't open /home/OpenFOAM/OpenFOAM-2.3.1/etc/bashrcAlasdair.
-
Hi Carsten,
thaks for replying. I have tried a few variations of the allrun script, currently it looks like this:
#!/bin/sh
cd ${0%/*} || exit 1 # run from this directory
# Source tutorial run functions
. /home/OpenFOAM/OpenFOAM-2.3.1/bin/tools/RunFunctions
chmod +x Allrun.pre
wmUNSET
. /home/OpenFOAM/OpenFOAM-2.3.1/etc/bashrc
touch case.foam
./Allrun.pre
runApplication decomposePar
runParallel `getApplication` 4
runApplication reconstructPar
This has changed the error message in stdouterroroutput.redirect to:
[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: 5: .: Can't open /home/OpenFOAM/OpenFOAM-2.3.1/bin/tools/RunFunctionsI am a bit stuck.
Regards,
Alasdair. -
Hello,
I have been trying to use CAESES with OpenFOAM-2.3.1 to complete the propeller tutorial. I am relatvely new to using Linux, so most of the errors have been due to my lack of understanding.
I have OpenFOAM installed and working by itself (I have worked through a tutorial), I have the software connector set up, and it is creating files, however no results are created.
The stdouterroroutput.redirect file contains the following:
oving /home/alasdair/OpenFOAM/AH81_OpenFOAM_Propeller/manual_results/baseline/Runner/input/0.org to /home/alasdair/OpenFOAM/AH81_OpenFOAM_Propeller/manual_results/baseline/Runner//0.org
Moving /home/alasdair/OpenFOAM/AH81_OpenFOAM_Propeller/manual_results/baseline/Runner/input/Allrun to /home/alasdair/OpenFOAM/AH81_OpenFOAM_Propeller/manual_results/baseline/Runner//Allrun
Moving /home/alasdair/OpenFOAM/AH81_OpenFOAM_Propeller/manual_results/baseline/Runner/input/Allrun.pre to /home/alasdair/OpenFOAM/AH81_OpenFOAM_Propeller/manual_results/baseline/Runner//Allrun.pre
Moving /home/alasdair/OpenFOAM/AH81_OpenFOAM_Propeller/manual_results/baseline/Runner/input/constant to /home/alasdair/OpenFOAM/AH81_OpenFOAM_Propeller/manual_results/baseline/Runner//constant
Moving /home/alasdair/OpenFOAM/AH81_OpenFOAM_Propeller/manual_results/baseline/Runner/input/system to /home/alasdair/OpenFOAM/AH81_OpenFOAM_Propeller/manual_results/baseline/Runner//system
[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: 5: /home/alasdair/OpenFOAM/AH81_OpenFOAM_Propeller/manual_results/baseline/Runner//Allrun: source: not found
/home/alasdair/OpenFOAM/AH81_OpenFOAM_Propeller/manual_results/baseline/Runner//Allrun: 9: /home/alasdair/OpenFOAM/AH81_OpenFOAM_Propeller/manual_results/baseline/Runner//Allrun: wmUNSET: not found
/home/alasdair/OpenFOAM/AH81_OpenFOAM_Propeller/manual_results/baseline/Runner//Allrun: 10: /home/alasdair/OpenFOAM/AH81_OpenFOAM_Propeller/manual_results/baseline/Runner//Allrun: source: not found
Running blockMesh on /home/alasdair/OpenFOAM/AH81_OpenFOAM_Propeller/manual_results/baseline/Runner
Running surfaceFeatureExtract on /home/alasdair/OpenFOAM/AH81_OpenFOAM_Propeller/manual_results/baseline/Runner
Running snappyHexMesh on /home/alasdair/OpenFOAM/AH81_OpenFOAM_Propeller/manual_results/baseline/Runner
Running renumberMesh on /home/alasdair/OpenFOAM/AH81_OpenFOAM_Propeller/manual_results/baseline/Runner
Running topoSet on /home/alasdair/OpenFOAM/AH81_OpenFOAM_Propeller/manual_results/baseline/Runner
Running createPatch on /home/alasdair/OpenFOAM/AH81_OpenFOAM_Propeller/manual_results/baseline/Runner
/home/alasdair/OpenFOAM/AH81_OpenFOAM_Propeller/manual_results/baseline/Runner//Allrun: 16: /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: 18: /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: 20: /home/alasdair/OpenFOAM/AH81_OpenFOAM_Propeller/manual_results/baseline/Runner//Allrun: runApplication: not foundDoes anyone know how to make CAESES see the files?
Thanks,
Alasdair.
-
Hi,
I am having the same problem (I think). I have spent a week trying to solve this by myself but I really can't see the problem.Below is th copied text from the stdouterroroutput.redirect file:
/home/alasdair/OpenFOAM/AH81_OpenFOAM_Propeller/manual_results/baseline/Runner//Allrun: 5: .: Can't open /home/alasdair/OpenFOAM/OpenFOAM-2.3.1/bin/tools/.RunFunctions
ANy help would be appreciated.
Regards.
Alasdair.
Free OpenFOAM GUI
in Software Connections
Posted · Report reply
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/Runner
Running surfaceFeatureExtract on /home/alasdair/OpenFOAM/AH81_OpenFOAM_Propeller/manual_results/baseline/Runner
Running snappyHexMesh on /home/alasdair/OpenFOAM/AH81_OpenFOAM_Propeller/manual_results/baseline/Runner
Running renumberMesh on /home/alasdair/OpenFOAM/AH81_OpenFOAM_Propeller/manual_results/baseline/Runner
Running topoSet on /home/alasdair/OpenFOAM/AH81_OpenFOAM_Propeller/manual_results/baseline/Runner
Running createPatch on /home/alasdair/OpenFOAM/AH81_OpenFOAM_Propeller/manual_results/baseline/Runner
Running decomposePar on /home/alasdair/OpenFOAM/AH81_OpenFOAM_Propeller/manual_results/baseline/Runner
Running pimpleDyMFoam in parallel on /home/alasdair/OpenFOAM/AH81_OpenFOAM_Propeller/manual_results/baseline/Runner using 4 processes
Running reconstructPar on /home/alasdair/OpenFOAM/AH81_OpenFOAM_Propeller/manual_results/baseline/Runner
Thanks,
Alasdair.