#include "base/cs_defs.h"#include "base/cs_restart.h"#include "base/cs_time_control.h"#include "base/cs_time_plot.h"
Include dependency graph for cs_mobile_structures.h:Go to the source code of this file.
Classes | |
| struct | cs_mobile_structures_t |
Enumerations | |
| enum | cs_mobile_structure_type_t { CS_STRUCTURE_NONE = 1 << 0 , CS_STRUCTURE_INTERNAL_0D = 1 << 1 , CS_STRUCTURE_EXTERNAL_CODE_ASTER = 1 << 2 , CS_STRUCTURE_EXTERNAL_USER = 1 << 3 } |
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_int_structures (void) |
| Query number of internal mobile structures defined. More... | |
| int | cs_mobile_structures_get_n_ext_structures (void) |
| Query number of external mobile structures defined. More... | |
| int | cs_mobile_structures_get_n_ast_structures (void) |
| Query number of aster mobile structures defined. More... | |
| void | cs_mobile_structures_add_n_int_structures (const int n_structures) |
| Add internal mobile structures. More... | |
| void | cs_mobile_structures_add_n_ext_structures (const int n_structures) |
| Add external mobile structures. More... | |
| void | cs_mobile_structures_add_n_ast_structures (const int n_structures) |
| Add aster 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_restore_previous_values (int itrfin) |
| Restore previous values in case of implicit coupling. More... | |
| void | cs_mobile_structures_prediction (cs_field_bc_coeffs_t *bc_coeffs_vel, 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... | |
Variables | |
| int | cs_glob_mobile_structures_n_iter_max |
| double | cs_glob_mobile_structures_i_eps |
| cs_mobile_structures_t * | _mobile_structures |
| void cs_mobile_structures_add_n_ast_structures | ( | const int | n_structures | ) |
Add aster mobile structures.
This function may be called multiple time to change the number of mobile structures.
| [in] | n_structures | number of code_aster mobile structures |
| void cs_mobile_structures_add_n_ext_structures | ( | const int | n_structures | ) |
Add external mobile structures.
This function may be called multiple time to change the number of mobile structures.
| [in] | n_structures | number of external mobile structures |
| void cs_mobile_structures_add_n_int_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_ast_structures | ( | void | ) |
Query number of aster mobile structures defined.
| int cs_mobile_structures_get_n_ext_structures | ( | void | ) |
Query number of external mobile structures defined.
| int cs_mobile_structures_get_n_int_structures | ( | void | ) |
Query number of internal mobile structures defined.
| void cs_mobile_structures_initialize | ( | void | ) |
Initialize mobile structures with ALE for internal coupling.
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 | ( | cs_field_bc_coeffs_t * | bc_coeffs_vel, |
| int | itrale, | ||
| int | italim, | ||
| int | ineefl, | ||
| int | impale[] | ||
| ) |
Predict displacement of mobile structures with ALE.
| [in] | bc_coeffs_vel | velocity boundary condition structure |
| [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_restore_previous_values | ( | int | itrfin | ) |
Restore previous values in case of implicit coupling.
| [in] | itrfin | indicator for last iteration of implicit coupling |
| 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.
|
extern |
|
extern |
Relative precision of implicitation of the structure displacement
|
extern |
Maximum number of implicitation iterations of the structure displacement