My Project
programmer's documentation
Functions
cs_user_mesh.c File Reference

Definition and modification of the calculation mesh. More...

#include "cs_defs.h"
#include <assert.h>
#include <math.h>
#include <stdarg.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "cs_headers.h"
#include "cs_prototypes.h"
Include dependency graph for cs_user_mesh.c:

Functions

void cs_user_mesh_input (void)
 Define mesh files to read and optional associated transformations. More...
 
void cs_user_join (void)
 Define mesh joinings. More...
 
void cs_user_periodicity (void)
 Define periodic faces. More...
 
void cs_user_mesh_warping (void)
 Set options for cutting of warped faces. More...
 
void cs_user_mesh_boundary (cs_mesh_t *mesh)
 Insert boundaries into a mesh. More...
 
void cs_user_mesh_modify (cs_mesh_t *mesh)
 Modify geometry and mesh. More...
 
void cs_user_mesh_smoothe (cs_mesh_t *mesh)
 Mesh smoothing. More...
 
void cs_user_mesh_save (cs_mesh_t *mesh)
 Enable or disable mesh saving. More...
 
void cs_user_mesh_bad_cells_tag (cs_mesh_t *mesh, cs_mesh_quantities_t *mesh_quantities)
 Tag bad cells within the mesh based on user-defined geometric criteria. More...
 

Detailed Description

Definition and modification of the calculation mesh.

See Examples of mesh modifications for examples.

Function Documentation

◆ cs_user_join()

void cs_user_join ( void  )

Define mesh joinings.

◆ cs_user_mesh_bad_cells_tag()

void cs_user_mesh_bad_cells_tag ( cs_mesh_t mesh,
cs_mesh_quantities_t mesh_quantities 
)

Tag bad cells within the mesh based on user-defined geometric criteria.

Parameters
[in,out]meshpointer to a cs_mesh_t structure
[in,out]mesh_quantitiespointer to a cs_mesh_quantities_t structure

◆ cs_user_mesh_boundary()

void cs_user_mesh_boundary ( cs_mesh_t mesh)

Insert boundaries into a mesh.

Parameters
[in,out]meshpointer to a cs_mesh_t structure

◆ cs_user_mesh_input()

void cs_user_mesh_input ( void  )

Define mesh files to read and optional associated transformations.

◆ cs_user_mesh_modify()

void cs_user_mesh_modify ( cs_mesh_t mesh)

Modify geometry and mesh.

Parameters
[in,out]meshpointer to a cs_mesh_t structure

◆ cs_user_mesh_save()

void cs_user_mesh_save ( cs_mesh_t mesh)

Enable or disable mesh saving.

By default, mesh is saved when modified.

Parameters
[in,out]meshpointer to a cs_mesh_t structure

◆ cs_user_mesh_smoothe()

void cs_user_mesh_smoothe ( cs_mesh_t mesh)

Mesh smoothing.

Parameters
[in,out]meshpointer to a cs_mesh_t structure

◆ cs_user_mesh_warping()

void cs_user_mesh_warping ( void  )

Set options for cutting of warped faces.

◆ cs_user_periodicity()

void cs_user_periodicity ( void  )

Define periodic faces.