Piston Tutorial Errror Message
- Robin Borland
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 48
- Thank you received: 0
18 years 3 months ago #1009
by Robin Borland
Piston Tutorial Errror Message was created by Robin Borland
Greetings
I have been evaluating the FEA software and have been running through the piston tutorial. I have ran through the tutorial several times, and when I look at the error file after the \"run\" has completed the message \" Impossible de lire ce fichier' appears, which I gather means that the software cannot write the file. I have attached the piston1.mess file for your information. I am running on a Dell Precision M90 laptop. Any suggestions ?
Thanks
Robin
==========================================
==========================================
#Linear Statics with 3D linear solid elements
#
#template by J.Cugnoni, CAELinux.com, 2005
DEBUT();
#Read MED MESH File
#
#First command LIRE_MAILLAGE is used to read the MED mesh file generated by Salome.
#
#To Do:
#Enter the name of your Salome Mesh in b_format_med->NOM_MED
MeshLin=LIRE_MAILLAGE(UNITE=20,
FORMAT='MED',
NOM_MED='Mesh_1',
INFO_MED=1,);
#Assigns a physical model to geometric entities.
#
#Here we assume that all the geometric entities (TOUT=OUI) are used for mechanical simulation (PHENOMENE=MECANIQUE) with 3D solid elements.
#
#To Do (Optional):
#you can assign other physics or element types (like shells for example) to some of the elements by replacing TOUT=OUI in AFFE with GROUP_MA = TheElementGroupYouWantToModel
#
#
#
FEMLin=AFFE_MODELE(MAILLAGE=MeshLin,
AFFE=_F(TOUT='OUI',
PHENOMENE='MECANIQUE',
MODELISATION='3D',),);
#Material properties
#
#To Do:
#Enter your material properties in this section
#if necessary Copy/Paste the DEFI_MATERIAU command to add a second material
Steel=DEFI_MATERIAU(ELAS=_F(E=70000.0,
NU=0.27,),);
#Assign Material properties to Elements
#
#TO DO:
#If you need more than one material, you need to enter pairs of element group materials by duplicating the AFFE option.
Mat=AFFE_MATERIAU(MAILLAGE=MeshLin,
MODELE=FEMLin,
AFFE=_F(TOUT='OUI',
MATER=Steel,),);
#Boundary conditions
#
#This section defines the boundary conditions of the FEA, use DDL_IMPO on selected groups to impose displacements and FORCE_* / PRESSION to apply forces / pressures to selected groups
#
#To Do:
#for each boundary conditions, you need to choose the appropriate option, for example DDL_IMPO for imposed displacements, and assign this option to a selected region of the mesh by using the GROUP_NO option for a node group or the GROUP_MA for face / volume groups.
BCnd=AFFE_CHAR_MECA(MODELE=FEMLin,
DDL_IMPO=_F(GROUP_MA='DisplSurf',
DX=0.0,
DY=0.0,
DZ=0.0,),
PRES_REP=_F(GROUP_MA='PressSurf',
PRES=0.3,),);
#Finite Element Solution
Solution=MECA_STATIQUE(MODELE=FEMLin,
CHAM_MATER=Mat,
EXCIT=_F(CHARGE=BCnd,),);
#Compute VonMises Stress / Strain
Solution=CALC_ELEM(reuse =Solution,
RESULTAT=Solution,
OPTION=('SIGM_ELNO_DEPL','EPSI_ELNO_DEPL','EQUI_ELNO_SIGM','EQUI_ELNO_EPSI',),);
#Write Results to MED file
IMPR_RESU(MODELE=FEMLin,
FORMAT='MED',
UNITE=80,
RESU=(_F(MAILLAGE=MeshLin,
RESULTAT=Solution,
NOM_CHAM='DEPL',
NOM_CMP=('DX','DY','DZ',),),
_F(RESULTAT=Solution,
NOM_CHAM='EQUI_ELNO_SIGM',
NOM_CMP='VMIS',),),);
FIN(FORMAT_HDF='OUI',);
==========================================
==========================================
MEMOIRE IMPOSEE POUR JEVEUX: 134217728 OCTETS ( 128.000 MEGAOCTETS)
MEMOIRE DONNEE PAR \"MEMDIS\": 134217728 OCTETS
MEMOIRE PRISE : 134217728 OCTETS ( 128.000 MEGAOCTETS)
#
# COMMANDE NO : 0001 CONCEPT DE TYPE :
#
DEBUT(PAR_LOT='OUI',
IMPR_MACRO='NON',
);
-- CODE_ASTER -- VERSION DE DEVELOPPEMENT FIGEE 8.03 --
COPYRIGHT EDF-R&D 1991 - 2006
EXECUTION DU : VE-29-DECE-2006 09:41:56
PLATE-FORME : LOCALHOST
NB MAX PROC : 1
SYSTEME : LINUX
CPU : I686
< >
NOM DE LA BASE : >LDUMMY <
NOMBRE D'ENREGISTREMENTS UTILISES : 4
NOMBRE D'ENREGISTREMENTS MAXIMUM : 100
LONGUEUR D'ENREGISTREMENT (OCTETS): 4096
NOMBRE TOTAL D'ENTREES/SORTIES : 0
NOMBRE D'IDENTIFICATEURS UTILISES : 20
TAILLE MAXIMUM DU REPERTOIRE : 250
TAUX D'UTILISATION DU REPERTOIRE %: 8
DEBUT DE LECTURE
SUR ELEMBASE
< >
REOUVERTURE DE LA BASE : >ELEMBASE<
CREEE AVEC LA VERSION : > 8.03.00<
NOMBRE D'ENREGISTREMENTS UTILISES : 16
NOMBRE D'ENREGISTREMENTS MAXIMUM : 512
LONGUEUR D'ENREGISTREMENT (OCTETS): 409600
NOMBRE D'IDENTIFICATEURS UTILISES : 113
TAILLE MAXIMUM DU REPERTOIRE : 300
TAUX D'UTILISATION DU REPERTOIRE %: 37
< >
NOM DE LA BASE : >ELEMBASE<
NOMBRE D'ENREGISTREMENTS UTILISES : 16
NOMBRE D'ENREGISTREMENTS MAXIMUM : 512
LONGUEUR D'ENREGISTREMENT (OCTETS): 409600
NOMBRE TOTAL D'ENTREES/SORTIES : 41
NOMBRE D'IDENTIFICATEURS UTILISES : 113
TAILLE MAXIMUM DU REPERTOIRE : 300
TAUX D'UTILISATION DU REPERTOIRE %: 37
FAIT
FIN DE LECTURE (DUREE 0.0000E+00 S.)
# FIN COMMANDE NO : 0001 DUREE TOTALE: 0.02s (SYST: 0.01s)
#
#
# COMMANDE NO : 0002 CONCEPT DE TYPE : maillage_sdaster
#
MeshLin=LIRE_MAILLAGE(INFO=1,
NOM_MED='Mesh_1',
INFO_MED=1,
FORMAT='MED',
UNITE=20,
VERI_MAIL=(_F(APLAT=1.E-3,
VERIF='OUI')),
);
FAMILLE : FAM_-1_Group_Of_All_Edges
LE NOM DU GROUPE NUMERO 1 EST TROP LONG (18 CARACTERES) :
Group_Of_All_Edges
CELA EST CONFORME AUX CONVENTIONS MED : LE NOM D'UN GROUPE DOIT ETRE AU PLUS DE 80 CARACTERES.
MAIS CODE_ASTER NE SAIT TRAITER QUE DES NOMS D'AU PLUS 8 CARACTERES.
DECLAREZ UNE ANOMALIE
IMPOSSIBLE DE LIRE CE FICHIER.
I have been evaluating the FEA software and have been running through the piston tutorial. I have ran through the tutorial several times, and when I look at the error file after the \"run\" has completed the message \" Impossible de lire ce fichier' appears, which I gather means that the software cannot write the file. I have attached the piston1.mess file for your information. I am running on a Dell Precision M90 laptop. Any suggestions ?
Thanks
Robin
==========================================
==========================================
#Linear Statics with 3D linear solid elements
#
#template by J.Cugnoni, CAELinux.com, 2005
DEBUT();
#Read MED MESH File
#
#First command LIRE_MAILLAGE is used to read the MED mesh file generated by Salome.
#
#To Do:
#Enter the name of your Salome Mesh in b_format_med->NOM_MED
MeshLin=LIRE_MAILLAGE(UNITE=20,
FORMAT='MED',
NOM_MED='Mesh_1',
INFO_MED=1,);
#Assigns a physical model to geometric entities.
#
#Here we assume that all the geometric entities (TOUT=OUI) are used for mechanical simulation (PHENOMENE=MECANIQUE) with 3D solid elements.
#
#To Do (Optional):
#you can assign other physics or element types (like shells for example) to some of the elements by replacing TOUT=OUI in AFFE with GROUP_MA = TheElementGroupYouWantToModel
#
#
#
FEMLin=AFFE_MODELE(MAILLAGE=MeshLin,
AFFE=_F(TOUT='OUI',
PHENOMENE='MECANIQUE',
MODELISATION='3D',),);
#Material properties
#
#To Do:
#Enter your material properties in this section
#if necessary Copy/Paste the DEFI_MATERIAU command to add a second material
Steel=DEFI_MATERIAU(ELAS=_F(E=70000.0,
NU=0.27,),);
#Assign Material properties to Elements
#
#TO DO:
#If you need more than one material, you need to enter pairs of element group materials by duplicating the AFFE option.
Mat=AFFE_MATERIAU(MAILLAGE=MeshLin,
MODELE=FEMLin,
AFFE=_F(TOUT='OUI',
MATER=Steel,),);
#Boundary conditions
#
#This section defines the boundary conditions of the FEA, use DDL_IMPO on selected groups to impose displacements and FORCE_* / PRESSION to apply forces / pressures to selected groups
#
#To Do:
#for each boundary conditions, you need to choose the appropriate option, for example DDL_IMPO for imposed displacements, and assign this option to a selected region of the mesh by using the GROUP_NO option for a node group or the GROUP_MA for face / volume groups.
BCnd=AFFE_CHAR_MECA(MODELE=FEMLin,
DDL_IMPO=_F(GROUP_MA='DisplSurf',
DX=0.0,
DY=0.0,
DZ=0.0,),
PRES_REP=_F(GROUP_MA='PressSurf',
PRES=0.3,),);
#Finite Element Solution
Solution=MECA_STATIQUE(MODELE=FEMLin,
CHAM_MATER=Mat,
EXCIT=_F(CHARGE=BCnd,),);
#Compute VonMises Stress / Strain
Solution=CALC_ELEM(reuse =Solution,
RESULTAT=Solution,
OPTION=('SIGM_ELNO_DEPL','EPSI_ELNO_DEPL','EQUI_ELNO_SIGM','EQUI_ELNO_EPSI',),);
#Write Results to MED file
IMPR_RESU(MODELE=FEMLin,
FORMAT='MED',
UNITE=80,
RESU=(_F(MAILLAGE=MeshLin,
RESULTAT=Solution,
NOM_CHAM='DEPL',
NOM_CMP=('DX','DY','DZ',),),
_F(RESULTAT=Solution,
NOM_CHAM='EQUI_ELNO_SIGM',
NOM_CMP='VMIS',),),);
FIN(FORMAT_HDF='OUI',);
==========================================
==========================================
MEMOIRE IMPOSEE POUR JEVEUX: 134217728 OCTETS ( 128.000 MEGAOCTETS)
MEMOIRE DONNEE PAR \"MEMDIS\": 134217728 OCTETS
MEMOIRE PRISE : 134217728 OCTETS ( 128.000 MEGAOCTETS)
#
# COMMANDE NO : 0001 CONCEPT DE TYPE :
#
DEBUT(PAR_LOT='OUI',
IMPR_MACRO='NON',
);
-- CODE_ASTER -- VERSION DE DEVELOPPEMENT FIGEE 8.03 --
COPYRIGHT EDF-R&D 1991 - 2006
EXECUTION DU : VE-29-DECE-2006 09:41:56
PLATE-FORME : LOCALHOST
NB MAX PROC : 1
SYSTEME : LINUX
CPU : I686
< >
NOM DE LA BASE : >LDUMMY <
NOMBRE D'ENREGISTREMENTS UTILISES : 4
NOMBRE D'ENREGISTREMENTS MAXIMUM : 100
LONGUEUR D'ENREGISTREMENT (OCTETS): 4096
NOMBRE TOTAL D'ENTREES/SORTIES : 0
NOMBRE D'IDENTIFICATEURS UTILISES : 20
TAILLE MAXIMUM DU REPERTOIRE : 250
TAUX D'UTILISATION DU REPERTOIRE %: 8
DEBUT DE LECTURE
SUR ELEMBASE
< >
REOUVERTURE DE LA BASE : >ELEMBASE<
CREEE AVEC LA VERSION : > 8.03.00<
NOMBRE D'ENREGISTREMENTS UTILISES : 16
NOMBRE D'ENREGISTREMENTS MAXIMUM : 512
LONGUEUR D'ENREGISTREMENT (OCTETS): 409600
NOMBRE D'IDENTIFICATEURS UTILISES : 113
TAILLE MAXIMUM DU REPERTOIRE : 300
TAUX D'UTILISATION DU REPERTOIRE %: 37
< >
NOM DE LA BASE : >ELEMBASE<
NOMBRE D'ENREGISTREMENTS UTILISES : 16
NOMBRE D'ENREGISTREMENTS MAXIMUM : 512
LONGUEUR D'ENREGISTREMENT (OCTETS): 409600
NOMBRE TOTAL D'ENTREES/SORTIES : 41
NOMBRE D'IDENTIFICATEURS UTILISES : 113
TAILLE MAXIMUM DU REPERTOIRE : 300
TAUX D'UTILISATION DU REPERTOIRE %: 37
FAIT
FIN DE LECTURE (DUREE 0.0000E+00 S.)
# FIN COMMANDE NO : 0001 DUREE TOTALE: 0.02s (SYST: 0.01s)
#
#
# COMMANDE NO : 0002 CONCEPT DE TYPE : maillage_sdaster
#
MeshLin=LIRE_MAILLAGE(INFO=1,
NOM_MED='Mesh_1',
INFO_MED=1,
FORMAT='MED',
UNITE=20,
VERI_MAIL=(_F(APLAT=1.E-3,
VERIF='OUI')),
);
FAMILLE : FAM_-1_Group_Of_All_Edges
LE NOM DU GROUPE NUMERO 1 EST TROP LONG (18 CARACTERES) :
Group_Of_All_Edges
CELA EST CONFORME AUX CONVENTIONS MED : LE NOM D'UN GROUPE DOIT ETRE AU PLUS DE 80 CARACTERES.
MAIS CODE_ASTER NE SAIT TRAITER QUE DES NOMS D'AU PLUS 8 CARACTERES.
DECLAREZ UNE ANOMALIE
IMPOSSIBLE DE LIRE CE FICHIER.
- Joël Cugnoni
-
- Offline
- Moderator
-
18 years 3 months ago #1010
by Joël Cugnoni
Joël Cugnoni - a.k.a admin
www.caelinux.com
Replied by Joël Cugnoni on topic Re:Piston Tutorial Errror Message
Hello,
the problems is due to a too long name assigned to a group of elements in the MED mesh file. This was probably caused by Salome's \"auto create group\" option when you exported the Mesh. To solve the issue, try to uncheck \"auto create group\" when exporting the mesh in Salome!
FAMILLE : FAM_-1_Group_Of_All_Edges
LE NOM DU GROUPE NUMERO 1 EST TROP LONG (18 CARACTERES) :
Group_Of_All_Edges
the problems is due to a too long name assigned to a group of elements in the MED mesh file. This was probably caused by Salome's \"auto create group\" option when you exported the Mesh. To solve the issue, try to uncheck \"auto create group\" when exporting the mesh in Salome!
Joël Cugnoni - a.k.a admin
www.caelinux.com
- Robin Borland
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 48
- Thank you received: 0
18 years 3 months ago #1011
by Robin Borland
Replied by Robin Borland on topic Re:Piston Tutorial Errror Message
Dear Admin
Thank you for your quick reply on this - I did run through the complete tutorial again from scratch, and I got the same error message. I attached the bottom portion of the MESS file for your information.
The work-around for this which worked was to go back to Salome and abbreviate the PressSurf to \"PS\" and Abbreviate the DisplSurf to \"DS\", I was then able to get a good results file and complete the tutorial.
Basically I see two issues with the tutorial.
One is that the mesher will give an error with the average length set to 5, there is no error if it is set to 3.
The second issue is that the group names in the tutorial both have 9 characters, where only 8 is allowed. i.e. PressSurf has 9 and DisplSurf has 9.
Anyway congratulations to the CAELinux team for their efforts on this, I look forward to exploring some of the features.
Thanks
Robin
Bottom part of the MESS file as follows:
FAMILLE : FAM_-4_PressSurf
LE NOM DU GROUPE NUMERO 1 EST TROP LONG ( 9 CARACTERES) :
PressSurf
CELA EST CONFORME AUX CONVENTIONS MED : LE NOM D'UN GROUPE DOIT ETRE AU PLUS DE 80 CARACTERES.
MAIS CODE_ASTER NE SAIT TRAITER QUE DES NOMS D'AU PLUS 8 CARACTERES.
DECLAREZ UNE ANOMALIE
IMPOSSIBLE DE LIRE CE FICHIER.
Thank you for your quick reply on this - I did run through the complete tutorial again from scratch, and I got the same error message. I attached the bottom portion of the MESS file for your information.
The work-around for this which worked was to go back to Salome and abbreviate the PressSurf to \"PS\" and Abbreviate the DisplSurf to \"DS\", I was then able to get a good results file and complete the tutorial.
Basically I see two issues with the tutorial.
One is that the mesher will give an error with the average length set to 5, there is no error if it is set to 3.
The second issue is that the group names in the tutorial both have 9 characters, where only 8 is allowed. i.e. PressSurf has 9 and DisplSurf has 9.
Anyway congratulations to the CAELinux team for their efforts on this, I look forward to exploring some of the features.
Thanks
Robin
Bottom part of the MESS file as follows:
FAMILLE : FAM_-4_PressSurf
LE NOM DU GROUPE NUMERO 1 EST TROP LONG ( 9 CARACTERES) :
PressSurf
CELA EST CONFORME AUX CONVENTIONS MED : LE NOM D'UN GROUPE DOIT ETRE AU PLUS DE 80 CARACTERES.
MAIS CODE_ASTER NE SAIT TRAITER QUE DES NOMS D'AU PLUS 8 CARACTERES.
DECLAREZ UNE ANOMALIE
IMPOSSIBLE DE LIRE CE FICHIER.
Moderators: catux
Time to create page: 0.134 seconds