Hi Emilia, the link shared by Carlos is valid, in this white paper you can find the mathematical relation
Search in google white papers feflow vol v and in the first results an automatic pdf file will be downloaded. Then, on page 49 you will find a better explanation. Also, if you have problems you will find the same information in our FEFLOW Book https://link.springer.com/book/10.1007/978-3-642-38739-5 page 690.