-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Integrate gRPC based File Transfer Service #2583
feat: Integrate gRPC based File Transfer Service #2583
Conversation
…ps://github.com/ansys/pyfluent into feat/integrate_grpc_based_file_transfer_service
@hpohekar Can we demonstrate the following?
|
for more information, see https://pre-commit.ci
…tegrate_grpc_based_file_transfer_service
…ps://github.com/ansys/pyfluent into feat/integrate_grpc_based_file_transfer_service
…ps://github.com/ansys/pyfluent into feat/integrate_grpc_based_file_transfer_service
We are going to add tests for both Local and Remote FTS
So in this demo are we instantiating Local FTS independent of Fluent session like for e.g.
|
for more information, see https://pre-commit.ci
…ps://github.com/ansys/pyfluent into feat/integrate_grpc_based_file_transfer_service
Does the user need to call Also the read_case call should accept the client-side filename ( |
Does the user need to call Does the user need to call Scenario 1: To use -
Scenario 2: To use -
|
Thanks, I think 2 is what users will be looking for. I assume we'll get a similar behaviour with Fluent containers - I'm approving based on that. Please add a unittest later on. |
Here we have demonstrated This PR's description shows similar behavior of |
closes #2575 #2619
Added
file_exists_on_remote
method on session level.Integrate gRPC based File Transfer Service.
We upload the file to pyfluent.EXAMPLES_PATH and pyfluent.EXAMPLES_PATH is mounted on "/mnt/pyfluent"
Therefore Fluent reads from "/mnt/pyfluent/mixing_elbow.msh.h5"
Fluent writes to "/mnt/pyfluent/docker_written_latest_mixing_elbow.cas.h5"
File transfer service downloads to "/mnt/c/Users/hpohekar/pyfluent" (current working directory).