PyAnsys Scripting: Importing Geometry and Mapping Model Load Data from Rhino to Ansys

Categories:

PADT’s Alex Grishin is back with another useful article on how he is using the Ansys scripting python API, PyAnsys to do cool things in Ansys Mechanical. This presentation is actually something he did with a customer, Nathan Hays from nuLUCA.

PyAnsys Scripting: Importing Geometry and Mapping Model Load Data from Rhino to Ansys Figure 1

This is a more difficult application of the PyAnsys toolset. Using Ansys DPF, Alex worked with Nathan to automate the simulation of a bio-mimetic residential tile design. nuLUCA uses Rhino to model the complex “nature-inspired” geometry and to generate the mesh. The problem is that Ansys doesn’t have a direct interface to Rhino. They decided this was a great chance to show how to use the pyAnsys tools and also how to automate the importation process in Rhino as another option.

They ended up using the popular meshing python library pyVista, which is built into pyMAPDL and pyDPF-Post. To learn more about pyMAPDL and pyDPF-Post, check out his previous article here.

Although this article focuses on the pyAnsys scripting, it also includes an Appendix on how to export the heat flux data from Rhino Ladybug using c#.

Presentation on PyAnsys Scripting Connecting Rhino and Ansys Mechanical

PyAnsys Scripting: Importing Geometry and Mapping Model Load Data from Rhino to Ansys Figure 2

You can download a zip file of their model here:

If you need any help with your Ansys customization, for any Ansys product, not just Mechanical, contact us and we would enjoy chatting about how we can help.

PyAnsys Scripting: Importing Geometry and Mapping Model Load Data from Rhino to Ansys Figure 3
PyAnsys Scripting: Importing Geometry and Mapping Model Load Data from Rhino to Ansys Figure 4

Get Your Ansys Products & Support from the Engineers who Contribute to this Blog.

Technical Expertise to Enable your Additive Manufacturing Success.

Share this post:

Upcoming Events

Apr 29
, 2025
New NVH Tools & Workflows in Ansys 2025 R1 - Webinar
Apr 29
, 2025
Design, Debug, and Test your Ansys Scade One Model - Webinar
May 01
, 2025
Applying Digital Engineering across Space Mission Analysis and Design - Webinar
May 07
, 2025
Meshing Updates in Ansys 2025 R1 - Webinar
May 07
, 2025
Transforming Robot Arm Design with Topology Optimization - Webinar
May 13
, 2025
Ansys Virtual Workshop - PCB Reliability with Sherlock
May 13
, 2025
Dynamic RF Interference: HFSS and STK for Antenna Array Control - Webinar
May 15
, 2025
Applying Digital Engineering across Space Mission Analysis and Design: Satellite - Webinar
May 21
, 2025
Optics Updates in Ansys 2025 R1 - Webinar
May 29
, 2025
Applying Digital Engineering across Space Mission Analysis and Design: Payload - Webinar
Jun 04
, 2025
Composites & Structural Optimization Updates in Ansys 2025 R1 - Webinar
Jun 09
- Jun 11
, 2025
TechConnect World 2025
Jun 18
, 2025
Fluent CPU - UI & UX Updates in Ansys 2025 R1 - Webinar
Jun 16
- Jun 20
, 2025
Turbo Expo
Jun 25
, 2025
E-Mobility and Clean Energy Summit
Jul 02
, 2025
Electric Machine & Consumer Electronics Updates in Ansys 2025 R1 - Webinar
Jul 11
, 2025
2025 Aerospace, Aviation, Defense and Manufacturing Conference
Jul 16
, 2025
HFSS Updates in Ansys 2025 R1 - Webinar
Aug 10
- Aug 13
, 2025
SmallSat 2025

Search the PADT Site

Contact Us

Most of our customers receive their support over the phone or via email. Customers who are close by can also set up a face-to-face appointment with one of our engineers.

For most locations, simply contact us: