Eficas comm templates
- Arnold
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 2
- Thank you received: 0
15 years 3 months ago #3800
by Arnold
Eficas comm templates was created by Arnold
Hi,
when I open Eficas and I create a new comm file using the salome template under patrons (if I recall correctly), the template contains the following line:
[code:1]MAIL=LIRE_MAILLAGE(UNITE=21,
FORMAT='MED',
INFO_MED=2,);[/code:1]
The calculation stops with a copy error.
In this case, I get a copy error when solving the case. If I modify this line to the follwoing line, the file will run.
[code:1]MAIL=LIRE_MAILLAGE(FORMAT='MED',);[/code:1]
Can somebody explain why the file won't run.
According to u4.21.01, the standard UNITE number is 20. Could this be the problem (I can#t check this at the moment).
Regards,
Arnold
when I open Eficas and I create a new comm file using the salome template under patrons (if I recall correctly), the template contains the following line:
[code:1]MAIL=LIRE_MAILLAGE(UNITE=21,
FORMAT='MED',
INFO_MED=2,);[/code:1]
The calculation stops with a copy error.
In this case, I get a copy error when solving the case. If I modify this line to the follwoing line, the file will run.
[code:1]MAIL=LIRE_MAILLAGE(FORMAT='MED',);[/code:1]
Can somebody explain why the file won't run.
According to u4.21.01, the standard UNITE number is 20. Could this be the problem (I can#t check this at the moment).
Regards,
Arnold
- kwou
-
- Offline
- Moderator
-
15 years 3 months ago #3801
by kwou
Interest: structural mechanics, solar energy (picture at 'my location' shows too little pv panels)
--
kind regards - kees
Replied by kwou on topic Re:Eficas comm templates
Hoi Arnold
Indeed, Aster has a default units for mesh, command, error, message, result files, etc. The input mesh (MED) file has default unit 20. So in the lire_maillage the following commands are equal:
MAIL=LIRE_MAILLAGE(UNITE=20, FORMAT='MED',); # default unit 20
MAIL=LIRE_MAILLAGE(FORMAT='MED',); # default unit 20
(probably also FORMAT='MED' is default, so you can leave out this as well.)
If you want unite=21 for input file, you should use:
MAIL=LIRE_MAILLAGE(UNITE=21,FORMAT='MED',);
and change the ASTK file number in the LU column. In the corresponding export file you will have eg the following result (most of them with default units at the end of the line):
....
F mail <path>/block.med D 20
F comm <path>/block1.comm D 1
F erre <path>/block.err R 9
F mess <path>/block.mess R 6
F resu <path>/blockresu.med R 8
R base <path>/block.base R 0
F mmed <path>/block2res.med R 21
....
You can also have a look at you *.mess file (or flasheur file, the one with xxxxx.o<jobnumber> ), probably reporting a copy error, eg like:
Copying results
copying .../fort.9 [ OK ]
copying .../fort.6 [ OK ]
copying .../fort.8 [ OK ]
copying .../glob.1 [ OK ]
copying .../pick.1 [ OK ]
copying .../fort.21 [FAILED]
Exit code : 256
cp: cannot stat `fort.21': No such file or directory
<E>_COPY_ERROR error during copying fort.21 to <path>/block2res.med
message : cp: cannot stat `fort.21': No such file or directory
kind regards - kees<br /><br />Post edited by: Kees Wouters, at: 2010/01/29 15:31
Indeed, Aster has a default units for mesh, command, error, message, result files, etc. The input mesh (MED) file has default unit 20. So in the lire_maillage the following commands are equal:
MAIL=LIRE_MAILLAGE(UNITE=20, FORMAT='MED',); # default unit 20
MAIL=LIRE_MAILLAGE(FORMAT='MED',); # default unit 20
(probably also FORMAT='MED' is default, so you can leave out this as well.)
If you want unite=21 for input file, you should use:
MAIL=LIRE_MAILLAGE(UNITE=21,FORMAT='MED',);
and change the ASTK file number in the LU column. In the corresponding export file you will have eg the following result (most of them with default units at the end of the line):
....
F mail <path>/block.med D 20
F comm <path>/block1.comm D 1
F erre <path>/block.err R 9
F mess <path>/block.mess R 6
F resu <path>/blockresu.med R 8
R base <path>/block.base R 0
F mmed <path>/block2res.med R 21
....
You can also have a look at you *.mess file (or flasheur file, the one with xxxxx.o<jobnumber> ), probably reporting a copy error, eg like:
Copying results
copying .../fort.9 [ OK ]
copying .../fort.6 [ OK ]
copying .../fort.8 [ OK ]
copying .../glob.1 [ OK ]
copying .../pick.1 [ OK ]
copying .../fort.21 [FAILED]
Exit code : 256
cp: cannot stat `fort.21': No such file or directory
<E>_COPY_ERROR error during copying fort.21 to <path>/block2res.med
message : cp: cannot stat `fort.21': No such file or directory
kind regards - kees<br /><br />Post edited by: Kees Wouters, at: 2010/01/29 15:31
Interest: structural mechanics, solar energy (picture at 'my location' shows too little pv panels)
--
kind regards - kees
- Arnold
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 2
- Thank you received: 0
15 years 3 months ago #3805
by Arnold
Replied by Arnold on topic Re:Eficas comm templates
Hi Kees,
many thanks for the info. I now changed the syntax in the comm template as described.
But I am still wondering why the Eficas template used unite=21.
Regards,
Arnold
many thanks for the info. I now changed the syntax in the comm template as described.
But I am still wondering why the Eficas template used unite=21.
Regards,
Arnold
Moderators: catux
Time to create page: 0.122 seconds