Atom topic feed | site map | contact | login | Protection des données personnelles | Powered by FluxBB | réalisation artaban
You are not logged in.
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
Offline
The mess file
Offline
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
Offline
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
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
Offline
Same problem in a old post
code-aster.org/forum2/viewtopic.php?id=18196
Offline