programmer's documentation
Functions
cs_prototypes.h File Reference
#include "cs_base.h"
#include "cs_mesh.h"
#include "cs_mesh_quantities.h"
#include "cs_mesh_bad_cells.h"
#include "cs_domain.h"
Include dependency graph for cs_prototypes.h:

Go to the source code of this file.

Functions

void caltri (void)
 
void cpthp1 (const cs_int_t *mode, cs_real_t *eh, cs_real_t *xesp, cs_real_t *f1mc, cs_real_t *f2mc, cs_real_t *tp)
 
void csinit (const cs_int_t *irgpar, const cs_int_t *nrgpar)
 
void distpr (const cs_int_t *itypfb, cs_real_t *distpa)
 
void dvvpst (const cs_int_t *nummai, const cs_int_t *numtyp, const cs_int_t *nvar, const cs_int_t *ncelps, const cs_int_t *nfbrps, const cs_int_t lstcel[], const cs_int_t lstfbr[], cs_real_t tracel[], cs_real_t trafbr[])
 
void findpt (const cs_int_t *ncelet, const cs_int_t *ncel, const cs_real_t *xyzcen, const cs_real_t *xx, const cs_real_t *yy, const cs_real_t *zz, cs_int_t *node, cs_int_t *ndrang)
 
void fische (const cs_int_t *n, const cs_real_t *mu, cs_int_t p[])
 
void haltyp (const cs_int_t *ivoset)
 
void initi1 (void)
 
void memfin (void)
 
void usthht (const cs_int_t *mode, cs_real_t *enthal, cs_real_t *temper)
 
void usvpst (const cs_int_t *nummai, const cs_int_t *nvar, const cs_int_t *nscal, const cs_int_t *nvlsta, const cs_int_t *ncelps, const cs_int_t *nfacps, const cs_int_t *nfbrps, const cs_int_t itypps[3], const cs_int_t lstcel[], const cs_int_t lstfac[], const cs_int_t lstfbr[])
 
void usipes (cs_int_t *nmodpp)
 
void cs_user_rad_transfer_absorption (const int bc_type[], const int izfrdp[], const cs_real_t dt[], cs_real_t ck[])
 Absorption coefficient for radiative module. More...
 
void cs_user_rad_transfer_net_flux (const int itypfb[], const int izfrdp[], const cs_real_t dt[], const cs_real_t coefap[], const cs_real_t coefbp[], const cs_real_t cofafp[], const cs_real_t cofbfp[], const cs_real_t twall[], const cs_real_t qincid[], const cs_real_t xlam[], const cs_real_t epa[], const cs_real_t eps[], const cs_real_t ck[], cs_real_t net_flux[])
 Compute the net radiation flux. More...
 
void zufalli (const cs_int_t *n)
 
void zufall (const cs_int_t *n, const cs_real_t *a)
 
void normalen (const cs_int_t *n, const cs_real_t *x)
 
void b_t_to_h (const cs_lnum_t *nlst, const cs_lnum_t *lstfac, const cs_real_t *t_b, cs_real_t *h_b)
 
void c_h_to_t (const cs_real_t *h, cs_real_t *t)
 
int cs_add_model_field_indexes (int f_id)
 
int cs_field_post_id (int f_id)
 
void cs_lagr_status (int *model_flag, int *restart_flag, int *frozen_flag)
 
void cs_user_coupling (void)
 Define global options for couplings. More...
 
void cs_user_boundary_conditions (int nvarcl, int icodcl[], int bc_type[], int izfrdp[], cs_real_t rcodcl[])
 User definition of boundary conditions. More...
 
void cs_user_extra_operations (void)
 This function is called at the end of each time step. More...
 
void cs_user_initialization (void)
 
void cs_user_physical_properties (const cs_mesh_t *mesh, const cs_mesh_quantities_t *mesh_quantities)
 Function is called each time step to define physical properties. More...
 
void cs_user_join (void)
 Define mesh joinings. More...
 
void cs_user_linear_solvers (void)
 Define linear solver options. More...
 
void cs_user_mesh_bad_cells_tag (cs_mesh_t *mesh, cs_mesh_quantities_t *mesh_quantities)
 Tag bad cells within the mesh based on user-defined geometric criteria. More...
 
void cs_user_mesh_input (void)
 Define mesh files to read and optional associated transformations. More...
 
void cs_user_mesh_modify (cs_mesh_t *mesh)
 Modify geometry and mesh. More...
 
void cs_user_mesh_thinwall (cs_mesh_t *mesh)
 Insert thin wall into a mesh. More...
 
void cs_user_mesh_smoothe (cs_mesh_t *mesh)
 Mesh smoothing. More...
 
void cs_user_mesh_save (cs_mesh_t *mesh)
 Enable or disable mesh saving. More...
 
void cs_user_mesh_warping (void)
 Set options for cutting of warped faces. More...
 
void cs_user_model (void)
 Select physical model options, including user fields. More...
 
void cs_user_numbering (void)
 Define advanced mesh numbering options. More...
 
void cs_user_parallel_io (void)
 Define parallel IO settings. More...
 
void cs_user_partition (void)
 Define advanced partitioning options. More...
 
void cs_user_matrix_tuning (void)
 Define sparse matrix tuning options. More...
 
void cs_user_parameters (void)
 Define or modify general numerical and physical user parameters. More...
 
void cs_user_radiative_transfer_parameters (void)
 User function for input of radiative transfer module options. More...
 
void cs_user_radiative_transfer_bcs (int nvarcl, const int bc_type[], int icodcl[], int izfrdp[], int isothp[], cs_real_t *tmin, cs_real_t *tmax, cs_real_t *tx, const cs_real_t dt[], cs_real_t rcodcl[], const cs_real_t thwall[], const cs_real_t qincid[], cs_real_t hfcnvp[], cs_real_t flcnvp[], cs_real_t xlamp[], cs_real_t epap[], cs_real_t epsp[], cs_real_t textp[], cs_real_t tintp[])
 User definition of radiative transfer boundary conditions. More...
 
void cs_user_periodicity (void)
 Define periodic faces. More...
 
void cs_user_postprocess_writers (void)
 Define post-processing writers. More...
 
void cs_user_postprocess_probes (void)
 Define monitoring probes and profiles. More...
 
void cs_user_postprocess_meshes (void)
 Define post-processing meshes. More...
 
void cs_user_postprocess_activate (int nt_max_abs, int nt_cur_abs, double t_cur_abs)
 
void cs_user_saturne_coupling (void)
 Define couplings with other instances of Code_Saturne. More...
 
int cs_user_solver_set (void)
 Set user solver. More...
 
void cs_user_solver (const cs_mesh_t *mesh, const cs_mesh_quantities_t *mesh_quantities)
 Main call to user solver. More...
 
void cs_user_syrthes_coupling (void)
 Define couplings with SYRTHES code. More...
 
void cs_user_time_moments (void)
 Define time moments. More...
 
void cs_user_turbomachinery (void)
 Define rotor/stator model. More...
 
void cs_user_turbomachinery_rotor (void)
 Define rotor axes, associated cells, and rotor/stator faces. More...
 
bool cs_user_cdo_activated (void)
 Activate or not the CDO module. More...
 
void cs_user_cdo_add_mesh_locations (void)
 Specify additional mesh locations. More...
 
void cs_user_cdo_init_domain (cs_domain_t *domain)
 Specify for the computational domain: – which type of boundaries closed the computational domain – the settings for the time step. More...
 
void cs_user_cdo_set_domain (cs_domain_t *domain)
 Associate material property and/or convection field to user-defined equations and specify boundary conditions, source terms, initial values for these additional equations. More...
 
cs_cdo_cc_algo_t cs_user_cdo_geometric_settings (void)
 Setup advanced features concerning the way geometric quantities are built. More...
 
void cs_user_cdo_numeric_settings (cs_domain_t *domain)
 Setup advanced features concerning the numerical parameters of the equation resolved during the computation. More...
 
void cs_user_cdo_start_extra_op (const cs_domain_t *domain)
 Initial step for user-defined operations on results provided by the CDO kernel. More...
 
void cs_user_cdo_extra_op (const cs_domain_t *domain)
 Additional user-defined operations on results provided by the CDO kernel. Define advanced post-processing and analysis for example. More...
 
void cs_user_cdo_end_extra_op (const cs_domain_t *domain)
 Final step for user-defined operations on results provided by the CDO kernel. More...
 
void cs_user_scaling_elec (const cs_mesh_t *mesh, const cs_mesh_quantities_t *mesh_quantities, cs_real_t *dt)
 Define scaling parameter for electric model. More...
 

Function Documentation

§ b_t_to_h()

void b_t_to_h ( const cs_lnum_t nlst,
const cs_lnum_t lstfac,
const cs_real_t t_b,
cs_real_t h_b 
)

§ c_h_to_t()

void c_h_to_t ( const cs_real_t h,
cs_real_t t 
)

§ caltri()

void caltri ( void  )

§ cpthp1()

void cpthp1 ( const cs_int_t mode,
cs_real_t eh,
cs_real_t xesp,
cs_real_t f1mc,
cs_real_t f2mc,
cs_real_t tp 
)

§ cs_add_model_field_indexes()

int cs_add_model_field_indexes ( int  f_id)

§ cs_field_post_id()

int cs_field_post_id ( int  f_id)

§ cs_lagr_status()

void cs_lagr_status ( int *  model_flag,
int *  restart_flag,
int *  frozen_flag 
)

§ cs_user_boundary_conditions()

void cs_user_boundary_conditions ( int  nvarcl,
int  icodcl[],
int  bc_type[],
int  izfrdp[],
cs_real_t  rcodcl[] 
)

User definition of boundary conditions.

Parameters
[in]nvarcltotal number of variable BC's
[in]bc_typeboundary face types
[in]icodclboundary face code
  • 1 -> Dirichlet
  • 2 -> convective outlet
  • 3 -> flux density
  • 4 -> sliding wall and u.n=0 (velocity)
  • 5 -> friction and u.n=0 (velocity)
  • 6 -> roughness and u.n=0 (velocity)
  • 9 -> free inlet/outlet (velocity) inflowing possibly blocked
[in]izfrdpboundary faces -> zone number
[in]rcodclboundary condition values rcodcl(3) = flux density value (negative for gain) in W/m2

§ cs_user_cdo_activated()

bool cs_user_cdo_activated ( void  )

Activate or not the CDO module.

(end ignore by Doxygen)

§ cs_user_cdo_add_mesh_locations()

void cs_user_cdo_add_mesh_locations ( void  )

Specify additional mesh locations.

§ cs_user_cdo_end_extra_op()

void cs_user_cdo_end_extra_op ( const cs_domain_t domain)

Final step for user-defined operations on results provided by the CDO kernel.

Parameters
[in]domainpointer to a cs_domain_t structure

§ cs_user_cdo_extra_op()

void cs_user_cdo_extra_op ( const cs_domain_t domain)

Additional user-defined operations on results provided by the CDO kernel. Define advanced post-processing and analysis for example.

Parameters
[in]domainpointer to a cs_domain_t structure

§ cs_user_cdo_geometric_settings()

cs_cdo_cc_algo_t cs_user_cdo_geometric_settings ( void  )

Setup advanced features concerning the way geometric quantities are built.

Returns
the type of computation to evaluate the cell center

§ cs_user_cdo_init_domain()

void cs_user_cdo_init_domain ( cs_domain_t domain)

Specify for the computational domain: – which type of boundaries closed the computational domain – the settings for the time step.

Parameters
[in,out]domainpointer to a cs_domain_t structure

Specify for the computational domain: – which type of boundaries closed the computational domain – the settings for the time step.

