Mr. Jussi Kangas
-
Content Count
6 -
Joined
-
Last visited
Posts posted by Mr. Jussi Kangas
-
-
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.
-
OK
Thanks.
-
And this is allrun file that I use:
#!/bin/bash
# ----- OpenFOAM Environment
# Check/source OpenFOAM Environment
if [ -z $WM_PROJECT_DIR ] ; then
FOAMDOTFILE=<entry>FOAMDOTFILE</entry>
echo "No OpenFOAM environment detected. Attempt to load specified foamDotFile: $FOAMDOTFILE"
if [ -f $FOAMDOTFILE ] ; then
. $FOAMDOTFILE
echo -e "Success"
else
echo -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 1
fi
else
echo "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 blockMesh
runApplication decomposePar
runApplication surfaceFeatureExtract
if [[ $nProcs > 2 ]] ; then
#- parallel running
runParallel snappyHexMesh $nProcs -overwrite
ls -d processor* | xargs -i rm -rf ./{}/0 $1
ls -d processor* | xargs -i cp -r 0.org ./{}/0 $1
else
#- non-parallel running
runApplication snappyHexMesh -overwrite
cp -r 0.org 0 > /dev/null 2>&1
fi
# ----- Solving
if [[ $nProcs > 2 ]] ; then
#- parallel running
runParallel potentialFoam $nProcs -noFunctionObjects -writep
runParallel $(getApplication) $nProcs
else
#- non-parallel running
runApplication potentialFoam -noFunctionObjects -writep
runApplication $(getApplication)
fi
# ----- Postprocessing
if [[ $nProcs > 2 ]] ; then
runApplication reconstructParMesh -constant
runApplication reconstructPar -latestTime
fi
foamLog log.$(getApplication)
echo -e "\n\nExiting Allrun"
# ----------------------------------------------------------------- end-of-file
-
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.org
Moving /home/jussi/jjo/ahmedbody/manual_results/baseline/computation/input/Allrun to /home/jussi/jjo/ahmedbody/manual_results/baseline/computation//Allrun
Moving /home/jussi/jjo/ahmedbody/manual_results/baseline/computation/input/constant to /home/jussi/jjo/ahmedbody/manual_results/baseline/computation//constant
Moving /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/bashrc
Success
Running blockMesh on /home/jussi/jjo/ahmedbody/manual_results/baseline/computation
Running decomposePar on /home/jussi/jjo/ahmedbody/manual_results/baseline/computation
Running surfaceFeatureExtract on /home/jussi/jjo/ahmedbody/manual_results/baseline/computation
Running snappyHexMesh on /home/jussi/jjo/ahmedbody/manual_results/baseline/computation
Running potentialFoam on /home/jussi/jjo/ahmedbody/manual_results/baseline/computation
Running simpleFoam on /home/jussi/jjo/ahmedbody/manual_results/baseline/computation
Using:
log : log.simpleFoam
database : /opt/openfoam221/bin/tools/foamLog.db
awk file : ./logs/foamLog.awk
files to : ./logs
Executing: awk -f ./logs/foamLog.awk log.simpleFoam
Generated XY files for:
End
Exiting AllrunThis 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]
-
Hello
Im havin problen with openfoam connector.
I have workin isntall of openfoam 221, currently im using helyx os with it, but free version is limited and does not have modelling capabilities.
So CAESES would be berfect for my use, but Im having problem with connectin openfoam, im trying to run ahmedboby sample but im getting this error:
*** INFO computation : preparing generic process ... [design: baseline]
*** INFO computation : writing generic command files ... [design: baseline]
*** INFO computation : generic process prepared [design: baseline]
*** INFO Multi Body STL Export : processing [exporting 1 object(s)]
*** INFO computation : running external process [/home/jussi/tred/ahmedbody/manual_results/baseline/computation/input/Allrun in design baseline]
*** INFO LocalResourceManager : External process start failure. [Executable /home/jussi/tred/ahmedbody/manual_results/baseline/computation/input/Allrun could not be resolved to a valid file.]
*** INFO computation : finished results [design: baseline]
*** INFO FGenIntReader : Could not open file /home/jussi/tred/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/tred/ahmedbody/manual_results/baseline/computation/logs/Ux_0]
*** INFO FResultsGenInt : File read error [Failed to open file /home/jussi/tred/ahmedbody/manual_results/baseline/computation/logs/Uy_0]
*** INFO FResultsGenInt : File read error [Failed to open file /home/jussi/tred/ahmedbody/manual_results/baseline/computation/logs/Uz_0]
*** INFO FResultsGenInt : File read error [Failed to open file /home/jussi/tred/ahmedbody/manual_results/baseline/computation/case.foam]
*** INFO FResultsGenInt : File read error [Failed to open file /home/jussi/tred/ahmedbody/manual_results/baseline/computation/logs/contGlobal_0]
*** INFO FResultsGenInt : File read error [Failed to open file /home/jussi/tred/ahmedbody/manual_results/baseline/computation/logs/contLocal_0]
*** INFO FResultsGenInt : File read error [Failed to open file /home/jussi/tred/ahmedbody/manual_results/baseline/computation/logs/k_0]
*** INFO FResultsGenInt : File read error [Failed to open file /home/jussi/tred/ahmedbody/manual_results/baseline/computation/logs/omega_0]
*** INFO FResultsGenInt : File read error [Failed to open file /home/jussi/tred/ahmedbody/manual_results/baseline/computation/logs/p_0]
How to get started to solve what is going wrong?

Free OpenFOAM GUI
in Software Connections
Posted · Report reply
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.