User subroutines dedicated to Fluid-Structure interaction modeling.  
More...
 | 
| 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...
  | 
|   | 
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 :
 
- usstr1 : Called at the beginning of the calculation. It enables one to define internal structures and corresponding initial conditions (initial displacement and velocity).
 
- usstr2 : Called at each time step of the calculation. Here one structural parameters (considered to be potentially time dependent), i.e. Mass, Friction, Stiffness and Fluid Stresses.
 
- 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. 
 
 
◆ 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] | idfstr | boundary 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] | idfstr | boundary faces -> structure definition  | 
    | [in] | aexxst,bexxst | prediction coefficients of structural data  | 
    | [in] | cfopre | prediction coefficients of fluid forces  | 
    | [in] | xstr0 | initial displacement of internal structures  | 
    | [in] | vstr0 | initial velocity of internal structures  | 
    | [in] | xstreq | displacement 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] | nbstru | nombre de structures definies  | 
    | [in] | idfstr | definition des structures  | 
    | [in] | dtcel | time step (per cell  | 
    | [in] | xmstru | matrix of structural mass  | 
    | [out] | xcstru | matrix of structural friction  | 
    | [out] | xkstru | matrix of structural stiffness  | 
    | [in] | xstreq | displacement of initial mesh compared to  | 
    | [in] | xstr | structural displacement  | 
    | [in] | vstr | structural velocity  | 
    | [in] | forstr | forces acting on structures (take forces)  | 
    | [out] | dtstr | structural time step  |