The purpose of this section is to derive the stress tensor and the corresponding friction vector in orthogonal curvilinear coordinates. The derivation requires a fair amount of calculations using curvilinear tensors. Since there are ocean models running with general curvilinear coordinates, the following derivation for general coordinates may be of use for understanding the form of friction used in those models.