UCFD_SPARSE  v1.1
Documentation
Loading...
Searching...
No Matches
flux.h
Go to the documentation of this file.
1
6#ifndef FLUX_H
7#define FLUX_H
8#include "ucfd_types.h"
9#include "config.h"
10
11// Single precision
12#if defined(UCFD_FLOAT32)
13 #ifndef BETAST
14 #define BETAST 0.09f
15 #endif
16 #ifndef GAMMA
17 #define GAMMA 1.4f
18 #endif
19 #ifndef PMIN
20 #define PMIN 1e-13f
21 #endif
22// Double precision
23#else
24 #ifndef BETAST
25 #define BETAST 0.09
26 #endif
27 #ifndef GAMMA
28 #define GAMMA 1.4
29 #endif
30 #ifndef PMIN
31 #define PMIN 1e-13
32 #endif
33#endif
34
42
50
51
59ucfd_status_t rans_source_jacobian(UCFD_FLOAT *uf, UCFD_FLOAT tmat[NTURBVARS][NTURBVARS], UCFD_FLOAT *dsrc);
60
61void print_configure(); // Remove later
62
63#endif //FLUX_H
Header file for solver configuration.
double UCFD_FLOAT
Definition: config.h:29
void ns_flux_container(UCFD_FLOAT *u, UCFD_FLOAT *nf, UCFD_FLOAT *f)
Computes flux for Navier-Stokes equations.
Definition: flux.c:29
void print_configure()
void rans_flux_container(UCFD_FLOAT *u, UCFD_FLOAT *nf, UCFD_FLOAT *f)
Computes flux for RANS equations.
Definition: flux.c:77
ucfd_status_t rans_source_jacobian(UCFD_FLOAT *uf, UCFD_FLOAT tmat[NTURBVARS][NTURBVARS], UCFD_FLOAT *dsrc)
Computes source term Jacobian matrix for RANS equations.
Definition: flux.c:93
Header file for UCFD_SPRASE Library types.
ucfd_status_t
Definition: ucfd_types.h:10