Skip to content
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

refactor: gRPC remote FTS refactoring #2743

Closed
wants to merge 10 commits into from
Closed

Conversation

hpohekar
Copy link
Collaborator

@hpohekar hpohekar commented Apr 29, 2024

closes #2744

  1. Added fix for Nightly Dev Test 24.2
  2. Changed host_mount_path.
  3. Resolved file modification issue.
>>> import ansys.fluent.core as pyfluent
>>> from ansys.fluent.core import examples
>>> case_file_name = examples.download_file("mixing_elbow.cas.h5", "pyfluent/mixing_elbow", return_without_path=False)
/mnt/c/Users/hpohekar/pyfluent/src/ansys/fluent/core/examples/downloads.py:73: UserWarning:
File already exists. File path:
/home/hpohekar/.local/share/ansys_fluent_core/examples/mixing_elbow.cas.h5

  warnings.warn(
>>> case_file_name
'/home/hpohekar/.local/share/ansys_fluent_core/examples/mixing_elbow.cas.h5'
>>> import os
>>> os.path.getsize(case_file_name)
3062081                                                                                <<<<<<<<---------------------
>>> solver = pyfluent.launch_fluent()
>>> solver.file.read_case(file_name=case_file_name)
Fast-loading "/ansys_inc/v242/fluent/fluent24.2.0/addons/afd/lib/hdfio.bin"
Done.

Reading from 83baa1ed3968:"/mnt/pyfluent/mixing_elbow.cas.h5" in NODE0 mode ...
  Reading mesh ...
       17822 cells,     1 cell zone  ...
          17822 mixed cells,  zone id: 87
       91581 faces,     7 face zones ...
           2168 polygonal wall faces,  zone id: 34
            268 polygonal wall faces,  zone id: 33
            155 polygonal pressure-outlet faces,  zone id: 32
            152 polygonal velocity-inlet faces,  zone id: 31
             55 polygonal velocity-inlet faces,  zone id: 30
           2001 polygonal symmetry faces,  zone id: 29
          86782 mixed interior faces,  zone id: 89
       66417 nodes,     1 node zone  ...
Warning: reading 2 partition grid onto 1 compute node machine.
         Combining every 2 partitions.
  Done.


Building...
     mesh
     materials,
     interface,
     domains,
        mixture
     zones,
        wall-elbow
        wall-inlet
        outlet
        cold-inlet
        hot-inlet
        symmetry-xyplane
        interior--elbow-fluid
        elbow-fluid
     parallel,
Done.
>>> os.path.getsize(case_file_name)
3062081                                                                    <<<<<<<<---------------------
>>> solver.file.write_case(file_name="download_mixing_elbow.cas.h5")

Writing to 83baa1ed3968:"/mnt/pyfluent/download_mixing_elbow.cas.h5" in NODE0 mode and compression level 1 ...
Grouping cells for Laplace smoothing ...
       17822 cells,     1 zone  ...
       91581 faces,     7 zones ...
       66417 nodes,     1 zone  ...
  Done.
Done.
>>>

@hpohekar
Copy link
Collaborator Author

hpohekar commented May 3, 2024

#2775

@hpohekar hpohekar closed this May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix Nightly Dev Test 24.2, resolve file modification issue
3 participants