 
 
 
 
 
 
 
 
 
 
The hydrodynamics equations are expressed as conservation relations
plus source terms for
 has its corresponding flux
 has its corresponding flux  and
possibly source term
 and
possibly source term  .
For convenience,
.
For convenience,
|  | (2) | 
The 3D hydrodynamics equations,
including source terms due to gravity, are
the mass conservation equation
 
 is computed from density
 is computed from density  and internal energy
 and internal energy  via a (tabulated)
equation of state
 via a (tabulated)
equation of state
|  | (6) | 
|  | (7) | 
|  | (8) | 
 is the mass of the star to be modeled;
 is the mass of the star to be modeled;
 and
 and  are free smoothing parameters.
 are free smoothing parameters.
In addition, there are equations for the non-local radiation transport.
If grey opacity tables are used, the opacities  are a simple function
of e.g. temperature
 are a simple function
of e.g. temperature  and pressure
 and pressure  
 is given by
 is given by
 along a path with length
 along a path with length  is than
 is than
 with optical depth
 with optical depth  along a ray
with orientation
 along a ray
with orientation 
 can be described by the simple differential equation
can be described by the simple differential equation
 
 
 
 
 
 
 
 
