Skip to main content

CMS circa Ansys 2019 R3

CMS circa 2019R3

Roughly a year ago, I wrote about how you could reuse CMS elements using APDL snippets within Ansys Mechanical. The new feature of Condensed Geometry in recent releases unfortunately does not completely solve the problem; but does get you half way there.

To recap, the goal here is to have a part (A) that is complicated/huge but now condensed into a teeny-tiny Super-Element. Changes can be quickly made to other parts (B). When combined together (C/D), the model as a whole is smaller and faster to solve since A is reused.

This blog post is an update to the earlier post that uses the same technique but takes advantage of two new tools: Condensed Geometry & Mesh Numbering.

To get started, download the Ansys 2019R3 archived file to follow along.
Archived File with RST (177.0MB)   Link or
Archived File without RST (1.5MB)  Link

The rough procedure:
  1. Create and mesh both Analysis A for CMS part and Analysis B for other parts. 
  2. Note down maximum node and element number for Analysis B. 
  3. In Analysis A, use Mesh Numbering to offset the starting number of nodes and elements to be larger than the maximum node and element number of Analysis B. Or use a huge number. This is to avoid conflicting numbers later so that the node numbers persist between analysis. 
  4. In Analysis A, insert Condensed Geometry Object. After generating the condensed part, right click on the Condensed Part in the tree to "Open Solver File Directory". In it, you will see all the files generated including a *.sub file. Note down the directory name and path for use in APDL snippet later. 
  5. Create Analysis C (your intended final analysis, e.g. Modal Analysis).
  6. Connect Analysis A (CMS part) Model to Analysis C Model, THEN double click on Model of Analysis C to start Mechanical (this is critical before the next step). 
  7. Connect Analysis B Model to Analysis C Model. The already-opened Ansys Mechanical Analysis C should automatically update to reflect the added parts. 
  8. In Analysis C, use Solution APDL snippets to perform Modal or Harmonic Analysis that replaces part A with the CMS equivalent. Expansion of results is also included.  

In the toy model in the archived file above, the results are similar to the naked eye.
No CMS: Elapsed time of 94s

With CMS: Elapsed time of 60s

Comments