# Field3D.compute\_residual\_kinetic\_energy

[![badge](https://img.shields.io/badge/Source%20Code-06D40C?style=plastic)](https://github.com/LorenzoPiu/aPriori/blob/main/src/aPriori/DNS.py#L234-L286)

### **Field3D.**<mark style="color:red;">**compute\_residual\_kinetic\_energy**</mark>(self, mode='Yosh'):

***

### Description

Function to compute the residual kinetic energy.

#### Real value computed with information at DNS level:

$$k\_{SGS} = \overline{U\_i U\_i} - \overline{U\_i} \overline{U\_i}$$

#### Yoshizawa expression:

$$k\_{SGS} = 2 C\_I \overline{\rho} \Delta^2 | \tilde{S} |^2$$

### Parameters

* `mode` (str, optional): The method for computing residual kinetic energy. The default is 'Yosh'.

### Returns

None
