Welcome to the forums. Please post in English or French.

You are not logged in.

#1 Re: Code_Aster usage » [SOLVED] Get von Mises Stress using STAT_NON_LINE » 2015-10-24 18:13:46

Hi jeanpierreaubry,

I made a mistake with my doubt...actually, I found the problem (and the problem was in another part of the code). So, I was totally wrong in post this topic. The table with the values are usually printing and appearing.



Thank you and best regards,



wspellf

#2 Code_Aster usage » [SOLVED] Get von Mises Stress using STAT_NON_LINE » 2015-10-16 01:23:01

wspellf
Replies: 3

Hello,

I need to create a table with the von Mises stress in a nonlinear analysis. So, I am using STAT_NON_LINE and I don't know why these values do not appear. The program crash in the end of this part:

...

Resu=STAT_NON_LINE(MODELE=Mode,
                          CHAM_MATER=Mate,
                          EXCIT=(_F(CHARGE=Fix,),
                                 _F(CHARGE=Char,
                                    FONC_MULT=Rampe,
                                    TYPE_CHARGE='FIXE_CSTE',),),
                          COMP_INCR=_F(RELATION='ELAS',
                                       DEFORMATION='GROT_GDEP',),
                          INCREMENT=_F(LIST_INST=TList,),
                          NEWTON=_F(PREDICTION='TANGENTE',
                                    MATRICE='TANGENTE',
                                    REAC_ITER=1,),
                          CONVERGENCE=_F(RESI_GLOB_RELA=1e-4,
                                         ITER_GLOB_MAXI=300,),);

        Resu=CALC_CHAMP(reuse =Resu,
                           RESULTAT=Resu,
                           CONTRAINTE=('SIGM_ELNO','SIGM_NOEU',),
                           CRITERES=
                           ('SIEQ_ELNO','SIEQ_NOEU','EPEQ_NOEU','EPEQ_ELNO','EPMQ_ELNO','EPEQ_ELGA','EPMQ_ELGA',
                                      'EPMQ_NOEU','SIEQ_ELGA',),
                           FORCE=('FORC_NODA','REAC_NODA',),);

        TabVM=CREA_TABLE(RESU=_F(RESULTAT=Resu,
                                    NOM_CHAM='SIEQ_NOEU',
                                    NOM_CMP='VMIS',
                                    TOUT='OUI',),);

...

A von MIses stress table wasn't created using both 'SIEQ_NOEU' and 'SIEQ_ELNO'. Is there anyone that knows what is happen?


Thanks for any advice

wspellf

#3 Re: Code_Aster usage » Large displacements, small strain » 2015-05-12 23:56:19

Hello!

Thank all of you!

reiteres, yes, I got a curve force - displacement for the first analysis considering large displacements and small strain. Now I need the opposite: large strain and small displacements (another analysis) and I want to plot a curve stress - strain for this model. I read the old example you suggest and I will use some parameters used there to try.


Thomas DE SOZA, then, will the .comm file be this way?

......................................

COMPORTEMENT=(_F(RELATION='VMIS_ISOT_TRAC',DEFORMATION='GDEF_LOG', #(or SIMO_MIEHE according of elasto-visco-plastic laws)

......................................



Best regards

wspellf

#4 Re: Code_Aster usage » Large displacements, small strain » 2015-05-06 06:01:59

Thank you so much, jeanpierreaubry!!

In a simple test here I got a good curve of force x displacements. I will read these files that you suggest. Now, I need a similar curve, stress x strain, to represent nonlinearity for the second case and I will search about it. But if you or anyone has any idea, it would be so thankful.


Best regards



wspellf

#5 Code_Aster usage » Large displacements, small strain » 2015-05-04 05:59:16

wspellf
Replies: 5

Hello!

Well, I would like to know how to enable large displacements considering small strain (and reverse, large strain considering small displacements) in code aster? I need this in two different analysis, each one in one analysis. Is there a way to do this using STAT_NON_LINE?



Thanks for any advice.



wspellf





ps.: someone asked me something about optimization for email sometime ago. If the sender read this, please send me a new email because I lost it.

#6 Re: Code_Aster usage » Extract displacents and stiffness » 2014-10-08 20:12:17

Thank you, Tomas

I think that it will solve my problem.



Best regards



wspellf

#7 Re: Code_Aster usage » Extract displacents and stiffness » 2014-09-14 05:57:55

Hello, Thomaz

I need to calculate the compliance value, or strain (deformation) energy, about each element and extract it in a table. Maybe there is a code-aster routine that do it more easily. So, for each element, I need to get the nodal displacements (the vector results), transpose it and operate with the stiffness matrix of this element and, after, operate with the nodal displacements again.

I was reading about POST_ELEM and it appears that the idea of EPOT is similar to what I want to do. But I didn't understand how to operate with it.

Is there a way to resolve it?



Thanks for any advice


wspellf

#8 Re: Code_Aster usage » Extract displacents and stiffness » 2014-09-11 01:23:11

Is there a way to extract, in a table, the values of displacements and stiffness of each element? I will try export to Python to solve my problem.

I was reading about CREA_CHAMP. Can it shows me these values? If not, is there a way to get these parameters?




Thanks for any advice






wspellf

#9 Re: Code_Aster usage » [SOLVED] STAT_NON_LINE results » 2014-08-31 03:24:34

Thank you, jeanpierreaubry

Your book was very useful!




Thanks!




wspellf

#10 Re: Code_Aster usage » [SOLVED] STAT_NON_LINE results » 2014-08-26 05:01:02

Thank you for show me your book, jeanpierreaubry! It is being very useful to me!

I was reading about STAT_NON_LINE and your book and I had a doubt...Even to enable large displacements only I need to input an appropriate constitutive law to the 3D elements, correct? Is it also a non linear material instead of geometrical only?




Thanks again to any advice!




wspellf

#11 Code_Aster usage » Extract displacents and stiffness » 2014-08-21 03:21:11

wspellf
Replies: 5

Hello to everyone!


Actually, I need to solve {u}T x [K] x {u} and I would like to know if there is any Aster routine that shows it to me. If not, I need to extract these to do that. If so, which routines can be used to do this?

if anyone has any suggestions I will thank so much!




Thanks for any advice



wspellf

#12 Re: Code_Aster usage » [SOLVED] STAT_NON_LINE results » 2014-08-20 23:48:24

Thank you so much, jeanpierreaubry! I don't know how to use STAT_NON_LINE and I tried to use it these days ago.

But, now, the displacements results are linear. I try to use uncommon material parameters and a "large force" to see a geometrical nonlinear curve, but it hasn't happened. Is there any wrong chosen parameters in STAT_NON_LINE definition?






Thanks for any advice and thanks again for your help!




wspellf

#13 Code_Aster usage » [SOLVED] STAT_NON_LINE results » 2014-08-19 05:49:58

wspellf
Replies: 6

Hello!

I need to make a static nonlinear analysis and, after, plot a force x displacement curve. So, I use STAT_NON_LINE function to do this. But the displacement results are constant. Is there any error with my comm file?



Thanks for any advice



wspellf

#14 Salome-Meca usage » ParaVIS » 2014-05-06 20:12:03

wspellf
Replies: 0

Can ParaVIS show only one material of the model in visualization when the problem has two or more materials?

#15 Code_Aster usage » Optimization Procedures » 2014-03-26 19:33:03

wspellf
Replies: 0

Hello to everyone!

I tried to update the Bracchesimo's code about Optimization for my research. But when Code-Aster remove elements, it gets an error about miss elements. Bracchesimo's code uses a CREA_MAILLAGE version oldest than the currently in Salome-Meca 2014.1. I tried to mark elements as "trash", but I really need to remove then. Is anyone know how to update the mesh without the elements that must be removed?

Is there any wrong with my Code-Aster's code?

Thanks a lot for any advice



wspellf

#16 Re: Code_Aster usage » [Solved] How to modify Material Properties » 2013-10-03 03:18:10

Hello, reiteres

Thank you! It works well for me! I'm using a list built by Python, like you said!



Regards


wspellf

#17 Re: Code_Aster usage » Convert mesh to geometry file (med to step) » 2013-10-02 02:53:00

Hello Dav,

Thank you! I understand (I guess)!

I would like to convert because I would keep all CAD files each iteration to see the evolution of the structure, but I think that rmed file each iteration will show me, in salome, these results. But thanks a lot!


Regards



wspellf

#18 Re: Code_Aster usage » Convert mesh to geometry file (med to step) » 2013-09-29 19:59:07

Hello, Nima

When I tried your code, it gives me a message error:

   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   ! <S> Exception utilisateur levee mais pas interceptee.      !
   ! Les bases sont fermees.                                    !
   ! Type de l'exception : error                                !
   !                                                            !
   !  le calcul de l'option :  MASS_INER                        !
   !  n'est possible pour aucun des types d'éléments du LIGREL. !
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


It's something wrong with elements. Should I use AFFE_CARA_ELEM to define the elements?


Thanks for any advice

#19 Code_Aster usage » Convert mesh to geometry file (med to step) » 2013-09-27 23:57:49

wspellf
Replies: 4

Hello,

I will evaluate a mesh, removing elements, but I need to extract the current total volume each iteration. Anyone know if is possible to convert the rmed into step file? Or is there another way to extract volume after each iteration?


Thanks for any advice

#20 Re: Code_Aster usage » [Solved] How to modify Material Properties » 2013-09-27 19:57:34

That's true! Thank you all!

It's a great idea create groups with elements to "mark" and penalize them. I have the Von Mises stress about each element, so I could use it to form the group. But the problem, I see, is how to join these elements in DEFI_GROUP. I will think about it.


Thanks again!!!

#21 Code_Aster usage » [Solved] How to modify Material Properties » 2013-09-27 04:12:24

wspellf
Replies: 5

Hello everyone!

I would like to know if is possible to modify Elasticity (Young) directly, in the element. I need to penalize some elements in my analysis, inserting 10e-12 in "E" corresponding to the element. Is there possible?

#22 Re: Code_Aster usage » [SOLVED] How to extract VMIS in the astk version 1.13.1 » 2013-08-24 00:27:14

Thank you so much!

I am still beginner in Code Aster and many commands I am learning yet.

I managed to print the results, also in a table, but "SIEQ_NOEU" prints Von Mises stress in nodes, correct? There are a way to print for each elements? I tried the same with "SIEQ_ELNO", it run without problem, but didn't print the values in the .resu file. Did I do anything wrong?


Thanks for any advice.


wspellf

#23 Code_Aster usage » [SOLVED] How to extract VMIS in the astk version 1.13.1 » 2013-08-22 01:51:46

wspellf
Replies: 2

Which command can I extract the Von Mises in this code aster version? I used POST_RELEVE_T and an error message appear:

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   ! <S> Exception utilisateur levee mais pas interceptee.              !
   ! Les bases sont fermees.                                            !
   ! Type de l'exception : error                                        !
   !                                                                    !
   !  occurrence 1 du mot clé facteur ACTION                            !
   !  la composante vmis n'est pas présente au catalogue des grandeurs. !
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Thanks for any advice.

#24 Re: Code_Aster usage » Structure Optimization with Code_Aster » 2013-08-14 01:46:40

Thanks a lot for this work!

But in Salome-Meca 2013.2 didn't work because the new Code Aster version (1.13.1). Does anyone know how to proceed?

#25 Re: Code_Aster usage » [SOLVED] How to access stiffness from script python » 2013-07-12 01:14:48

Thomas DE SOZA wrote:

Hi,

You might also want to have a look at this post that deals with the EXTR_MATR method : http://www.code-aster.org/forum2/viewtopic.php?id=18603

TdS

Thank you too, Thomas. I will read it!



wspellf