Measurement of forces due to structure in hydrocarbon liquids