#include "cs_defs.h"#include <assert.h>#include <math.h>#include <stdarg.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <mpi.h>#include <ple_coupling.h>#include <ple_defs.h>#include "bft_error.h"#include "bft_mem.h"#include "bft_printf.h"#include "fvm_io_num.h"#include "fvm_nodal.h"#include "fvm_nodal_extract.h"#include "cs_all_to_all.h"#include "cs_array.h"#include "cs_blas.h"#include "cs_calcium.h"#include "cs_coupling.h"#include "cs_interface.h"#include "cs_log.h"#include "cs_mesh.h"#include "cs_mesh_connect.h"#include "cs_mesh_quantities.h"#include "cs_parall.h"#include "cs_paramedmem_coupling.h"#include "cs_part_to_block.h"#include "cs_post.h"#include "cs_ast_coupling.h"Functions | |
| int | cs_ast_coupling_n_couplings (void) |
| Query number of couplings with code_aster. | |
| void | cs_ast_coupling_initialize (int nalimx, cs_real_t epalim) |
| Initial exchange with code_aster. | |
| void | cs_ast_coupling_finalize (void) |
| Finalize coupling with code_aster. | |
| void | cs_ast_coupling_set_coefficients (cs_real_t aexxst, cs_real_t bexxst, cs_real_t cfopre) |
| Set coefficient for prediction. | |
| 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. | |
| void | cs_ast_coupling_exchange_time_step (cs_real_t c_dt[]) |
| Exchange time-step information with code_aster. | |
| 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. | |
| void | cs_ast_coupling_send_fluid_forces (void) |
| Send stresses acting on the fluid/structure interface. | |
| void | cs_ast_coupling_evaluate_cvg (void) |
| Evaluate convergence of the coupling. | |
| 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_compute_displacement (cs_real_t disp[][3]) |
| Compute predicted or exact displacement of the fluid/structure interface. | |
| 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. | |
| void | cs_ast_coupling_set_final_cvg (int icved) |
| Send global convergence value of FSI calculations. | |
| int | cs_ast_coupling_get_verbosity (void) |
| Get verbosity level for code_aster coupling. | |
| void | cs_ast_coupling_set_verbosity (int verbosity) |
| Set verbosity level for code_aster coupling. | |
| int | cs_ast_coupling_get_visualization (void) |
| Get visualization level for code_aster coupling. | |
| void | cs_ast_coupling_set_visualization (int visualization) |
| Set visualization level for code_aster coupling. | |
| 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 coupling 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 |