Parameters
[in,out]domainpointer to a cs_domain_t structure

§ cs_user_cdo_numeric_settings()

void cs_user_cdo_numeric_settings ( cs_domain_t domain)

Setup advanced features concerning the numerical parameters of the equation resolved during the computation.

Parameters
[in,out]domainpointer to a cs_domain_t structure

§ cs_user_cdo_set_domain()

void cs_user_cdo_set_domain ( cs_domain_t domain)

Associate material property and/or convection field to user-defined equations and specify boundary conditions, source terms, initial values for these additional equations.

Parameters
[in,out]domainpointer to a cs_domain_t structure

Associate material property and/or convection field to user-defined equations and specify boundary conditions, source terms, initial values for these additional equations.

Parameters
[in,out]domainpointer to a cs_domain_t structure

§ cs_user_cdo_start_extra_op()

void cs_user_cdo_start_extra_op ( const cs_domain_t domain)

Initial step for user-defined operations on results provided by the CDO kernel.

Parameters
[in]domainpointer to a cs_domain_t structure

(end ignore by Doxygen)

Parameters
[in]domainpointer to a cs_domain_t structure

§ cs_user_coupling()

void cs_user_coupling ( void  )

Define global options for couplings.

These options allow defining the time step synchronization policy, as well as a time step multiplier.

§ cs_user_extra_operations()

void cs_user_extra_operations ( void  )

This function is called at the end of each time step.

It has a very general purpose, although it is recommended to handle mainly postprocessing or data-extraction type operations.

§ cs_user_initialization()

void cs_user_initialization ( void  )

§ cs_user_join()

void cs_user_join ( void  )

Define mesh joinings.

§ cs_user_linear_solvers()

void cs_user_linear_solvers ( void  )

Define linear solver options.

This function is called at the setup stage, once user and most model-based fields are defined.

Available native iterative linear solvers include conjugate gradient, Jacobi, BiCGStab, BiCGStab2, and GMRES. For symmetric linear systems, an algebraic multigrid solver is available (and recommended).

External solvers may also be setup using this function, the cs_sles_t mechanism alowing such through user-define functions.

§ cs_user_matrix_tuning()

void cs_user_matrix_tuning ( void  )

Define sparse matrix tuning options.

§ cs_user_mesh_bad_cells_tag()

void cs_user_mesh_bad_cells_tag ( cs_mesh_t mesh,
cs_mesh_quantities_t mesh_quantities 
)

Tag bad cells within the mesh based on user-defined geometric criteria.

Parameters
[in,out]meshpointer to a cs_mesh_t structure
[in,out]mesh_quantitiespointer to a cs_mesh_quantities_t structure

§ cs_user_mesh_input()

void cs_user_mesh_input ( void  )

Define mesh files to read and optional associated transformations.

§ cs_user_mesh_modify()

void cs_user_mesh_modify ( cs_mesh_t mesh)

Modify geometry and mesh.

Parameters
[in,out]meshpointer to a cs_mesh_t structure

§ cs_user_mesh_save()

void cs_user_mesh_save ( cs_mesh_t mesh)

Enable or disable mesh saving.

By default, mesh is saved when modified.

Parameters
[in,out]meshpointer to a cs_mesh_t structure

§ cs_user_mesh_smoothe()

void cs_user_mesh_smoothe ( cs_mesh_t mesh)

Mesh smoothing.

Parameters
[in,out]meshpointer to a cs_mesh_t structure

§ cs_user_mesh_thinwall()

void cs_user_mesh_thinwall ( cs_mesh_t mesh)

Insert thin wall into a mesh.

Parameters
[in,out]meshpointer to a cs_mesh_t structure

§ cs_user_mesh_warping()

void cs_user_mesh_warping ( void  )

Set options for cutting of warped faces.

§ cs_user_model()

void cs_user_model ( void  )

Select physical model options, including user fields.

This function is called at the earliest stages of the data setup, so field ids are not available yet.

§ cs_user_numbering()

void cs_user_numbering ( void  )

Define advanced mesh numbering options.

§ cs_user_parallel_io()

void cs_user_parallel_io ( void  )

Define parallel IO settings.

§ cs_user_parameters()

void cs_user_parameters ( void  )

Define or modify general numerical and physical user parameters.

At the calling point of this function, most model-related most variables and other fields have been defined, so specific settings related to those fields may be set here.

§ cs_user_partition()

void cs_user_partition ( void  )

Define advanced partitioning options.

§ cs_user_periodicity()

void cs_user_periodicity ( void  )

Define periodic faces.

§ cs_user_physical_properties()

void cs_user_physical_properties ( const cs_mesh_t mesh,
const cs_mesh_quantities_t mesh_quantities 
)

Function is called each time step to define physical properties.

Parameters
[in]meshpointer to a cs_mesh_t structure
[in]mesh_quantitiespointer to a cs_mesh_quantities_t structure

§ cs_user_postprocess_activate()

void cs_user_postprocess_activate ( int  nt_max_abs,
int  nt_cur_abs,
double  t_cur_abs 
)

Override default frequency or calculation end based output.

This allows fine-grained control of activation or deactivation,

Parameters
nt_max_absmaximum time step number
nt_cur_abscurrent time step number
t_cur_absabsolute time at the current time step

§ cs_user_postprocess_meshes()

void cs_user_postprocess_meshes ( void  )

Define post-processing meshes.

The main post-processing meshes may be configured, and additional post-processing meshes may be defined as a subset of the main mesh's cells or faces (both interior and boundary).

§ cs_user_postprocess_probes()

void cs_user_postprocess_probes ( void  )

Define monitoring probes and profiles.

Profiles are defined as sets of probes.

§ cs_user_postprocess_writers()

void cs_user_postprocess_writers ( void  )

Define post-processing writers.

The default output format and frequency may be configured, and additional post-processing writers allowing outputs in different formats or with different format options and output frequency than the main writer may be defined.

§ cs_user_rad_transfer_absorption()

void cs_user_rad_transfer_absorption ( const int  bc_type[],
const int  izfrdp[],
const cs_real_t  dt[],
cs_real_t  ck[] 
)

Absorption coefficient for radiative module.

It is necessary to define the value of the fluid's absorption coefficient Ck.

This value is defined automatically for specific physical models, such as gas and coal combustion, so this function should not be used with these models.

For a transparent medium, the coefficient should be set to 0.

In the case of the P-1 model, we check that the optical length is at least of the order of 1.

Parameters
[in]bc_typeboundary face types
[in]izfrdpzone number for boundary faces
[in]dttime step (per cell)
[out]ckmedium's absorption coefficient (zero if transparent)

§ cs_user_rad_transfer_net_flux()

void cs_user_rad_transfer_net_flux ( const int  itypfb[],
const int  izfrdp[],
const cs_real_t  dt[],
const cs_real_t  coefap[],
const cs_real_t  coefbp[],
const cs_real_t  cofafp[],
const cs_real_t  cofbfp[],
const cs_real_t  twall[],
const cs_real_t  qincid[],
const cs_real_t  xlam[],
const cs_real_t  epa[],
const cs_real_t  eps[],
const cs_real_t  ck[],
cs_real_t  net_flux[] 
)

Compute the net radiation flux.

The density of net radiation flux must be calculated consistently with the boundary conditions of the intensity. The density of net flux is the balance between the radiative emiting part of a boudary face (and not the reflecting one) and the radiative absorbing part.

Parameters
[in]bc_typeboundary face types
[in]izfrdpboundary faces -> zone number
[in]dttime step (per cell)
[in]coefapboundary condition work array for the luminance (explicit part)
[in]coefbpboundary condition work array for the luminance (implicit part)
[in]cofafpboundary condition work array for the diffusion of the luminance (explicit part)
[in]cofbfpboundary condition work array for the diffusion of the luminance (implicit part)
[in]twallinside current wall temperature (K)
[in]qincidradiative incident flux (W/m2)
[in]xlampconductivity (W/m/K)
[in]epapthickness (m)
[in]epspemissivity (>0)
[in]ckabsorption coefficient
[out]net_fluxnet flux (W/m2)

