We have an exciting announcement about badges coming in May 2025. Until then, we will temporarily stop issuing new badges for course completions and certifications. However, all completions will be recorded and fulfilled after May 2025.
General Mechanical

General Mechanical

Topics related to Mechanical Enterprise, Motion, Additive Print and more.

Combine 2 db files into one assembly

    • Huijuan
      Subscriber

      Hi,

      Please help me with this, I am doing my final year project but very new to ANSYS mechanical apdl. How can I combine two files into one file on ANSYS? I created two structures on the apdl, but I need to put them into one assembly to proceed the analysis. I need to combine the designs into one window. Is it possible? Thanks for helping me.

      Best regards

      Jane

    • Govindan Nagappan
      Ansys Employee
      nWe can read in multiple CDB files. So you can write a CDB for one of the DB?s. Resume the other, then read in the CDB to combine the two models. nThere is a numbering offset command, NUMOFF, that goes along with the CDWRITE command. This was you can offset the node/element/etc numbering of the CDB so that it does not conflict with the existing FEM in the DB. Please review the following help section, then maybe practice with two simple test models so that you can easily inspect the combined model.n12.1. Combining Models (ansys.com)n
    • Rahul Kumbhar
      Ansys Employee
      APDL cant read two db file but it can read cdb file. You can export one db file as cdb file. Resume another db file and then import the cdb file in it. You might need to use NUMOFF that goes along with the CDWRITE command to offset the element,node numbers. Please check the Ansys help for more details of the commandsnhttps://ansyshelp.ansys.com/account/secured?returnurl=/Views/Secured/corp/v211/en/ans_cmd/Hlp_C_CmdTOC.htmlnThe another way is you can export both cdb file. In Workbench you can import them using two 'External model' and combine them in single analysis system. From the analysis you can write the APDL input file.nn
    • Huijuan
      Subscriber
      Alright, I will try this method and update if it's working. Thank you very much n
    • Huijuan
      Subscriber

      Hello @Huijuan APDL cant read two db file but it can read cdb file. You can export one db file as cdb file. Resume another db file and then import the cdb file in it. You might need to use NUMOFF that goes along with the CDWRITE command to offset the element,node numbers. Please check the Ansys help for more details of the commandshttps://ansyshelp.ansys.com/account/secured?returnurl=/Views/Secured/corp/v211/en/ans_cmd/Hlp_C_CmdTOC.htmlThe another way is you can export both cdb file. In Workbench you can import them using two 'External model' and combine them in single analysis system. From the analysis you can write the APDL input file.https://us.v-cdn.net/6032193/uploads/YIEYTVXOS3DE/2021-02-04-21-05-15.png/forum/discussion/comment/105635#Comment_105635

      Hi @rkumbhar, thanks for the methods, but I still encounter some issues when I trying to combine them together. Would you help me to take a look? I created two models and meshed them then use the CDWRITE command. nIs this the right way to set up the files to read on mechanical apdl? I used CDWRITE, ALL, , CDB, , Aligner, , blocked for the CDWRITE code. for both of my files, but when I imported on workbench, linked them together and open on APDL, it was empty. nHow should I command the NUMOFF? I couldn't see the link you shared, probably because I am holding on student's license.nn
    • Rahul Kumbhar
      Ansys Employee
      Please check thisnHow to access ANSYS help linksn
Viewing 5 reply threads
  • The topic ‘Combine 2 db files into one assembly’ is closed to new replies.