Skip to content

Commit

Permalink
Updated some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
kaschau committed Mar 24, 2022
1 parent 83d8435 commit d6c7f57
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions utilities/gridPro2pg.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
Default vaules to read in are the GridPro generic names of blk.tmp, blk.tmp.conn, and blk.tmp.pty
Output will be a PEREGRINE compatible connectivity file 'conn.inp' as well as fortran binary grid files.
Output will be a PEREGRINE compatible grid and connectivity file 'conn.inp'.
"""

Expand Down Expand Up @@ -59,10 +59,10 @@
metavar="<bcFam>",
dest="bcFam",
default="./bcFams.yaml",
help="""File to translate the labels given to boundary conditions in ICEM
help="""File to translate the labels given to boundary conditions in GridPro
to PEREGRINE bcType (i.e. constantVelocitySubsonicInlet, adiabaticNoSlipWall, etc.)\n
\n
NOTE: ALL labels from ICEM need an entry in the yaml file. Even walls.""",
NOTE: ALL labels from GridPro need an entry in the yaml file. Even walls.""",
type=str,
)
parser.add_argument(
Expand All @@ -85,7 +85,6 @@
conversion = {"m": 1.0, "in": 0.0254, "mm": 0.001, "cm": 0.01}
factor = conversion[args.units]


print("Reading in {0} GridPro files\n".format("binary" if args.isBinary else "ascii"))
print(" {}".format(args.gpBlkFileName))
print(" {}".format(args.gpConnFileName))
Expand Down

0 comments on commit d6c7f57

Please sign in to comment.