×

Notice

The forum is in read only mode.

problem solving a shell

More
15 years 2 months ago #3887 by kwou
Replied by kwou on topic Re:problem solving a shell
Hoi Borja

the problem is that I didnot use standard unit for the result file.
In the command file you and I use:

IMPR_RESU(FORMAT='MED',
UNITE=21, # <--- 1)
RESU=_F(MAILLAGE=meshinit,
RESULTAT=modes,
NOM_CHAM='DEPL',),);

ie. UNITE=21 for the result file. Default this is of type rmed, unit 80. The settings from ASTK are displayed in your message file:

Copying results

compressing glob.1 [ OK ]
compressing pick.1 [ OK ]
copying .../glob.1.gz [ OK ]
copying .../pick.1.gz [ OK ]
copying .../fort.8 [ OK ]
copying .../fort.6 [ OK ]
copying .../fort.80 [FAILED] <--- 2)
Exit code : 1

So you can either change the rmed unit to 21 in ASTK, or better, change the UNITE in the command file to 80.

The file units in <--- 1) and <--- 2) should be equal.
Hope that helps.

kind regards - kees<br /><br />Post edited by: Kees Wouters, at: 2010/02/24 11:31

Interest: structural mechanics, solar energy (picture at 'my location' shows too little pv panels)

--
kind regards - kees
  • Borja AP
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
15 years 2 months ago #3890 by Borja AP
Replied by Borja AP on topic Re:problem solving a shell
Hola Kees.

Thanks again, you solved my problem, I realised a bad definition of my groups also.

Why is this change in UNITE from 21 to 80 solving the problem? I know it solves it but don't understand why...?

Thanks again for your contributions, they are of great value for me and many others I guess! When I'll become a master I will contribute as well! ;)
More
15 years 2 months ago #3891 by kwou
Replied by kwou on topic Re:problem solving a shell
Hoi Borja

the file numbers in the command file and the numbers in ASTK are linked. Eg. the result file in the command file is defined as:

IMPR_RESU(FORMAT='MED',UNITE=80, RESU=_F(MAILLAGE=meshinit,RESULTAT=modes,NOM_CHAM='DEPL',),)

So the unit(e) of file number is 80.
In ASTK you define the result mesh file, eg. resdyn.med. The number in the LU in ASTK needs to be 80 also.


Have a look at the export file that is generated by ASTK:
......
F mail /cae/caexample/test/shell22.med D 20 &lt;
F comm /cae/caexample/test/shelldyn.comm D 1
F resu /cae/caexample/test/shelldyn.resu.med R 8
F mess /cae/caexample/test/shelldyn.mess R 6
F erre /cae/caexample/test/shelldyn.erre R 9
R base /cae/caexample/test/shelldyn.base R 0
F rmed /cae/caexample/test/resdyn.med R 80 &lt;
F resu /cae/caexample/test/masse.txt R 22
......

You see the file names and unit numbers. You see in the indicated line &lt;
:
F: file
rmed: 'type' of file
/cae/caexample/test/resdyn.med: directory and filename
R: write this file
80: file unit number, should be equal to UNITE=80 IMPR_RESU


For input files the same is valid:
meshinit=LIRE_MAILLAGE(
... FORMAT='MED', # 'MED' is default, may be omitted
... UNITE=20, # 20 is default, may be omitted
... INFO=1,); # 1 is default, may be omitted

F: file
med: 'type' of file
/cae/caexample/test/shell22.med: directory
D: read this file
20: file unit number, should be equal to UNITE=20 in the LIRE_MAILLAGE command.

See for ASTK figure below. Did not work out first time.

Now ASTK-Aster uses a lot of default names and numbers. For input mesh files *.med the default UNITE is 20. So you may omit this number in the command file. ASTK will give this number automaticly in the LU column.
The same goes for result files. If you write the results to type rmed, the default UNITE=80.

kind regards - kees<br /><br />Post edited by: Kees Wouters, at: 2010/02/25 14:39

Interest: structural mechanics, solar energy (picture at 'my location' shows too little pv panels)

--
kind regards - kees
Attachments:
More
15 years 2 months ago #3892 by kwou
Replied by kwou on topic Re:problem solving a shell
[img size=150][/img]

Interest: structural mechanics, solar energy (picture at 'my location' shows too little pv panels)

--
kind regards - kees
Attachments:
Moderators: catux
Time to create page: 0.212 seconds
Powered by Kunena Forum