Notifications
Clear all

User difined Material Model In LS Dyna


ANSYS.BOGDAN
Posts: 4
Topic starter
(@ANSYS.BOGDAN)
New Member
Joined: 5 years ago

Hi all,

Now I am also implementing a Subroutine (UMAT41 or UMAT 43) in LS Dyna .
I have trouble in compile the UMAT 43 to LS Dyna
I am using LS Dyna _smp_s_r810_x64_redhat511_ifort131
Intel parallel studio XE 2013
And Microsoft Visual Studio 2010
I wrote UMAT 43 but I dont know how to make .exe to run with LS Dyna. I used the command compline in Fortran but I could not generate .exe file, only .obj file was generated. When I copy the .obj file to LD Dyna location, the Warning 41147 (SOL+1147) occurs.
I read some specification using the nmake but I dont know where it is
I dont have much experience in this area, so please give me your suggestion
Thanks in advance!

Topic Tags
6 Replies
Jorgen
Posts: 3924
Moderator
(@jorgen)
Member
Joined: 2 years ago

I recommend that you first try to compile the LS-DYNA object files that are provided without adding your own code. That compilation should work if your computer is setup right.

Then, once that works, I would swap in your own UMAT41 or UMAT43 code, and compile it again.

I have done this many times without any problems.

-Jorgen

Topic Tags
6 Replies
ANSYS.BOGDAN
Posts: 4
Topic starter
(@ANSYS.BOGDAN)
New Member
Joined: 5 years ago

Dear Dr.Jorgen.
Thank you so much.
My LS Dyna solver is: [B]LS-dyna_smp_s_R810_winx64_ifort131.exe[/B]
I downloaded packages: [B]ls-dyna_smp_d_r810_x64_redhat511_ifort131[/B] from [B][url]ftp://ftp.lstc.com/[/url]
However, when I run Nmake commande, some following errors occured:[/B]
Could you give some suggestions for solve it?
Thank you so much!

Intel(R) Parallel Studio XE 2013 SP1
Copyright (C) 1985-2015 Intel Corporation. All rights reserved.
Intel(R) Composer XE 2013 SP1 Update 6 (package 241)
Setting environment for using Microsoft Visual Studio Shell 2010 x64 tools.
Intel(R) Visual Fortran Intel(R) 64 Compiler XE for applications running on Inte
l(R) 64, Version 14.0.6.241 Build 20150916
Copyright (C) 1985-2015 Intel Corporation. All rights reserved.
ifort: c[B]ommand line warning #10161: unrecognized source type init_once.o, obje
ct file assumed[/B]
.
[B]ifort: command line warning #10006: ignoring unknown option /i-static[/B]
ifort: command line warning #10006: ignoring unknown option /lstdc++
..
[B]ipo: warning #11010: file format not recognized for c:\usermat1\usermat\init_on[/B]c
e.o
..
Microsoft (R) Incremental Linker Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.
i[B]nit_once.o : fatal error LNK1107: invalid or corrupt file: cannot read at 0x6D3
BC
NMAKE : fatal error U1077: C:\Program Files (x86)\Intel\Composer XE 2013 SP1\b
in\intel64\ifort.EXE: return code 0x453[/B]
Stop.
c:\usermat1\usermat>

Reply
Jorgen
Posts: 3924
Moderator
(@jorgen)
Member
Joined: 2 years ago

It seems that you downloaded files for RedHat Linux, when you are running a Microsoft Windows computer.
I recommend that you make sure you download the right file.

-Jorgen

Reply
ANSYS.BOGDAN
Posts: 4
Topic starter
(@ANSYS.BOGDAN)
New Member
Joined: 5 years ago

Dear Dr. Jorgen
Thank you so much for your comments. I succeed to connect LS Dyna and Fortran Subroutine by running simple example.
My purpose of work is considering the effect of strain rate on the material behavior.
I found some guide to write the following section in subroutine:
c Start of strain rate effect
if (p.eq.1) then
davg =(-eps(1)-eps(2)-eps(3))/3
d1d = eps(1)+davg
d2d = eps(2)+davg
d3d = eps(3)+davg
d4d = eps(4)
d5d = eps(5)
d6d = eps(6)
ds=d4d*d4d+d5d*d5d+d6d*d6d
c Computing Effective strain
effs=(2.0*(d1d*d1d+d2d*d2d+d3d*d3d+ds)/3)**0.5

c Computing Strain rate
if(time.ne.0) then
effs=effs/dt1
However, when I used Write (*,*) to print the effs value, all value are zero.
I dont know why, could you give me some advices
Thank in advanced!

Reply
Jorgen
Posts: 3924
Moderator
(@jorgen)
Member
Joined: 2 years ago

I not sure why. I would print out all relevant input values that your subroutine is provided
Just to make sure the issue is with your code, not something else.

-Jorgen

Reply
rbhatt
Posts: 1
(@rbhatt)
New Member
Joined: 3 weeks ago

Hello,

I wish to implement the user defined material model in LS-Dyna but after installing the Intel parallel studios 2016 and intel fortran compiler 2016 I am not able to access them from command prompt

 

Please let me know how to solve this problem

Kind regards

Rishabh

Reply
Share: