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

solution_variable_data for UDM leading to segmentation fault #3551

Closed
2 tasks done
PyPablo opened this issue Dec 4, 2024 · 0 comments · Fixed by #3555
Closed
2 tasks done

solution_variable_data for UDM leading to segmentation fault #3551

PyPablo opened this issue Dec 4, 2024 · 0 comments · Fixed by #3555
Assignees
Labels
bug Something isn't working

Comments

@PyPablo
Copy link
Collaborator

PyPablo commented Dec 4, 2024

🔍 Before submitting the issue

  • I have searched among the existing issues
  • I am using a Python virtual environment

🐞 Description of the bug

The following code leads to segmentation fault when executed over a UDM

fluid_temp_array = solution_variable_data.create_empty_array("SV_UDM_I", "distributor--inlet", "mixture")
fluid_temp_array[:] = 600
zone_names_to_solution_variable_data = {"distributor--inlet":fluid_temp_array}
solution_variable_data.set_data(solution_variable_name="SV_UDM_I", zone_names_to_solution_variable_data={"distributor--inlet":fluid_temp_array}, domain_name="mixture")

📝 Steps to reproduce

run above code in any given case file. I can provide specific case file if necessary

💻 Which operating system are you using?

Windows

📀 Which ANSYS version are you using?

No response

🐍 Which Python version are you using?

3.10

📦 Installed packages

NA
@PyPablo PyPablo added the bug Something isn't working label Dec 4, 2024
@mkundu1 mkundu1 self-assigned this Dec 5, 2024
@mkundu1 mkundu1 linked a pull request Dec 5, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants