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

You are not logged in.

#1 2023-03-10 19:57:13

trilbytim
Member
Registered: 2023-03-08
Posts: 13

Can't write results file [SOLVED]

I'm trying to learn Code Aster to model composite shells. I'm starting with an extremely simple case of beam that I will apply tension and bending loads to, at the moment it is just one single layer and I trying to apply tension. I intend to add more layers and more complexity and check that the deflections are as I expect. However I can't even get results from this case. It seems to solve and finish with Success, however for some reason it won't seem to actually generate the result file, it seems to be looking for files in a temporary directory which aren't there for whatever reason. Is there some step I've missed?

The output in Terminal ends with this:

AsterStudy: ven.-10-18:46:27.671 Job 6: status is FINISHED: Success
/bin/cp: cannot stat '/tmp/salome_localres_workdir_timbo/timbo-timbo-laptop-ven.-10-184608.072/./res-validate.med': No such file or directory
/bin/cp: cannot stat '/tmp/salome_localres_workdir_timbo/timbo-timbo-laptop-ven.-10-184608.072/./base-stage1': No such file or directory
AsterStudy: ven.-10-18:46:27.755 ERROR: Copy failed: [Errno 2] No such file or directory: '/home/timbo/AMRC/FEA/validate_Files/RunCase_6/Result-Stage_1/res-validate.med'

Last edited by trilbytim (2023-03-11 14:43:16)

Offline

#2 2023-03-10 20:00:15

trilbytim
Member
Registered: 2023-03-08
Posts: 13

Re: Can't write results file [SOLVED]

My case is here (I can't seem to attach it here so have to link the Dropbox, but remove the '__' to follow the link)
https__://www.dropbox.com/s/rmut2gzn2qk0hsa/validate.hdf?dl=0

Offline

#3 2023-03-11 09:21:35

jeanpierreaubry
Guru
From: nantes (france)
Registered: 2009-03-12
Posts: 3,974

Re: Can't write results file [SOLVED]

hello

with the attached files
the calculation stops way before trying to print a result
have a look at the message file it is written in it
the command file is referring to groups that do not exist in the mesh

<EXCEPTION> <MODELISA7_77>                                                                    
 the GROUP_MA beam does not form part of the mesh:  00000001   

jean pierre aubry

Last edited by jeanpierreaubry (2023-03-11 09:45:37)


consider reading my book
freely available here https://framabook.org/beginning-with-code_aster/

Offline

#4 2023-03-11 12:33:12

trilbytim
Member
Registered: 2023-03-08
Posts: 13

Re: Can't write results file [SOLVED]

Thank you, but this group does exist in the mesh, it is the group containing all of the 2D elements. I can see it in the GUI and it reads it and allows me to select the box next to it. In the "message" file in the case/Result-Stage_1 folder I see the following:

Vérification du maillage.

------------ MAILLAGE 00000001 - IMPRESSIONS NIVEAU  1 ------------

SA-11-MARS-2023 11:25:31                                                        

NOMBRE DE NOEUDS                        4221

NOMBRE DE MAILLES                       4440
                              SEG2                  440
                              QUAD4                4000

NOMBRE DE GROUPES DE MAILLES               3
                              beam                              4000
                              supportend                          20
                              loadend                             20

So it appears that it is loading the mesh, including the beam group, so it does exist, so why does it think that it does not exist when it comes to write the results?

Also, where did you find the line you posted, in what file? I have looked in the file "validate_Files/RunCase_1/Result-Stage_1/message", but for me it does not include the lines you posted. I am using salome_meca-lgpl-2022.1.0-1-20221225

Last edited by trilbytim (2023-03-11 12:34:26)

Offline

#5 2023-03-11 13:23:07

jacob
Member
From: Dolní Benešov
Registered: 2022-03-07
Posts: 158

Re: Can't write results file [SOLVED]

you restrained only translation DOFs, but you are using shell

fixed = AFFE_CHAR_MECA(DDL_IMPO=_F(DRX=0.0,
                                   DRY=0.0,
                                   DRZ=0.0,
                                   DX=0.0,
                                   DY=0.0,
                                   DZ=0.0,
                                   GROUP_MA=('supportend', )),
                       MODELE=model)


worked.


Attachments:
image_2023-03-11_132305127.png, Size: 31.8 KiB, Downloads: 33

Offline

#6 2023-03-11 14:25:07

trilbytim
Member
Registered: 2023-03-08
Posts: 13

Re: Can't write results file [SOLVED]

Ah!!!! Of course! Sorry about that, stupid mistake! This is of course also why my previous model worked, which was a tube geometry, so even with only translations constrained it was still stable.
Thank you

jacob wrote:

you restrained only translation DOFs, but you are using shell

fixed = AFFE_CHAR_MECA(DDL_IMPO=_F(DRX=0.0,
                                   DRY=0.0,
                                   DRZ=0.0,
                                   DX=0.0,
                                   DY=0.0,
                                   DZ=0.0,
                                   GROUP_MA=('supportend', )),
                       MODELE=model)


worked.

Offline