Hydrostatic pressure


I know that non-uniform pressure has to be defined using dload.f subroutine in addition to *DLOAD keyword. The case of hydrostatic pressure is actually mentioned in the documentation as an example where this subroutine can be used. But is there any other way to apply hydrostatic pressure with no need to write a subroutine ? It’s a specific kind of load, with linear variation given by simple formula so maybe there is some workaround.

Thanks in advance for your help.