I am a new user trying to follow the tutorial project and learn. But seems the tutorial project is out of date. I receive error message: The <solid_density> tag has been removed. Use definitions to specify solid’s density.
To fix this, I tried to add a section, like other benchmark project, between and <time_loop>:
<media>
<medium>
<phases>
<phase>
<type>Solid</type>
<properties>
<property>
<name>density</name>
<type>Constant</type>
<value>1</value> <!-- Assuming the density value from rho_sr -->
</property>
</properties>
</phase>
</phases>
</medium>
</media>
But I got warning: The maximum value of MaterialIDs in mesh is 3. As the given number of porous media definitions in the project file is 1, the maximum value of MaterialIDs in mesh must be 2 (index starts with zero).
and
error: map::at: key not found
the snippet you are showing looks ok, but something went wrong with the material ids. Could you upload (a small version if possible) of the project file and the meshes? Then we could figure out what goes wrong exactly.
The error says that the medium description for some material id was not found in the media description.
Exactly, same as in the constitutive relations for the solid. For complex setups one can choose different media (material properties) for different material ids.