inconsistent prj definition between media and constitutive relations for a single material ID
Description
With multiple different MaterialIDs everything's fne, but if you have a model with only one MaterialID - say 11 in this case: In the media definiton you have to specify correctly:
<medium id="11">
In the constitutive relations you have to specify less reasonably:
<constitutive_relation id="0">
If you would write 11 - as one might think would be the correct approach - you get the following error:
error: No constitutive relation found for material id 0 and element 0. There are 1 constitutive relations available.
Also there is a warning shortly before which is doesn't make any sense:
warning: The maximum value of MaterialIDs in mesh is 11. As the given number of porous media definitions in the project file is 1, the maximum value of MaterialIDs in mesh must be 10 (index starts with zero).
Specifications
- Version: 6.4.3-1007-g6f75994c.dirty
- Platform: Ubuntu 22.04.1 LTS (GNU/Linux 5.10.102.1-microsoft-standard-WSL2 x86_64)