PDA

View Full Version : Pamcrash user subroutine


pamCrash
2007-02-01, 09:38
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

Jorgen
2007-02-03, 08:49
Rajesh,

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

- Jorgen

plongrais
2007-02-14, 03:58
Hi Rajesh

I should be able to help you

Let me know what you need?

-Pascal

pamCrash
2007-02-19, 08:22
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

plongrais
2007-02-20, 11:19
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

pamCrash
2007-02-20, 11:55
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