Skip to content

Commit

Permalink
Add function to set solver application for foam
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-jt79 committed Apr 27, 2021
1 parent 4c7ca51 commit eb64188
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pyepic/applications/openfoam.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ def __init__(self, *args, **kwargs):
self.startFrom = StartFrom.LATEST
self.endTime = 0
self.startTime = 0
self.application = "simpleFoam"


class ReconstructParStep(JobStep):
Expand Down Expand Up @@ -141,6 +142,7 @@ def get_applications_options(self):
"endTime": self.solver.endTime,
"startTime": self.solver.startTime,
"startFrom": self.solver.startFrom.value,
"solver": self.solver.application,
"reconstruct_option": self.reconstructPar.reconstruct_option.value,
"reconstruct_time": self.reconstructPar.reconstruct_time,
"upload_excludes": self.sync_processor_directories.value,
Expand Down

0 comments on commit eb64188

Please sign in to comment.