febiosoftware / FEBio

FEBio Suite Solver
https://febio.org/
MIT License
175 stars 65 forks source link

Mapping parameters not working for Ogden materials #33

Closed Kevin-Mattheus-Moerman closed 2 years ago

Kevin-Mattheus-Moerman commented 2 years ago

@SteveMaas1978 I have a model where this runs fine:

        <material id="1" name="Material1" type="neo-Hookean">
            <E type="map">MaterialParameterMap1</E>
            <v>4.0000000e-01</v>
        </material>

But the following fails with an FEBio error saying tag "c1" (line 46) : invalid attribute "type":

        <material id="1" name="Material1" type="Ogden unconstrained">
            <c1 type="map">MaterialParameterMap1</c1>
            <m1>2</m1>
            <cp>5.0050000e+01</cp>
        </material>

Is the material parameter mapping not implemented for all materials? I also tried the Ogden form but got the same issue.

SteveMaas1978 commented 2 years ago

This feature is now implemented. Please give it a try and let us know if you run into any issues.