Multiscale lubrication simulation based on fourier feature networks with trainable frequency