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

You are not logged in.

#1 Salome-Meca installation » Fatal error TCollection_ExtendedString: null parameter » 2020-07-09 16:46:57

marcoC
Replies: 0

Hi,

I have installed salome_meca on a remote AWS EC2 virtual machine.
When I try to launch GEOM from GUI an error occurred:

TCollection_ExtendedString: null parameter

on the salome shell the error is:

TKOpenGL: glGetString has returned null, No GL context ?

Any hint ?

Regards,

Marco

#2 Re: Salome-Meca usage » extract external resultant moments » 2020-06-29 16:42:40

My problem is to verify that an external moment applied to a group of nodes is effectively applied.
If I have force loads it is simple to extract REAC_NODA and check if the sum of the external force applied equals REAC_NODA throught RESULTANTE operator.
But, if the load is a moment applied to a group of nodes, how can I perform the same check as for external force loads ?
Regards,
Marco

#3 Re: Salome-Meca usage » extract external resultant moments » 2020-06-28 10:45:01

Thank you very much.
I will try.
Regards,
Marco

#4 Salome-Meca usage » extract external resultant moments » 2020-06-26 15:54:49

marcoC
Replies: 7

I have a shell structure loaded with a momentum on some nodes. Is there the possibility to extract the external moment resultant to check if the loading is correct ? In other words, there is the analogous for external moments as for reaction forces REAC_NODA ?

Regards,

Marco

#5 Re: Salome-Meca installation » salome meca installation Mesa problem » 2020-06-23 10:20:21

What you mean for run "salome shell" ?

Without GUI ?

If I enforce my AWS EC2 instance with GPU I gain speed in salome meca ?

Regards,

Marco

#6 Re: Salome-Meca installation » salome meca installation Mesa problem » 2020-06-13 18:07:03

Thank's a lot for your quick reply.

I followed the procedure and GEOM runs correctly.
Without graphic acceleration card the GEOM seems very slow in managing the images.
I have to check in my office with a fiber internet connection.

Is there the same procedure for salome meca 2018 ? Googoling I wasn't able to find something similar.

Regards,

Marco

#7 Salome-Meca installation » salome meca installation Mesa problem » 2020-06-11 15:30:44

marcoC
Replies: 4

Hy,

I am trying to install salome meca 2018 on a remote machine running under Ubuntu 18.03.
When I launch salome and connect the GEOM module, the screen is black and no shape can be visualized.
The shell reports this message:

OpenGL driver is too old! Context info:
...
Version: 1.3 Mesa 4.0.4

But on this machine Mesa is updated:

ubuntu@ip-172-31-16-93:~$ glxinfo | grep "OpenGL version"
OpenGL version string: 3.1 Mesa 19.2.8

Any hint ?

Regards,
Marco

#8 Re: Code_Aster usage » Weight and center of gravity calculation » 2019-04-02 11:05:29

Jeanpierre,

thank you for your reply,

I am running on salome meca 2018 and my .comm file doesn't work.

I am trying to install code aster 14 on my machine, but an error, during installation, occurred:

Installation of   : hdf5 1.8.14
  HDF5 is a Hierarchical Data Format product consisting of a data format
  specification and a supporting library implementation. HDF5 is designed to
  address some of the limitations of the older HDF product and to address current
  and anticipated requirements of modern systems and applications.
Archive filename  : hdf5-1.8.14
Destination       : /home/marco/aster-full-src-14.2.0/public/hdf5-1.8.14
Working directory : /tmp/install_hdf5.1087
--------------------------------------------------------------------------------

Filling cache...                                                       [  OK  ]
Checking permissions...                                                [  OK  ]
Product 'hdf5' is already installed.
Choose 'no' to keep the current installation, 'yes' to force its re-installation (y/n, default no)


Any hint ?

Regards,

Marco

#9 Re: Code_Aster usage » Weight and center of gravity calculation » 2019-03-31 11:28:15

Your .comm file works, but there is one group with one constant thickness.

My .comm file has many groups with different thickness. I have created one group (all_ma) with the union of all the groups

mesh = DEFI_GROUP(
  CREA_GROUP_MA=_F(
    NOM='all_ma',
    UNION=('reinf_fr_fl_thk_15_40', 'reinf_fr_fl_thk_15_46', 'reinf_fr_fl_thk_15_44', 'deck_plate_thk_9_81', 'stiffener_thk_10_68', 'deck_plate_thk_9_86', 'deck_plate_thk_9_87', 'deck_plate_thk_9_89', 'deck_plate_thk_9_13', 'deck_plate_thk_9_17', 'stiffener_thk_9_102', 'x_contour_web_thk_10_3', 'reinf_fr_w_thk_10_133', 'reinf_fr_fl_thk_15_145', 'deck_plate_thk_9_22', 'stiffener_thk_10_128', 'stiffener_thk_10_129', 'stiffener_thk_10_124', 'stiffener_thk_10_125', 'stiffener_thk_10_10', ...)
  ),
  MAILLAGE=mesh
) # sequences have been limited to the first 20 occurrences.

.....

mass = POST_ELEM(
  MASS_INER=_F(
    GROUP_MA=('all_ma', )
  ),
  MODELE=model,
  RESULTAT=reslin
)


....


IMPR_TABLE(
  FORMAT='TABLEAU',
  FORMAT_R='E12.5',
  NOM_PARA=('LIEU', 'ENTITE', 'MASSE', 'CDG_X', 'CDG_Y', 'CDG_Z'),
  TABLE=mass,
  UNITE=8
)


But the file doesn't work:

Here the tail of the log file.

IMPR_RESU(FORMAT='RESULTAT',
            UNITE=5,
            RESU=_F(VALE_MAX='OUI',
                    VALE_MIN='OUI',
                    SOUS_TITRE='Max_Min_SigEqu',
                    FORMAT_R='1PE21.14',
                    RESULTAT=reslin,
                    NOM_CHAM=('SIEQ_ELNO', ),
                    IMPR_COOR='NON',
                    FORM_TABL='NON',),
            INFO=1,
            PROC0='OUI',)

EXECUTION_CODE_ASTER_EXIT_29247-0001-antix1=2

<I>_EXIT_CODE = 2

How can I fix it ?

Regards,

Marco

#10 Re: Code_Aster usage » Weight and center of gravity calculation » 2019-03-30 17:57:03

Thank you Jeanpierre,

attached is my .comm file.

In my case it doesn't work, may be there is confusion in the groups.
If you eliminate all_ma group, and mass object, it works.

Regards,

Marco

#13 Re: Code_Aster usage » Weight and center of gravity calculation » 2019-03-29 18:47:53

Jeanpierre,

thank you for your reply,

I have tried the option UNION:

mesh = DEFI_GROUP(
  CREA_GROUP_MA=_F(
    NOM='all_ma',
    UNION=('reinf_fr_fl_thk_15_40', 'reinf_fr_fl_thk_15_46', 'reinf_fr_fl_thk_15_44', 'deck_plate_thk_9_81', 'stiffener_thk_10_68', 'deck_plate_thk_9_86', 'deck_plate_thk_9_87', 'deck_plate_thk_9_89', 'deck_plate_thk_9_13', 'deck_plate_thk_9_17', 'stiffener_thk_9_102', 'x_contour_web_thk_10_3', 'reinf_fr_w_thk_10_133', 'reinf_fr_fl_thk_15_145', 'deck_plate_thk_9_22', 'stiffener_thk_10_128', 'stiffener_thk_10_129', 'stiffener_thk_10_124', 'stiffener_thk_10_125', 'stiffener_thk_10_10', ...)
  ),
  MAILLAGE=mesh
) # sequences have been limited to the first 20 occurrences.

........


mass = POST_ELEM(
  MASS_INER=_F(
    GROUP_MA=('all_ma', )
  ),
  MODELE=model,
  RESULTAT=reslin
)


.......

IMPR_TABLE(
  FORMAT='TABLEAU',
  FORMAT_R='E12.5',
  NOM_PARA=('LIEU', 'ENTITE', 'MASSE', 'CDG_X', 'CDG_Y', 'CDG_Z'),
  TABLE=mass,
  UNITE=8
)



But result is still the error:


EXECUTION_CODE_ASTER_EXIT_29247-0001-antix1=2

<I>_EXIT_CODE = 2

Regards,

marcoC

#14 Re: Code_Aster usage » Weight and center of gravity calculation » 2019-03-29 10:01:19

Jeanpierre,

thank you for your reply,
I have red your very useful book, but the method you suggest is not the answer to my question.
I spoke of "global center of mass". Suppose that you have a lot of face groups, the question is:
is it possible to calculate the center of mass coordinates of the whole model ?
The method you suggest gives, as output, a list of masses, coordinates of center of mass of each group.
Without importing the list in a spreadsheet, is it possible to have the center of mass position of the whole model inside code aster ?
I have tried this script:

mesh = DEFI_GROUP(
  CREA_GROUP_MA=_F(
    NOM='all_ma',
    TOUT='OUI'
  ),
  MAILLAGE=mesh
)

.....

mass = POST_ELEM(
  MASS_INER=_F(
    GROUP_MA=('all_ma', )
  ),
  MODELE=model,
  RESULTAT=reslin
)

but this produces an error:


EXECUTION_CODE_ASTER_EXIT_10657-0001-antix1=2

<I>_EXIT_CODE = 2

Regards,

marcoC

#15 Code_Aster usage » Weight and center of gravity calculation » 2019-03-28 16:18:51

marcoC
Replies: 13

Hi,

I would like to calculate weight and center of gravity position for a large model with many surface groups.

The weight can be calculated applying only GRAVITE and computing the sum of the vertical reaction on restraint nodes.

Is it possible to calculate the position of global center of gravity inside code aster ?

Regards,

MarcoC

#16 Salome-Meca usage » Type of the exception: error invalid number of mesh: 1 (<1 or > numb » 2019-03-15 12:03:02

marcoC
Replies: 0

Hi,

I am running a model with cables and coque structures caming from the building of a compound mesh. When I try to run it, an error occours:

Type of the exception: error  invalid number of mesh:  1 (<1 or > numb)

I enclose the .comm file.

How can I fix it ?

Regards

marcoC

#17 Salome-Meca usage » Type of the exception: error invalid number of mesh: 1 (<1 or > numb » 2019-03-15 12:02:02

marcoC
Replies: 0

Hi,

I am running a model with cables and coque structures caming from the building of a compound mesh. When I try to run it, an error occours:

Type of the exception: error  invalid number of mesh:  1 (<1 or > numb)

I enclose the hdf file.

How can I fix it ?

Regards

marcoC

#18 Salome-Meca usage » FORCE_COQUE meaning » 2019-02-27 11:58:07

marcoC
Replies: 1

Hi, I would like to apply a vertical load to an inclined group of plane elements.

Is it correct the following .comm script:

load0 = AFFE_CHAR_MECA(
  FORCE_COQUE=_F(
    FZ=0.5,
    GROUP_MA=('load_20', 'load_21')
  ),
  MODELE=model
)

I am applying a surface force of 0,5 N/mm2 in Z direction ? Or I am applying a pressure normal to group element faces ?

Regards,

marcoC

#19 Re: Salome-Meca usage » Error due to element orientation » 2019-02-19 19:08:15

Hi,

I have modified    elemprop = AFFE_CARA_ELEM(  with _F(
      EPAIS=20.0,
      GROUP_MA=('trasv', ),
      VECTEUR=(0.0, 0.0, 1.0)

And now the case does not run, but without any warning or error message apart from a strange message:

- > Opening of file MED in mode  3  CREATION.

  -> Incohérence catalogue - fortran
Ce message est un message d'erreur développeur.
Contactez le support technique.



How can I fix this error ?

Regards,

marcoC

#20 Salome-Meca usage » Error due to element orientation » 2019-02-19 12:31:30

marcoC
Replies: 2

Hi,

the model enclosed does not run properly. It seems that there is an element orientation problem, but log message is not clear:

.....

TRAITEMENT DU GROUP_MA: trasv                    DE     969 MAILLES
                              0 MAILLE(S) ONT ETE ORIENTEE(S)

- > the reference axis for the computation of the local coordinate system is normal with !
   !  at least a shell element.

.......

How can I fix the problem ?

Regards,

marcoC

#21 Salome-Meca usage » model with mixture of elements, 2D, 3D » 2019-01-30 11:25:00

marcoC
Replies: 0

Hi,

I have to construct a model involving a mixture of elements, 2D beams (2D_POU) combined with COQUE elements.

The problem is that 2D/3D beam nodes have an offset with respect to the COQUE nodes. Is it possible in aster have an offset ? Create a relationship slave/master nodes ?

I see that it is possible to define a LIAISON_ELEM, but it seems that 2D beam nodes must be in the same plane of the DKT element nodes ?

Suggestions ?

Regards,

marcoC

#22 Re: Salome-Meca usage » DKT element COQUE_3D » 2019-01-24 12:43:49

So I am using a 3D curved shell ?

Kirchhoff's plates are plain, COQUE_3D introduces an initial curvature of the plate not related to the deformation under loads?

Thank's

marcoC

#23 Salome-Meca usage » DKT element COQUE_3D » 2019-01-23 18:41:28

marcoC
Replies: 3

Hi,

I am analizing a simple FEM model and I have assigned plan DKT element:

MODELISATION=('DKT', ),
PHENOMENE='MECANIQUE',

then I have defined an element property COQUE_3D:

COQUE=(_F(
EPAIS=5.0,
GROUP_MA=('shell_23', 'shell_21', 'shell_18', 'shell_19', 'shell_12', 'shell_16', 'shell_17', 'shell_14')

I have run the calculation, but I am confused: I am using a plan FEM element (‘DKT’) or a curved FEM element (COQUE_3D) ?

Regards,

marcoC

#25 Salome-Meca usage » paravis displacement labels » 2019-01-21 12:33:22

marcoC
Replies: 2

Hello!

I'm using Salome Meca 2018.0 on debian 9.

When I display FEM analysis results using Paravis, I am not able to change the label of displacements from one decimal digit to three decimals, for instance, see enclosed screenshot.
I have looked around in properties menu without success (miscellaneous option doesn't give me any option regarding this issue).

Could you please help me ?

Thanks!