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

You are not logged in.

#1 2019-07-04 17:20:01

Valedy
Member
Registered: 2019-07-04
Posts: 38

Problem with Data transfert from CFD to Aster

Hello everyone,

I'm quite new with code_aster. I'm trying to use CFD results as boundary conditions for a mechanical computation. One field is the Temperature defined at all nodes of the mesh (3D). The other field is the pressure defined on the nodes belonging to the external surface. The two fields have been converted in MED format successfully (as I can open them and see the associated field in the MED module of Salome_Meca 2016).

I would to do my mechanical computation by imposing the pressure on the external surface nodes and the temperature on all nodes. I want to use the temperature only for thermal dilatation on a first time.

Here is the .comm file and mess file.

As the geometry used is confidential, I can't attach med files.


Some precisions about the comm file :
I read 2 mesh files, but they are almost the same. 'mesh' contains all 3D elements + all the 2D elements belonging to the external surface. 'mesh2' contains only all 3D elements. I've made this because to apply the pressure I had to create a mesh group with all the external faces (group name 'external_faces') which create 2D element in the mesh file, thus I cannot use the same mesh for the temperature field association because the med file with data does not contain any 2D element which leads to ASTER error.

Hope my explanation is clear.

Regards,
Valentin


Attachments:
satellite.comm, Size: 2.25 KiB, Downloads: 303

Offline

#2 2019-07-04 17:21:01

Valedy
Member
Registered: 2019-07-04
Posts: 38

Re: Problem with Data transfert from CFD to Aster

The mess file


Attachments:
satellite.mess, Size: 6.97 KiB, Downloads: 294

Offline

#3 2019-07-09 13:27:17

Valedy
Member
Registered: 2019-07-04
Posts: 38

Re: Problem with Data transfert from CFD to Aster

Some precison about the results MEd file I read. The pressure and the temperature are defined on all nodes of the mechanical mesh. On internal nodes the pressure is sets to 0.

I've updated a bit my comm file in the LIRE_RESU command but still an error is returned.

If someone have any idea of the problem please don't hesitate. Thank you in advance

Valentin


Attachments:
satellite.comm, Size: 2.91 KiB, Downloads: 309

Offline

#4 2019-07-09 15:11:22

Volker
Member
From: Chemnitz
Registered: 2016-05-23
Posts: 92

Re: Problem with Data transfert from CFD to Aster

Hi, the error message tells NOM_CHAM in your result file is "T". "T" is not allowed. One solution could be NOM_CHAM = "TEMP" or "TEMP_ELGA"...

Offline

#5 2019-07-10 11:22:48

Valedy
Member
Registered: 2019-07-04
Posts: 38

Re: Problem with Data transfert from CFD to Aster

Hi Volker,
Thanks for your reply. I've made some progess with this. Now I can read the temperature field as I wanted. But when I read the pressure field this error appear in the command RESU_P=LIRE_RESU and I'm really confuse with this. As I understand this means that the size of  RESU_P is 0 after reading the fields or am I wrong?

   !---------------------------------------------------------!
   ! <EXCEPTION> <JEVEUX1_67>                                !
   !                                                         !
   !  La valeur 0 affectée à l'attribut LONMAX est invalide. !
   !---------------------------------------------------------!
   

  Destruction du concept 'RESU_P'.

Attached comm, mess and export files (no med files geometry is confidential)

Bests,
Valentin


Attachments:
files.tar.gz, Size: 8.67 KiB, Downloads: 347

Offline

#6 2019-07-10 14:53:19

Valedy
Member
Registered: 2019-07-04
Posts: 38

Re: Problem with Data transfert from CFD to Aster

Same problem in a old post
code-aster.org/forum2/viewtopic.php?id=18196

Offline