Go to the source code of this file.
◆ cs_ast_coupling_t
◆ cs_ast_coupling_add()
      
        
          | void cs_ast_coupling_add | ( | void |  | ) |  | 
      
 
Define coupling with code_aster. 
Currently, a single coupling with code_aster is handled. In case of multiple calls to the function, subsequent calls are ignored, unless cs_ast_coupling_finalize has been called. 
 
 
◆ cs_ast_coupling_compute_displacement()
      
        
          | void cs_ast_coupling_compute_displacement | ( | cs_real_t | disp[][3] | ) |  | 
      
 
Compute predicted or exact displacement of the fluid/structure interface. 
- Parameters
- 
  
    | [out] | disp | prescribed displacement at vertices |  
 
 
 
◆ cs_ast_coupling_exchange_fields()
      
        
          | void cs_ast_coupling_exchange_fields | ( | void |  | ) |  | 
      
 
Send stresses acting on the fluid/structure interface and receive displacements. 
 
 
◆ cs_ast_coupling_exchange_time_step()
      
        
          | void cs_ast_coupling_exchange_time_step | ( | cs_real_t | c_dt[] | ) |  | 
      
 
Exchange time-step information with code_aster. 
- Parameters
- 
  
    | [in,out] | c_dt | time step at each cell |  
 
 
 
◆ cs_ast_coupling_finalize()
      
        
          | void cs_ast_coupling_finalize | ( | void |  | ) |  | 
      
 
Finalize exchange with code_aster. 
 
 
◆ cs_ast_coupling_geometry()
Extract and exchange mesh information for surfaces coupled with code_aster. 
- Parameters
- 
  
    | [in] | n_faces | number of coupled faces. |  | [in] | face_ids | ids of coupled faces (ordered by increasing id) |  | [in] | almax | characteristic macroscopic domain length |  
 
 
 
◆ cs_ast_coupling_get_ext_cvg()
      
        
          | int cs_ast_coupling_get_ext_cvg | ( | void |  | ) |  | 
      
 
Receive convergence value of code_saturne/code_aster coupling. 
- Returns
- convergence indicator computed by coupling scheme (1: converged, 0: not converged) 
 
 
◆ cs_ast_coupling_get_fluid_forces_pointer()
      
        
          | 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. 
- Returns
- array of forces from fluid at coupled faces 
 
 
◆ cs_ast_coupling_get_verbosity()
      
        
          | int cs_ast_coupling_get_verbosity | ( | void |  | ) |  | 
      
 
Get verbosity level for code_aster coupling. 
- Returns
- verbosity level for code_aster coupling 
 
 
◆ cs_ast_coupling_get_visualization()
      
        
          | int cs_ast_coupling_get_visualization | ( | void |  | ) |  | 
      
 
Get visualization level for code_aster coupling. 
- Returns
- visualization level for code_aster coupling 
 
 
◆ cs_ast_coupling_initialize()
      
        
          | void cs_ast_coupling_initialize | ( | int | nalimx, | 
        
          |  |  | cs_real_t | epalim | 
        
          |  | ) |  |  | 
      
 
Initial exchange with code_aster. 
- Parameters
- 
  
    | [in] | nalimx | maximum number of implicitation iterations of the structure displacement |  | [in] | epalim | relative precision of implicitation of the structure displacement |  
 
 
 
◆ cs_ast_coupling_n_couplings()
      
        
          | int cs_ast_coupling_n_couplings | ( | void |  | ) |  | 
      
 
Query number of couplings with code_aster. 
Currently, a single coupling with code_aster is possible. 
 
 
◆ cs_ast_coupling_send_cvg()
      
        
          | void cs_ast_coupling_send_cvg | ( | int | icved | ) |  | 
      
 
Send global convergence value of FSI calculations. 
- Parameters
- 
  
    | [in] | icved | convergence indicator (1: converged, 0: not converged) |  
 
 
 
◆ cs_ast_coupling_set_verbosity()
      
        
          | void cs_ast_coupling_set_verbosity | ( | int | verbosity | ) |  | 
      
 
Set verbosity level for code_aster coupling. 
- Parameters
- 
  
    | [in] | verbosity | verbosity level for code_aster coupling |  
 
 
 
◆ cs_ast_coupling_set_visualization()
      
        
          | void cs_ast_coupling_set_visualization | ( | int | visualization | ) |  | 
      
 
Set visualization level for code_aster coupling. 
- Parameters
- 
  
    | [in] | visualization | visualization level for code_aster coupling |