Go to the source code of this file.
| Enumerator | 
|---|
| CS_TURBOMACHINERY_NONE |  | 
| CS_TURBOMACHINERY_FROZEN |  | 
| CS_TURBOMACHINERY_TRANSIENT |  | 
 
 
      
        
          | void cs_turbomachinery_add_rotor | ( | const char * | cell_criteria, | 
        
          |  |  | double | rotation_velocity, | 
        
          |  |  | const double | rotation_axis[3] | 
        
          |  | ) |  |  | 
      
 
Define a rotor by its axis and cell selection criteria. 
- Parameters
- 
  
    | [in] | cell_criteria | cell selection criteria string |  | [in] | rotation_velocity | rotation velocity, in radians/second |  | [in] | rotation_axis | rotation axis vector |  
 
 
 
      
        
          | void cs_turbomachinery_finalize | ( | void |  | ) |  | 
      
 
Free turbomachinery structure. 
 
 
Return rotor/stator model. 
 
 
      
        
          | void cs_turbomachinery_initialize | ( | void |  | ) |  | 
      
 
Initializations for turbomachinery computation. 
- Note
- This function should be called before once the mesh is built, but before cs_post_init_meshes() so that postprocessing meshes are updated correctly in the transient case. 
 
 
      
        
          | int cs_turbomachinery_join_add | ( | const char * | sel_criteria, | 
        
          |  |  | float | fraction, | 
        
          |  |  | float | plane, | 
        
          |  |  | int | verbosity, | 
        
          |  |  | int | visualization | 
        
          |  | ) |  |  | 
      
 
Add a cs_join_t structure to the list of rotor/stator joinings. 
- Parameters
- 
  
    | [in] | sel_criteria | boundary face selection criteria |  | [in] | fraction | value of the fraction parameter |  | [in] | plane | value of the plane parameter |  | [in] | verbosity | level of verbosity required |  | [in] | visualization | level of visualization required |  
 
- Returns
- number (1 to n) associated with new joining 
 
 
      
        
          | void cs_turbomachinery_reinit_i_face_fields | ( | void |  | ) |  | 
      
 
Reinitialize interior face-based fields. 
 
 
      
        
          | void cs_turbomachinery_resize_cell_fields | ( | void |  | ) |  | 
      
 
Resize cell-based fields. 
This function only handles fields owning their values. 
 
 
      
        
          | void cs_turbomachinery_rotate_fields | ( | const cs_real_t | dt[] | ) |  | 
      
 
Rotation of vector and tensor fields. 
 
 
Define rotor/stator model. 
(end ignore by Doxygen) 
 
 
      
        
          | void cs_turbomachinery_update_mesh | ( | double | t_cur_mob, | 
        
          |  |  | double * | t_elapsed | 
        
          |  | ) |  |  | 
      
 
Update mesh for unsteady rotor/stator computation. 
- Parameters
- 
  
    | [in] | t_cur_mob | current rotor time |  | [out] | t_elapsed | elapsed computation time |