#include "cs_base.h"
#include "cs_domain.h"
Go to the source code of this file.
|
void | cs_f_ale_get_pointers (int **iale) |
|
void | cs_ale_update_mesh_quantities (cs_real_t *min_vol, cs_real_t *max_vol, cs_real_t *tot_vol) |
| Compute cell and face centers of gravity, cell volumes and update bad cells. More...
|
|
void | cs_ale_project_displacement (const int ale_bc_type[], const cs_real_3_t *meshv, const cs_real_33_t gradm[], const cs_real_3_t *claale, const cs_real_33_t *clbale, const cs_real_t *dt, cs_real_3_t *disp_proj) |
| Project the displacement on mesh vertices (solved on cell center). More...
|
|
void | cs_ale_update_mesh (const int itrale, const cs_real_3_t *xyzno0) |
| Update mesh in the ALE framework. More...
|
|
void | cs_ale_update_bcs (int *ale_bc_type, cs_real_3_t *b_fluid_vel) |
| Update ALE BCs for required for the fluid. More...
|
|
void | cs_ale_solve_mesh_velocity (const int iterns, const int *impale, const int *ale_bc_type) |
| Solve a Poisson equation on the mesh velocity in ALE framework. More...
|
|
void | cs_ale_activate (void) |
| Activate the mesh velocity solving with CDO. More...
|
|
bool | cs_ale_is_activated (void) |
| Test if mesh velocity solving with CDO is activated. More...
|
|
void | cs_ale_init_setup (cs_domain_t *domain) |
| Setup the equations related to mesh deformation. More...
|
|
void | cs_ale_setup_boundaries (const cs_domain_t *domain) |
| Setup the equations solving the mesh velocity. More...
|
|
void | cs_ale_finalize_setup (cs_domain_t *domain) |
| Finalize the setup stage for the equation of the mesh velocity. More...
|
|
void | cs_ale_destroy_all (void) |
| Free the main structure related to the ALE mesh velocity solving. More...
|
|
◆ anonymous enum
Enumerator |
---|
CS_ALE_NONE | |
CS_ALE_LEGACY | |
CS_ALE_CDO | |
◆ cs_ale_activate()
void cs_ale_activate |
( |
void |
| ) |
|
Activate the mesh velocity solving with CDO.
◆ cs_ale_destroy_all()
void cs_ale_destroy_all |
( |
void |
| ) |
|
Free the main structure related to the ALE mesh velocity solving.
◆ cs_ale_finalize_setup()
Finalize the setup stage for the equation of the mesh velocity.
- Parameters
-
◆ cs_ale_init_setup()
Setup the equations related to mesh deformation.
- Parameters
-
Setup the equations related to mesh deformation.
- Parameters
-
◆ cs_ale_is_activated()
bool cs_ale_is_activated |
( |
void |
| ) |
|
Test if mesh velocity solving with CDO is activated.
- Returns
- true ifmesh velocity solving with CDO is requested, false otherwise
-
true if mesh velocity solving with CDO is requested, false otherwise
◆ cs_ale_project_displacement()
Project the displacement on mesh vertices (solved on cell center).
- Parameters
-
[in] | ale_bc_type | Type of boundary for ALE |
[in] | meshv | Mesh velocity |
[in] | gradm | Mesh velocity gradient (du_i/dx_j : gradv[][i][j]) |
[in] | claale | Boundary conditions A |
[in] | clbale | Boundary conditions B |
[in] | dt | Time step |
[out] | disp_proj | Displacement projected on vertices |
◆ cs_ale_setup_boundaries()
void cs_ale_setup_boundaries |
( |
const cs_domain_t * |
domain | ) |
|
Setup the equations solving the mesh velocity.
- Parameters
-
◆ cs_ale_solve_mesh_velocity()
void cs_ale_solve_mesh_velocity |
( |
const int |
iterns, |
|
|
const int * |
impale, |
|
|
const int * |
ale_bc_type |
|
) |
| |
Solve a Poisson equation on the mesh velocity in ALE framework.
It also updates the mesh displacement so that it can be used to update mass fluxes (due to mesh displacement).
- Parameters
-
[in] | iterns | Navier-Stokes iteration number |
[in] | impale | Indicator for fixed node displacement |
[in] | ale_bc_type | Type of boundary for ALE |
◆ cs_ale_update_bcs()
void cs_ale_update_bcs |
( |
int * |
ale_bc_type, |
|
|
cs_real_3_t * |
b_fluid_vel |
|
) |
| |
Update ALE BCs for required for the fluid.
- Parameters
-
[out] | ale_bc_type | type of ALE bcs |
[out] | b_fluid_vel | Fluid velocity at boundary faces |
◆ cs_ale_update_mesh()
void cs_ale_update_mesh |
( |
const int |
itrale, |
|
|
const cs_real_3_t * |
xyzno0 |
|
) |
| |
Update mesh in the ALE framework.
- Parameters
-
[in] | itrale | number of the current ALE iteration |
[in] | xyzno0 | nodes coordinates of the initial mesh |
◆ cs_ale_update_mesh_quantities()
Compute cell and face centers of gravity, cell volumes and update bad cells.
- Parameters
-
[out] | min_vol | Minimum cell volume |
[out] | max_vol | Maximum cell volume |
[out] | tot_vol | Total cell volume |
◆ cs_f_ale_get_pointers()
void cs_f_ale_get_pointers |
( |
int ** |
iale | ) |
|
◆ cs_glob_ale