8.3
general documentation
cs_coolprop.hxx
Go to the documentation of this file.
1#ifndef __CS_COOLPROP_HXX__
2#define __CS_COOLPROP_HXX__
3
4/*============================================================================
5 * Equation of state
6 *============================================================================*/
7
8/*
9 This file is part of code_saturne, a general-purpose CFD tool.
10
11 Copyright (C) 1998-2024 EDF S.A.
12
13 This program is free software; you can redistribute it and/or modify it under
14 the terms of the GNU General Public License as published by the Free Software
15 Foundation; either version 2 of the License, or (at your option) any later
16 version.
17
18 This program is distributed in the hope that it will be useful, but WITHOUT
19 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
20 FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
21 details.
22
23 You should have received a copy of the GNU General Public License along with
24 this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
25 Street, Fifth Floor, Boston, MA 02110-1301, USA.
26*/
27
28/*----------------------------------------------------------------------------*/
29
30/*----------------------------------------------------------------------------
31 * Standard C library headers
32 *----------------------------------------------------------------------------*/
33
34/*----------------------------------------------------------------------------
35 * Local headers
36 *----------------------------------------------------------------------------*/
37
39
40#include "cs_base.h"
41
42/*----------------------------------------------------------------------------*/
43
45
46/*=============================================================================
47 * Local Macro Definitions
48 *============================================================================*/
49
50/*============================================================================
51 * Structure definition
52 *============================================================================*/
53
54/*============================================================================
55 * Global variables definition
56 *============================================================================*/
57
58/*============================================================================
59 * Public function prototypes
60 *============================================================================*/
61
62/*----------------------------------------------------------------------------*/
78/*----------------------------------------------------------------------------*/
79
80void
81cs_phys_prop_coolprop(char *coolprop_material,
82 const char *coolprop_backend,
84 cs_phys_prop_type_t property,
85 const cs_lnum_t n_vals,
86 const cs_real_t var1[],
87 const cs_real_t var2[],
88 cs_real_t val[]);
89
90/*----------------------------------------------------------------------------*/
94/*----------------------------------------------------------------------------*/
95
96void
98
99/*----------------------------------------------------------------------------*/
100
102
103#endif /* __CS_COOLPROP_HXX__ */
104
void cs_coolprop_finalize(void)
Free state for Coolprop plugin.
Definition: cs_coolprop.cxx:360
void cs_phys_prop_coolprop(char *coolprop_material, const char *coolprop_backend, cs_phys_prop_thermo_plane_type_t thermo_plane, cs_phys_prop_type_t property, const cs_lnum_t n_vals, const cs_real_t var1[], const cs_real_t var2[], cs_real_t val[])
Computes physical properties in (P,h,Yi) for compressible flow.
Definition: cs_coolprop.cxx:112
#define BEGIN_C_DECLS
Definition: cs_defs.h:542
double cs_real_t
Floating-point value.
Definition: cs_defs.h:342
#define END_C_DECLS
Definition: cs_defs.h:543
int cs_lnum_t
local mesh entity id
Definition: cs_defs.h:335
cs_phys_prop_thermo_plane_type_t
Definition: cs_physical_properties.h:42
cs_phys_prop_type_t
Definition: cs_physical_properties.h:54