If there be no issue of fact tried in the cause, and judgment is to be rendered for the plaintiff on demurrer, or otherwise, such damages shall be assessed by the court, unless either party shall move to have them assessed by a jury, or the court shall think proper to have them so assessed, in which case a jury shall be impaneled to assess them. If the defendant is in default the court shall proceed to render judgment and assess damages as provided in Rule of Court 3:19.
Va. Code § 8.01-159