§ cs_user_radiative_transfer_bcs()

void cs_user_radiative_transfer_bcs ( int  nvarcl,
const int  bc_type[],
int  icodcl[],
int  izfrdp[],
int  isothp[],
cs_real_t tmin,
cs_real_t tmax,
cs_real_t tx,
const cs_real_t  dt[],
cs_real_t  rcodcl[],
const cs_real_t  thwall[],
const cs_real_t  qincid[],
cs_real_t  hfcnvp[],
cs_real_t  flcnvp[],
cs_real_t  xlamp[],
cs_real_t  epap[],
cs_real_t  epsp[],
cs_real_t  textp[],
cs_real_t  tintp[] 
)

User definition of radiative transfer boundary conditions.

See Examples of data settings for radiative transfers for examples.

Warning
the temperature unit here is the Kelvin

Zone definitions

We define zones of wall boundaries, and we assign a type.
  This allows to apply the boundary conditions and realize
  balance sheets by treating them separately for each zone.
For each boundary face face_id (not just wall faces) a zone number
  IZFRDP(face_id) must be assigned.
Warning: it is essential that ALL boundary faces
  have been assigned to a zone.
The number of zones (the value of IZFRDP(face_id)) is
  arbitrarily chosen by the user, but must be a positive integer
  less than or equal to cs_glob_rad_transfer_params->nbzrdm
  (value set in parameter cs_user_radiation_parameters.h).

Wall characteristics

The following face characteristics must be set:

  • isothp(face_id) boundary face type = itpimp -> Gray wall with fixed inside temperature = ipgrno -> Gray wall with fixed outside temperature = iprefl -> Reflecting wall with fixed outside temperature = ifgrno -> Gray wall with fixed conduction flux = ifrefl -> Reflecting wall with fixed conduction flux
  • tintp(face_id) inside wall temperature (Kelvin) initialize thwall at the first time step. If isothp = itpimp, the value of thwall is fixed to tintp In the other case, tintp is only for initialization.

Depending on the value of isothp, other values may also need to be set:

  • rcodcl = conduction flux
  • epsp = emissivity
  • xlamp = conductivity (W/m/K)
  • epap = thickness (m)
  • textp = outside temperature (K)
Parameters
[in]nvarcltotal number of variable BC's
[in]bc_typeboundary face types
[in]icodclboundary face code
  • 1 -> Dirichlet
  • 2 -> convective outlet
  • 3 -> flux density
  • 4 -> sliding wall and u.n=0 (velocity)
  • 5 -> friction and u.n=0 (velocity)
  • 6 -> roughness and u.n=0 (velocity)
  • 9 -> free inlet/outlet (velocity) inflowing possibly blocked
[in]izfrdpboundary faces -> zone number
[in]isothpboundary face type for radative transfer
  • itpimp -> Gray wall with fixed inside temp
  • ipgrno -> Gray wall with fixed outside temp
  • iprefl -> Reflecting wall with fixed outside temp
  • ifgrno -> Gray wall with fixed conduction flux
  • ifrefl -> Reflecting wall with fixed conduction flux
[out]tminmin allowed value of the wall temperature
[out]tmaxmax allowed value of the wall temperature
[in]txrelaxation coefficient (0 < tx < 1)
[in]dttime step (per cell)
[in]rcodclboundary condition values rcodcl(3) = flux density value (negative for gain) in W/m2
[in]thwallinside current wall temperature (K)
[in]qincidradiative incident flux (W/m2)
[in]hfcnvpconvective exchange coefficient (W/m2/K)
[in]flcnvpconvective flux (W/m2)
[out]xlampconductivity (W/m/K)
[out]epapthickness (m)
[out]epspemissivity (>0)
[out]textpoutside temperature (K)
[out]tintpinitial inside temperature (K)

