Home > Legacy archive > Specific versions > FARGO-AD > Energy equation
The energy equation implemented in FARGO reads:
is the thermal energy density (thermal energy per unit area),
denotes the flow velocity,
is the vertically integrated pressure, and
(
) denote heating (cooling) source terms, assumed to be positive quantities. In this beta version of Fargo adiabatic, there is no cooling source term:
. A heating source term due to the disk viscosity is however implemented, that reads ([[D'Angelo, G., Henning, T., & Kley, W. 2003, ApJ, 599, 548]]):
denotes the cinematic viscosity (calculated with function
,
and
are the components of the viscous stress tensor (calculated in function
, in Viscosity.c).
An ideal equation of state is used to close the hydrodynamics equations:
denotes the universal gas constant,
the mean molecular weight and
the gas temperature.
and
are fixed to unity (see fondam.h). Furthermore,
and
are connected with:
denotes the adiabatic index. Its value is given by the
denotes the adiabatic sound speed. We comment that
is connected with the isothermal sound speed
with
.







FViscosity
in Viscosity.c), 


ComputeViscousTerms
, as well as 








ADIABATICINDEX
parameter (default value: 1.4). Our equation of state therefore reads:



