Plot Material Properties

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • jb885
    Junior Member
    • Apr 2018
    • 1

    Plot Material Properties

    Hi,

    I am creating a fracture healing model using the FEBio software and it would be useful to display the elements material properties in PostView. Is there anyway of linking the material colour to the properties such as Young's Modulus? Or setting the properties as an output so it could be colour mapped.

    If this isn't possible if anyone has any suggestions of post processing software that may be able to do this and read the FEBio plot file.

    Thanks

    Jack
  • maas
    Lead Code Developer
    • Nov 2007
    • 3452

    #2
    Hi Jack,

    You can output material properties to the plotfile from FEBio and then plot them as a contour plot in PostView. To do this, add the following to the plotfile section of the FEBio input file. (Assuming your material is named "Material1" and the parameter is called "E")

    Code:
    <var type="parameter['Material1.E']"/>
    You can also provide an alias, which is the name for the field that will be displayed in PostView.

    Code:
    <var type="parameter['Material1.E']=E"/>
    Note that this assumes that the material supports heterogeneous material parameters.

    Please give this a try and let us know if it worked or not.

    Cheers,

    Steve
    Department of Bioengineering, University of Utah
    Scientific Computing and Imaging institute, University of Utah

    Comment

    • Franzi
      Junior Member
      • Feb 2020
      • 25

      #3
      Hello Steve,

      is this still the current way to output heterogeneous material parameters? I tried it, but unfortunately I didn't get it to work. I had a look at the user manual chapter 3.18.2.1 Plotfile Variables as well, but wasn't able to generate the output. I tried the following:
      <var type="parameter['Material1.E']=E"/>
      <var type="parameter['E_map']=E"/>
      Is there something I'm missing?
      I've attached the input file.

      Thanks for your help

      Franziska
      Attached Files

      Comment

      • maas
        Lead Code Developer
        • Nov 2007
        • 3452

        #4
        Hi Franziska,

        Try the following:

        Code:
        <var type="parameter['fem.material[0].solid.E']=E"/>
        That should do the trick.

        Best,

        Steve
        Department of Bioengineering, University of Utah
        Scientific Computing and Imaging institute, University of Utah

        Comment

        • Franzi
          Junior Member
          • Feb 2020
          • 25

          #5
          Hi Steve,
          yes, this worked perfectly Thank you!
          Best,
          Franziska

          Comment

          • Franzi
            Junior Member
            • Feb 2020
            • 25

            #6
            Hello again,
            is there also a way to plot parameters of a solid as part of a solid mixture inside a biphasic material? For example Young's modulus E in the example below?
            Code:
            <Material>
                <material id="1" name="Material1" type="biphasic">
                    <phi0>0.5</phi0>
                    <fluid_density>1.0e-10</fluid_density>
                    <solid type="solid mixture">
                        <density>2.0e-10</density>
                        <solid type="neo-Hookean">
                            <E>1.0</E>
            Best,
            Franzi

            Comment

            • maas
              Lead Code Developer
              • Nov 2007
              • 3452

              #7
              Hi @Franzi,

              Try adding this to your plotfile section:

              Code:
                          <var type="parameter['fem.material[0].solid.solid[0].E']=E"/>
              Let me know if that worked or not.

              Best,

              Steve
              Department of Bioengineering, University of Utah
              Scientific Computing and Imaging institute, University of Utah

              Comment

              • Franzi
                Junior Member
                • Feb 2020
                • 25

                #8
                Hi Steve,

                thank you, it worked! I swear I thought I tried that before asking you again, but apparently not
                Thanks again!

                Best,
                Franzi

                Comment

                • subratamondal
                  Member
                  • Jan 2023
                  • 39

                  #9
                  Hi Steve,

                  I want to plot the material properties. I have tried the following code for plot the heterogenous material properties of my model.

                  <var type="parameter['Materialname.E']=E"/>

                  Is there something I'm missing?
                  I've attached the input file.
                  1 file sent via WeTransfer, the simplest way to send your files around the world


                  Thanks for your help

                  Best,
                  Subrata

                  Comment

                  • maas
                    Lead Code Developer
                    • Nov 2007
                    • 3452

                    #10
                    Hi Subrata,

                    Try this:

                    Code:
                    <var type="parameter['fem.material[1].E']=E"/>
                    Also, please check out this appendix in the user manual, which talks about the syntax for referencing model parameters.

                    Best,

                    Steve
                    Department of Bioengineering, University of Utah
                    Scientific Computing and Imaging institute, University of Utah

                    Comment

                    Working...
                    X
                    😀
                    😂
                    🥰
                    😘
                    🤢
                    😎
                    😞
                    😡
                    👍
                    👎