Notifications
Clear all

PolyUmod material and other UMAT in same analysis


shar0986
Posts: 1
Topic starter
(@shar0986)
New Member
Joined: 6 years ago

Hi,

I have an analysis in Abaqus with two user materials: one calibrated using MCalibration hence using PolyUmod and one with another UMAT for which I have the fortran code (call it MY_UMAT).

The problem is how to combine them.

I have written a master UMAT (I use [I]user=MASTER_UMAT.f[/I])(see below) and if I had the fortran code for the polyUmod material (say its called POLYUMOD_UMAT) then the problem would be solved. However, since it is compiled into a library (StandardU.so) i cannot use the code below. So the question is what I should write instead of CALL POLYUMOD_UMAT(argument_list).

Hopefully there is a simple solution to this problem but I have not been able to find the answer anywhere.

Any help would be greatly appreciated.

Regards

Staffan

MASTER_UMAT.f:

SUBROUTINE UMAT(argument_list)

C

INCLUDE ABA_PARAM.INC

CHARACTER*80 CMNAME

DIMENSION ....

C

IF (CMNAME(1:4) .EQ. MAT1) THEN

CALL MY_UMAT(argument_list)

ELSE IF(CMNAME(1:4) .EQ. MAT2) THEN

CALL POLYUMOD_UMAT(argument_list)

END IF

C

END subroutine UMAT

Topic Tags
1 Reply
Jorgen
Posts: 3894
Moderator
(@jorgen)
Member
Joined: 1 year ago

Hello Staffan,

Good question. That is easy to do. You need to download the PolyUMod library in object-file format. Then you can compile & link together your code with the PolyUMod object-file, which will create a new so-file (for Linux) or dll-file (for Windows).
I will send you a private message with instructions for how to download the PolyUMod object-files.

-Jorgen

Topic Tags
1 Reply
Jorgen
Posts: 3894
Moderator
(@jorgen)
Member
Joined: 1 year ago

Hello Staffan,

Good question. That is easy to do. You need to download the PolyUMod library in object-file format. Then you can compile & link together your code with the PolyUMod object-file, which will create a new so-file (for Linux) or dll-file (for Windows).
I will send you a private message with instructions for how to download the PolyUMod object-files.

-Jorgen

Reply
Share: