User-defined functions dedicated to Fluid-Structure interaction modeling. More...
Functions | |
| void | cs_user_fsi_structure_define (int is_restart, int n_structs, int *plot, cs_time_control_t *plot_time_control, cs_real_t *aexxst, cs_real_t *bexxst, cs_real_t *cfopre, cs_real_t xstr0[][3], cs_real_t vstr0[][3], cs_real_t xstreq[][3]) |
| Definition of internal mobile structures and corresponding initial conditions (initial displacement and velocity ). | |
| void | cs_user_fsi_structure_values (int n_structs, const cs_time_step_t *ts, const cs_real_t xstreq[][3], const cs_real_t xstr[][3], const cs_real_t vstr[][3], cs_real_t xmstru[][3][3], cs_real_t xcstru[][3][3], cs_real_t xkstru[][3][3], cs_real_t forstr[][3], cs_real_t dtstr[]) |
| Time-based settings for internal mobile structures. | |
| void | cs_user_fsi_structure_num (cs_domain_t *domain, int structure_num[]) |
| Define structure numbers for faces associated with internal or external (code_aster) structures. | |
User-defined functions dedicated to Fluid-Structure interaction modeling.
| void cs_user_fsi_structure_define | ( | int | is_restart, |
| int | n_structs, | ||
| int * | plot, | ||
| cs_time_control_t * | plot_time_control, | ||
| cs_real_t * | aexxst, | ||
| cs_real_t * | bexxst, | ||
| cs_real_t * | cfopre, | ||
| cs_real_t | xstr0[][3], | ||
| cs_real_t | vstr0[][3], | ||
| cs_real_t | xstreq[][3] ) |
Definition of internal mobile structures and corresponding initial conditions (initial displacement and velocity ).
| [in] | is_restart | indicate if computation is restarted |
| [in] | n_structs | number of mobile structures |
| [in,out] | plot; | monitoring format mask 0: no plot 1: plot to text (.dat) format 2: plot to .csv format 3: plot to both formats |
| [in,out] | plot_time_control | plot time output frequency control |
| [in,out] | aexxst | coefficient for predicted displacement |
| [in,out] | bexxst | coefficient for predicted displacement |
| [in,out] | cfopre | coefficient for predicted force |
| [in,out] | xstr0 | initial displacement per structure |
| [in,out] | vstr0 | initial velocity per structure |
| [in,out] | xstreq | displacement of initial mesh relative to structures position at equilibrium |
| [in,out] | plot_time_control | time control associated to plotting |
| void cs_user_fsi_structure_num | ( | cs_domain_t * | domain, |
| int | structure_num[] ) |
Define structure numbers for faces associated with internal or external (code_aster) structures.
Structure numbers associated to a given face have the following values:
| [in,out] | domain | pointer to a cs_domain_t structure |
| [in,out] | structure_num | structure id associated to each face |
| void cs_user_fsi_structure_values | ( | int | n_structs, |
| const cs_time_step_t * | ts, | ||
| const cs_real_t | xstreq[][3], | ||
| const cs_real_t | xstr[][3], | ||
| const cs_real_t | vstr[][3], | ||
| cs_real_t | xmstru[][3][3], | ||
| cs_real_t | xcstru[][3][3], | ||
| cs_real_t | xkstru[][3][3], | ||
| cs_real_t | forstr[][3], | ||
| cs_real_t | dtstr[] ) |
Time-based settings for internal mobile structures.
| [in] | n_structs | number of mobile structures |
| [in] | ts | time step structure |
| [in] | xstreq | displacement of initial mesh rel. to equilibrium |
| [in] | xstr | structural displacement |
| [in] | vstr | structural velocity |
| [in,out] | xmstru | matrix of structural mass |
| [in,out] | xcstru | matrix of structural friction |
| [in,out] | xkstru | matrix of structural stiffness |
| [in,out] | forstr | forces acting on structures (take forces) |
| [in,out] | dtstr | structural time step |