7.3
general documentation
cs_user_fluid_structure_interaction.c File Reference

User-defined functions dedicated to Fluid-Structure interaction modeling. More...

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

Functions

void cs_user_fsi_external_structure_id (cs_domain_t *domain, int structure_id[])
 Define external structure ids for faces associated with external (code_aster) structures. More...
 

Detailed Description

User-defined functions dedicated to Fluid-Structure interaction modeling.

Function Documentation

◆ cs_user_fsi_external_structure_id()

void cs_user_fsi_external_structure_id ( cs_domain_t domain,
int  structure_id[] 
)

Define external structure ids for faces associated with external (code_aster) structures.

Structure ids associated to a given face have the following values:

  • -i where coupled to i-th (1-to n) external (code_aster) structure.
  • 0 where not coupled with an internal or external structure.
  • i where coupled to i-th (1-to n) internal (mass-spring) structure.
Parameters
[in,out]domainpointer to a cs_domain_t structure
[in,out]structure_idstructure id associated to each face