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

You are not logged in.

#1 2019-11-11 14:28:12

konyaro
Member
From: Genève
Registered: 2016-04-02
Posts: 249

Number of digits of modes

Hello,
I need to print the frequency of modes calculated with CALC_MODES with a great accuracy. I tried to use the option FORMAT_R in IMPR_RESU but it has no effect, the modes remain printed as: 3.11797D+03.

I found the following informations:
- The post https://code-aster.org/forum2/viewtopic.php?id=14903 explain why I get D instead of E.
- The chapter §4.13 of Jean-Pierre's book explains how to use FORMAT_R.
- Doc U4.52.02/CALC_MODES §3.5.1.2: precision sould be around 2.22E-16

And tried the followings:
- Decrease SEUIL in VERI_MODE
- Increase NPREC in SOLVEUR

Thank you,

Konyaro

Attached: the comm file used for the simulation

Last edited by konyaro (2019-11-12 17:13:20)


Attachments:
modes.comm, Size: 2.2 KiB, Downloads: 54

失敗は成功のもと (L'échec est la base de la réussite)

Offline

#2 2019-11-21 06:48:41

konyaro
Member
From: Genève
Registered: 2016-04-02
Posts: 249

Re: Number of digits of modes

I found a way to print the results with more digits by using the following python code:

modes_txt = modes.LIST_VARI_ACCES()['FREQ']
print(modes_txt)

The results are thus printed with 18 digits.


失敗は成功のもと (L'échec est la base de la réussite)

Offline

#3 2019-11-21 13:45:51

GPSalachs
Member
Registered: 2018-03-10
Posts: 197

Re: Number of digits of modes

It is not exactly a Modal Analysis question the one i have but i would like to know if it is possible to access the number of  elements and the values of the Elastic Modulus each one has. Would i have to assign a group with the elements i want to access and then through the .comm file enter into the AFFE_MATERIAU command?

Offline