TAGGED: mechanical-apdl, mesh-generation, meshing, pyansys, PyMAPDL
-
-
May 20, 2022 at 2:19 pm
a5833959
SubscriberHi all,
I am trying to learn PyAnsys, and implement a rectangle geometry with length and width. The geometry is working fine and I am not sure about how to mesh my geometry. Below is the code that I currently tried:
And this is the error message that it gives me: `No areas were meshed by the AMESH operation`
Thank you in advance for any help!
-
May 20, 2022 at 4:22 pm
Erik Kostson
Ansys EmployeeHello
you need to define an element say for structural analysis (ET command see):
go through the above examples (there are many more there to look at : https://mapdldocs.pyansys.com/), but before that
you really need - mapdl knowledge and good understanding - so 1st/first before using pymapdl learn mapdl.
Finally when you write pyMAPDL script, first write in MAPDL, make sure it runs as intended, and then it is an easy matter of just converting the MAPDL command to pyMAPDL.
Erik
-
- The topic ‘Generating mesh in PyAnsys’ is closed to new replies.

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.

Ansys Blog
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.
- How to do the frequency response of the nonlinear vibration of a flexible PCB?
- Importing Line and Solid Bodies from SpaceClaim to Mechanical
- how to open SendCommand in Ansys
- problems facing during solution
- Still facing the same issue
- Failed to move file from solver directory to scratch directory: file.rst
- Adaptive Sizing
- Stiffness factor
- Import DAT file
- Import pressure data (coordinates and value) to ansys workbench through excel
-
8808
-
4658
-
3153
-
1680
-
1470
© 2023 Copyright ANSYS, Inc. All rights reserved.