Results 1 to 6 of 6

Thread: Pamcrash user subroutine

  1. #1

    Pamcrash user subroutine

    Hi
    I am trying use the user material subroutine provided in pam-crash. Did any of you have already worked it or know where I can have more informations. especially related to linking my code with pam dlls??? I will appreciate ur help.
    Thx
    Rajesh

  2. #2
    Join Date
    2000-02
    Location
    Boston, USA
    Posts
    3,280
    Rajesh,

    Unfortunately I don't have the PAM-CRASH software so I cannot help.

    - Jorgen

  3. #3
    Hi Rajesh

    I should be able to help you

    Let me know what you need?

    -Pascal

  4. #4
    Hello Pascal,
    I am going to implement the user material subroutine for PAM-CRASH. Typically I will be implementing the USRMAT18x_inp, USRMAT18x_slv, USRMAT18x_out for shell and beam elements. The first hiccups will be to link c++ obj file with fortran compiled libraries. Do you think it is possible.??? Moreover Pam-Crash they don't provide any examples as well in the manual...
    Thx
    Rajesh

  5. #5
    Hello Ramesh

    There are printed examples in PAM-CRASH notes manual (FORTRAN).

    Regarding c++ linking, this can be a very hard stuff (C++ and Fortran dynamic linker works in a complete different manner (with classes, template,...)

    I would suggest to use std C or FORTRAN.

    Why c++? to reuse an existing library?

    Which PAM-CRASH version are you using ? On which hardware platform?


    Pascal

  6. #6
    Hi Pascal,
    Thx for the advice. I am developing in windows environment so I will be using the MS visual studio in order to link both codes. I think the part to deal with pam-crash datatypes will be written in C. Stuffs related to internal processing in my function will be in C++. It will be a mix of both C and C++. In which language have you developed the interface C or Fortran?
    Thx again,
    Rajesh

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
  •