Problems exporting to non-MED fomats
- CAVT
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 59
- Thank you received: 1
14 years 1 month ago #5386
by CAVT
Problems exporting to non-MED fomats was created by CAVT
Hello everybody:
I'm quite new on using Aster, but have used previously Salome and Code Saturne, so EDF's products are not new to me
. The thing is that in Salome Meca I cannot figure out how to export my results to other formats that are not MED, i.e. Ensight or Gmsh format.
When I use the linear wizard in Salome Meca and leave (in Eficas) MED output selected, I can indeed see the result which is the .rmed file. However, if I select Ensight or Gmsh output, the computations occur (cpu activity and the .mess file show it) but no .case or .msh files are generated anywhere.
I'm using SalomeMeca 2010.1 32bit, not in CAELinux but in Unity (very simialr to Mandriva or PCLinuxOS). Probably is just my lack of experience and I'm forgetting something, so would you mind pointng me out which are the options in Eficas I should change to ensure a non-MED output?
Tanks in advance,
César
I'm quite new on using Aster, but have used previously Salome and Code Saturne, so EDF's products are not new to me

When I use the linear wizard in Salome Meca and leave (in Eficas) MED output selected, I can indeed see the result which is the .rmed file. However, if I select Ensight or Gmsh output, the computations occur (cpu activity and the .mess file show it) but no .case or .msh files are generated anywhere.
I'm using SalomeMeca 2010.1 32bit, not in CAELinux but in Unity (very simialr to Mandriva or PCLinuxOS). Probably is just my lack of experience and I'm forgetting something, so would you mind pointng me out which are the options in Eficas I should change to ensure a non-MED output?
Tanks in advance,
César
- T. Donley
- Offline
- New Member
-
Less
More
- Posts: 13
- Thank you received: 0
14 years 1 month ago #5388
by T. Donley
Replied by T. Donley on topic Re:Problems exporting to non-MED fomats
I don't know about doing this with the Salome "wizards," but you can find information on the Aster commands here:
www.code-aster.org/V2/doc/default/
Look at U7.05.32 and U7.05.31 for descriptions (in French) of the IMPR_RESU command as it relates to GMSH and ENSIGHT output, respectively.
The GMSH output file will be a .pos file, and I'm not familiar with Ensight.
If you manually add the commands to your .comm file using Eficas or a text editor, you must, before running the study, launch ASTK and manually add the output files to the file list. The ASTK file number must match the UNITE= number specified in your .comm file. There are some examples of this in the tutorials and in the Code Aster forums.
Here is an example of a command to create a GMSH result file for Von Mises and Tresca stresses. Filename is set in the ASTK list:
[code:1]
IMPR_RESU(FORMAT='GMSH',
UNITE=37,
RESU=_F(MAILLAGE=MeshMech,
RESULTAT=TopSqz,
NOM_CHAM='EQUI_ELNO_SIGM',
NOM_CMP=('VMIS','TRESCA',),),);
[/code:1]
Note that if you run the study from ASTK you may simply right-click on the GMSH output filename to open a menu which allows opening the file in GMSH.
Best regards,
Tim Donley<br /><br />Post edited by: T. Donley, at: 2011/03/20 20:48
www.code-aster.org/V2/doc/default/
Look at U7.05.32 and U7.05.31 for descriptions (in French) of the IMPR_RESU command as it relates to GMSH and ENSIGHT output, respectively.
The GMSH output file will be a .pos file, and I'm not familiar with Ensight.
If you manually add the commands to your .comm file using Eficas or a text editor, you must, before running the study, launch ASTK and manually add the output files to the file list. The ASTK file number must match the UNITE= number specified in your .comm file. There are some examples of this in the tutorials and in the Code Aster forums.
Here is an example of a command to create a GMSH result file for Von Mises and Tresca stresses. Filename is set in the ASTK list:
[code:1]
IMPR_RESU(FORMAT='GMSH',
UNITE=37,
RESU=_F(MAILLAGE=MeshMech,
RESULTAT=TopSqz,
NOM_CHAM='EQUI_ELNO_SIGM',
NOM_CMP=('VMIS','TRESCA',),),);
[/code:1]
Note that if you run the study from ASTK you may simply right-click on the GMSH output filename to open a menu which allows opening the file in GMSH.
Best regards,
Tim Donley<br /><br />Post edited by: T. Donley, at: 2011/03/20 20:48
Moderators: catux
Time to create page: 0.123 seconds