Flux is a vector quantity for transport phenomena, defining the magnitude and direction of flow of a material or property. Flux is a scalar quantity in vector calculus, defined as the integral surface of the perpendicular part of a vector field over a line.