PLUTO
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
visc_nu.c
Go to the documentation of this file.
1
/* /////////////////////////////////////////////////////////////////// */
2
/*! \file
3
* \brief Specification of explicit first and second viscosity coefficients*/
4
/* /////////////////////////////////////////////////////////////////// */
5
#include "
pluto.h
"
6
#include <stdio.h>
7
/* ************************************************************************** */
8
void
Visc_nu
(
double
*v,
double
x1,
double
x2,
double
x3,
9
double
*nu1,
double
*nu2)
10
/*!
11
* \brief Calculate first and second viscosity coefficients as functions of data and coordinates
12
*
13
* \param [in] v pointer to data array containing cell-centered quantities
14
* \param [in] x1 real, coordinate value
15
* \param [in] x2 real, coordinate value
16
* \param [in] x3 real, coordinate value
17
* \param [in, out] nu1 pointer to first viscous coefficient
18
* \param [in, out] nu2 pointer to second viscous coefficient
19
* \return This function has no return value.
20
* ************************************************************************** */
21
22
{
23
*nu1 =
g_inputParam
[
NU_VISC
];
24
*nu2 = 0.0;
25
}
NU_VISC
#define NU_VISC
Definition:
definitions_01.h:24
g_inputParam
double g_inputParam[32]
Array containing the user-defined parameters.
Definition:
globals.h:131
pluto.h
PLUTO main header file.
Visc_nu
void Visc_nu(double *v, double x1, double x2, double x3, double *nu1, double *nu2)
Definition:
visc_nu.c:7
Test_Problems
HD
Viscosity
Flow_Past_Cylinder
visc_nu.c
Generated by
1.8.10