Time-dependent Soret transport: Applications to brine and magma