I tried to run the Tutorial multiRegionHeater for the solver chtMultiRegionFoam
If I try ./Allrun, there is the error:
./Allrun: 19: Syntax error: Bad fd number
and running the case with chtMultiRegionFoam I get:
Have someone an idea whats goning on?
Thanks a lot,
I think it's a bad style to distribute a version and the tutorials aren't working.
No person who could help me and fix the problem?
I had the same problem with my own CHT case. Usually SIGFPE indicates a division by zero. Check the boundary and initial conditions for values of zero. Often the k-epsilon values are set to 0 because of laminar flow. Actually they might be set to any value if the turbulence model is set to laminar.
The script Allrun takes care of doing several things before actually running the solver. If you have a look at it you will see that apart from deleting some old files and sourcing the RunFunctions tool file, needed for running the runApplication and runParallel scripts, it first runs the blockMesh utility.
Have you tried to run each of the commands listed in the Allrun script and see what happens?
It looks to me that there is something wrong with the Allrun script as you report an error at line 19. How does that line read in your Allrun file?
Hope this help
Old post, but anyway - the >& is a bashism (ie. bash shell specific), on ubuntu (which is what I assume you are using from the error) the default shell is dash, which doesn't like >&. The easiest way to fix this is by changing the first line from
then the tutorial should run.
chtMultiRegionFoam tut not working
where to change the following lines..
It's the first line of the file Allrun, which is inside the tutorial case.
|All times are GMT -4. The time now is 23:17.|