My Project
programmer's documentation
|
Go to the source code of this file.
Functions | |
void | CS_PROCF (permas, PERMAS)(const cs_int_t *iappel |
void | CS_PROCF (perinr, PERINR)(const cs_int_t *const imrgra |
void | cs_gradient_perio_initialize (void) |
Initialize gradient rotational periodicity computation API. More... | |
void | cs_gradient_perio_finalize (void) |
Finalize gradient rotational periodicity computation API. More... | |
void | cs_gradient_perio_update_mesh (void) |
Update gradient rotational periodicity computation API in case of mesh modification. More... | |
void | cs_gradient_perio_init_rij (const cs_field_t *f, int *tr_dim, cs_real_3_t grad[]) |
Initialize ghost cell values for Reynolds stress tensor gradient. More... | |
void | cs_gradient_perio_init_rij_tensor (int *tr_dim, cs_real_63_t grad[]) |
Initialize ghost cell values for Reynolds stress tensor gradient. More... | |
void | cs_gradient_perio_process_rij (const cs_int_t *f_id, cs_real_3_t grad[]) |
Process grad buffers in case of rotation on Reynolds stress tensor. More... | |
Variables | |
void cs_real_t | rom [] |
void const cs_int_t *const | iwarnp |
void const cs_int_t *const const cs_real_t *const | epsrgp |
void const cs_int_t *const const cs_real_t *const const cs_real_t *const | extrap |
void cs_gradient_perio_finalize | ( | void | ) |
Finalize gradient rotational periodicity computation API.
void cs_gradient_perio_init_rij | ( | const cs_field_t * | f, |
int * | tr_dim, | ||
cs_real_3_t | grad[] | ||
) |
Initialize ghost cell values for Reynolds stress tensor gradient.
We retrieve the gradient given by perinr (phyvar) for the Reynolds stress tensor in a buffer on ghost cells. then we define dpdx, dpdy and dpdz gradient (1 -> n_cells_with_ghosts).
We can't implicitly take into account rotation of a gradient of a tensor variable because we have to know all components.
We set idimtr to 2 for the Reynolds stress tensor.
We assume that is correct to treat periodicities implicitly for the other variables when reconstructing gradients.
[in] | f | pointer to field |
[out] | tr_dim | 2 for tensor (Rij) in case of rotation, 0 otherwise |
[in,out] | grad | gradient of field |
void cs_gradient_perio_init_rij_tensor | ( | int * | tr_dim, |
cs_real_63_t | grad[] | ||
) |
Initialize ghost cell values for Reynolds stress tensor gradient.
We retrieve the gradient given by perinr (phyvar) for the Reynolds stress tensor in a buffer on ghost cells. then we define dpdx, dpdy and dpdz gradient (1 -> n_cells_with_ghosts).
We can't implicitly take into account rotation of a gradient of a tensor variable because we have to know all components.
We set idimtr to 2 for the Reynolds stress tensor.
We assume that is correct to treat periodicities implicitly for the other variables when reconstructing gradients.
[out] | tr_dim | 2 for tensor (Rij) in case of rotation, 0 otherwise |
[in,out] | grad | gradient of field |
void cs_gradient_perio_initialize | ( | void | ) |
Initialize gradient rotational periodicity computation API.
void cs_gradient_perio_process_rij | ( | const cs_int_t * | f_id, |
cs_real_3_t | grad[] | ||
) |
Process grad buffers in case of rotation on Reynolds stress tensor.
Process grad buffers in case of rotation on Reynolds stress tensor.
We retrieve the gradient given by cs_gradient_perio_init_rij (phyvar) for the Reynolds stress tensor in a buffer on ghost cells. Then we define grad gradient (1 -> n_cells_with_ghosts).
We can't implicitly take into account rotation of a gradient of a tensor variable because we have to know all components.
We assume that is correct to treat periodicities implicitly for the other variables when reconstructing gradients.
parameters: f_id <– field index grad --> gradient of field
size of _drdxyz and _wdrdxy = n_ghost_cells*6*3
We retrieve the gradient given by cs_gradient_perio_init_rij (phyvar) for the Reynolds stress tensor in a buffer on ghost cells. Then we define grad gradient (1 -> n_cells_with_ghosts).
We can't implicitly take into account rotation of a gradient of a tensor variable because we have to know all components.
We assume that is correct to treat periodicities implicitly for the other variables when reconstructing gradients.
[in] | f_id | field index |
[in,out] | grad | gradient of field |
size of _drdxyz and _wdrdxy = n_ghost_cells*6*3
void cs_gradient_perio_update_mesh | ( | void | ) |
Update gradient rotational periodicity computation API in case of mesh modification.
void CS_PROCF | ( | perinr | , |
PERINR | |||
) | const |
void CS_PROCF | ( | permas | , |
PERMAS | |||
) | const |
void const cs_int_t* const iwarnp |
void cs_real_t rom[] |