Skip to content

Commit

Permalink
system coupling fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hpohekar committed May 31, 2024
1 parent 2a93808 commit 1e41bfa
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/ansys/fluent/core/systemcoupling.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,14 +93,6 @@ def get_scp_string() -> str:
# download the file locally in case Fluent is remote
# assume file transfer service is configured - download the file
self._solver.download(scp_file_name)
elif self._solver.connection_properties.inside_container:
# Right now, the way that PyFluent containers and tests are set up,
# the local Fluent container working directory will correspond to
# os.getcwd() in the host, so that is where the SCP file
# will be written.
examples_path_scp = os.path.join(os.getcwd(), scp_file_name)
if os.path.exists(examples_path_scp):
scp_file_name = examples_path_scp

assert os.path.exists(
scp_file_name
Expand Down

0 comments on commit 1e41bfa

Please sign in to comment.