Hello,
for my current study, I am using a custom material model. This material has a parameter that has six values assigned to it.
Example of how the parameter is used in the input file:
<customparameter>1, 1, 1, 0.5, 0.7, 0.8</customparameter>.
In the source code, this parameter is declared as follows:
"double m_customparameter[6];"
I tried to map the parameter....
<MeshData>
<ElementData name="map_customparameter" elem_set="elem_set">
<elem lid="1">1,1,1,0.5,0.5,0.5</elem>
<elem lid="2">1,1,1,0.5,0.6,0.8</elem>
...
</ElementData>
</MeshData>
... but unfortunately this results in the following error message:
Tag "elem": invalid value
I would like to make the element-wise mapping work for this parameter as well. How do I have to change the source code so that the mapping works also in this case?
I guess that you have to make a change in the FEBioMeshDataSection3.cpp (see picture in the attachment)...???. I hope that someone can help me.
Best regards,
Richard
for my current study, I am using a custom material model. This material has a parameter that has six values assigned to it.
Example of how the parameter is used in the input file:
<customparameter>1, 1, 1, 0.5, 0.7, 0.8</customparameter>.
In the source code, this parameter is declared as follows:
"double m_customparameter[6];"
I tried to map the parameter....
<MeshData>
<ElementData name="map_customparameter" elem_set="elem_set">
<elem lid="1">1,1,1,0.5,0.5,0.5</elem>
<elem lid="2">1,1,1,0.5,0.6,0.8</elem>
...
</ElementData>
</MeshData>
... but unfortunately this results in the following error message:
Tag "elem": invalid value
I would like to make the element-wise mapping work for this parameter as well. How do I have to change the source code so that the mapping works also in this case?
I guess that you have to make a change in the FEBioMeshDataSection3.cpp (see picture in the attachment)...???. I hope that someone can help me.
Best regards,
Richard
Comment