![]() |
programmer's documentation
|
#include "cs_defs.h"
#include <assert.h>
#include <math.h>
#include <string.h>
#include "bft_mem.h"
#include "bft_error.h"
#include "bft_printf.h"
#include "fvm_writer.h"
#include "cs_base.h"
#include "cs_field.h"
#include "cs_field_pointer.h"
#include "cs_field_operator.h"
#include "cs_mesh.h"
#include "cs_mesh_quantities.h"
#include "cs_halo.h"
#include "cs_halo_perio.h"
#include "cs_log.h"
#include "cs_parall.h"
#include "cs_parameters.h"
#include "cs_prototypes.h"
#include "cs_time_step.h"
#include "cs_turbomachinery.h"
#include "cs_selector.h"
#include "cs_post.h"
#include "cs_face_viscosity.h"
#include "cs_gradient_perio.h"
#include "cs_physical_constants.h"
#include "cs_thermal_model.h"
#include "cs_convection_diffusion.h"
#include "cs_boundary_conditions.h"
#include "cs_balance_by_zone.h"
Macros | |
#define | _CS_MODULE2_2(vect) 0.5*(vect[0] * vect[0] + vect[1] * vect[1] + vect[2] * vect[2]) |
#define | _CS_DOT_PRODUCT(vect1, vect2) (vect1[0] * vect2[0] + vect1[1] * vect2[1] + vect1[2] * vect2[2]) |
Functions | |
void | cs_balance_by_zone (const char *selection_crit, const char *scalar_name) |
Computes the different terms of the balance of a scalar which name is given as argument, on a volumic zone defined by the criterium also given as argument. The different contributions to the balance are printed in the listing. More... | |
void | cs_pressure_drop_by_zone (const char *selection_crit) |
Computes one term of the head loss balance (pressure drop) on a volumic zone defined by the criterium also given as argument. The different contributions are printed in the listing. More... | |
#define _CS_DOT_PRODUCT | ( | vect1, | |
vect2 | |||
) | (vect1[0] * vect2[0] + vect1[1] * vect2[1] + vect1[2] * vect2[2]) |
#define _CS_MODULE2_2 | ( | vect | ) | 0.5*(vect[0] * vect[0] + vect[1] * vect[1] + vect[2] * vect[2]) |
void cs_balance_by_zone | ( | const char * | selection_crit, |
const char * | scalar_name | ||
) |
Computes the different terms of the balance of a scalar which name is given as argument, on a volumic zone defined by the criterium also given as argument. The different contributions to the balance are printed in the listing.
[in] | selection_crit | zone selection criterium |
[in] | scalar_name | scalar name |
void cs_pressure_drop_by_zone | ( | const char * | selection_crit | ) |
Computes one term of the head loss balance (pressure drop) on a volumic zone defined by the criterium also given as argument. The different contributions are printed in the listing.
[in] | selection_crit | zone selection criterium |