§ cs_user_radiative_transfer_parameters()

void cs_user_radiative_transfer_parameters ( void  )

User function for input of radiative transfer module options.

§ cs_user_saturne_coupling()

void cs_user_saturne_coupling ( void  )

Define couplings with other instances of Code_Saturne.

This is done by calling the cs_sat_coupling_define function for each coupling to add.

§ cs_user_scaling_elec()

void cs_user_scaling_elec ( const cs_mesh_t mesh,
const cs_mesh_quantities_t mesh_quantities,
cs_real_t dt 
)

Define scaling parameter for electric model.

Define scaling parameter for electric model.

Parameters
[in]meshpointer to a cs_mesh_t structure
[in,out]mesh_quantitiespointer to a cs_mesh_quantities_t structure
[in]dtpointer to a cs_real_t

These options allow defining the time step synchronization policy, as well as a time step multiplier.

§ cs_user_solver()

void cs_user_solver ( const cs_mesh_t mesh,
const cs_mesh_quantities_t mesh_quantities 
)

Main call to user solver.

Parameters
[in]meshpointer to a cs_mesh_t structure
[in,out]mesh_quantitiespointer to a cs_mesh_quantities_t structure

§ cs_user_solver_set()

int cs_user_solver_set ( void  )

Set user solver.

Returns
1 if user solver is called, 0 otherwise

§ cs_user_syrthes_coupling()

void cs_user_syrthes_coupling ( void  )

Define couplings with SYRTHES code.

This is done by calling the cs_syr_coupling_define function for each coupling to add.

§ cs_user_time_moments()

void cs_user_time_moments ( void  )

Define time moments.

This function is called at the setup stage, once user and most model-based fields are defined, and before fine control of field output options is defined.

§ cs_user_turbomachinery()

void cs_user_turbomachinery ( void  )

Define rotor/stator model.

§ cs_user_turbomachinery_rotor()

void cs_user_turbomachinery_rotor ( void  )

Define rotor axes, associated cells, and rotor/stator faces.

§ csinit()

void csinit ( const cs_int_t irgpar,
const cs_int_t nrgpar 
)

§ distpr()

void distpr ( const cs_int_t itypfb,
cs_real_t distpa 
)

§ dvvpst()

void dvvpst ( const cs_int_t nummai,
const cs_int_t numtyp,
const cs_int_t nvar,
const cs_int_t ncelps,
const cs_int_t nfbrps,
const cs_int_t  lstcel[],
const cs_int_t  lstfbr[],
cs_real_t  tracel[],
cs_real_t  trafbr[] 
)

§ findpt()

void findpt ( const cs_int_t ncelet,
const cs_int_t ncel,
const cs_real_t xyzcen,
const cs_real_t xx,
const cs_real_t yy,
const cs_real_t zz,
cs_int_t node,
cs_int_t ndrang 
)

§ fische()

void fische ( const cs_int_t n,
const cs_real_t mu,
cs_int_t  p[] 
)

§ haltyp()

void haltyp ( const cs_int_t ivoset)

§ initi1()

void initi1 ( void  )

§ memfin()

void memfin ( void  )

§ normalen()

void normalen ( const cs_int_t n,
const cs_real_t x 
)

§ usipes()

void usipes ( cs_int_t nmodpp)

§ usthht()

void usthht ( const cs_int_t mode,
cs_real_t enthal,
cs_real_t temper 
)

§ usvpst()

void usvpst ( const cs_int_t nummai,
const cs_int_t nvar,
const cs_int_t nscal,
const cs_int_t nvlsta,
const cs_int_t ncelps,
const cs_int_t nfacps,
const cs_int_t nfbrps,
const cs_int_t  itypps[3],
const cs_int_t  lstcel[],
const cs_int_t  lstfac[],
const cs_int_t  lstfbr[] 
)

§ zufall()

void zufall ( const cs_int_t n,
const cs_real_t a 
)

§ zufalli()

void zufalli ( const cs_int_t n)