Color 3D Printing ANSYS ANSYS Mechanical and Mechanical APDL Results

[updated on 6/18/14 with images of an optimized bracket]

When we announced that Stratasys had released a color 3D Printer, I promised that I would figure out a way to get an ANSYS Mechanical or Mechanical APDL solution printed in 3D as soon as possible. Here it is:
3D-Color-FEA-Plot
Pretty cool.  I posted this picture on our social media and it got more retweets-shares-comments-likes-social media at’a boys than anything we have ever posted.  So there is definitely some interest in this. Now that the initial “WOW!” factor is gone, it is time to talk technical details and share how to get a plot made.

Stratasys Objet500 Connex3

There have been some machine around for some time that can print colors. Unfortunately they used a process that deposited a binding agent (fancy name for glue) into a bed of powder. The glue could be died different colors, allowing you to mix three base colors to get a color part. The problem with that technology is that the parts were faded and very fragile. On top of that the machines were messy and hard to run.

With the Objet500 Connex3 from Stratasys, we now have a machine that makes robust and usable prototypes, that can be printed in color. The device uses inkjet print heads to deposit a photopolymer (a resin that hardens when you shine ultraviolet light on it) one layer at a time. This machine has four print heads: one for support, one for a base material, and two for colored material.   The base material can be black, white, or clear.  Then you can mix two colors in to get a 46 color pallet on a given run.  Download the brochure here for more details on the device, or shoot us an email.

As an example of how to use this technology, we took the results from a modal analysis on a simple low-pressure turbine blade (from a jet engine) and plotted out the deflection results for the 1st, 3rd, and 7th mode. The 7th mode also includes the exaggerated deflected shape.

Turbine-Blade-Modal-s

[Added 6/18/14]

We recently combined ANSYS and Stratasys products for an optimization test case for a customer. We used Toplogoical optimization to remove chunks of material from an aerospace mounting bracket.  Then we 3D plotted the results to share with the international team looking at using this process to design parts that are lighter because they are not constrained by traditional manufacturing requirements. Here is what the first pass on the part looked like:
TopoOptMount_7

Getting a Printable File

Almost every Additive Manufacturing machine, from 3D Printers to Manufacturing Systems, use an STL file as the way to define a part to be made.  The file contains triangular facets (a mesh) on the surface. The problem is that this file does not have a standard for defining colors.  The way that we get around this is you make an STL file for each color you want, sort of an STL assembly. Then when you load the files into the machine, you assign colors to each STL object.  That is great if you are printing an assembly and each solid object in you Model is a different color, but gets a bit dicey for a results contour.

So, we need a way to get an STL file for each color contour in your plot.  Right now non of the ANSYS products output an STL file.  Needless to say we have been talking with development about this and we hope there will be a built in solution at the next release.  In the interim, we have developed two methods.

Method 0: Have PADT Print your Part

Before we go over the two methods, we should mention that we offer almost every RP technology as a service to customers, including the new Objet500 Connex3. We have written a tool that converts ANSYS MAPDL models into STL’s that represent color bands.  It comes in two parts, a macro that you run to get the data, and a program we have that turns the data into STL files.

So the easiest way to get a Color 3D Plot of your results is to:

  1. Download the macro ans2vtk.mac and run it. Instructions are in the header.
  2. Email 3dprint@padtinc.com and let us know that you want a Color 3D Print, and what units your part is and scale factor, if any, to apply to your part.  They will let you know how to send the file.
  3. We will generate a quote.
  4. You give us a PO or a credit card
  5. We pre-process the part and show you the resulting contours, making sure it is what you want
  6. We print it, then ship it to you.

This is a screenshot of the model in our internal tool:

3d-printing-ansys-results-valve-vtk

Method 0.5: Use the PADT Script

If you own a Connex3 and are not a service provider, we would be happy to share the internal script that we use with you.  You would follow the same process as above, but would run the script yourself to make the STL files. You will need to install some opensource tools as well. Email me to discuss.

Method 1: RST to CFD-Post to Magics

This is how we did the first sample models, because it works out of the box and required no coding.  To use it you need to have a licence of  ANSYS CFD-Post and Magics from Materialise.  CFD Post outputs a color facet file in the VRML2 format, and Magics can convert that into a bunch of STL file.

NOTE: For this to work you need Magics and your contours need to be pretty simple. A complex part won’t work  because Magics won’t be able to figure out the STL volumes.

We start by attaching a CFD Post object to our model:

project-page

Open up CFD Post and make a plot you like. If you don’t know ANSYS CFD Post, here is an article we did a while back on how to use it to post ANSYS Mechanical and Mechanical APDL results.

Set the number of contours to a smaller number. You can have up to 46 colors, but that means you have to make 46 separate STL files by hand. I picked 7 contours, which gives me 6 colors:

