run openfoam with bash script
i wrote a short Fluent3DMeshtoFoam bash script.
/sw/ansys/ansys12.1/v121/fluent/bin/fluent 3ddp -g < fluent_ascii
rm -r /home/stswi1/HiWi/OpenFOAM/8k5/constant/polyMesh
cp -a /home/stswi1/HiWi/OpenFOAM/8k5/70.02/polyMesh* /home/stswi1/HiWi/OpenFOAM/8k5/constant/
rm -r /home/stswi1/HiWi/OpenFOAM/8k5/70.02
it works when i run openfoam (option openfoam-17.x) and then run the bash script.
without running openfoam at first the following fault appears.
/sw/OpenFOAM/OpenFOAM-1.7.x/applications/bin/linux64GccDPOpt/rhoSimpleFoam: symbol lookup error: /sw/OpenFOAM/OpenFOAM-1.7.x/applications/bin/linux64GccDPOpt/rhoSimpleFoam: undefined symbol: _ZN4Foam13fvsPatchFieldINS_6VectorIdEEE28disallowD efaultFvsPatchFieldE
is it something with the environment variables?
could anybody help me?
thanks in advance. Simon
Greetings Simon and welcome to the forum!
I'll have to be quick to answer:
thanks for your quick response.
yes the "openfoam" command i am talking about is a command for loading OpenFOAM's shell variables.
i will take a look at your link.
|All times are GMT -4. The time now is 08:41.|