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
|
#define starMesh sammMesh
|
||||||
#include "../starToFoam/readPoints.C"
|
#include "../star3ToFoam/readPoints.C"
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -14,6 +14,6 @@ createBoundaryFaces.C
|
|||||||
createPolyBoundary.C
|
createPolyBoundary.C
|
||||||
purgeCellShapes.C
|
purgeCellShapes.C
|
||||||
writeMesh.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
|
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
Application
|
Application
|
||||||
starToFoam
|
star3ToFoam
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Converts a Star-CD (v3) pro-STAR mesh into OpenFOAM format.
|
Converts a Star-CD (v3) pro-STAR mesh into OpenFOAM format.
|
||||||
@ -7,11 +7,12 @@ application=`getApplication`
|
|||||||
|
|
||||||
runStarToFoam ()
|
runStarToFoam ()
|
||||||
{
|
{
|
||||||
if [ -f log.starToFoam ] ; then
|
if [ -f log.star3ToFoam -o -f log.starToFoam ]
|
||||||
echo "starToFoam already run on $PWD: remove log file to run"
|
then
|
||||||
|
echo "star3ToFoam already run on $PWD: remove log file to run"
|
||||||
else
|
else
|
||||||
echo "starToFoam: converting mesh $1"
|
echo "star3ToFoam: converting mesh $1"
|
||||||
starToFoam $1 > log.starToFoam 2>&1
|
star3ToFoam $1 > log.star3ToFoam 2>&1
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -21,3 +22,5 @@ sed -e s/"\([\t ]*type[\t ]*\)symmetryPlane"/"\1empty"/g \
|
|||||||
temp > constant/polyMesh/boundary
|
temp > constant/polyMesh/boundary
|
||||||
rm temp
|
rm temp
|
||||||
runApplication $application
|
runApplication $application
|
||||||
|
|
||||||
|
# end-of-file
|
||||||
|
|||||||
Reference in New Issue
Block a user