Télécharger Cast_test_RelaPout.dgibi
* fichier : cast_test_relapout.dgibi * ********************************************************************** ************************************************************************ ************************************************************************ * * Tranfert of load for beam elements - load known for a solid model * * * D. COMBESCURE * * F4E - 6th January 2014 ******************************************************************** * * Modele 1: Forces calculated with another software/here created manually * FLAGVISU = FAUX; * L1 = 0.1; L2 = 0.25; L3 = 3.; * fac1 = 1; n1 = 2*fac1; n2 = 3*fac1; n3 = 10*fac1; * p0 = (-0.5*L1) (-0.5*L2) 0.; p1 = (0.5*L1) (-0.5*L2) 0.; vy = 0. L2 0.; vz = 0. 0. L3; p0c = 0. 0. 0.; p1c = 0. L2 0.; * Lig0 = D n1 p0 p1; * Emat0 = 200.D9; Nmat0 = 0.3; romat0 = 7800.; * * * Loads * * Uniform acceleration *for0 = mas0*accuni; * * Triangular acceleration *for0 = mas0 * acc0; * * Lumped force * SI FLAGVISU; FINSI; * * * Modele 2 - Mechanical model - Beam model * * n1b = 3*fac1; n2b = 4*fac1; n3b = 15*fac1; ep1 = 0.00001; ep0 = (-1.)*ep1; ep2 = ep1; ep3 = ep1; * p0c = 0. 0. 0.; vz = 0. 0. L3; * Vol1 = D n3b p0c p1c; * * p0S = (-0.5*L1) (-0.5*L2) 0.; p1S = (0.5*L1) (-0.5*L2) 0.; ns1 = 1; ns2 = 1; LigS1 = D ns1 p0S p1S; * Emat1 = 200.D9; Nmat1 = 0.3; romat1 = 7800.; matS1 = MATE modS1 youn Emat1 NU Nmat1 RHO romat1 ALPY 1. ALPZ 1.; * * * * * rigmod = rig1 et bl00; * * Creation of the solid mesh and the constraints * linking the beam and the solid meshes * tab11 = table; tab11.'RELATION_3D' = VRAI; blpout = tab11.'RELATION_3D'; * SI FLAGVISU; oeil = 2. 2. 4.; trac oeil vol1_3D cach; FINSI; * * Emat1 = 200.D9; Nmat1 = 0.3; romat1 = 7800.; * * Displacement field to be transfered from vol1 to vol0 * * Transfert through the Lagrangian multiplier * frdep0 = for0; * * Relation maitre-esclave * * Vol0 suit Vol1 rigtot1 = rig1 et bl00 et rel1 et blpout; * * Calcul des forces nodales a partir des deplacements sur le modele 1 * frdep1 = (rig1 et bl00) * depj1; * SI FLAGVISU; oeil = 2. 2. 4.; TITRE 'Transfer through Lagrangian muliplier'; FINSI; * * Test * * ERR = (res0 - res1)/res0; * * * 'FIN' ;
© Cast3M 2003 - Tous droits réservés.
Mentions légales