$usegmshphys is the command to enable the solver to use Physical volume to assign parameters. For example
$usegmshphys