How to show the fibers direction in preview or febio studio?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • albert22
    Junior Member
    • Oct 2019
    • 13

    How to show the fibers direction in preview or febio studio?

    I set up a biphasic material with fibers in it, but I could not check the fibers direction in the preview or febio studio. I have used the method mentioned in the early discussion (tools-options-physics-show material fibers), but it didn’t work. Who can help me? Thanks!

    <Material>
    <material id="1" name="Material1" type="biphasic">
    <phi0>0</phi0>
    <fluid_density>1</fluid_density>
    <solid type="solid mixture">
    <solid type="neo-Hookean">
    <density>1</density>
    <E>0.54</E>
    <v>0.3</v>
    </solid>
    <solid type="fiber-exp-pow">
    <alpha>0</alpha>
    <beta>2</beta>
    <ksi>2</ksi>
    <theta>0</theta>
    <phi>90</phi>
    </solid>
    </solid>
    <permeability type="perm-const-iso">
    <perm>0</perm>
    </permeability>
    </material>
    </Material>
    no fiber display.zip
  • maas
    Lead Code Developer
    • Nov 2007
    • 3441

    #2
    Hi,

    Currently, only the top-level's material axes or fibers can be shown in FEBioStudio (or PreView). We are working on better visualization tools for fibers, but one possible work-around would be to make a mock, top-level material where you set the material axes the way you want them and then copy the material axes parameters to your material.

    I do want to mention that the material definition for the fiber-exp-pow (and similar materials) you list above will not be supported anymore. The "theta" and "phi" parameters actually circumvent the mechanism for identifying fiber orientations. Instead, the fiber orientation should be defined via the "fiber" or "mat_axis" property with the type attribute set to "angles" .

    Code:
    <solid type="fiber-exp-pow">
    	<alpha>0</alpha>
    	<beta>2</beta>
    	<ksi>2</ksi>
    	<mat_axis type="angles">
    		<theta>0</theta>
    		<phi>90</phi>
    	</mat_axis>
    </solid>
    Cheers,

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

    Comment

    • albert22
      Junior Member
      • Oct 2019
      • 13

      #3
      Hi,
      Thank you for your reply. I tied to replace the "angles" code by yours. And then I imported it into preview. It showed a hint "Skipping tag "mat_axis". Unknown value for attribute "type".(line 24)".
      I also replaced the "angles " code by " <fiber type="local"> 0, 1</fiber> ". It didn't work too. Maybe I should try another way or material.

      Cheers,

      Albert

      Comment

      • maas
        Lead Code Developer
        • Nov 2007
        • 3441

        #4
        Hi Albert,

        Perhaps try FEBioStudio instead of PreView. FEBioStudio replaces PreView and containts all the PreView and PostView code combined. Any bugs will be fixed in FEBioStudio. Let me know if it still doesn't work for you in FEBioStudio.

        Cheers,

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

        Comment

        • albert22
          Junior Member
          • Oct 2019
          • 13

          #5
          Hi Steve,

          I tried FEBioStudio too. It still didn't work just like in the preview. I used two codes to replace the original code.

          First try
          <solid type="fiber-exp-pow">
          <alpha>0</alpha>
          <beta>2</beta>
          <ksi>2</ksi>
          <fiber type="local"> 0, 1</fiber>
          </solid>

          Second try
          <solid type="fiber-exp-pow">
          <alpha>0</alpha>
          <beta>2</beta>
          <ksi>2</ksi>
          <mat_axis type="angles">
          <theta>0</theta>
          <phi>90</phi>
          </mat_axis>
          </solid>

          Cheers,

          Albert

          Comment

          • maas
            Lead Code Developer
            • Nov 2007
            • 3441

            #6
            The second approach definitely works for me. What is the error message you are getting?

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

            Comment

            • albert22
              Junior Member
              • Oct 2019
              • 13

              #7
              Hi Steve,

              It showed a hint "Skipping tag "mat_axis". Unknown value for attribute "type".(line 24)". The FEBioStudio version is the latest one "FEBioStudio_windows_1.0.0-beta-3."code.pngfigure.png

              Albert

              Comment

              • maas
                Lead Code Developer
                • Nov 2007
                • 3441

                #8
                Hi Albert,

                If you reach out to me on steve.maas@utah.edu, I'll send you the latest development version to try.

                Cheers,

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

                Comment

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