#include "cs_defs.h"#include <assert.h>#include <ctype.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include "bft_mem.h"#include "bft_error.h"#include "bft_printf.h"#include "cs_ale.h"#include "cs_ast_coupling.h"#include "cs_field.h"#include "cs_field_default.h"#include "cs_field_pointer.h"#include "cs_file.h"#include "cs_gui_mobile_mesh.h"#include "cs_log.h"#include "cs_mesh_location.h"#include "cs_parameters_check.h"#include "cs_prototypes.h"#include "cs_time_plot.h"#include "cs_time_step.h"#include "cs_timer_stats.h"#include "cs_turbulence_model.h"#include "cs_velocity_pressure.h"#include "cs_parall.h"#include "cs_mobile_structures.h" Include dependency graph for cs_mobile_structures.c:
 Include dependency graph for cs_mobile_structures.c:| Functions | |
| void | cs_mobile_structures_setup (void) | 
| Initialize mobile structures with ALE for internal coupling.  More... | |
| void | cs_mobile_structures_initialize (void) | 
| Initialize mobile structures with ALE for internal coupling.  More... | |
| void | cs_mobile_structures_finalize (void) | 
| Finalize mobile structures with ALE for internal coupling.  More... | |
| void | cs_mobile_structures_log_setup (void) | 
| Log structures and coupling information.  More... | |
| int | cs_mobile_structures_get_n_structures (void) | 
| Query number of internal mobile structures defined.  More... | |
| void | cs_mobile_structures_add_n_structures (int n_structures) | 
| Add internal mobile structures.  More... | |
| void | cs_mobile_structures_set_newmark_coefficients (cs_real_t alpha, cs_real_t beta, cs_real_t gamma) | 
| Set Newmark coefficients for internal mobile structures.  More... | |
| void | cs_mobile_structures_prediction (int itrale, int italim, int ineefl, int impale[]) | 
| Predict displacement of mobile structures with ALE.  More... | |
| void | cs_mobile_structures_displacement (int itrale, int italim, int *itrfin) | 
| Displacement of mobile structures with ALE for internal coupling.  More... | |
| void | cs_mobile_structures_restart_read (cs_restart_t *r) | 
| Read mobile structures data to checkpoint.  More... | |
| void | cs_mobile_structures_restart_write (cs_restart_t *r) | 
| Write mobile structures data to checkpoint.  More... | |
Mobile structures management.
| void cs_mobile_structures_add_n_structures | ( | int | n_structures | ) | 
Add internal mobile structures.
This function may be called multiple time to change the number of mobile structures.
| [in] | n_structures | number of internal mobile structures | 
| void cs_mobile_structures_displacement | ( | int | itrale, | 
| int | italim, | ||
| int * | itrfin | ||
| ) | 
Displacement of mobile structures with ALE for internal coupling.
| [in] | itrale | ALE iteration number | 
| [in] | italim | implicit coupling iteration number | 
| [in,out] | itrfin | indicator for last iteration of implicit coupling | 
| void cs_mobile_structures_finalize | ( | void | ) | 
Finalize mobile structures with ALE for internal coupling.
| int cs_mobile_structures_get_n_structures | ( | void | ) | 
Query number of internal mobile structures defined.
| void cs_mobile_structures_initialize | ( | void | ) | 
Initialize mobile structures with ALE for internal coupling.
| void cs_mobile_structures_log_setup | ( | void | ) | 
Log structures and coupling information.
| void cs_mobile_structures_prediction | ( | int | itrale, | 
| int | italim, | ||
| int | ineefl, | ||
| int | impale[] | ||
| ) | 
Predict displacement of mobile structures with ALE.
| [in] | itrale | ALE iteration number | 
| [in] | italim | implicit coupling iteration number | 
| [in] | ineefl | indicate whether fluxes should be saved | 
| [out] | impale | imposed displacement indicator | 
| void cs_mobile_structures_restart_read | ( | cs_restart_t * | r | ) | 
Read mobile structures data to checkpoint.
| [in,out] | r | associated restart file pointer | 
| void cs_mobile_structures_restart_write | ( | cs_restart_t * | r | ) | 
Write mobile structures data to checkpoint.
| [in,out] | r | associated restart file pointer | 
| void cs_mobile_structures_set_newmark_coefficients | ( | cs_real_t | alpha, | 
| cs_real_t | beta, | ||
| cs_real_t | gamma | ||
| ) | 
Set Newmark coefficients for internal mobile structures.
| [in] | alpha | alpha coefficient for Newmark algorithm | 
| [in] | beta | beta coefficient for Newmark algorithm | 
| [in] | gamma | gamma coefficient for Newmark algorithm | 
| void cs_mobile_structures_setup | ( | void | ) | 
Initialize mobile structures with ALE for internal coupling.