8.3
general documentation
cs_mobile_structures.h
Go to the documentation of this file.
1#ifndef __CS_MOBILE_STRUCTURES_H__
2#define __CS_MOBILE_STRUCTURES_H__
3
4/*============================================================================
5 * Mobile structures management.
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 * Local headers
32 *----------------------------------------------------------------------------*/
33
34#include "cs_defs.h"
35
36#include "cs_restart.h"
37#include "cs_time_control.h"
38
39/*----------------------------------------------------------------------------*/
40
42
43/*=============================================================================
44 * Macro definitions
45 *============================================================================*/
46
47/*============================================================================
48 * Type definitions
49 *============================================================================*/
50
51/*============================================================================
52 * Global variables
53 *============================================================================*/
54
57
60
61/*=============================================================================
62 * Public function prototypes
63 *============================================================================*/
64
65/*----------------------------------------------------------------------------*/
69/*----------------------------------------------------------------------------*/
70
71void
73
74/*----------------------------------------------------------------------------*/
78/*----------------------------------------------------------------------------*/
79
80void
82
83/*----------------------------------------------------------------------------*/
87/*----------------------------------------------------------------------------*/
88
89void
91
92/*----------------------------------------------------------------------------*/
96/*----------------------------------------------------------------------------*/
97
98void
100
101/*----------------------------------------------------------------------------*/
107/*----------------------------------------------------------------------------*/
108
109int
111
112/*----------------------------------------------------------------------------*/
118/*----------------------------------------------------------------------------*/
119
120int
122
123/*----------------------------------------------------------------------------*/
132/*----------------------------------------------------------------------------*/
133
134void
136
137/*----------------------------------------------------------------------------*/
145/*----------------------------------------------------------------------------*/
146
147void
149
150/*----------------------------------------------------------------------------*/
158/*----------------------------------------------------------------------------*/
159
160void
162 cs_real_t beta,
164
165/*----------------------------------------------------------------------------*/
174/*----------------------------------------------------------------------------*/
175
176void
178 int italim,
179 int ineefl,
180 int impale[]);
181
182/*----------------------------------------------------------------------------*/
190/*----------------------------------------------------------------------------*/
191
192void
194 int italim,
195 int *itrfin);
196
197/*----------------------------------------------------------------------------*/
203/*----------------------------------------------------------------------------*/
204
205void
207
208/*----------------------------------------------------------------------------*/
214/*----------------------------------------------------------------------------*/
215
216void
218
219/*----------------------------------------------------------------------------*/
220
222
223#endif /* __CS_MOBILE_STRUCTURES_H__ */
#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
@ gamma
Definition: cs_field_pointer.h:224
void cs_mobile_structures_add_external_structures(void)
Add external mobile structures.
Definition: cs_mobile_structures.cpp:1134
void cs_mobile_structures_prediction(int itrale, int italim, int ineefl, int impale[])
Predict displacement of mobile structures with ALE.
Definition: cs_mobile_structures.cpp:1202
void cs_mobile_structures_initialize(void)
Initialize mobile structures with ALE for internal coupling.
Definition: cs_mobile_structures.cpp:789
void cs_mobile_structures_log_setup(void)
Log structures and coupling information.
Definition: cs_mobile_structures.cpp:935
void cs_mobile_structures_displacement(int itrale, int italim, int *itrfin)
Displacement of mobile structures with ALE for internal coupling.
Definition: cs_mobile_structures.cpp:1415
int cs_mobile_structures_get_n_ext_structures(void)
Query number of external mobile structures defined.
Definition: cs_mobile_structures.cpp:1084
void cs_mobile_structures_add_n_structures(int n_structures)
Add internal mobile structures.
Definition: cs_mobile_structures.cpp:1109
void cs_mobile_structures_finalize(void)
Finalize mobile structures with ALE for internal coupling.
Definition: cs_mobile_structures.cpp:919
void cs_mobile_structures_restart_write(cs_restart_t *r)
Write mobile structures data to checkpoint.
Definition: cs_mobile_structures.cpp:1884
double cs_glob_mobile_structures_i_eps
void cs_mobile_structures_restart_read(cs_restart_t *r)
Read mobile structures data to checkpoint.
Definition: cs_mobile_structures.cpp:1754
void cs_mobile_structures_set_newmark_coefficients(cs_real_t alpha, cs_real_t beta, cs_real_t gamma)
Set Newmark coefficients for internal mobile structures.
Definition: cs_mobile_structures.cpp:1157
int cs_glob_mobile_structures_n_iter_max
int cs_mobile_structures_get_n_int_structures(void)
Query number of internal mobile structures defined.
Definition: cs_mobile_structures.cpp:1065
void cs_mobile_structures_setup(void)
Initialize mobile structures with ALE for internal coupling.
Definition: cs_mobile_structures.cpp:734
struct _cs_restart_t cs_restart_t
Definition: cs_restart.h:95