|
programmer's documentation
|
#include "cs_defs.h"#include "bft_mem.h"#include "bft_printf.h"#include "cs_interface.h"#include "cs_base.h"#include "cs_boundary_conditions.h"#include "cs_convection_diffusion.h"#include "cs_face_viscosity.h"#include "cs_field.h"#include "cs_field_pointer.h"#include "cs_field_operator.h"#include "cs_equation_iterative_solve.h"#include "cs_physical_constants.h"#include "cs_math.h"#include "cs_mesh.h"#include "cs_mesh_quantities.h"#include "cs_mesh_bad_cells.h"#include "cs_time_step.h"#include "cs_ale.h"
Functions | |
| 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 ialtyb[], 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_solve_mesh_velocity (const int iterns, const int ndircl, const int *impale, const int *ialtyb) |
| Solve a Poisson equation on the mesh velocity in ALE framework. More... | |
| void cs_ale_project_displacement | ( | const int | ialtyb[], |
| 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).
| [in] | ialtyb | 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 |
| void cs_ale_solve_mesh_velocity | ( | const int | iterns, |
| const int | ndircl, | ||
| const int * | impale, | ||
| const int * | ialtyb | ||
| ) |
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).
| [in] | iterns | Navier-Stokes iteration number |
| [in] | ndircl | Number of Dirichlet BCs for mesh velocity |
| [in] | impale | Indicator for fixed node displacement |
| [in] | ialtyb | Type of boundary for ALE |
| void cs_ale_update_mesh | ( | const int | itrale, |
| const cs_real_3_t * | xyzno0 | ||
| ) |
Update mesh in the ALE framework.
| [in] | itrale | number of the current ALE iteration |
| [in] | xyzno0 | nodes coordinates of the initial mesh |
1.8.13