plot_in_cfdpost

Now simply go to File > Save Picture and select VRML as your format. Note, it will bury the plot way down in your project directories, so I like to change the path to save it at the top level of the directory:

save-wrl

The next step is to read the file in to Magics.

WRL File in Magics_Color Code

In Magics, you can select facets by color and write each one out as a separate STL file.

Once you have done that, go in to the Objet Studio Software that came with your printer and assign colors to each STL file. We just kind of eyeball the closest color to the original plot:

FEA Objet studio

You can see here that we actually printed 3 at a time, just made copies and we only had to define colors on the original.  Then Print.

Here is what it looks like in the printer when it finished. We ran some other parts next to the three valves:
printing

You’ll notice it looks all yellow. That is the support material. It is water soluble and we just wash it off when the part is done.

Method 2: Macro for Element Based Contours

That method kind of was a pain, so we decided it would be a good idea to write a little macro in APDL that does the following:

  1. Specify number of colors and value to plot.  (It uses the current selected nodes/elements.)
  2. Select elements by contour range
  3. Create surface elements on those elements
  4. Convert those surface elements in to an STL file for each contour.

The advantage of this approach is that ANSYS MAPDL directly creates the STL files and all you have to do is read that into Objet Studio and assign colors.  The disadvantage is that it is plotting element faces, so if a contour changes across a face, it doesn’t capture it. The way it works now is that the face color is represents the contour color for the lowest value on that face.  Not ideal, but I only had about 3 hours to write something from scratch and that is as far as I got.

This is what it looks like in Objet Studio:

macro-1-in-studio

Here is the macro: mkcolstl_mac.zip

Just run in in MAPDL or put it in ANSYS Mechanical as a post processing command snippet.

3D-plots-table

Categories

Certified Elite Channel Partner

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

Product Development
Platinum Partner

Technical Expertise to Enable your Addictive Manufacturing Success.

PADT’s Pulse Newsletter

Keep up to date on what is going on at PADT by subscribing to our newsletter.


By submitting this form, you are consenting to receive marketing emails from: Phoenix Analysis and Design Technologies, 7755 S. Research Dr., Tempe, AZ, 85284, https://www.padtinc.com. You can revoke your consent to receive emails at any time by using the SafeUnsubscribe® link, found at the bottom of every email. Emails are serviced by Constant Contact

Share this post:

Upcoming Events

03/29/2023

8th Thermal and Fluids Engineering Conference

03/29/2023

Structural Updates in Ansys 2023 R1 - Composites, Fracture & MAPDL

03/28/2023

8th Thermal and Fluids Engineering Conference

03/27/2023

8th Thermal and Fluids Engineering Conference

03/26/2023

8TH Thermal and Fluids Engineering Conference

03/24/2023

Arizona BioPreneur Conference | Spring 2023

03/22/2023

2023 Arizona MedTech Conference

03/22/2023

Optimize Jigs & Fixtures with Additive - Webinar

03/15/2023

3D Design Updates in Ansys 2023 R1 - Webinar

03/08/2023

Competitive Advantages of 1D/3D Coupled Simulation - Webinar

03/01/2023

High Frequency Updates in Ansys 2023 R1 - Webinar

02/22/2023

Additive Advantages in Aerospace - Webinar

02/15/2023

Structural Updates in Ansys 2023 R1 (1) - Webinar

02/09/2023

IME 2023: MD&M | WestPack | ATX | D&M | Plastek

02/08/2023

IME 2023 MD&M | WestPack | ATX | D&M | Plastek

02/07/2023

IME 2023 MD&M | WestPack | ATX | D&M | Plastek

01/27/2023

Arizona Photonics Days, 2023

01/26/2023

Arizona Photonics Days, 2023

01/26/2023

TIPE 3D Printing | 2023

01/26/2023

Venture Cafe Phoenix Talent Night - Job Fari

01/26/2023

VFS 2023 Autonomous/Electric VTOL Symposium

01/25/2023

Arizona Photonics Days, 2023

01/25/2023

Building A.M.- Utah: Kickoff!

01/25/2023

TIPE 3D Printing | 2023

01/25/2023

VFS 2023 Autonomous/Electric VTOL Symposium

01/24/2023

VFS 2023 Autonomous/Electric VTOL Symposium

01/24/2023

TIPE 3D Printing | 2023

01/18/2023

2023 AZ Tech Council Golf Tournament

12/21/2022

Simulation Best Practices for 5G Technology - Webinar

12/14/2022

Digital Twins Updates in Ansys 2022 R2 - Webinar

12/08/2022

Tech the Halls - AZ Tech Council Holiday Mixer

12/07/2022

Electric Vehicle and Other Infrastructure Update Panel

11/30/2022

SPEOS Updates in Ansys 2022 R2 - Webinar

