My Project
programmer's documentation
Functions | Variables
cs_physical_constants.c File Reference
#include "cs_defs.h"
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "bft_mem.h"
#include "bft_error.h"
#include "bft_printf.h"
#include "cs_log.h"
#include "cs_map.h"
#include "cs_parall.h"
#include "cs_mesh_location.h"
#include "cs_physical_constants.h"
Include dependency graph for cs_physical_constants.c:

Functions

cs_physical_constants_tcs_get_glob_physical_constants (void)
 
cs_fluid_properties_tcs_get_glob_fluid_properties (void)
 
void cs_physical_constants_log_setup (void)
 
void cs_fluid_properties_log_setup (void)
 

Variables

const double cs_physical_constants_r = 8.31446
 
const double cs_physical_constants_kb = 1.38e-23
 
const double cs_physical_constants_celsius_to_kelvin = 273.15
 
const double cs_physical_constants_stephan = 5.6703e-8
 
const cs_physical_constants_tcs_glob_physical_constants
 
const cs_fluid_properties_tcs_glob_fluid_properties = &_fluid_properties
 

Detailed Description

Base physical constants and fluid properties data.

Function Documentation

◆ cs_fluid_properties_log_setup()

void cs_fluid_properties_log_setup ( void  )

◆ cs_get_glob_fluid_properties()

cs_fluid_properties_t* cs_get_glob_fluid_properties ( void  )

◆ cs_get_glob_physical_constants()

cs_physical_constants_t* cs_get_glob_physical_constants ( void  )

◆ cs_physical_constants_log_setup()

void cs_physical_constants_log_setup ( void  )

Variable Documentation

◆ cs_glob_fluid_properties

const cs_fluid_properties_t* cs_glob_fluid_properties = &_fluid_properties

◆ cs_glob_physical_constants

const cs_physical_constants_t* cs_glob_physical_constants
Initial value:
=
&_physical_constants

◆ cs_physical_constants_celsius_to_kelvin

const double cs_physical_constants_celsius_to_kelvin = 273.15

Conversion from Celsius to Kelvin: 275.15

◆ cs_physical_constants_kb

const double cs_physical_constants_kb = 1.38e-23

Boltzmann constant ( $J.K^{-1}$)

◆ cs_physical_constants_r

const double cs_physical_constants_r = 8.31446

Ideal gas constant ( $J.mol^{-1}.K^{-1}$)

◆ cs_physical_constants_stephan

const double cs_physical_constants_stephan = 5.6703e-8