STYLE: rename starToFoam -> star3ToFoam for the sake of clarity

This commit is contained in:
Mark Olesen
2010-02-16 18:40:10 +01:00
parent f5918e7eb0
commit 2f4efd20d7
23 changed files with 11 additions and 8 deletions

View File

@ -30,6 +30,6 @@ Description
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#define starMesh sammMesh
#include "../starToFoam/readPoints.C"
#include "../star3ToFoam/readPoints.C"
// ************************************************************************* //

View File

@ -14,6 +14,6 @@ createBoundaryFaces.C
createPolyBoundary.C
purgeCellShapes.C
writeMesh.C
starToFoam.C
star3ToFoam.C
EXE = $(FOAM_APPBIN)/starToFoam
EXE = $(FOAM_APPBIN)/star3ToFoam

View File

@ -23,7 +23,7 @@ License
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Application
starToFoam
star3ToFoam
Description
Converts a Star-CD (v3) pro-STAR mesh into OpenFOAM format.

View File

@ -7,11 +7,12 @@ application=`getApplication`
runStarToFoam ()
{
if [ -f log.starToFoam ] ; then
echo "starToFoam already run on $PWD: remove log file to run"
if [ -f log.star3ToFoam -o -f log.starToFoam ]
then
echo "star3ToFoam already run on $PWD: remove log file to run"
else
echo "starToFoam: converting mesh $1"
starToFoam $1 > log.starToFoam 2>&1
echo "star3ToFoam: converting mesh $1"
star3ToFoam $1 > log.star3ToFoam 2>&1
fi
}
@ -21,3 +22,5 @@ sed -e s/"\([\t ]*type[\t ]*\)symmetryPlane"/"\1empty"/g \
temp > constant/polyMesh/boundary
rm temp
runApplication $application
# end-of-file