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

You are not logged in.

#1 Re: Code_Aster usage » Time-history analysis how to? » 2020-10-14 10:02:19


i would like to thank you for giving the link to the examples! They are very clear on the methodology and how to use correctly the commands.
For my case i changed the direction of the function in both X-direction and Y-direction to see how the structure responds.

#2 Re: Code_Aster usage » Time-history analysis how to? » 2020-10-12 08:41:01

Thank you very much for the swift reply! I will study the examples created and will return here!

#3 Code_Aster usage » Time-history analysis how to? » 2020-10-06 14:31:04

Replies: 4

Hello all,

i would like to ask how do you perform a complete time history analysis.
To my understanding the workflow is the following:

1)Model preparation
2)Model Assignment
3)Material parameters preparation
4)Boundary conditions
5)Functions for the acceleration inputs and function of the gravity to prepare the initial conditions
6)Matrix definition
7)Initial calculation with the command Dyna_non_line to prepare the matrixes.
8)Concatenation of the Dyna_non_line command with the initial conditions to the second dyna_non_line that bears the seismic loadings (mono or multi support)
9)Extra infromation with Calc_champ if needed (?)
10) Save the model.

Is this correct?

#4 Re: Code_Aster usage » Python code instead of mesh in astk » 2020-10-01 14:40:08

If you save the .med by name and then "recall" it in astk by name to continue on with the analysis?


Save "example.med"


/PATH/PATH/of/paths/example.med read it on "fort.4"

and in the .comm you could contain the python script to produce the .med file and save it. Now i am not sure if you will have to put it inside the DEBUT() or outside.

#5 Re: Code_Aster usage » Python code instead of mesh in astk » 2020-10-01 10:47:04

Look at this thread /viewtopic.php?id=24527 ,  it might give hints on the work you are doing.

#6 Re: Code_Aster usage » [SOLVED]Question about ELAS_FO » 2020-09-28 18:13:11

Thank you very much! Works like a charm! I will edit this thread as "SOLVED" !

#7 Re: Code_Aster usage » Python code instead of mesh in astk » 2020-09-28 14:57:26


where you able to assign on the mesh file through python script, different areas or geometric volumes too?

#8 Re: Code_Aster usage » [SOLVED]Question about ELAS_FO » 2020-09-26 12:01:07

I am adding the .comm file of my try to add as a function the density in ELAS_FO. I tried to "trick" it as a NEUT parameter but i am getting an error message that says that it must be dependent on X,Y and Z. If i change this in DEFI_FONCTION i get errors elsewhere...
Is there a way to add as E_F and NU the RHO as a function?

#9 Code_Aster usage » [SOLVED]Question about ELAS_FO » 2020-09-25 10:41:00

Replies: 3


i have found some information regarding the possibility to create a function of the elastic modulus and the Poisson ratio
on the following thread: /viewtopic.php?id=24251
I wanted to ask if there is also the possibility to add RHO as a function? When i try the above approach i am getting the error saying that the
dependence should not be with NEUT1 but X,Y,Z. When i change in the defined function "RHOZ" the parameter from NEUT to X or Y or Z i get errors.
Do you have any example to refer me to that includes creating a function of Rho?

Thank you.

#10 Re: Salome-Meca usage » variable young modulus following a direction of the geometrical space » 2020-09-23 17:04:42

Hello i would like to ask if you have found any new information on the subject?
I would also like to add that i am trying to apply this method, although the model i am using is in 3D.
I have tried to find the SSNV130c test case but it is not in the installation files so i guess it is one of the restricted test-cases.

#11 Salome-Meca usage » Create variable lists of groups with python in mesh module » 2020-09-14 13:03:00

Replies: 0


i am trying to find a way to create variable lists and groups of elements with python in the mesh module of Salome Meca.
I found a way to create the groups although i cannot add the elements with the .Add() instruction. Has anyone tinkered with it?

#12 Re: Code_Aster usage » OpenTURNS parallel evaluations » 2020-07-09 13:10:38


i am interested in the discussion because i am getting more or less the same errors . I do get these errors on Salome Meca 2019. Are you too using the 2019 version too?

#13 Re: Code_Aster usage » Openturns and code_aster » 2020-07-03 09:35:48

I think you can dump the study from the Salome environment and see the OpenTurns part of the code. Now i do not know if that code can be utilized to run a parametric calculation from within ASTK by calling to the OT libraries.

#14 Code_Aster usage » Modal Strain Energy » 2020-06-26 14:22:42

Replies: 1


i have stumbled upon an old thread talking about MSE approach. The thread can be found here : /viewtopi c.php?id=13987 . I have two questions now, is there a method for multiple bodies in the same mesh ? and if so, which commands are to be used?

Thank you very much!

#15 Code_Aster usage » Possible BUG in ASTK » 2020-06-25 15:10:27

Replies: 0


i was trying to run some analyses in ASTK but i encounter the following error.

CR phase d'initialisation
   Etape : CALC_CHAMP    ligne : 285    fichier : u'fort.1'
      ! Mots clés inconnus : CONTRAINTE,ENERGIE !
   Fin Etape : CALC_CHAMP
fin CR phase d'initialisation

The version of ASTK i am using is the one found with Salome Meca 2018.

Thank you.

#16 Salome-Meca usage » Mesh Module question » 2020-05-04 08:05:05

Replies: 1


i am trying to find a way to create assign meshes and create groups on my models with python. I was looking around for similar threads but found none at the moment. Is it possible?

#17 Re: Salome-Meca usage » salome-meca IFC compatibility » 2020-04-22 16:50:07

Recently from what i have seen some work was done here on this subject :  linkedin.com / feed/update/urn:li: activity:6653316445121855488/

#18 Code_Aster usage » Modal Analysis: How to print the base? » 2020-04-14 16:24:32

Replies: 1


i am performing various modal analyses on some models. I would like to know how to print the Modal base so to see the differences between the analyzed models. Is it possible?

#19 Re: Salome-Meca installation » SM-2019+ Ubuntu 18.04 Sigsev violation » 2020-04-12 19:04:40

Thank you very much for the links provided , really useful!!

#20 Re: Code_Aster usage » MAC_Modes but with selected modes? » 2020-04-01 08:14:44

Do you know which commands should be used if one  wants to calculate the MAC between specific nodes of the experimental and numerical model?

#21 Re: Code_Aster usage » MAC_Modes but with selected modes? » 2020-03-31 08:28:51

Found a workaround with the command EXTR_MODES to get the modes i need from Calc_Modes.
Any other suggestions are really welcome, thank you!

#22 Code_Aster usage » MAC_Modes but with selected modes? » 2020-03-25 10:15:30

Replies: 2


i am trying to define a MAC criterion with the command MAC_ΜΟDES but in my bases i have various modes to confront.
Lets suppose that in the first BASE the modes go from 1 to 6 and in the second base for the MAC the modes are selected and
are 1,2,3,4,9,10. I am getting an error due to the series of the order that doesn't correspond. Is there a way to do this?

Thank you,
Best regards,

#24 Code_Aster usage » How can i update the numpy version in CA? » 2020-03-08 11:45:32

Replies: 1


i am trying to import some libraries to see if i can work with them in CA but i am getting an error which says :

"RuntimeError: module compiled against API version 0xc but this version of numpy is 0xa "

This is done in the 2018 version of Salome Meca. How can i "update" the numpy version? According to the message the analysis gives
i have Version de Python : 2.7.10, Version de NumPy : 1.12.1  .

#25 Re: Code_Aster usage » How can i add rotation DOFs in 3D modelization? » 2020-03-05 19:28:59

So i should add DIS_TR to my model with K_TR_D_L and M_TR_D_L? Would you have an example to give me?