programmer's documentation
Functions
cs_post_util.c File Reference
#include "cs_defs.h"
#include <assert.h>
#include <math.h>
#include <string.h>
#include "bft_mem.h"
#include "bft_printf.h"
#include "fvm_selector.h"
#include "cs_interface.h"
#include "cs_base.h"
#include "cs_field.h"
#include "cs_field_pointer.h"
#include "cs_gradient.h"
#include "cs_gradient_perio.h"
#include "cs_join.h"
#include "cs_halo.h"
#include "cs_halo_perio.h"
#include "cs_math.h"
#include "cs_matrix_default.h"
#include "cs_mesh.h"
#include "cs_mesh_coherency.h"
#include "cs_mesh_location.h"
#include "cs_mesh_quantities.h"
#include "cs_parall.h"
#include "cs_parameters.h"
#include "cs_post.h"
#include "cs_prototypes.h"
#include "cs_renumber.h"
#include "cs_rotation.h"
#include "cs_time_step.h"
#include "cs_timer.h"
#include "cs_timer_stats.h"
#include "cs_turbomachinery.h"
#include "cs_post_util.h"
Include dependency graph for cs_post_util.c:

Functions

cs_real_t cs_post_turbomachinery_head (const char *criteria_in, cs_mesh_location_type_t location_in, const char *criteria_out, cs_mesh_location_type_t location_out)
 Compute the head of a turbomachinery (total pressure increase) More...
 
cs_real_t cs_post_moment_of_force (cs_lnum_t n_b_faces, cs_lnum_t *b_face_list, cs_real_3_t axis)
 Compute the magnitude of a moment of force torque) given an axis and the stress on a specific boundary. More...
 

Function Documentation

§ cs_post_moment_of_force()

cs_real_t cs_post_moment_of_force ( cs_lnum_t  n_b_faces,
cs_lnum_t b_face_list,
cs_real_3_t  axis 
)

Compute the magnitude of a moment of force torque) given an axis and the stress on a specific boundary.

Parameters
[in]n_b_facesnumber of faces
[in]b_face_listface list
[in]axisaxis
Returns
couple about the axis

§ cs_post_turbomachinery_head()

cs_real_t cs_post_turbomachinery_head ( const char *  criteria_in,
cs_mesh_location_type_t  location_in,
const char *  criteria_out,
cs_mesh_location_type_t  location_out 
)

Compute the head of a turbomachinery (total pressure increase)

Parameters
[in]criteria_inselection criteria of turbomachinery suction
[in]location_inmesh location of turbomachinery suction
[in]criteria_outselection criteria of turbomachinery discharge
[in]location_outmesh location of turbomachinery discharge
Returns
turbomachinery head