-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
114c955
commit 01441fc
Showing
3 changed files
with
145 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
SBATCH: -p seq -n 1 -t 00-01:00:00 | ||
0:00 | ||
Exit code: 0 | ||
/12 | ||
________________________________________________________________________ | ||
|
||
|
||
Documentation Generale sur Cast3M : | ||
http://www-cast3m.cea.fr/index.php?xml=maj2011 | ||
|
||
Nouveautes de Cast3M 2016 : | ||
http://www-cast3m.cea.fr/html/ClubCast3m/club2016/ | ||
Club_Cast3m_2016_Millard.pdf | ||
|
||
________________________________________________________________________ | ||
|
||
$ * *SBATCH -p seq | ||
$ * *SBATCH -n 1 | ||
$ * *SBATCH -t 00-01:00:00 | ||
$ * * POUTRE CONSOLE EN FLEXION SIMPLE | ||
$ * * | ||
$ * * | F | ||
$ * * | | ||
$ * * | | | ||
$ * * |P1 v P2 | ||
$ * * |------------------------ | ||
$ * * | | ||
$ * * | | ||
$ * * | ||
$ * * Formule analytique de la fl�che en fonction de l'effort : | ||
$ * * u = F*L^3/(3*E*I) | ||
$ * * o� F est la force, L la longueur, | ||
$ * * E le module de Young (210e9 pour l'acier), | ||
$ * * I le moment d'inertie de la section de la poutre (largeur*hauteur^3/12) | ||
$ * | ||
$ * * OPTIONS DU CALCUL ******************************************** | ||
$ * | ||
$ * * Dimension 2 et �l�ments finis de type SEG2 | ||
$ * OPTI DIME 2 ELEM SEG2; | ||
$ * | ||
$ * * ACQUISITION DES VARIABLES D'ENTREE *************************** | ||
$ * | ||
$ * ** OPTI ACQU 'input.txt'; | ||
$ * ** ACQU long*FLOTTANT haut*FLOTTANT larg*FLOTTANT F*FLOTTANT; | ||
$ * long = 0.1; | ||
$ * haut = 0.001; | ||
$ * larg = 0.01; | ||
$ * F = 1.; | ||
$ * | ||
$ * * Section | ||
$ * sect = haut*larg; | ||
$ * * Inertie | ||
$ * inrz = (larg*(haut**3))/12.; | ||
$ * | ||
$ * * MAILLAGE ****************************************************** | ||
$ * | ||
$ * * Cr�ation des noeuds | ||
$ * P1 = 0. 0.; | ||
$ * P2 = long 0.; | ||
$ * * Cr�ation de l'�l�ment fini | ||
$ * poutre = DROI 1 P1 P2; | ||
$ * | ||
$ * * MODELE ET MATERIAU ******************************************** | ||
$ * | ||
$ * mo_pout = MODE poutre 'MECANIQUE' 'ELASTIQUE' 'ISOTROPE' 'POUT'; | ||
$ * ma_pout = MATE mo_pout 'YOUN' 210e9 'NU' 0.3 | ||
$ * 'SECT' sect 'INRZ' inrz; | ||
$ * | ||
$ * * CONDITIONS AUX LIMITES **************************************** | ||
$ * | ||
$ * * Encastrement du point P1 | ||
$ * enca = BLOQ 'DEPL' 'ROTA' P1; | ||
$ * | ||
$ * * Calcul de la matrice de rigidit� | ||
$ * rigi1 = RIGI mo_pout ma_pout; | ||
$ * rigitot = enca et rigi1; | ||
$ * | ||
$ * * Chargement | ||
$ * char1 = FORC 'FY' (-1.*F) P2; | ||
$ * | ||
$ * * CALCUL ******************************************************** | ||
$ * | ||
$ * * R�solution | ||
$ * dep1 = RESO rigitot char1; | ||
Taille de la matrice: 6 Facteur: 1.3867 Performance (Gflop/s): 0.0000 | ||
$ * | ||
$ * * Extraction du d�placement au point d'int�r�t | ||
$ * dep_P2 = EXTR dep1 'UY' P2; | ||
$ * | ||
$ * * Export du r�sultat dans un fichier texte | ||
$ * ** OPTI SORT 'output.txt'; | ||
$ * ** SORT 'CHAI' dep_P2; | ||
$ * MESS 'dep_P2=' dep_P2; | ||
dep_P2=-1.90476E-03 | ||
$ * | ||
$ * * Remarque : | ||
$ * * si dep_P2 �tait une liste (PROG) il faudrait faire | ||
$ * * SORT 'EXCE' dep_P2; | ||
$ * | ||
$ * * FIN DE l'EXECUTION ******************************************* | ||
$ * | ||
$ * FIN; | ||
|
||
__________________________________________________________________________ | ||
|