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

You are not logged in.

#1 Code_Aster development » Possibility of Cloud-based Service around Code-Aster » 2020-10-28 16:54:56

sb1966
Replies: 0

Dear All,
I wonder, if there is any plan for introducing Cloud-based service around Code-aster/Salome-Meca in (near) future.
I believe, cloud based service is going to be the trend in real life CAE in near future. This is because, I think, the infrastructure and the expertise required for providing/maintaining the HPC resources necessary for realistic simulation of complicated industrial problems are not easily or widely available. Also, it won't be feasible for every one to acquire such resources.

Some companies like Onscale.com are already in the show, by introducing cloud-based simulation platform subscriptions. Keeping in view the multiphysics capabilities of Code-aster, I think it is one of the most suitable candidates to be introduced as a cloud based simulation platform.

I do hope, EDF or other companies working around Code-aster would ponder over the matter and come forward for fulfilling the industrial needs in this regard. I am sure, it would be a win-win situation for both the service provider and the subscribers.

With regards

Sukumar

EDIT: I have come across SimScale which is a cloud based HPC service and it uses Code-aster for Mechanics simulation. I am yet to explore it though.

#2 Re: Salome-Meca usage » Multiple IMPR_RESU fails with exit code 2 » 2020-10-22 22:34:21

Dear All,

I confirm experiencing similar problem (CA 14.4) while simulating an excavation with five stages. The following was observed:

1. The  IMPR_RESU operator with  FORMAT='RESULTAT'  was allowed only twice. The third occurrence of these key words  lead to abrupt exit with EXIT_CODE=2.

2. However, extraction of required results using POST_RELEVE_T and subsequent printing with  IMPR_TABLE operator did not create any problem, irrespective of number of their occurrences.

3. On the other hand, multiple IMPR_RESU with FORMAT='MED' were allowed. (in this case I generated six .rmed files).

So, would any one clarify:
A)  whether it is a feature or a bug?
B) If it's a feature, what is the reasoning behind it?

Hope to listen from the learned members, in particular from the developers.

With best regards.

Sukumar

#3 Re: Salome-Meca usage » What model for axialy loaded euler bernoulli beam? » 2020-10-22 22:12:36

Hi,
You can use POU_D_E element, which is a Euler-Bernoulli Beam element with axial stiffness.
You can refer to i) Sec 4.6 of the book by JPA and ii) Doc U4.42.01. (AFFE_CARA_ELEM) for the details, which, I suppose, you might have already seen.

Hope this helps.

Regards

Sukumar

#4 Re: Salome-Meca installation » Need help with Installing Salome-Meca on Ubuntu 20-04 » 2020-10-13 13:06:02

Hi,

I am not sure where your problem lies. If your network is OK, then a normal download should not be a problem. But if the download is interrupted due to bad speed then it may be corrupt. It is good that you have checked md5sum.

Meanwhile, in my post you referred to, I did not include the obvious prerequisites like g++, gfortran, tcl, tcl-dev, tk, tk-dev etc. Please refer to Code-Aster Pre-requisite page for details. By default your system have some of these installed already. But please make sure that all of the prerequisites are installed in your system. I am telling these just because you mentioned to be new to the Linux world. I assure you that if you keep little patience, you will eventually find that this is an wonderful world. Because you have wide open "Doors" instead of "Windows" here! Forgive me if I appear to be too radical smile
You may use the following to check if those prerequisites are installed in your system:

 which gfortran

or

 whereis gfortran

etc.

Also, you may install them using following example code

 sudo apt-get install tcl tcl-dev tk tk-dev

Hope this helps.

Best wishes

Sukumar

#5 Re: Code_Aster usage » [solved]Run same case on two computers, but one raises EXIT_CODE = 139 » 2020-10-12 20:02:03

When I use the salome shell to run the simulations. Then everything works fine.
I guest it is something wrong about the BLAS on my computer.

Hi, I am not sure where your problem really lies. But, I think,  you may try to install CA after installing

 libblas-dev, libopenblas-dev, libopenblas-base

Hope this helps.

Sukumar

#6 Re: Salome-Meca installation » Need help with Installing Salome-Meca on Ubuntu 20-04 » 2020-10-03 23:54:48

Hi,
Please follow step by step procedure detailed in #20 at H ttps://www.code-aster.org/forum2/viewtopic.php?id=24883 (Corerect the link in the beginning; I can't post url here). This problem is discussed thoroughly in the above post and also in other similar posts. You need to edit the "create_appli.sh" script and change "python" to "python2" there. See the above post for clarity. Make sure to install all the pre-requisites mentioned in the post before you install SM.

Best wishes

Sukumar

#7 Re: Code_Aster usage » Get sum of nodal force » 2020-10-02 15:00:58

