STL scaling in externalFlowAroundObstacle example


I am trying to understand the relation between the size of domain and the size of STL in externalFlowAroundObstacle example.

In XML file, what are the untis of the full simulation domain dimensions ? SI units ? So, meter ?

In a STL file, the units are not defined, so I could understand that a scaling of STL is performed when it is imported but I don’t understand this line : triangleSet.scale(1.0/param.dx) (line 331)
why “dx” to scale ? “dx” is relative to resolution and dimension of domain, not relative to STL units …

Thank you

It couls be whatever you want. But think of them as SI.