Porous model management.
More...
◆ _field_ibm_reallocate()
| static void _field_ibm_reallocate |
( |
cs_lnum_t |
n_ib_cells | ) |
|
|
static |
Realloc boundary arrays for all defined fields.
Location sized must thus be known.
Fields that do not own their data should all have been mapped at this stage, and are checked.
- Parameters
-
| [in] | n_ib_cells | immersed boundary cell number |
◆ _porous_mesh_quantities_f_free()
| static void _porous_mesh_quantities_f_free |
( |
void |
| ) |
|
|
static |
Free fluid mesh quantities.
◆ cs_porous_map_mesh_quantites_f_and_compute()
| void cs_porous_map_mesh_quantites_f_and_compute |
( |
void |
| ) |
|
Map fluid mesh quantities.
◆ cs_porous_model_auto_face_porosity()
| void cs_porous_model_auto_face_porosity |
( |
void |
| ) |
|
Automatic computation of the face porosity and factors.
This is useful for the integral porous model.
◆ cs_porous_model_clip()
| void cs_porous_model_clip |
( |
void |
| ) |
|
◆ cs_porous_model_convert_cell_to_boundary()
| void cs_porous_model_convert_cell_to_boundary |
( |
const cs_lnum_t |
n_ib_cells, |
|
|
const cs_lnum_t |
ibcell_cells[] |
|
) |
| |
Convert cell array to boundary array.
- Parameters
-
| [in] | n_ib_cells | immersed cell number |
| [in] | ibcell_cells | immersed cell to cell connectivity |
◆ cs_porous_model_fluid_surfaces_preprocessing()
| void cs_porous_model_fluid_surfaces_preprocessing |
( |
void |
| ) |
|
Preprocess the fluid surfaces.
◆ cs_porous_model_init_disable_flag()
| void cs_porous_model_init_disable_flag |
( |
void |
| ) |
|
◆ cs_porous_model_init_fluid_quantities()
| void cs_porous_model_init_fluid_quantities |
( |
void |
| ) |
|
◆ cs_porous_model_mesh_quantities_update()
| void cs_porous_model_mesh_quantities_update |
( |
void |
| ) |
|
Compute solid quantities and update porosity field.
Compute solid quantities.
◆ cs_porous_model_post_immmersed_plane()
Post-processes the immersed boundary (ib) planes for display on paraview.
- Parameters
-
| [in] | n_ib_cells | ib cell number |
| [in] | n_ib_cells_filt | ib cell number after filtering |
| [in] | ib_cells_filt | indices of the filtered cells |
| [in] | n_glob_vtx | total vertex number |
| [in] | ibcell_cells | connectivity ib_cell->cells |
| [in] | ibcell_cells_filt | connectivity ib_cell->cells after filtering |
| [in] | vtx_ids | vertex ids on both sides of a IB vertex (v0<v1) |
| [in] | w_vtx_idx | ib vertex indexes |
| [in] | face_vertex_idx | vertex indexes of the ib faces |
| [in] | w_vtx | ib vertex coordinates |
◆ cs_porous_model_postprocess_meshes()
| void cs_porous_model_postprocess_meshes |
( |
void |
| ) |
|
Initialize porous model arrays.
◆ cs_porous_model_set_has_disable_flag()
| void cs_porous_model_set_has_disable_flag |
( |
int |
flag | ) |
|
Set (unset) has_disable_flag.
- Parameters
-
◆ cs_porous_model_set_model()
| void cs_porous_model_set_model |
( |
int |
porous_model | ) |
|