4
/*============================================================================
5
* Functions associated to ALE formulation
6
*============================================================================*/
9
This file is part of Code_Saturne, a general-purpose CFD tool.
11
Copyright (C) 1998-2011 EDF S.A.
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
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
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.
28
/*----------------------------------------------------------------------------*/
30
/*----------------------------------------------------------------------------
31
* Standard C library headers
32
*----------------------------------------------------------------------------*/
34
/*----------------------------------------------------------------------------
36
*----------------------------------------------------------------------------*/
40
/*----------------------------------------------------------------------------*/
44
/*============================================================================
45
* Public function prototypes
46
*============================================================================*/
48
/*----------------------------------------------------------------------------
49
* Compute cell and face centre of gravity, cell volume.
56
*----------------------------------------------------------------------------*/
59
CS_PROCF (algrma, ALGRMA)(void);
61
/*----------------------------------------------------------------------------
62
* Projection on mesh vertices of the displacement (computed on cell center)
69
* INTEGER IFACEL(2,NFAC) : --> : Interior faces -> cells connectivity
70
* INTEGER IFABOR(NFABOR) : --> : Border faces -> cells connectivity
71
* INTEGER IPNFAC(NFAC+1) : --> : Interior faces -> vertices index
72
* INTEGER NODFAC(LNDFAC) : --> : Interior faces -> vertices list
73
* INTEGER IPNFBR(NFABOR+1): --> : Border faces -> vertices index
74
* INTEGER NODFBR(LNDFBR) : --> : Border faces -> vertices list
75
* DOUBLE PRECISION UMA(NCELET) : --> : Mesh velocity along X
76
* DOUBLE PRECISION VMA(NCELET) : --> : Mesh velocity along Y
77
* DOUBLE PRECISION WMA(NCELET) : --> : Mesh velocity along Z
78
* DOUBLE PRECISION COEFAU(NCELET) : --> : Boundary condition A for UMA
79
* DOUBLE PRECISION COEFAV(NCELET) : --> : Boundary condition A pour VMA
80
* DOUBLE PRECISION COEFAW(NCELET) : --> : Boundary condition A pour WMA
81
* DOUBLE PRECISION COEFBU(NCELET) : --> : Boundary condition B pour UMA
82
* DOUBLE PRECISION COEFBV(NCELET) : --> : Boundary condition B pour VMA
83
* DOUBLE PRECISION COEFBW(NCELET) : --> : Boundary condition B pour WMA
84
* DOUBLE PRECISION DT(NCELET) : --> : Time step
85
* DOUBLE PRECISION DEPROJ(NNOD,3)): <-- : Displacement projected on vertices
86
*----------------------------------------------------------------------------*/
89
CS_PROCF (aldepl, ALDEPL)(const cs_int_t i_face_cells[],
90
const cs_int_t b_face_cells[],
91
const cs_int_t i_face_vtx_idx[],
92
const cs_int_t i_face_vtx_lst[],
93
const cs_int_t b_face_vtx_idx[],
94
const cs_int_t b_face_vtx_lst[],
105
cs_real_t *disp_proj);
107
/*----------------------------------------------------------------------------
108
* Destroy the associated fvm_interface_set_t structure if necessary
114
*----------------------------------------------------------------------------*/
117
CS_PROCF (lbrale, LBRALE)(void);
119
/*----------------------------------------------------------------------------*/
123
#endif /* __CS_ALE_H__ */