The internal diameter (Di) is used for computing the buoyancy contribution of internal fluid, if present. The internal diameter is also used for computing cross-section area, moment of inertia and polar moment of inertia, if these are not specified directly. Di is used as the inner diameter for stress calculations unless you specify otherwise. Di defaults to a value of zero, although that would be an unusual value.