My Project
programmer's documentation
Functions
cs_user_postprocess.c File Reference
#include "cs_defs.h"
#include "stdlib.h"
#include "string.h"
#include "bft_mem.h"
#include "bft_error.h"
#include "cs_base.h"
#include "cs_field.h"
#include "cs_geom.h"
#include "cs_interpolate.h"
#include "cs_mesh.h"
#include "cs_selector.h"
#include "cs_parall.h"
#include "cs_post.h"
#include "cs_post_util.h"
#include "cs_probe.h"
#include "cs_time_plot.h"
#include "cs_field_pointer.h"
#include "cs_notebook.h"
#include "cs_parameters.h"
#include "cs_physical_constants.h"
#include "cs_turbulence_model.h"
#include "cs_prototypes.h"
Include dependency graph for cs_user_postprocess.c:

Functions

void cs_user_postprocess_writers (void)
 Define post-processing writers. More...
 
void cs_user_postprocess_meshes (void)
 Define post-processing meshes. More...
 
void cs_user_postprocess_probes (void)
 Define monitoring probes and profiles. More...
 
void cs_user_postprocess_values (const char *mesh_name, int mesh_id, int cat_id, cs_probe_set_t *probes, cs_lnum_t n_cells, cs_lnum_t n_i_faces, cs_lnum_t n_b_faces, cs_lnum_t n_vertices, const cs_lnum_t cell_list[], const cs_lnum_t i_face_list[], const cs_lnum_t b_face_list[], const cs_lnum_t vertex_list[], const cs_time_step_t *ts)
 User function for output of values on a post-processing mesh. More...
 
void cs_user_postprocess_activate (int nt_max_abs, int nt_cur_abs, double t_cur_abs)
 

Function Documentation

◆ 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_values()

void cs_user_postprocess_values ( const char *  mesh_name,
int  mesh_id,
int  cat_id,
cs_probe_set_t probes,
cs_lnum_t  n_cells,
cs_lnum_t  n_i_faces,
cs_lnum_t  n_b_faces,
cs_lnum_t  n_vertices,
const cs_lnum_t  cell_list[],
const cs_lnum_t  i_face_list[],
const cs_lnum_t  b_face_list[],
const cs_lnum_t  vertex_list[],
const cs_time_step_t ts 
)

User function for output of values on a post-processing mesh.

Parameters
[in]mesh_namename of the output mesh for the current call
[in]mesh_idid of the output mesh for the current call
[in]cat_idcategory id of the output mesh for the current call
[in]probespointer to associated probe set structure if the mesh is a probe set, NULL otherwise
[in]n_cellslocal number of cells of post_mesh
[in]n_i_faceslocal number of interior faces of post_mesh
[in]n_b_faceslocal number of boundary faces of post_mesh
[in]n_verticeslocal number of vertices faces of post_mesh
[in]cell_listlist of cells (0 to n-1) of post-processing mesh
[in]i_face_listlist of interior faces (0 to n-1) of post-processing mesh
[in]b_face_listlist of boundary faces (0 to n-1) of post-processing mesh
[in]vertex_listlist of vertices (0 to n-1) of post-processing mesh
[in]tstime step status structure, or NULL

◆ 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.