Fast fix
This commit is contained in:
parent
fad1fbf67f
commit
a8b80428a0
1
run.py
1
run.py
@ -28,6 +28,7 @@ def main():
|
|||||||
tasks = createTasks()
|
tasks = createTasks()
|
||||||
|
|
||||||
for task in tasks:
|
for task in tasks:
|
||||||
|
logger.fancyline()
|
||||||
logger.info(f"""main:
|
logger.info(f"""main:
|
||||||
task:\t{tasks.index(task) + 1} / {len(tasks)}
|
task:\t{tasks.index(task) + 1} / {len(tasks)}
|
||||||
cpu count:\t{os.cpu_count()}
|
cpu count:\t{os.cpu_count()}
|
||||||
|
@ -119,6 +119,6 @@ def simpleFoam(case: str = None):
|
|||||||
with open("simpleFoam.log", "r") as io:
|
with open("simpleFoam.log", "r") as io:
|
||||||
for line in io:
|
for line in io:
|
||||||
if re.search("solution converged", line):
|
if re.search("solution converged", line):
|
||||||
logger.info("simpleFoam:\n\t{}".format(line))
|
logger.info("simpleFoam:\n\t{}".format(line.strip()))
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user