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:
- Create and mesh both Analysis A for CMS part and Analysis B for other parts.
- Note down maximum node and element number for Analysis B.
- 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.
- 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.
- Create Analysis C (your intended final analysis, e.g. Modal Analysis).
- 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).
- Connect Analysis B Model to Analysis C Model. The already-opened Ansys Mechanical Analysis C should automatically update to reflect the added parts.
- 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
good job! what makes step6 so important? I have strange result if I dont perform step 6.ReplyDelete
Step 6 is important as it retains the order of the numbering scheme. By the way, this post is possibly outdated as Ansys R2 2020 has introduced the capability of importing condensed part.Delete
Firstly, good job on all the work you have done on this website !
Secondly, I am working in a relative new company and they have Ansys R2 2020. How exactly do you import condensed part ? Do you know a tutorial explaining step by step how to do it ?
I tried to use 'hbmat' command to extract mass matrix from the *.sub file, but the result mass file is too big. The *.sub file is 118 MB, but the mass file in 'txt' format is 213 MB. Do you know why the mass file is so big and what shoud I do to reduce the size of it?
Hi YangSu, I believe *.sub is a binary file which is more efficient than hbmat text format. Perhaps look into Pyansys to see if dealing with binary files directly will work for you.Delete
Could you please share the file with condensed geometry in ANSYS R2021. I am using new version and facing issue with condensed geometry. Thanks.
I expect this blog post is outdated. Ansys came up with *.cpa condensed part file for export/import. Please see the help files on "Working with Substructures".