I’ve written a finite element code in Matlab, for a multi-physics problem. The problem is when I change mesh sizing, the code doesn’t converge. I guess it is because the employed variables are not dimensionless and the stiffness matrix depends on the units (i.e. mm or m). How can I make my variables dimensionless? For example how can I make geometry lengths dimensionless? I will be glad if you can help me or give me suitable references.