Results 1 to 6 of 6

Thread: Combining Object Files

  1. #1
    Join Date
    2011-07
    Location
    Morehead, KY
    Posts
    6

    Combining Object Files

    I am using the Abaqus adjustable rigid torus addin to model balloon angioplasty in stenting procedures. The artery is already compiled to an object file (.obj). I will also need to use a uhyper subroutine to model the artery's hyperelastic behavior. I have written the subroutine. I know that Abaqus requres that there only be one subroutine file. How can I use my subroutine in conjunction with the pre-compiled addin? Is there a method to link the two files?

  2. #2
    Join Date
    2000-02
    Location
    Boston, USA
    Posts
    3,280
    Yes, you can link two (or more) object files into a shared library file that Abaqus can use. It is not that hard once you have the necessary compilers, etc installed.

    -Jorgen
    Jorgen Bergstrom, Ph.D.
    PolymerFEM Administrator

  3. #3
    Join Date
    2011-07
    Location
    Morehead, KY
    Posts
    6
    Thanks for the reply. I link the files using the Abaqus command prompt, correct?

  4. #4
    Join Date
    2011-07
    Location
    Morehead, KY
    Posts
    6
    Quote Originally Posted by Jorgen View Post
    Yes, you can link two (or more) object files into a shared library file that Abaqus can use. It is not that hard once you have the necessary compilers, etc installed.

    -Jorgen
    I've tried to use the abaqus make library command to link the two object files into a shared library. However, abaqus isn't able to use both subroutines in the analysis. Could I be doing this incorrectly?

  5. #5
    Join Date
    2000-02
    Location
    Boston, USA
    Posts
    3,280
    You have 2 choices:

    (1) combine your 2 sources files into one file and then have Abaqus compile it for you.

    (2) manually link the two object files into a shared library file. I often use this approach when creating shared user-material files, but it requires some compiler expertise to get it right

    -Jorgen
    Jorgen Bergstrom, Ph.D.
    PolymerFEM Administrator

  6. #6
    Join Date
    2011-07
    Location
    Morehead, KY
    Posts
    6
    I was able to get both ways to work. Thanks for the help.

Similar Threads

  1. .for subroutine files and .f subroutine files
    By lukio_3 in forum Finite Element Modeling
    Replies: 2
    Last Post: 2011-03-25, 17:02
  2. .inp files
    By Mouses in forum Computer Software
    Replies: 2
    Last Post: 2009-11-03, 19:28
  3. Compiling user routine into object file.
    By alankar in forum Finite Element Modeling
    Replies: 8
    Last Post: 2009-09-11, 18:41
  4. Display node lables INSIDE a 3D object
    By rm447 in forum Finite Element Modeling
    Replies: 1
    Last Post: 2009-08-07, 20:36
  5. How to pick elements on the inside of an object
    By rm447 in forum Finite Element Modeling
    Replies: 5
    Last Post: 2009-04-20, 14:29

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •