# Conservation of Internal Energy

Conservation of internal energy is used to model temperature dependent material behavior. It also allows an energy balance evaluation.

However, internal energy is only calculated if it is turned on, to reduce computation time in problems not involving heat transfer.

The conservation of energy is given by:

- $e$
- Internal energy in Joules (Nm)
- $P$
- Fluid pressure

Applying a Galerkin variation form for the solution gives:

Making the following assumptions:

$\psi $ =1

${\rho}_{e}$ = constant over control volume $V$

Equation 2 reduces to:

Applying the divergence theorem gives:

Hence:

This formula is still valid if $e$ is not assumed uniform over volume $V$ .

New formulation based on total energy conservation are under investigation.