* COLLER2 PROCEDUR FANDEUR 22/01/19 21:15:04 11256 * ************************************************************************ * * COLLER2 : CONNECT SHELL TO SOLID ELEMENTS FOR A GIVEN SET OF NODES * OF THE SHELL * * INPUTS : * mod_sh = SHELL MODEL * mat_sh = SHELL MATERIAL * mod_so = SOLID MODEL * node_sh = MESH (MAILLAGE or POINT TYPE) TO LINK * (cons_lo = NAME OF THE LOWER CONSTITUANT) * (cons_up = NAME OF THE UPPER CONSTITUANT) * * CREATION : BP, 2017-03-23 * ************************************************************************ mod_so*'MMODEL' ; ************************************************************************ * I. VERIFICATION AND TREATMENT OF INPUTS ************************************************************************ * POINTS (OR MESH) OF THE SHELL TO GLUE SINON; FINSI; * CONSITUTANTS'NAME * (= LAYER NAME GIVEN IN THE MODEL FOR MULTILAYER SHELL) * MATERIAL COMPONENTS * COMPONENTS FLAXI = (EGA IFOUR 'FOUR') ou (EGA IFOUR 'AXIS'); FL2D = EGA IDIM 2; SI FL2D; SI FLAXI; SINON; FINSI; SINON; FINSI; ************************************************************************ * II. GENEREATION OF NODES ON UPPER AND LOWER SURFACES ************************************************************************ * MODEL ASSOCIATED WITH UPPER AND LOWER SURFACES SINON; mod_lo = mod_sh; FINSI; SINON; mod_up = mod_sh; FINSI; * NORMAL TO THE SHELL * SHELL EXCENTRATION AND HALF-THICKNESS SINON; ex_lo = 0.; ex_up = 0.; FINSI; lo_sh = ex_lo - th_lo; up_sh = ex_up + th_up; * NEW NODES (ON UPPER AND LOWER SURFACES) n_up = up_sh * n_sh; n_lo = lo_sh * n_sh; x_peau = x_up et x_lo; * opti trac X; * * TRAC (mesh_sh et x_peau); * TRAC (mesh_so et mesh_sh et (x_peau COUL 'ROSE')); ************************************************************************ * III. LINKING UPPER AND LOWER NODES TO THE SOLID ************************************************************************ * LINKING POINTS TO THE SOLID * GET THE NODES OF x_up AND x_lo ACTUALLY CONSTRAINED TO THE SOLID ************************************************************************ * IV. LINKING UPPER AND LOWER NODES TO THE SHELL ************************************************************************ SI (NON FL2D); FINSI; * LOOP OVER SHELL NODES ----------------- REPE Bnode nnode; * node of the shell * node of the upper plan of the shell + its relative position SI FL2D; * UX - hY(sup)*RZ = UX(sup) * UY + hX(sup)*RZ = UY(sup) KREL = KREL et KupX et KupY; SINON; * UX + hZ(sup)*RY - hY(sup)*RZ = UX(sup) - U1 x_up_i; * UY + hX(sup)*RZ - hZ(sup)*RX = UY(sup) - U2 x_up_i; * UZ + hy(sup)*RX - hX(sup)*RY = UZ(sup) - U3 x_up_i; KREL = KREL et KupX et KupY et KupZ; FINSI; FINSI; * node of the lower plan of the shell + its relative position SI FL2D; * UX - hY(inf)*RZ = UX(inf) * UY + hX(inf)*RZ = UY(inf) KREL = KREL et KloX et KloY; SINON; * UX + hZ(inf)*RY - hY(inf)*RZ = UX(inf) - U1 x_lo_i; * UY + hX(inf)*RZ - hZ(inf)*RX = UY(inf) - U2 x_lo_i; * UZ + hy(inf)*RX - hX(inf)*RY = UZ(inf) - U3 x_lo_i; KREL = KREL et KloX et KloY et KloZ; FINSI; FINSI; FIN Bnode; * END OF LOOP OVER SHELL NODES ----------------- KREL2 = KREL ET KREL1; FINP KREL2 ;
© Cast3M 2003 - Tous droits réservés.
Mentions légales