9.0
general documentation
Loading...
Searching...
No Matches
cs_coal_boundary_conditions.cpp File Reference

Coal combustion model boundary conditions. More...

#include "base/cs_defs.h"
#include <assert.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "bft/bft_mem.h"
#include "bft/bft_printf.h"
#include "base/cs_boundary.h"
#include "base/cs_boundary_conditions.h"
#include "base/cs_boundary_zone.h"
#include "comb/cs_coal.h"
#include "comb/cs_coal_ht_convert.h"
#include "pprt/cs_combustion_model.h"
#include "base/cs_field.h"
#include "base/cs_field_pointer.h"
#include "base/cs_log.h"
#include "base/cs_math.h"
#include "mesh/cs_mesh.h"
#include "mesh/cs_mesh_quantities.h"
#include "base/cs_parameters.h"
#include "base/cs_parameters_check.h"
#include "base/cs_physical_constants.h"
#include "pprt/cs_physical_model.h"
#include "base/cs_prototypes.h"
#include "comb/cs_coal_boundary_conditions.h"
Include dependency graph for cs_coal_boundary_conditions.cpp:

Functions

cs_coal_bc_inlet_tcs_coal_boundary_conditions_get_inlet (const cs_zone_t *zone)
 Return pointer to coal boundary conditions inlet structure.
void cs_coal_boundary_conditions_inlet_set_air_mass_flow_rate_by_value (const cs_zone_t *z, cs_real_t q)
 Assign a constant air mass flow rate to an inlet.
void cs_coal_boundary_conditions_inlet_set_air_mass_flow_rate_by_func (const cs_zone_t *z, cs_eval_at_location_t *func, void *input)
void cs_coal_boundary_conditions (int bc_type[])
 Automatic boundary condition for pulverized coal combustion.
void cs_coal_boundary_conditions_density (void)
 Compute density at boundaries for pulverized coal combustion.

Detailed Description

Coal combustion model boundary conditions.

Function Documentation

◆ cs_coal_boundary_conditions()

void cs_coal_boundary_conditions ( int bc_type[])

Automatic boundary condition for pulverized coal combustion.

Parameters
[in]bc_typetype of boundary for each face

◆ cs_coal_boundary_conditions_density()

void cs_coal_boundary_conditions_density ( void )

Compute density at boundaries for pulverized coal combustion.

Compute density at inlets for pulverized coal combustion.

This is based on boundary condition definitions, but is called at an earlier stage in the time step.

◆ cs_coal_boundary_conditions_get_inlet()

cs_coal_bc_inlet_t * cs_coal_boundary_conditions_get_inlet ( const cs_zone_t * zone)

Return pointer to coal boundary conditions inlet structure.

If no such structure was previously present, it is created and linked to the matching open boundary condition inlet.

Parameters
[in]zonepointer to associated zone
Returns
: pointer to structure associated with zone

◆ cs_coal_boundary_conditions_inlet_set_air_mass_flow_rate_by_func()

void cs_coal_boundary_conditions_inlet_set_air_mass_flow_rate_by_func ( const cs_zone_t * z,
cs_eval_at_location_t * func,
void * input )

◆ cs_coal_boundary_conditions_inlet_set_air_mass_flow_rate_by_value()

void cs_coal_boundary_conditions_inlet_set_air_mass_flow_rate_by_value ( const cs_zone_t * z,
cs_real_t q )

Assign a constant air mass flow rate to an inlet.

The total mass flow rate will also include that of the pulverized coals.

This is otherwise similar to cs_boundary_conditions_open_set_mass_flow_rate_by_value.

Parameters
[in]zpointer to associated zone
[in]qassociated constant mass flow rate