PLUTO  4.0
 All Data Structures Files Functions Variables Enumerations Macros Pages
Functions
tc_kappa.c File Reference

Define the thermal conduction coefficients. More...

#include "pluto.h"

Functions

void TC_kappa (double *v, double x1, double x2, double x3, double *kpar, double *knor, double *phi)
 

Detailed Description

Use this function to supply the thermal conduction coefficients $ \kappa_\| $ and $ \kappa_\bot $ along and across magnetic field lines and the $ \phi $ parameter used to control the magnitude of the saturated flux $ F_{\rm sat} = 5\phi\rho c_{\rm iso}^3 $. To exclude saturation, simply set $ \phi $ to a very large number.

Authors
A. Mignone (migno.nosp@m.ne@p.nosp@m.h.uni.nosp@m.to.i.nosp@m.t)
T. Matsakos
Date
Oct 31, 2012

Function Documentation

void TC_kappa ( double *  v,
double  x1,
double  x2,
double  x3,
double *  kpar,
double *  knor,
double *  phi 
)

Compute thermal conduction coefficients.

Parameters
[in]varray of primitive variables
[in]x1coordinate in the X1 direction
[in]x2coordinate in the X2 direction
[in]x3coordinate in the X3 direction
[out]kparpointer to the conduction coefficient $ \kappa_\parallel $ in the direction of magnetic field
[out]knorpointer to the conduction coefficient $ \kappa_\perp $ perpendicular to magnetic field
[out]phipointer to the parameter $ \phi $ controlling the magnitude of the saturated flux.