#include "cs_base.h"
Go to the source code of this file.
Typedefs | |
typedef struct _cs_ast_coupling_t | cs_ast_coupling_t |
Functions | |
int | cs_ast_coupling_n_couplings (void) |
Query number of couplings with code_aster. More... | |
void | cs_ast_coupling_initialize (int nalimx, cs_real_t epalim) |
Initial exchange with code_aster. More... | |
void | cs_ast_coupling_finalize (void) |
Finalize exchange with code_aster. More... | |
void | cs_ast_coupling_set_coefficients (cs_real_t aexxst, cs_real_t bexxst, cs_real_t cfopre) |
Set coefficient for prediction. More... | |
void | cs_ast_coupling_geometry (cs_lnum_t n_faces, const cs_lnum_t *face_ids, cs_real_t almax) |
Extract and exchange mesh information for surfaces coupled with code_aster. More... | |
void | cs_ast_coupling_exchange_time_step (cs_real_t c_dt[]) |
Exchange time-step information with code_aster. More... | |
cs_real_3_t * | cs_ast_coupling_get_fluid_forces_pointer (void) |
Return pointer to array of fluid forces at faces coupled with code_aster. More... | |
void | cs_ast_coupling_send_fluid_forces (void) |
Send stresses acting on the fluid/structure interface. More... | |
void | cs_ast_coupling_recv_displacement (void) |
Receive displacements of the fluid/structure interface. More... | |
void | cs_ast_coupling_evaluate_cvg (void) |
Evaluate convergence of the coupling. More... | |
void | cs_ast_coupling_save_values (void) |
Save previous values. More... | |
void | cs_ast_coupling_compute_displacement (cs_real_t disp[][3]) |
Compute predicted or exact displacement of the fluid/structure interface. More... | |
int | cs_ast_coupling_get_current_cvg (void) |
Receive convergence value of code_saturne/code_aster coupling. More... | |
cs_real_t | cs_ast_coupling_get_current_residual (void) |
Receive convergence value of code_saturne/code_aster coupling. More... | |
void | cs_ast_coupling_set_final_cvg (int icved) |
Send global convergence value of FSI calculations. More... | |
int | cs_ast_coupling_get_verbosity (void) |
Get verbosity level for code_aster coupling. More... | |
void | cs_ast_coupling_set_verbosity (int verbosity) |
Set verbosity level for code_aster coupling. More... | |
int | cs_ast_coupling_get_visualization (void) |
Get visualization level for code_aster coupling. More... | |
void | cs_ast_coupling_set_visualization (int visualization) |
Set visualization level for code_aster coupling. More... | |
typedef struct _cs_ast_coupling_t cs_ast_coupling_t |
void cs_ast_coupling_compute_displacement | ( | cs_real_t | disp[][3] | ) |
Compute predicted or exact displacement of the fluid/structure interface.
[out] | disp | prescribed displacement at vertices |
void cs_ast_coupling_evaluate_cvg | ( | void | ) |
Evaluate convergence of the coupling.
void cs_ast_coupling_exchange_time_step | ( | cs_real_t | c_dt[] | ) |
Exchange time-step information with code_aster.
[in,out] | c_dt | time step at each cell |
void cs_ast_coupling_finalize | ( | void | ) |
Finalize exchange with code_aster.
Finalize exchange with code_aster.
Extract and exchange mesh information for surfaces coupled with code_aster.
[in] | n_faces | number of coupled faces. |
[in] | face_ids | ids of coupled faces (ordered by increasing id) |
[in] | almax | characteristic macroscopic domain length |
int cs_ast_coupling_get_current_cvg | ( | void | ) |
Receive convergence value of code_saturne/code_aster coupling.
cs_real_t cs_ast_coupling_get_current_residual | ( | void | ) |
Receive convergence value of code_saturne/code_aster coupling.
cs_real_3_t * cs_ast_coupling_get_fluid_forces_pointer | ( | void | ) |
Return pointer to array of fluid forces at faces coupled with code_aster.
int cs_ast_coupling_get_verbosity | ( | void | ) |
Get verbosity level for code_aster coupling.
int cs_ast_coupling_get_visualization | ( | void | ) |
Get visualization level for code_aster coupling.
void cs_ast_coupling_initialize | ( | int | nalimx, |
cs_real_t | epalim | ||
) |
Initial exchange with code_aster.
[in] | nalimx | maximum number of implicitation iterations of the structure displacement |
[in] | epalim | relative precision of implicitation of the structure displacement |
int cs_ast_coupling_n_couplings | ( | void | ) |
Query number of couplings with code_aster.
Currently, a single coupling with code_aster is possible.
void cs_ast_coupling_recv_displacement | ( | void | ) |
Receive displacements of the fluid/structure interface.
void cs_ast_coupling_save_values | ( | void | ) |
Save previous values.
void cs_ast_coupling_send_fluid_forces | ( | void | ) |
Send stresses acting on the fluid/structure interface.
Set coefficient for prediction.
void cs_ast_coupling_set_final_cvg | ( | int | icved | ) |
Send global convergence value of FSI calculations.
[in] | icved | convergence indicator (1: converged, 0: not converged) |
void cs_ast_coupling_set_verbosity | ( | int | verbosity | ) |
Set verbosity level for code_aster coupling.
[in] | verbosity | verbosity level for code_aster coupling |
void cs_ast_coupling_set_visualization | ( | int | visualization | ) |
Set visualization level for code_aster coupling.
[in] | visualization | visualization level for code_aster coupling |