Description
Before submitting the issue
- I have checked for Compatibility issues
- I have searched among the existing issues
- I am using a Python virtual environment
Description of the bug
Raised by @mhoeijm
The question is whether it is normal for the fluent meshes_provider
to not return meshes for face zones on bodies without a cell zone.
If this is expected behavior, should it then be improved?
The description in the example for this states:
If no region_scoping is connected, the MeshedRegion for all body and face zones is retrieved in a MeshesContainer
@mhoeijm feel free to add to this description of the issue.
Steps To Reproduce
Using the following script
import os
import ansys.dpf.core as dpf
FLUENT_BOX = r"box_no_cells-2.msh.h5"
os.environ["ANSYS_DPF_ACCEPT_LA"] = "Y"
ds = dpf.DataSources()
ds.set_result_file_path(FLUENT_BOX, key="cas")
streams = dpf.operators.metadata.streams_provider(data_sources=ds)
meshes = dpf.operators.mesh.meshes_provider(streams_container=streams, region_scoping=None).eval()
# get mesh info:
model = dpf.Model(data_sources=ds)
minfo: dpf.MeshInfo = model.metadata.mesh_info
print(model)
with the following file:
One box has a cell zone defined and the meshes_provider
correctly returns the cell zone along with associated face zones, whereas the second box is made only of face zones which are not returned by the operator.
Which Operating System causes the issue?
Windows
Which DPF/Ansys version are you using?
DPF Server 2025.2.pre0, Ansys 2025 R1
Which Python version causes the issue?
3.12
Installed packages
ansys-dpf-core==0.13.3