Computing tropical varieties over fields with valuation