My Project
programmer's documentation
Functions/Subroutines
cs_user_fluid_structure_interaction.f90 File Reference

User subroutines dedicated to Fluid-Structure interaction modeling. More...

Functions/Subroutines

subroutine usstr1 (idfstr, aexxst, bexxst, cfopre, xstr0, vstr0, xstreq)
 Definition of internal structures and corresponding initial conditions (initial displacement and velocity ). More...
 
subroutine usstr2 (nbstru, idfstr, dtcel, xmstru, xcstru, xkstru, xstreq, xstr, vstr, forstr, dtstr)
 Definition of structural parameters in case of Fluid Structure internal coupling : Mass, Friction, Stiffness anf Fluid Stresses. More...
 
subroutine usaste (idfstr)
 User subroutine dedicated the Fluid-Structure external coupling with Code_Aster : Here one defines the boundary faces coupled with Code_Aster and the fluid forces components which are given to structural calculations. More...
 

Detailed Description

User subroutines dedicated to Fluid-Structure interaction modeling.

Management of internal Fluid-Structure coupled calculations:
a simplified solid model is used (linear "mass, friction and spring" modeling). Here are 2 differents subroutines that need to be filled :
Fluid-Structure coupling with Code_Aster:
the user subroutine usaste has to be used.
Examples of data settings for fluid-structure interaction (FSI):
Several examples are available here.

Function/Subroutine Documentation

◆ usaste()

subroutine usaste ( integer, dimension(nfabor)  idfstr)

User subroutine dedicated the Fluid-Structure external coupling with Code_Aster : Here one defines the boundary faces coupled with Code_Aster and the fluid forces components which are given to structural calculations.

Parameters
[in]idfstrboundary faces -> structure definition

◆ usstr1()

subroutine usstr1 ( integer, dimension(nfabor)  idfstr,
double precision  aexxst,
double precision  bexxst,
double precision  cfopre,
double precision, dimension(3,nstrmx)  xstr0,
double precision, dimension(3,nstrmx)  vstr0,
double precision, dimension(3,nstrmx)  xstreq 
)

Definition of internal structures and corresponding initial conditions (initial displacement and velocity ).

Parameters
[in]idfstrboundary faces -> structure definition
[in]aexxst,bexxstprediction coefficients of structural data
[in]cfopreprediction coefficients of fluid forces
[in]xstr0initial displacement of internal structures
[in]vstr0initial velocity of internal structures
[in]xstreqdisplacement of initial mesh compared to structures position at equilibrium

◆ usstr2()

subroutine usstr2 ( integer  nbstru,
integer, dimension(nfabor)  idfstr,
double precision, dimension(ncelet)  dtcel,
double precision, dimension(3,3,nstrmx)  xmstru,
double precision, dimension(3,3,nstrmx)  xcstru,
double precision, dimension(3,3,nstrmx)  xkstru,
double precision, dimension(3,nstrmx)  xstreq,
double precision, dimension(3,nstrmx)  xstr,
double precision, dimension(3,nstrmx)  vstr,
double precision, dimension(3,nstrmx)  forstr,
double precision, dimension(nstrmx)  dtstr 
)

Definition of structural parameters in case of Fluid Structure internal coupling : Mass, Friction, Stiffness anf Fluid Stresses.

Parameters
[in]nbstrunombre de structures definies
[in]idfstrdefinition des structures
[in]dtceltime step (per cell
[in]xmstrumatrix of structural mass
[out]xcstrumatrix of structural friction
[out]xkstrumatrix of structural stiffness
[in]xstreqdisplacement of initial mesh compared to
[in]xstrstructural displacement
[in]vstrstructural velocity
[in]forstrforces acting on structures (take forces)
[out]dtstrstructural time step