11/23/2022

Simulation Best Practices for Electronics Reliability - Webinar

11/16/2022

Discovery Updates in Ansys 2022 R2

11/10/2022

VentureCafe Phoenix Panel: Venture Capital in AZ

11/08/2022

2022 GOVERNOR’S CELEBRATION OF INNOVATION AWARDS + TECH SHOWCASE

11/03/2022

VentureCafe Phoenix Panel: Angel Investment in AZ

11/02/2022

High & Low Frequency Electromagnetics Updates in Ansys 2022 R2

10/26/2022

Simulation Best Practices For Chip-Package-System Design & Development

10/20/2022

Nerdtoberfest 2022

10/19/2022

2022 Southern Arizona Tech + Business Expo

10/19/2022

LS-DYNA Updates in Ansys 2022 R2 - Webinar

10/17/2022

Experience Stratasys Truck Tour - Clearfield Utah

10/14/2022

ASU School of Manufacturing Systems and Networks - Formal Opening Cele

10/14/2022

Experience Stratasys Truck Tour - Midvale Utah

10/12/2022

Experience Stratasys Truck Tour - Littleton Colorado

10/06/2022

Fluids Updates in Ansys 2022 R2 - Webinar

10/05/2022

Experience Stratasys Truck Tour - Colorado Springs

09/29/2022

White Hat Life Science Investor Conference - 2022

09/28/2022

2022 AZBio Awards

09/28/2022

Simulation Best Practices for Rotating Machinery Design & Development

09/21/2022

ExperienceIT NM 2022

09/21/2022

Additive Updates in Ansys 2022 R2 - Webinar

09/14/2022

Rocky Mountain Life Sciences Investor & Partnering Conference

09/08/2022

Ansys Optics Simulation User Group Meeting - Virtual

09/08/2022

Ansys Optics Simulation User Group Meeting

09/07/2022

SI & PI Updates in Ansys 2022 R2 - Webinar

08/31/2022

Simulation Best Practices for Developing Medical Devices - Webinar

08/24/2022

Mechanical Updates in Ansys 2022 R2 - Webinar

08/10/2022

Tucson after5 Tech Mixer: Ruda-Cardinal

08/05/2022

Flagstaff Tech Tour, 2022

08/02/2022

2022 CEO Leadership Retreat

08/01/2022

2022 CEO Leadership Retreat

07/27/2022

Thermal Integrity Updates in Ansys 2022 R1 - Webinar

07/20/2022

Simulation Best Practices for the Pharmaceutical Industry - Webinar

07/14/2022

NCMS Technology Showcase: Corpus Christi Army Depot

07/13/2022

NCMS Technology Showcase: Corpus Christi Army Depot

07/13/2022

Additive & Structural Optimization Updates in Ansys 2022 R1 - Webinar

07/07/2022

Arizona AADM Conference, 2022

06/29/2022

LS-DYNA Updates & Advancements in Ansys 2022 R1 - Webinar

06/23/2022

Simulation Best Practices for Wind Turbine Design - Webinar

06/15/2022

MAPDL Updates & Advancements in Ansys 2022 R1 - Webinar

06/01/2022

Mechanical Updates in Ansys 2022 R1 - pt. 2 Webinar

05/26/2022

Modelling liquid cryogenic rocket engines in Flownex - Webinar

05/25/2022

SMR & Advanced Reactor 2022

05/25/2022

05/24/2022

SMR & Advanced Reactor 2022

05/19/2022

RAPID + tct 2022

05/19/2022

Venture Cafe Roundtable: AI & Healthcare

05/18/2022

Tucson after5 Tech Mixer: World View

05/18/2022

RAPID + tct 2022

More Info

05/18/2022

Signal & Power Integrity Updates in Ansys 2022 R1 - Webinar

05/18/2022

Simulation World 2022

05/17/2022

RAPID + tct 2022

05/11/2022

Experience Stratasys Manufacturing Virtual Event

05/04/2022

Mechanical Meshing Updates in Ansys 2022 R1 - Webinar

04/27/2022

04/22/2022

12TH ANNUAL TUCSON GOLF TOURNAMENT

04/21/2022

04/20/2022

Additional Fluids Updates in Ansys 2022 R1

04/20/2022

Experience Stratasys Tour – Tempe Arizona

04/18/2022

Experience Stratasys Tour - Flagstaff Arizona

04/14/2022

D&M West | MD&M West

04/13/2022

D&M West | MD&M West

04/13/2022

Experience Stratasys Tour - Albuquerque New Mexico

04/12/2022

D&M West | MD&M West

04/12/2022

Experience Stratasys Tour - Los Alamos New Mexico

04/12/2022

Optimizing Engineering Workflows f​​​​or Propulsion System Design

Search in 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: