8.3
general documentation
Loading...
Searching...
No Matches
cs_meg_prototypes.h File Reference
#include "cs_base.h"
#include "cs_field.h"
#include "cs_volume_zone.h"
#include "cs_boundary_zone.h"
Include dependency graph for cs_meg_prototypes.h:

Go to the source code of this file.

Functions

void cs_meg_boundary_function (const char *zone_name, const cs_lnum_t n_elts, const cs_lnum_t *elt_ids, const cs_real_t xyz[][3], const char *field_name, const char *condition, cs_real_t *retvals)
void cs_meg_volume_function (const char *zone_name, const cs_lnum_t n_elts, const cs_lnum_t *elt_ids, const cs_real_t xyz[][3], const char *fields_names, cs_real_t *fvals[])
void cs_meg_initialization (const char *zone_name, const cs_lnum_t n_elts, const cs_lnum_t *elt_ids, const cs_real_t xyz[][3], const char *field_name, cs_real_t *retvals)
void cs_meg_source_terms (const char *zone_name, const cs_lnum_t n_elts, const cs_lnum_t *elt_ids, const cs_real_t xyz[][3], const char *name, const char *source_type, cs_real_t *retvals)
void cs_meg_immersed_boundaries_inout (int *ipenal, const char *object_name, cs_real_t xyz[3], cs_real_t t)
void cs_meg_fsi_struct (const char *object_type, const char *name, const cs_real_t fluid_f[], cs_real_t val[])
 This function is used to query FSI internal coupling structure values for a given boundary and structure.
void cs_meg_post_activate (void)
 This function is used to activate postprocessing writers.
void cs_meg_post_profiles (const char *name, int n_coords, cs_real_t coords[][3])
 This function is used to define profile coordinates.
void cs_meg_post_calculator (const char *name, const cs_lnum_t n_elts, const cs_lnum_t *elt_ids, const cs_real_t xyz[][3], cs_real_t *retvals)
 This function is used to compute user defined calculator formulae. The mathematical expression is defined in the GUI.

Function Documentation

◆ cs_meg_boundary_function()

void cs_meg_boundary_function ( const char * zone_name,
const cs_lnum_t n_elts,
const cs_lnum_t * elt_ids,
const cs_real_t xyz[][3],
const char * field_name,
const char * condition,
cs_real_t * retvals )

◆ cs_meg_fsi_struct()

void cs_meg_fsi_struct ( const char * object_type,
const char * name,
const cs_real_t fluid_f[],
cs_real_t val[] )

This function is used to query FSI internal coupling structure values for a given boundary and structure.

Parameters
[in]object_typename of object type
[in]namename of matching boundary
[in]fluid_farray of fluid forces on the object
[in,out]val[]matrix or vector coefficients
[in]object_typename of object type
[in]namename of matching boundary
[in]fluid_farray of fluid forces on the object
[in,out]val[]matrix or vector coefficients

◆ cs_meg_immersed_boundaries_inout()

void cs_meg_immersed_boundaries_inout ( int * ipenal,
const char * object_name,
cs_real_t xyz[3],
cs_real_t t )

◆ cs_meg_initialization()

void cs_meg_initialization ( const char * zone_name,
const cs_lnum_t n_elts,
const cs_lnum_t * elt_ids,
const cs_real_t xyz[][3],
const char * field_name,
cs_real_t * retvals )

◆ cs_meg_post_activate()

void cs_meg_post_activate ( void )

This function is used to activate postprocessing writers.

◆ cs_meg_post_calculator()

void cs_meg_post_calculator ( const char * name,
const cs_lnum_t n_elts,
const cs_lnum_t * elt_ids,
const cs_real_t xyz[][3],
cs_real_t * retvals )

This function is used to compute user defined calculator formulae. The mathematical expression is defined in the GUI.

Parameters
[in]field_namefunction name
[in]n_eltsnumber of elements related to the zone
[in]elt_idslist of element ids related to the zone
[in]xyzlist of coordinates related to the zone
[out]retvalsarray of computed values

◆ cs_meg_post_profiles()

void cs_meg_post_profiles ( const char * name,
int n_coords,
cs_real_t coords[][3] )

This function is used to define profile coordinates.

Parameters
[in]namename of matching profile
[in]n_coordsnumber of point coordinates
[in,out]coordspoint coordinates

◆ cs_meg_source_terms()

void cs_meg_source_terms ( const char * zone_name,
const cs_lnum_t n_elts,
const cs_lnum_t * elt_ids,
const cs_real_t xyz[][3],
const char * name,
const char * source_type,
cs_real_t * retvals )

◆ cs_meg_volume_function()

void cs_meg_volume_function ( const char * zone_name,
const cs_lnum_t n_elts,
const cs_lnum_t * elt_ids,
const cs_real_t xyz[][3],
const char * fields_names,
cs_real_t * fvals[] )