Download raff.notice

Back to the list

Display this manual page in
$$$$ RAFF     NOTICE  CHAT      11/09/12    21:17:49     7124           
                                             DATE     11/09/12
 
  Operateur RAFF                           Voir aussi :
    --------------   
      GEO2  =  RAFF  GEO1  CHPO1 ; 
                                



    Description :
    ____________

    The RAFF operator refines an existing mesh (GEO1) according to a 
 density field (CHPO1). while the density is not reached each element is
 split into several elements etc...
 The generated mesh includes all these element as well as elements of 
 type relations(itypel=22) which insure as well as possible the 
 displacements conformity between elements.  


      Contents :
      _________


      GEO1  :  initial mesh
                                                     
      CHPO1 :  object CHPOINT giving density field.                             
                                                     
      
      GEO2  :  final mesh including elements for relations on 
               displacement 


   Exemple :
   _________

    opti elem qua4 mode plan defo dime 2; 
    dens 2.;
* mesh 10x6 
    pa= 0 0; pb= 10 0;pc= 20 0;
    liab= pa droi pb;libc= pb droi pc;
    su = (liab et libc)  trans  ( 0 12);
    trac su;
* definition of density
    x y = coor su;
    distance = ((x - 10 ) * ( x- 10) + ( y * y)) ** 0.5;
    den = 0.3 + (0.18*distance);
    trac su den;
* new mesh 
    su2= raff su den;
    hh = elem su2 SURE ;
    sureal = su2 diff hh ;
* use of this mesh
* definition of model and caracteristic
    mo= model su2 mecanique elastique isotrope ;    
    ma = matr mo  YOUN 2.e5  NU 0.3 ; 
* loads
    psupe = su2 point droite ( 0 12) ( 10 12) 0.1;
    lisupe = elem ( contour su2) appu stric psupe;
    ff = pres ( redu mo sureal) massif lisupe  -1.;
* displacements conditions
    py0= point su2 droit pa pc 0.01;
    liy0= elem ( contou su2) appu strict py0;
    li2bc = liy0 elem compris pb pc;
    cl1= bloqu li2bc UY;
    cl2= bloq UX pb;
    cltot= cl1 et cl2;
* compute elastic solution
    ri = rigi mo ma;
    displa =  reso ( ri et cltot) ff;
    stre = sigma displa mo ma;
    vm = vmis stre mo ma;
    trac  su2 vm mo ma;    
* compute stress intensity factor
    gt = table;
    gt.'OBJECTIF' = MOT 'J';
    lifis = liy0 elem compris pa pb;   
    gt.'LEVRE_SUPERIEURE' = lifis;
    gt.'FRONT_FISSURE' = Pb;
    gt.'CARACTERISTIQUES' = ma;
    gt.'MODELE' = mo;
    gt.'SOLUTION_RESO' = displa; 
    rea = reaction  ri displa;
    gt.'CHARGEMENTS_MECANIQUES'=rea;  
    naa = 5;opti veri 1;
    repe no naa;
      gt.'COUCHE' = &no;                
      G_THETA gt; 
      si ( &no ega 1) ; g2=prog gt.resultats;sinon;
      g2 = g2 et ( prog gt.resultats); finsi;
    fin no; 
    xx = prog 1 pas 1 naa;
    ev= evol manu  'nb of rows' xx 'G ' g2;
    ttt=table;
    ttt.1 = mot 'MARQ CROI';
    tt2=table;
    tt2.1= ' G '; 
    ttt.'TITRE'=tt2;
    dess ev lege ttt;
$$$$
 
 

© Cast3M 2003 - All rights reserved.
Disclaimer