9.1
general documentation
cs_lagr_aux_mean_fluid_quantities.h
Go to the documentation of this file.
1#ifndef __CS_LAGR_AUX_MEAN_FLUID_QUANTITIES_H__
2#define __CS_LAGR_AUX_MEAN_FLUID_QUANTITIES_H__
3
4/*============================================================================
5 * Functions and types for lagrangian field gradients
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#include "base/cs_defs.h"
31
32/*----------------------------------------------------------------------------*/
33
35
36/*=============================================================================
37 * Macro definitions
38 *============================================================================*/
39
40/*============================================================================
41 * Type definitions
42 *============================================================================*/
43
44/*=============================================================================
45 * Global variables
46 *============================================================================*/
47
48/*=============================================================================
49 * Public function prototypes
50 *============================================================================*/
51
52/*----------------------------------------------------------------------------*/
71/*----------------------------------------------------------------------------*/
72
73void
75 int phase_id,
76 cs_real_3_t *anisotropic_lagr_time,
77 cs_real_3_t *anisotropic_bx,
78 cs_real_3_t *grad_lagr_time_r_et,
79 cs_real_3_t *grad_lagr_time);
80
81/*----------------------------------------------------------------------------*/
94/*----------------------------------------------------------------------------*/
95
96void
98 cs_real_3_t *grad_cov_skp[9],
99 cs_real_3_t *grad_cov_sk[6]);
100
101/*----------------------------------------------------------------------------*/
128/*----------------------------------------------------------------------------*/
129
130void
132 int phase_id,
133 cs_field_t *lagr_time,
134 cs_real_3_t *grad_pr,
135 cs_real_33_t *grad_vel,
136 cs_real_3_t *grad_tempf,
137 cs_real_3_t *anisotropic_lagr_time,
138 cs_real_3_t *anisotropic_bx,
139 cs_real_3_t *grad_lagr_time_r_et,
140 cs_real_3_t *grad_lagr_time);
141
142/*----------------------------------------------------------------------------*/
143
145
146#endif /* __CS_LAGR_AUX_MEAN_FLUID_QUANTITIES_H__ */
#define BEGIN_C_DECLS
Definition: cs_defs.h:554
cs_real_t cs_real_3_t[3]
vector of 3 floating-point values
Definition: cs_defs.h:374
#define END_C_DECLS
Definition: cs_defs.h:555
cs_real_t cs_real_33_t[3][3]
3x3 matrix of floating-point values
Definition: cs_defs.h:383
void compute_anisotropic_prop(int iprev, int phase_id, cs_real_3_t *anisotropic_lagr_time, cs_real_3_t *anisotropic_bx, cs_real_3_t *grad_lagr_time_r_et, cs_real_3_t *grad_lagr_time)
Compute anisotropic fluid quantities for complete model (modpl == 1).
Definition: cs_lagr_aux_mean_fluid_quantities.cpp:258
void cs_lagr_aux_mean_fluid_quantities(int iprev, int phase_id, cs_field_t *lagr_time, cs_real_3_t *grad_pr, cs_real_33_t *grad_vel, cs_real_3_t *grad_tempf, cs_real_3_t *anisotropic_lagr_time, cs_real_3_t *anisotropic_bx, cs_real_3_t *grad_lagr_time_r_et, cs_real_3_t *grad_lagr_time)
Compute auxilary mean fluid quantities.
Definition: cs_lagr_aux_mean_fluid_quantities.cpp:476
void compute_particle_covariance_gradient(int phase_id, cs_real_3_t *grad_cov_skp[9], cs_real_3_t *grad_cov_sk[6])
Compute gradient of particle covariance.
Definition: cs_lagr_aux_mean_fluid_quantities.cpp:142
Field descriptor.
Definition: cs_field.h:156