diff --git a/src/plopm/utils/initialization.py b/src/plopm/utils/initialization.py index 9f05183..a0993dd 100755 --- a/src/plopm/utils/initialization.py +++ b/src/plopm/utils/initialization.py @@ -326,7 +326,8 @@ def is_summary(dic): print(summary) sys.exit() for name in dic["vrs"]: - if name.upper() in summary + dic["smass"]: + names = name.split(" ") + if names[0].upper() in summary + dic["smass"]: return True if dic["printv"] == 1: sys.exit() diff --git a/src/plopm/utils/vtk.py b/src/plopm/utils/vtk.py index 28e4dc7..3188140 100644 --- a/src/plopm/utils/vtk.py +++ b/src/plopm/utils/vtk.py @@ -38,7 +38,7 @@ def make_vtks(dic): args=f"{dic['flow']} --version", stdout=PIPE, shell=True ) as process: dic["flow_version"] = str(process.communicate()[0])[7:-3] - if dic["flow_version"] == "2024.04": + if dic["flow_version"] == "2024.10": make_dry_deck(dic) else: os.system(f"cp {dic['deck']}.DATA {dic['deck']}_DRYRUN.DATA")