#include "cs_defs.h"
#include "cs_domain.h"
#include "cs_mesh.h"
Go to the source code of this file.
◆ cs_mesh_deform_activate()
void cs_mesh_deform_activate |
( |
void |
| ) |
|
Activate the future mesh deformation.
◆ cs_mesh_deform_define_dirichlet_bc_zones()
void cs_mesh_deform_define_dirichlet_bc_zones |
( |
cs_lnum_t |
n_boundary_zones, |
|
|
const int |
boundary_zone_ids[] |
|
) |
| |
Define the boundary zones on which mesh deformation is prescribed.
Only those values at vertices matching boundary zones with prescribed displacement will really be used.
- Parameters
-
[in] | n_boundary_zones | number of boundary zones at which to prescribe displacements |
[in] | boundary_zone_ids | ids of boundary zones at which to prescribe displacements |
◆ cs_mesh_deform_finalize()
void cs_mesh_deform_finalize |
( |
void |
| ) |
|
Free structures used fo mesh deformation.
◆ cs_mesh_deform_get_displacement()
const cs_real_3_t* cs_mesh_deform_get_displacement |
( |
void |
| ) |
|
Return pointer to current mesh displacement vector.
- Returns
- pointer to current displacement vector
◆ cs_mesh_deform_is_activated()
bool cs_mesh_deform_is_activated |
( |
void |
| ) |
|
Test if mesh deformation is activated.
- Returns
- true if mesh deformation computation is requested, false otherwise
◆ cs_mesh_deform_prescribe_displacement()
Prescribe the displacement vector for a set of vertices.
Only those values at vertices matching boundary zones with prescribed displacement will really be used, as defined by cs_mesh_deform_define_dirichlet_bc_zones.
- Parameters
-
[in] | n_vertices | number of vertices at which to prescribe displacements |
[in] | vertex_ids | ids of vertices at which to prescribe displacements, or NULL if [0, ... n_vertices-1] |
[in] | displacement | pointer to prescribed displacements |
◆ cs_mesh_deform_setup()
Setup the equations related to mesh deformation.
- Parameters
-
◆ cs_mesh_deform_solve_displacement()
void cs_mesh_deform_solve_displacement |
( |
cs_domain_t * |
domain | ) |
|
Compute displacement for mesh deformation.
- Parameters
-