Hi,

Please share your comm and med file. It is difficult to help, without looking at the problem details.

Sukumar

#8 Re: Code_Aster usage » Correct model for plastic material » 2020-09-28 17:07:34

Hi,
I am not an expert in this field. But if you want HYPERELASTIC behaviour, there is an example of MFRONT implementation of the same. Please see
h   ttp://tfel.sourceforge.net/gallery.html#hyperelasticity (please correct in the beginning).

Hope this helps..

Regards.

Sukumar

#9 Re: Code_Aster usage » Equivalence between ANSYS APDL and CODE_ASTER usage workflow » 2020-09-27 13:03:55

Dear rodrigofarias,

1) It seems its not possible to paste the comm file content in the .py file and run everything together right?

AFAIK, you are right. comm file must be dealt with separately.

2) Can i run the py files on the astk (fig attached, from youtube)? Or i have to run them separately to generate my med file, and then call the med on astk?

I do not know if .py file can be run from astk. The way an .astk file is set up, it seems (to me) not possible to run the study directly from python. But again, I must say that I am almost a lay man in using code-aster within python. I only know that python commands can be used advantageously within a .comm file. A good point to start is Aubry's book.

Hope this helps.
Regards.

#10 Re: Code_Aster installation » How to install aster 14.4 on ubuntu 20.04 with python3.8 » 2020-09-25 22:05:27

Dear Loic,

Thank you very much for your prompt help.

I would follow your advice and come back with the results I get.

Thanks a lot once again.

Best regards.

Sukumar

#11 Re: Code_Aster installation » How to install aster 14.4 on ubuntu 20.04 with python3.8 » 2020-09-25 18:10:46

Dear Loic,

I tried to follow your instruction by changing the waf.engine file (Ubuntu 20.04 with python 3.8.2) and managed to get binaries in the /opt/bin directory.
Further, I could also invoke the astk interface, though I did not test it with any study/test file. However, the Installation summary mentioned the following:

 >>> Configuration <<<

entering directory '/tmp/install_aster.2824/aster-14.4.0'
Command line : export PATH=/tmp/tmpiqko8kyo:${PATH} ; ./waf configure   --use-config=aster_full_config   --install-tests --prefix=/opt/aster/14.4
configure aster installation...                                        
Command output :
checking environment... already set
executing: ./waf.engine configure --use-config=aster_full_config --install-tests --prefix=/opt/aster/14.4 --out=build/std --jobs=4
./waf.main: line 81: ./waf.engine: Permission denied
[b]EXIT_COMMAND_2824_00000093=126
configure aster installation...                                        [FAILED]
Exit code : 126
checking environment... already set
executing: ./waf.engine configure --use-config=aster_full_config --install-tests --prefix=/opt/aster/14.4 --out=build/std --jobs=4
./waf.main: line 81: ./waf.engine: Permission denied
EXIT_COMMAND_2824_00000093=126 [/b]

 *** Exception raised : error during configure

On the other hand the Install summary said that installation of code-aster+10 prerequisites were OK. The following is the summary:

 --------------------------------------------------------------------------------
     SUMMARY OF INSTALLATION
--------------------------------------------------------------------------------

 Installation of   : hdf5 1.10.3
Destination       : /opt/aster/public/hdf5-1.10.3
Elapsed time      : 103.55 s
                                                                      [  OK  ]
 Installation of   : med 4.0.0
Destination       : /opt/aster/public/med-4.0.0
Elapsed time      : 92.54 s
                                                                      [  OK  ]
 Installation of   : gmsh 3.0.6
Destination       : /opt/aster/public/gmsh-3.0.6-Linux
Elapsed time      : 0.58 s
                                                                      [  OK  ]
 Installation of   : scotch 6.0.4
Destination       : /opt/aster/public/scotch-6.0.4
Elapsed time      : 20.94 s
                                                                      [  OK  ]
 Installation of   : astk 2019.0
Destination       : /opt/aster/lib/python3.8/site-packages
Elapsed time      : 0.55 s
                                                                      [  OK  ]
 Installation of   : metis 5.1.0
Destination       : /opt/aster/public/metis-5.1.0
Elapsed time      : 7.90 s
                                                                      [  OK  ]
 Installation of   : tfel 3.2.1
Destination       : /opt/aster/public/tfel-3.2.1
Elapsed time      : 194.60 s
                                                                      [  OK  ]
 Installation of   : mumps 5.1.2
Destination       : /opt/aster/public/mumps-5.1.2
Elapsed time      : 0.32 s
                                                                      
*** Exception None raised : None
See detailed traceback in the logfile
                                                                       [FAILED]
Exit code : 4
 Installation of   : homard 11.12
Destination       : /opt/aster/public/homard-11.12
Elapsed time      : 3.12 s
                                                                      [  OK  ]
 Installation of   : aster 14.4.0
Destination       : /opt/aster
Elapsed time      : 0.00 s
                                                                      
*** Exception None raised : None
See detailed traceback in the logfile
                                                                       [FAILED]
Exit code : 1
 Installation of   : Code_Aster + 10 of its prerequisites 
Destination       : /opt/aster
Elapsed time      : 432.29 s
                                                                      [  OK  ]

Now my questions are:
1) Is it due to the changed waf.engine file? Can I assume this install as reliable?
2) Now what should I do for manual installation of MUMPS?

Would be eagerly waiting to listen from you. I am also attaching the setup.log file for your kind perusal if needed.

Thanks a lot and Best regards.

Sukumar

#12 Re: Salome-Meca usage » Error running an AsterStudy » 2020-09-25 00:36:49

Hi,
In the Aster-Study module History tab, you have a button to control the auto refresh rate of the message file. You need to change it from "Auto refresh no" to some suitable value. See the attached image to clarify further.

Hope this helps.

Regards

Sukumar

#13 Re: Code_Aster usage » Equivalence between ANSYS APDL and CODE_ASTER usage workflow » 2020-09-24 23:30:48

Hi rodrigofarias,

For an explanation about i) why dump-study need not work in saving the AsterStudy module and ii)  how you can save the AsterStudy work in a comm file, you may like to see my replies in https____://www.code-aster.org/forum2/viewtopic.php?id=25134. (Please remove the underscores at the beginning of the link, as I can't post url here).

Hope this helps.

Regards.

#14 Re: Salome-Meca installation » Salome_Meca V2019.0.3_Ubuntu 18.04 Installation Issues » 2020-09-24 23:17:47

Hi,
It seems you have not installed some prerequisite, may be the net-tools. Please install all the prerequisites carefully and try a fresh install of Salome-Meca.
Hope this helps.

Best wishes

Sukumar

#15 Re: Code_Aster usage » Import .med-data in python script » 2020-09-04 16:45:33

Hi,

I think, you can use meshio to read your med file within python and process the meshio variables, which are, AFAIK, python dictionaries. Check for meshio in GitHub.

Hope this helps

Regards.

#16 Re: Salome-Meca installation » [SOLVED] Salome meca Xubuntu 20.04 Crashes to open modules » 2020-09-03 16:34:54

Hi,
Do the following in ....salome_meca/V2019.0.3_universal/prerequisites/debianForSalome/lib.

mv libstdc++.so _libstdc++.so
mv libstdc++.so.6 _libstdc++.so.6
mv libstdc++.so.6.0 _libstdc++.so.6.0
mv libstdc++.so.6.0.22 _libstdc++.so.6.0.22 

Sukumar

#17 Re: Code_Aster usage » ERROR in documentation » 2020-08-31 21:12:32

Hi All,

Out of many errors scattered over various documents, one has costed me few hours. It is about U4.72.04 CREA_CHAMP - English version. At Section 3.4,  the key word 'ASSE' is translated as 'ADZE'. I took it seriously, thinking that 'ASSE' has been replaced by 'ADZE' in the current stable version.

Finally I could know the truth only by looking into the French version, but only after few frustrating hours!!

It was heard from TdS (W W W.code-aster.org/forum2/viewtopic.php?id=23420) that works were on for improvement of machine-translations. But sadly the same is not reflected yet in the documentation, at least up to a satisfactory level.

IMHO, ANY of the following would improve the current situation:
i) Crowd funding of Human translation
ii) something like supervised machine translation 
iii) Opening wiki based documentation, accepting Community input. Seems to be a feasible idea. It is supposed to supplement the current documentations and NOT TO supplant those. 

If none of the above are feasible, then at least, a message file completely in English, would go a long way to rescue many non French speaking users like me (as was hinted in the post W W W.code-aster.org/forum2/viewtopic.php?id=23420).

Best regards.

Sukumar

#18 Re: Code_Aster usage » Geostatic operation in Code Aster? » 2020-08-20 17:16:12

Dear Samuel,

Thanks a lot for your files. I will study them and will come back here, if and when necessary.

Best regards

Sukumar

#19 Re: Code_Aster usage » What is the difference between CALC_CHAMP and CREA_CHAMP? » 2020-08-19 11:31:36

Dear Samuel,

Thanks a lot for your explanation.
Then, if I have understood correctly, it can be  put precisely as:
1) Use CALC_CHAMP to calculate data structure from an already existing data
2) Use CREA_CHAMP to intialize a new field, to be populated later by using analytical formulae or to calculate  from already existing result.

Hope we can listen from someone who can further clarify the matter/correct me.

Best regards

Sukumar

#20 Code_Aster usage » What is the difference between CALC_CHAMP and CREA_CHAMP? » 2020-08-18 20:50:28

sb1966
Replies: 2

Dear All,

It might be a trivial question to many of you. But I am sorry to say that after going through the relevant documentation, I could not really understand the following:

1) how do these two operators viz. CALC_CHAMP and CREA_CHAMP really differ?
2) which one of them should be preferred over the other and under what circumstance(s)?

It would be great help if any one of the respected members could elaborate on the same preferably with some minimalistic example.

Kindly note that the same question was asked in a slightly different context in

 ____://www.code-aster.org/forum2/viewtopic.php?id=24421

but did not attract any reply.

Any help would be greatly appreciated.

Best regards.

Sukumar

#21 Re: Code_Aster usage » Geostatic operation in Code Aster? » 2020-08-18 15:43:27

Dear Samuel,

Actually, a geostatic step comprises above two steps. smile

1. Thank you very much for the steps you have discussed above. I think it correctly models the physics of the process involved, provided not reloaded with gravity in the 2nd step you described above.

1(A). It would be great if you could share your comm file here, showing these steps.

2. Regarding the point you mentioned:

So I'm wondering whether I can project all field in just one keyword. For example: PROJ_CHAM (_F(TOUT=‘OUI’,),).

I think, it is possible to select all the fields for projection, nodewise. Element wise projection needs explicit name of the projected field, if I have understood correctly.  The doc u4.72.05 in section 3.12 says

Keywords TOUT_CHAMP = ‘OUI’ or NOM_CHAM = l_noch allow to choose which are the fields of SD RESULT that one wants to project (by default all fields with the nodes). One can also project the fields by elements “ELNO“and”ELEM“, for that it is explicitly necessary to give their names via the keyword NOM_CHAM.

Hope this replies your question.

Best regards.

Sukumar

#22 Re: Code_Aster usage » Geostatic operation in Code Aster? » 2020-08-17 00:02:09

Dear Samuel,

After a search in the forum, I found the following two topics which should be of relevance to a geotechnical engineer:

HTT PS/www.code-aster.org/forum2/viewtopic.php?id=8682

and

 ..... viewtopic.php?id=20240 

However, I am not sure how to equate the DEPL field to zero, while retaining the stress field from the geostatic stage of analysis, and project the same in the next calculation with excavation/filling etc.

I would like to hear from you or other users working in geotechnical field.

Best regards

Sukumar

#23 Re: Salome-Meca usage » Dump Study not working for AsterStudy » 2020-08-13 20:28:56

Dear Philip,
Thanks for your words.

Seems like I'll have to resort to using as_run and the .export file to automate my study

There are various other ways to automate studies by using python and also using astk.

a) For example, there is the concept of ".distr" to automate parametric study using the tool astk. I can recommend one good video in YouTube by Digvijay Patankar ( h  ttps://youtu.be/UyQchDm1RJw?list=PLnLQ1ebfuH0YUozTOsxT1WB4IkxiHcY7X; pl remove the blanks in the beginning), explaining the process.

b) Other examples you may find in J. P. Aubry's book, which I believe, you are familiar with.

Best wishes.

Sukumar

#24 Re: Salome-Meca usage » Dump Study not working for AsterStudy » 2020-08-13 14:41:25

Hi,

I'm guessing the information about input and output files is not saved in the study file. If my understanding is correct that's what the .export file is for right?

What you are saying is right.

... is there a way to also import the input and output file names into AsterStudy without having to manually insert them?

AFAIK, the answer is NO.

I suppose it is a feature, rather than a limitation. In a new study with new mesh and new outputs, the filenames are naturally to be supplied afresh. Note that the comm file refers to the related files via their logical unit (LU) numbers. So the LU in comm file must match with the LU of your desired data/output files. Normally this is automatically taken care of by AsterStudy, but in astk, you need to adjust them often manually. This feature ensures that your earlier files are intact (unless you overwrite them wishfully) and compels the user to be careful about file names/locations etc. In a large realistic simulation, it is important to keep track of files in each run and this feature helps in achieving that, I suppose.

Hope this helps.

Sukumar

#25 Re: Code_Aster usage » Error when using force_face » 2020-08-12 20:28:43

Hi,

1. Did you export the groups from Geometry to the mesh?
2. Or did you create the group (of FACE as you mentioned) in the mesh?
3. You may check whether your Groups exist in the mesh or not by looking at the object viewer in the mesh module.
4. Alternatively you may check your message file. It should record all the groups you created after the LIRE_MAILLAGE command.
5. It is best to upload your files, including the .mess file to get appropriate help from the forum.

Hope this helps.

Regards.

Sukumar