9.1
general documentation
cs_atmo_imbrication.h
Go to the documentation of this file.
1#ifndef __CS_ATMO_IMBRICATION_H__
2#define __CS_ATMO_IMBRICATION_H__
3
4/*============================================================================
5 * Atmospheric imbrication related functions
6 *============================================================================*/
7
8/*
9 This file is part of code_saturne, a general-purpose CFD tool.
10
11 Copyright (C) 1998-2025 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 * Local headers
32 *----------------------------------------------------------------------------*/
33
34#include "base/cs_defs.h"
35
36/*----------------------------------------------------------------------------*/
37
39
40/*============================================================================
41 * Local Macro definitions
42 *============================================================================*/
43
44/*============================================================================
45 * Type definitions
46 *============================================================================*/
47
52/*----------------------------------------------------------------------------
53 * Atmospheric imbrication option
54 *----------------------------------------------------------------------------*/
55
56typedef struct {
57
61
71
75
77 int id_u;
78 int id_v;
79 int id_qw;
80 int id_nc;
81 int id_tke;
82 int id_eps;
84
86
87/*============================================================================
88 * Global variables
89 *============================================================================*/
90
91/* Pointer to atmo imbrication structure */
93
94/*============================================================================
95 * Public function prototypes
96 *============================================================================*/
97
102void
104
111void
113
120void
122
123/*----------------------------------------------------------------------------*/
124
126
127#endif /* __CS_ATMO_IMBRICATION_H__ */
void cs_summon_cressman(cs_real_t the_time)
Prepare for the cressman interpolation of the variables.
Definition: cs_atmo_imbrication.cpp:1807
void cs_finalize_imbrication(void)
Definition: cs_atmo_imbrication.cpp:1953
cs_atmo_imbrication_t * cs_glob_atmo_imbrication
void cs_activate_imbrication(void)
Prepare data for imbrication by reading meteo files.
Definition: cs_atmo_imbrication.cpp:1720
#define BEGIN_C_DECLS
Definition: cs_defs.h:554
double cs_real_t
Floating-point value.
Definition: cs_defs.h:357
#define END_C_DECLS
Definition: cs_defs.h:555
Definition: cs_atmo_imbrication.h:56
bool cressman_theta
Definition: cs_atmo_imbrication.h:70
int id_tke
Definition: cs_atmo_imbrication.h:81
int id_qw
Definition: cs_atmo_imbrication.h:79
int id_v
Definition: cs_atmo_imbrication.h:78
cs_real_t horizontal_influence_radius
Definition: cs_atmo_imbrication.h:74
bool cressman_u
Definition: cs_atmo_imbrication.h:64
bool cressman_eps
Definition: cs_atmo_imbrication.h:69
int id_u
Definition: cs_atmo_imbrication.h:77
bool cressman_v
Definition: cs_atmo_imbrication.h:65
bool cressman_qw
Definition: cs_atmo_imbrication.h:66
cs_real_t vertical_influence_radius
Definition: cs_atmo_imbrication.h:73
int id_nc
Definition: cs_atmo_imbrication.h:80
int id_eps
Definition: cs_atmo_imbrication.h:82
bool imbrication_verbose
Definition: cs_atmo_imbrication.h:60
bool cressman_nc
Definition: cs_atmo_imbrication.h:67
bool imbrication_flag
Definition: cs_atmo_imbrication.h:59
bool cressman_tke
Definition: cs_atmo_imbrication.h:68
int id_theta
Definition: cs_atmo_imbrication.h:83