Skip to content

🐛 Bug report | Issue with fiber map definition in prestrain material #127

@konris87

Description

@konris87

Description:
I am trying to define a custom fiber map for an uncoupled prestrain material using an elastic part of trans iso mooney rivlin

Version:
FEBio 4.12

Steps To Reproduce:
I define the material as:

<material id="13" name="popliteus_test_material" type="uncoupled prestrain elastic">
<density>1.5e-09</density>
<k>500</k>
<elastic type="trans iso Mooney-Rivlin">
<c1>2.75</c1>
<c2>0</c2>
<c3>0.050000001</c3>
<c4>80</c4>
<c5>850</c5>
<lam_max>1.04</lam_max>
<fiber type="user"/>
</elastic>
<prestrain type="in-situ stretch">
<stretch lc="8">1</stretch>
<isochoric>1</isochoric>
</prestrain>
</material>

and i define the meshData element as

<MeshData>
<ElementData type="fiber" elem_set="popliteus_test_elements">
<e lid="1">0.247791,-0.634686,-0.731965</e>
<e lid="2">0.718634,-0.204163,-0.664742</e>
<e lid="3">0.463590,-0.495654,-0.734447</e>​

......

I have played with type "user" and "map" as in the example fi10.feb available in the repository.

Every time I try to run the model I receive the following error:


  • ERROR *
  • tag "ElementData" (line 354373) : invalid value for attribute "type" *
    ************************************************** ***********************​

The issue appears only when I use the prestrain material.

Kind regards,
Kostas

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions