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

You are not logged in.

#1 Re: Salome-Meca installation » singularity : GLIBC_2.34 not found » 2022-08-12 23:57:49

Using Arch Linux
Dual GPU Inel + Nvidia
Same issue.
Works with --soft

INFO : Running salome_meca in GPU mode
runSalome running on archlinux
Searching for a free port for naming service: 2819 - OK
Searching Naming Service  + found in 0.1 seconds 
Searching /Kernel/Session in Naming Service  ++SALOME_Session_Server: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /.singularity.d/libs/libGLX.so.0)
Traceback (most recent call last):
  File "/opt/salome_meca/Salome-V2021-s9/modules/KERNEL_V9_7_0/bin/salome/orbmodule.py", line 181, in waitNSPID
ProcessLookupError: [Errno 3] No such process

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/salome_meca/appli_V2021/bin/salome/runSalome.py", line 694, in useSalome
    clt = startSalome(args, modules_list, modules_root_dir)
  File "/opt/salome_meca/appli_V2021/bin/salome/runSalome.py", line 639, in startSalome
  File "/opt/salome_meca/Salome-V2021-s9/modules/KERNEL_V9_7_0/bin/salome/orbmodule.py", line 183, in waitNSPID
    raise RuntimeError("Process %d for %s not found" % (thePID,theName))
RuntimeError: Process 137243 for /Kernel/Session not found 

#2 Re: Salome-Meca installation » [Solved] Installation on Debian Bullseye Fails » 2022-01-16 22:20:39

Thanks @hberro yes it works if I move it to my home folder. I don't understand why, as I tried in /opt giving it 777 permissions.

#3 Re: Salome-Meca installation » [Solved] Installation on Debian Bullseye Fails » 2022-01-13 23:08:11

After now deleting the neurodebian singularity, Donwloading compiling and installing the Git version 3.9.3 and then following the installation procedure for salome meca outlined in the Download's documentation:

singularity run --app install salome_meca-lgpl-2021.0.0-0-20210601-scibian-9.sif

Installation successfully completed.
To start salome_meca, just use:
or (in the installation directory):

Ok and after trying to run as stated above I get:

not exist: /etc/krb5.conf
FATAL:   stat /opt/salome_meca/salome_meca: no such file or directory
singularity exit code: 255

What is wrong now???

I feel so frustrated and seems like putting SalomeMeca in a container makes it 10 harder to install than it used to be. please help.

#4 Re: Salome-Meca installation » [Solved] Installation on Debian Bullseye Fails » 2022-01-12 17:56:26

Ok, I followed Hberro advice, and after installing the singularity-container package this are the problems I am having:

1.- The Md5Sum of the "salome_meca-lgpl-2021.0.0-0-20210601-scibian-9.sif" package is c34331b7c3161021cb20731cd9a16b16  and not the one published on the downloads page (65e153eaf43edcd3b671d41194936f53)
I downloaded the package twice with identical md5sums so no errors in download.

2.- Assuming they updated the package and forgot to update the web page md5sum, I tried to install with the following command:

               singularity run --app install salome_meca-lgpl-2021.0.0-0-20210601-scibian-9.sif

To which I got the error:

ERROR  : Unknown image format/type: salome_meca-lgpl-2021.0.0-0-20210601-scibian-9.sif
ABORT  : Retval = 255

Please help

P.D. I just realized that My singularity-container is version 2.6.1- dist from NeuroDebian and that the installation instructions require 3.0.

This whole thing seems way more complicated than it used to be.  plus a 5G vs 2G download...  Too bad there is no other way around.

#5 Salome-Meca installation » [Solved] Installation on Debian Bullseye Fails » 2022-01-05 01:25:37

Replies: 8

Hello Trying to install on Debian Bullseye and I get this error:

Self Extracting salome_meca V2020.0.1_universal_universal Installer

Enter the salome_meca install directory [default=/root/salome_meca] : /opt/salome_meca/
The directory /opt/salome_meca//V2020.0.1_universal_universal already exists, install anyway ? [y/N] y
salome_meca is in English, do you want to be in French ? [y/N] : n
Installation of salome_meca V2020.0.1_universal_universal in /opt/salome_meca//V2020.0.1_universal_universal ...
Verifying archive integrity...
All good.
./create_appli.sh: line 113: /salome_prerequisites_root.sh: No such file or directory
./create_appli.sh: line 114: /salome_modules.sh: No such file or directory
Creating salome_meca application in /opt/salome_meca//appli_V2020.0.1_universal_universal ...
sed: can't read /.config_appli_template.xml: No such file or directory
Setting for help already set
grep: salome_context.cfg: No such file or directory
salome_meca post-installation ...
python: can't open file '/salomemeca_custom_appli.py': [Errno 2] No such file or directory
./create_appli.sh: line 296: ./salome_post_install.py: No such file or directory
./create_appli.sh: line 301: syntax error near unexpected token `fi'
./create_appli.sh: line 301: `fi'
Adjusting wishexecutable /opt/salome_meca//V2020.0.1_universal_universal/tools/Code_aster_frontend-202001/etc/codeaster/profile.sh
Initialize terminal and editor for Code_aster
Final configuration

The script appli.sh uses python2 in some commands line 113 and 114. Debian does not have python2 anymore and thus I made an alias in my syestm for python2=python3 Still no luck. please help.

#6 Re: Code_Aster usage » [SOLVED] Thermal expansion in y direction » 2021-03-10 08:09:58

I am not sure, But I would be trying to create an anisotropic material with lambda value = 0  in the dimension you don't want thermal expansion.

Just a thought.

#7 Code_Aster usage » Calculate shear stress on screws in a composite beam. » 2021-03-03 23:47:58

Replies: 0

Hello, I am making a beam out of a thick panel screwed to a Steel stud (see image) And I am trying to figure out how often the screws should be placed attaching the panel to the steel stud. I am trying to study the shear between the two surfaces when the beam is loaded and starts bending. so I defined  half the contact surface as a geometry group "Contact" , Loaded the beam with transverse load and Calculated the stresses SIEF_NOEU

then did an integral over the stress field on the Contact patch to calculate the total shear force on the screws.

table = POST_ELEM(
    GROUP_MA=('Contact', ),
    NOM_CMP=('SIYZ', ),

Is this the correct approach into calculating that force?

Thanks in advance.

#8 Code_Aster usage » Really annoying limitation of Code Aster » 2021-01-07 21:31:05

Replies: 0

I am doing a structural analysis of a quite simple beam structure. The local code asks for different load factors on Dead loads and Live loads depending on the load combination being analyzed. So easy enough I created the Dead load function and another for live load with proper multipliers. when I tryied to solve I get this error message.  I remember long time ago when studying Jean pierre's book reading this warning.  Will this ever be fixed?

How should I deal with load combinations and this limitation?

   ! <S> Exception user raised but not interceptee.        !
   ! The bases are fermees.                                !
   ! Type of the exception: error                          !
   !                                                       !
   !  The loading contains more than one distributed load. !
   !  Computation is not possible for the models of beam.  !

Second question.

How can I extract the reaction moments on a fixed support? I see in REAC_NODA there are moments relative to an arbitrary point. I am totally confused as on all the other software I have used, there is no arbitrary point to define the reaction moments. Please help me understand this.

#9 Re: Salome-Meca usage » Hydrodynamic pressure on Tire » 2020-08-05 04:51:19

Not sure in Code-Aster, but it seems that you should be looking at OpenFoam to make your calculation. Hope it helps. Let us know how it went!

https : //openfoam.org/

#10 Salome-Meca usage » Geometric entity outline on Paraview Results » 2020-07-31 20:41:16

Replies: 1

I have made a thermal analysis of a wall. And the results showed the outline of the geometric entities.
But now it only shows results with no geometric outline.

How do I get the nice outline again?

For a clear explanation of what I mean see the image attached.

Thanks in advance

#11 Code_Aster usage » Calculate Reinforcement in concrete fails » 2020-07-25 06:54:05

Replies: 0

I am trying to learn to use CALC_FERRAILLAGE and made a simple beam with both ends fixed (3D modelization)  But I am failing miserably. Code aster reports an error that I have no idea how to interpret. I have tried many things but just can't get it to work. Here is an extract of my Mess file. Any ideas?

# ------------------------------------------------------------------------------------------
  # Commands No:  0010 Concept of the type:  evol_elas
  # ------------------------------------------------------------------------------------------
  reslin = CALC_FERRAILLAGE(reuse=reslin,

   ! <EXCEPTION> <DVP_1>                                                                                                                 !
   !                                                                                                                                     !
   ! Program error.                                                                                                                      !
   !                                                                                                                                     !
   ! Condition not met:                                                                                                                  !
   !     cara.ne.' '                                                                                                                     !
   ! File /home/A21173/smeca/yamm_build/V2019.0.3_pub_build/V2019_universal/tools/src/Code_aster_stable-v144_smeca/bibfor/op/op0175.F90, !
   ! line 85                                                                                                                             !
   !                                                                                                                                     !
   !                                                                                                                                     !
   !                                                                                                                                     !
   ! Il y a probablement une erreur dans la programmation.                                                                               !
   ! Veuillez contacter votre assistance technique.                                                                                      !

#12 Re: Salome-Meca installation » Salome Meca 2019.0.0-1 Will not run in Debian 10 (Buster) » 2019-10-22 18:30:04

jkupka84 wrote:

try to remove library libstdc++ from folder /opt/salome_meca/V2019_univ/prerequisites/debianForSalome/lib/

Best regards

Thank you so much, it works now. Only that now the splash screen shows Version 2018.0.1

Is this correct? I thought I installed 2019

#13 Re: Salome-Meca installation » SalomeMeca2019 on Ubuntu 18.04 » 2019-10-19 21:40:47

kathi wrote:

But no one of the usual commands worked:

sudo apt-get install libQt5OpenGL
sudo apt-get install libQt5Concurrent
sudo apt-get install libNLopt0
sudo apt-get install libQT5MultimediaWidgets

Installing those libraries in Debian Buster **did not work**.
most have a 5 at the ending.
like libQt5Concurrent --- libqt5concurrent5

and so on.

#14 Salome-Meca installation » Salome Meca 2019.0.0-1 Will not run in Debian 10 (Buster) » 2019-10-18 00:09:36

Replies: 3

Have been using code-aster with no problems in several past versions but this one gives me this error:

Searching /Kernel/Session in Naming Service  +SALOME_Session_Server: /opt/salome_meca/V2019_univ/prerequisites/debianForSalome/lib/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /lib/x86_64-linux-gnu/libGLU.so.1)
SALOME_Session_Server: /opt/salome_meca/V2019_univ/prerequisites/debianForSalome/lib/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /lib/x86_64-linux-gnu/libQt5Xml.so.5)

And then the whole thing crashes.

Any ideas?

#15 Salome-Meca installation » Salome_meca 2018.0.1 Does not Run on Debian 10 » 2019-03-27 22:54:18

Replies: 1

Hello I am trying to install Salome_meca version 2018.0.1 in a Debian 10 computer and it crashes with this error code:

 runSalome running on pollux
Error when trying to access active network connections.
Traceback (most recent call last):
  File "/opt/salome_meca/appli_V2018.0.1_public/bin/salome/PortManager.py", line 111, in __isNetworkConnectionActiveOnPort
    p = Popen(cmd, stdout=PIPE, stderr=STDOUT)
  File "/opt/salome_meca/V2018.0.1_public/prerequisites/Python-2710/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/opt/salome_meca/V2018.0.1_public/prerequisites/Python-2710/lib/python2.7/subprocess.py", line 1335, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
Searching for a free port for naming service: 2820 - OK
Searching Naming Service + found in 0.1 seconds 
Searching /Kernel/Session in Naming Service +SALOME_Session_Server: /opt/salome_meca/V2018.0.1_public/prerequisites/debianForSalome/lib/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /lib/x86_64-linux-gnu/libGLU.so.1)
Traceback (most recent call last):
  File "/opt/salome_meca/appli_V2018.0.1_public/bin/salome/runSalome.py", line 633, in useSalome
    clt = startSalome(args, modules_list, modules_root_dir)
  File "/opt/salome_meca/appli_V2018.0.1_public/bin/salome/runSalome.py", line 578, in startSalome
  File "/opt/salome_meca/V2018.0.1_public/modules/KERNEL_V8_5_0/bin/salome/orbmodule.py", line 174, in waitNSPID
    raise RuntimeError, "Process %d for %s not found" % (thePID,theName)
RuntimeError: Process 21226 for /Kernel/Session not found 

The workaround published in another forum thread seems to work:

 LD_PRELOAD='/usr/$LIB/libstdc++.so.6' ./salome 

Any ideas how to fix this in a more permanent elegant way?

#16 Re: Code_Aster usage » [Solved] Thermal Flux trough a boundary area » 2018-11-30 19:56:56

Thanks so much! That was indeed the problem. Now I got the expected results.

#17 Code_Aster usage » [Solved] Thermal Flux trough a boundary area » 2018-11-30 00:39:09

Replies: 2

I am conducting a study of thermal flux through some boundary areas, but the Integrale command is not calculating the correct areas.

here is the output table I get:

Flux Energy                                                                 
NOM_CHAM         NUME_ORDRE   INST         VOL          GROUP_MA         INTE_FLUY    INTE_FLUX    MOYE_FLUY    MOYE_FLUX   
FLUX_NOEU                   0  0.00000E+00  1.65161E-01 Outside          -1.46523E+00  7.78683E-03 -8.87156E+00  4.71469E-02
FLUX_NOEU                   0  0.00000E+00  1.65161E-01 Inside           -1.46523E+00  7.78683E-03 -8.87156E+00  4.71469E-02
FLUX_NOEU                   0  0.00000E+00  1.65161E-01 Screwt           -1.46523E+00  7.78683E-03 -8.87156E+00  4.71469E-02

But the Real Areas of the surfaces as measured in the mesh module

  Outside---> 0.08252335
  Inside----> 0.08258048

So why Am I getting 1.6516 E-1 which happens to be twice the area of the Inside surface!!! Also Inside = Outside + Screwt and they are all reported with the same 1.6516E-1

Any ideas?

I am attaching the comm file.

#18 Code_Aster usage » Simple Thermo mechanic analysis » 2018-03-02 23:03:36

Replies: 0

Hello I want to do a very simple analysis, take a rectangular piece of a single material object and fix the outer faces then cool off the material and solve for stress.

Following the documentation it shows that one has to do the following:

1.- perform a thermal calculation (linear mesh)
2.- Project the results to a new mesh (cuadratic)
3.- Calculate the static analysis on that second mesh.

Since all I want is to simulate material shrinking, I will just cool off all the material say from 300K to 0K, so I think I don't really need to solve a Thermal analyis for that!!! I know my initial state is all the mesh @ 300K and my final state all mesh @0K .

Can I use a crea_champ to create the second temp field (the one @ 0K) 

Can someone just outline how to do such a simple analysis?

Thanks in advance.


#20 Code_Aster usage » Anoying limitation of Code Aster » 2017-06-20 20:56:06

Replies: 0

While trying to better understand CA, I did a simple structural analysis (the structure looks like a table) with CA, I set one AFFE_CHAR_MECA with the fixing of the points that contact the ground and PESANTEUR -9.81 @ (0,0,1) then added another AFFE with PESANTEUR 9.81 @ (1,0,0) just to see the structure react to a horizontal load.

I got the error message:

Le chargement contient plus d'une charge répartie.
Le calcul n'est pas possible pour les modèles de poutre

Which I remember Jean Piere mentioned in his book years ago!

how come we still have this limitation in CA, why is the reason this has not been fixed? Am I missing something?

Thanks in advance

#21 Code_Aster usage » What is the correct way to model contact with a fastener (preload) » 2017-06-07 00:31:08

Replies: 3

I was just wondering how to model a fastener as this guy did in here.

h ttps://youtu.be/VA0eg0LWfWM

I think You define your contact, master and slave surfaces, but then how do you set the fastener and its pre load.

Do we have anything like that in Code Aster?

just Curious


#22 Re: Code_Aster usage » [SOLVED] Contact with friction on a screwed panel to a steel stud » 2017-05-16 19:27:33

Thanks Jean, I figured it out, the problem was in my IMPR_RESU Command, I was not asking to write a particular instant, I fixed that and Got the expected results.

Thanks a lot.


#23 Re: Code_Aster usage » [SOLVED] Contact with friction on a screwed panel to a steel stud » 2017-05-12 17:44:50

Jean, Thank you so much!, I guess my problem is not CA, but ParaVis, Somehow If I plot the field DEPL I get a yellow image with no numbers even in the scale bar!

See attached pic.

I will wrestle with  ParaVis, hopefully I can find the issue.


#24 Code_Aster usage » [SOLVED] Contact with friction on a screwed panel to a steel stud » 2017-05-11 23:00:31

Replies: 4

Hello, I am trying to model a screwed connection of an insulated panel to a steel stud, taking into account contact and friction, The loading happens over a 1 second period which I divided by 20 in the analysis. the strange thing is that the Analysis runs fine without failure, but the DEPL field contains nothing!! Apparently only Numpy nan's

Any help will be appreciated.

The Mesh and the command file can be downloaded here.

h ttps://drive.google.com/drive/folders/0B_j1F1j-vVyoSWV5SUVsVWlQZFk?usp=sharing

Please fix the intended space after the h in the link, otherwise the system wouldn't allow me to post it.



#25 Re: Salome-Meca usage » How to create detailed drawing (multiview projection) from geometry? » 2017-05-08 19:04:40

shivaksingh wrote:

Hey sb 1966

Actually I have already created dome thing on salome-meca.  So the software's that you have mention, do they reqire me to recreate the entire geometry once again?


No just export it as .STEP and import into FreeCAD, then you can use the Drawing Workbench to place projections, sections, etc...

FreeCAD is a nice program that can handle your problem easily.