The physics cannot be taken into account as the simulation setup is not valid - Troubleshooting steps

When attempting to generate a mesh in SimScale, sometimes the user is faced with the message below:

“The physics can not be taken into account as the simulation setup is not valid. Complete your simulation setup before generating the mesh in order to optimize the mesh for your application.”

This message means that something in the simulation setup is invalid. It is still possible (although not recommended) to simply click on “Generate mesh anyway” and proceed with the mesh generation. If you do that, both “Physics-based meshing” and “Automatic boundary layers” will be automatically turned off, which can lead to a worse quality mesh.

With that being said, users are encouraged to find out what is wrong in the simulation setup and fix the issue. The easiest way to do this is by trying to run a simulation instead:

An error message will pop up, showing exactly what is invalid. In the example above, apparently one face was assigned to two different boundary conditions. The “Click to select” button is very handy, as it allows you to quickly pinpoint the problematic entity.

In this demonstration, a wall was assigned both as a velocity inlet (which is not intended) and as a wall. As such, the algorithm doesn’t know which setting is the correct one and throws off an error. By going through the error messages and fixing the setup, it will be possible to generate a mesh normally.