August 15, 2023 at 10:35 amhaibin wuSubscriber
I have just started learning Pyfluent, so based on online cases, I am importing geometric models and want to draw grids in the fluent meshing. But I found out that I couldn't import my geometric model, but I had no problem before running the code. I was able to import the. scdoc file into fluent meshing and fluent solver. But after I finished executing the following code, I was prompted that I couldn't import the CAD geometric model, and I noticed that the startup icon of my SCDM software had changed. I used the 2022R2 version before, and I don't understand this startup icon. I don't have a clue now because I can't even import the geometric model without code. Can you give me some suggestions? What should I do?
import ansys.fluent.core as pyfluent meshing_session = pyfluent.launch_fluent(processor_count=10, show_gui=True, mode="meshing") geom_filename= 'Reactor_Script_Parameters.scdoc‘ session.meshing.workflow.InitializeWorkflow(WorkflowType='Watertight Geometry') session.meshing.workflow.TaskObject['Import Geometry'].Arguments = dict(FileName = geom_filename,LengthUnit= 'mm') session.meshing.workflow.TaskObject['Import Geometry'].Execute()
August 16, 2023 at 11:51 amSupreetha JSubscriber
PyAnsys is currently a set of open-source projects. Questions on PyAnsys should go through the Developer Forum. Bug reports can be made by creating 'Issues' in GitHub. For more details, please refer to PyAnsys GitHub page: https://github.com/pyansys
August 16, 2023 at 2:59 pmhaibin wuSubscriberthank you, I got it
- You must be logged in to reply to this topic.
Boost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.
Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
- Floating point exception in Fluent
- What are the differences between CFX and Fluent?
- Heat transfer coefficient
- Difference between K-epsilon and K-omega Turbulence Model
- Getting graph and tabular data from result in workbench mechanical
- The solver failed with a non-zero exit code of : 2
- Suppress Fluent to open with GUI while performing in journal file
- Mesh Interfaces in ANSYS FLUENT
- Time Step Size and Courant Number
- error: Received signal SIGSEGV
© 2023 Copyright ANSYS, Inc. All rights reserved.