8.0
general documentation
cs_boundary_condition_pm_info_t Struct Reference

#include <cs_boundary_conditions.h>

+ Collaboration diagram for cs_boundary_condition_pm_info_t:

Data Fields

int * izfppp
 
int iqimp [CS_MAX_BC_PM_ZONE_NUM+1]
 
int icalke [CS_MAX_BC_PM_ZONE_NUM+1]
 
double qimp [CS_MAX_BC_PM_ZONE_NUM+1]
 
double dh [CS_MAX_BC_PM_ZONE_NUM+1]
 
double xintur [CS_MAX_BC_PM_ZONE_NUM+1]
 

Detailed Description

boundary zone number associated with each boundary face (specific physical models)

Deprecated:
This is used for cs_boundary_condition_pm_info_t only.

Legacy physical model boundary conditions.

Remarks
The amppings of member arrays of this structure are shifted by 1 when mapped to Fortran, so that both in Fortran and C, we can use the natural indexing (1-based and 0-based respectively) without needing to shift the zone id/number.
Deprecated:
This should be used for Fortran compatibilty and migration to C only. In C, we should then move to high level boundary condition definitions not requiring indexing by legacy zone numbers indexed by cs_glob_bc_face_zone.

Field Documentation

◆ dh

double dh[CS_MAX_BC_PM_ZONE_NUM+1]

hydraulic diameter

◆ icalke

int icalke[CS_MAX_BC_PM_ZONE_NUM+1]

Turbulence inlet type:

  • 0: given by the user
  • 1: automatic, from hydraulic diameter and input velocity performed.
  • 2: automatic, from turbulent intensity and input velocity performed.

◆ iqimp

int iqimp[CS_MAX_BC_PM_ZONE_NUM+1]

Imposed flow zone indicator (for inlet zones). If the mass flow is imposed (iqimp(z_id) = 1), the matching qimp value must be set, and the defined velocity boundary condition will be rescaled so as to match the given mass flow (i.e. only its original direction is used. Otherwise, the given velocity boundary condition given by rcodcl1 is unchanged.

◆ izfppp

int* izfppp

Legacy physical model zone id per boundary face

◆ qimp

double qimp[CS_MAX_BC_PM_ZONE_NUM+1]

Imposed flow value (for inlet zones). If the mass flow is imposed (iqimp(z_num - 1) = 1), the matching qimpat value must be set, and the defined velocity boundary condition will be rescaled so as to match the given mass flow (i.e. only its original direction is used. Otherwise, the given velocity boundary condition given by rcodcl1 is unchanged.

◆ xintur

double xintur[CS_MAX_BC_PM_ZONE_NUM+1]

turbulent intensity


The documentation for this struct was generated from the following file: