mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: rename starToFoam -> star3ToFoam for the sake of clarity
This commit is contained in:
@ -30,6 +30,6 @@ Description
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#define starMesh sammMesh
|
||||
#include "../starToFoam/readPoints.C"
|
||||
#include "../star3ToFoam/readPoints.C"
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -14,6 +14,6 @@ createBoundaryFaces.C
|
||||
createPolyBoundary.C
|
||||
purgeCellShapes.C
|
||||
writeMesh.C
|
||||
starToFoam.C
|
||||
star3ToFoam.C
|
||||
|
||||
EXE = $(FOAM_APPBIN)/starToFoam
|
||||
EXE = $(FOAM_APPBIN)/star3ToFoam
|
||||
@ -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.
|
||||
@ -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
|
||||
|
||||
Reference in New Issue
Block a user