MATUSR .dll file

Altair Forum User
Altair Forum User
Altair Employee
edited October 2020 in Community Q&A

Hello,

 

I want to create a custom mat card in optistruct using MATUSR card

 

I saw that I have to load a dll file in which the information are stocked. My question is: is this file creating with a specific subroutine/code? How do I write it?

 

Thx 

 

 

Answers

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited July 2017

    Hi,

     

    You need umat.dll to use MATUSR. I am checking more about this and will get back to you soon. 

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited July 2017

    Hi,

    You need the .dll file which needs to be associated with the .fem file. Please check the attachment. 

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited July 2017

    Hi,

    You need the .dll file which needs to be associated with the .fem file. Please check the attachment. 

     

    Hi thk you for your reply.

     

    But if I want to create my own law I have to create a new dll file? I don't see the attachment can you re send it?

     

    My goal is to create a law for two materials in 1 component with diffuse transition between both mat. like in this pic.

     

    Thk you

     

    D

    <?xml version="1.0" encoding="UTF-8"?>image001.png

  • Rahul Rajan_21763
    Rahul Rajan_21763 New Altair Community Member
    edited November 2020
  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited July 2017

    Thk.

     

    So, the dll file is th subroutine file? 

    If yes do you have docuentation on how to write a subroutine for matusr for optistruct?

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited July 2017

    I had a document that explain how to write the user mat sub. 

     

    My first think is to do something like this:

     

    Put 2 properties E1 and E2 with E1 modulus young of material 1 and E2 modulus young of material 2. if I take a square of L length size  I can model the evolution of E with an exponential law E(x=0)=E2 and E(x=L)=E1. Where x is the x coordinates of the integration point. My question is, in a subroutine is there a variable that contains the coordinates of this point like in ABAQUS (COORDS)??

     

     

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited July 2017

    Do you know if it is possible to write a subroutine that define a user defined field variable? And link it with a dependency to material properties?