8.1
general documentation
cs_user_ibm.c File Reference

User function. Define immersed boundaries in time and space. More...

#include "cs_defs.h"
#include <assert.h>
#include <math.h>
#include "cs_headers.h"
#include "cs_stl.h"
#include "cs_ibm.h"
+ Include dependency graph for cs_user_ibm.c:

Functions

void cs_user_ibm_define_objects (void)
 User function in which the user defines the objects to model. More...
 
void cs_user_ibm_parameters (void)
 User function to set global parameters for the immersed boundaries module. More...
 
void cs_user_ibm_object_transformations (const cs_real_t time)
 User function where to apply predefined transformations to med/stl based objects. More...
 
void cs_user_ibm_solid_por (const cs_lnum_t c_id, const cs_real_3_t xyz, const cs_real_t t, const int num_object)
 User function which allows the definition of a 'porous' object. More...
 

Detailed Description

User function. Define immersed boundaries in time and space.

Function Documentation

◆ cs_user_ibm_define_objects()

void cs_user_ibm_define_objects ( void  )

User function in which the user defines the objects to model.

◆ cs_user_ibm_object_transformations()

void cs_user_ibm_object_transformations ( const cs_real_t  time)

User function where to apply predefined transformations to med/stl based objects.

Parameters
[in]ttime value for the current time step

◆ cs_user_ibm_parameters()

void cs_user_ibm_parameters ( void  )

User function to set global parameters for the immersed boundaries module.

◆ cs_user_ibm_solid_por()

void cs_user_ibm_solid_por ( const cs_lnum_t  c_id,
const cs_real_3_t  xyz,
const cs_real_t  t,
const int  num_object 
)

User function which allows the definition of a 'porous' object.

Parameters
[in]c_idlocal cell number
[in]xyzx, y, z coordinates of the current position
[in]ttime value for the current time step
[in]num_objectnum of fsi object (if fsi activated)