Hello,
I downloaded the post lib from URL
ftp://gid.cimne.upc.es/pub/gid/Tools/gidpost1.5.tgz . When I try to link the
example testpostfor.obj, an error appears:
testpostfor.obj : error LNK2001: unresolved external symbol
_GID_BEGINSCALARRESU mailto:_GID_BEGINSCALARRESULT at 56 LT at 56.
I recompiles the source, the same error appear also. So can you give me a
right or a new version GiD post lib.
Thanks in advances.
LI Hai-tao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20050227/e0d477cf/attachment.htm
[GiDlist] about GiD post lib
Moderator: GiD Team
[GiDlist] Material number & Material name
hank you Enrique for the response but my problem is more complicate
I assign materials to several mesh elements.
1. When I use the command GiD_Info materials in a Tcl script, I obtain a
number for each material assigned.
2. When I use the *MatNum function in the .bas file, I have got other
numbers for the same materials assigned to the same entities !
3. and when I export my mesh in a GID mesh file (.msh in ASCII format) I
obtain other numbers, still different, assigned to the 3 nodes elements
(last column of the file) !!
So, I am lost because I need in my .dat file the numbers contained in
the last columns of the .msh file and these numbers should be associated
to the properties of materials assigned (.mat). But I don't know how to
call the good function which will give me the good association
number/material. Is it possible to do that ?
Thank you again for your response.
G.W.R. Geis
I assign materials to several mesh elements.
1. When I use the command GiD_Info materials in a Tcl script, I obtain a
number for each material assigned.
2. When I use the *MatNum function in the .bas file, I have got other
numbers for the same materials assigned to the same entities !
3. and when I export my mesh in a GID mesh file (.msh in ASCII format) I
obtain other numbers, still different, assigned to the 3 nodes elements
(last column of the file) !!
So, I am lost because I need in my .dat file the numbers contained in
the last columns of the .msh file and these numbers should be associated
to the properties of materials assigned (.mat). But I don't know how to
call the good function which will give me the good association
number/material. Is it possible to do that ?
Thank you again for your response.
G.W.R. Geis
[GiDlist] Material number & Material name
Thr GiD-Tcl GiD_Info materials command returns the list of all current defined materials
for example:
1- Mat A
2- Mat B
3- Mat C
If you for example only assing to your model the material B and C, and use a template .bas (*MatNum) to write the calculation file, then unused materials are ignored in the new output material numeration (tho avoid numeration jumps):
Mat A - unused
Mat B - output num= 1
Mat C - output num= 2
In other hand, if you export a GID mesh file (.msh in ASCII format), the numeration is the initial one.
Mat B - output num= 2
Mat C - output num= 3
You can for example avoid to mix this two outpur types. Don't use "export GID mesh file", can also write the mesh from the .bas template:
Or you can also write from the .bas file auxiliarty information to identify the number with the material name (*MatProp(0))
*loop materials
*MatNum *MatProp(0)
*end materials
Regards
Enrique Escolano
----- Original Message -----
From: "IEEA" ieea at club-internet.fr
To: "GIDliste" gidlist at gatxan.cimne.upc.es
Sent: Tuesday, March 01, 2005 9:18 AM
Subject: Re: [GiDlist] Material number & Material name
hank you Enrique for the response but my problem is more complicate
I assign materials to several mesh elements.
1. When I use the command GiD_Info materials in a Tcl script, I obtain a
number for each material assigned.
2. When I use the *MatNum function in the .bas file, I have got other
numbers for the same materials assigned to the same entities !
3. and when I export my mesh in a GID mesh file (.msh in ASCII format) I
obtain other numbers, still different, assigned to the 3 nodes elements
(last column of the file) !!
So, I am lost because I need in my .dat file the numbers contained in
the last columns of the .msh file and these numbers should be associated
to the properties of materials assigned (.mat). But I don't know how to
call the good function which will give me the good association
number/material. Is it possible to do that ?
Thank you again for your response.
G.W.R. Geis
_______________________________________________
GiDlist mailing list
GiDlist at gid.cimne.upc.es
http://gid.cimne.upc.es/mailman/listinfo/gidlist
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20050301/f69c68b8/attachment.htm
for example:
1- Mat A
2- Mat B
3- Mat C
If you for example only assing to your model the material B and C, and use a template .bas (*MatNum) to write the calculation file, then unused materials are ignored in the new output material numeration (tho avoid numeration jumps):
Mat A - unused
Mat B - output num= 1
Mat C - output num= 2
In other hand, if you export a GID mesh file (.msh in ASCII format), the numeration is the initial one.
Mat B - output num= 2
Mat C - output num= 3
You can for example avoid to mix this two outpur types. Don't use "export GID mesh file", can also write the mesh from the .bas template:
Or you can also write from the .bas file auxiliarty information to identify the number with the material name (*MatProp(0))
*loop materials
*MatNum *MatProp(0)
*end materials
Regards
Enrique Escolano
----- Original Message -----
From: "IEEA" ieea at club-internet.fr
To: "GIDliste" gidlist at gatxan.cimne.upc.es
Sent: Tuesday, March 01, 2005 9:18 AM
Subject: Re: [GiDlist] Material number & Material name
hank you Enrique for the response but my problem is more complicate
I assign materials to several mesh elements.
1. When I use the command GiD_Info materials in a Tcl script, I obtain a
number for each material assigned.
2. When I use the *MatNum function in the .bas file, I have got other
numbers for the same materials assigned to the same entities !
3. and when I export my mesh in a GID mesh file (.msh in ASCII format) I
obtain other numbers, still different, assigned to the 3 nodes elements
(last column of the file) !!
So, I am lost because I need in my .dat file the numbers contained in
the last columns of the .msh file and these numbers should be associated
to the properties of materials assigned (.mat). But I don't know how to
call the good function which will give me the good association
number/material. Is it possible to do that ?
Thank you again for your response.
G.W.R. Geis
_______________________________________________
GiDlist mailing list
GiDlist at gid.cimne.upc.es
http://gid.cimne.upc.es/mailman/listinfo/gidlist
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20050301/f69c68b8/attachment.htm
[GiDlist] about GiD post lib
Which compiler are you using?
On Sunday 27 February 2005 03:10, LI Hai-tao wrote:
Hello,
I downloaded the post lib from URL
ftp://gid.cimne.upc.es/pub/gid/Tools/gidpost1.5.tgz . When I try to link
the example testpostfor.obj, an error appears:
testpostfor.obj : error LNK2001: unresolved external symbol
_GID_BEGINSCALARRESU mailto:_GID_BEGINSCALARRESULT at 56 LT at 56.
I recompiles the source, the same error appear also. So can you give me a
right or a new version GiD post lib.
Thanks in advances.
LI Hai-tao
On Sunday 27 February 2005 03:10, LI Hai-tao wrote:
Hello,
I downloaded the post lib from URL
ftp://gid.cimne.upc.es/pub/gid/Tools/gidpost1.5.tgz . When I try to link
the example testpostfor.obj, an error appears:
testpostfor.obj : error LNK2001: unresolved external symbol
_GID_BEGINSCALARRESU mailto:_GID_BEGINSCALARRESULT at 56 LT at 56.
I recompiles the source, the same error appear also. So can you give me a
right or a new version GiD post lib.
Thanks in advances.
LI Hai-tao
[GiDlist] Material number & Material name
Thank you Enrique,
The numeration used in the .msh file is really difficult to used,
especially if one uses differents BOOKS and if the user define several
new materials belonging to different BOOKS, so I think I gonna write the
mesh file from the .bas file. It is a good idea !
Thank you again.
G.W.R. Geis
Enrique Escolano a écrit :
Thr GiD-Tcl GiD_Info materials command returns the list of all current
defined materialsfor example:1- Mat A2- Mat B3- Mat C If you for
example only assing to your model the material B and C, and use a
template .bas (*MatNum) to write the calculation file, then unused
materials are ignored in the new output material numeration (tho avoid
numeration jumps):Mat A - unusedMat B - output num= 1Mat C - output
num= 2 In other hand, if you export a GID mesh file (.msh in ASCII
format), the numeration is the initial one.Mat B - output num= 2Mat C
- output num= 3 You can for example avoid to mix this two outpur
types. Don't use "export GID mesh file", can also write the mesh from
the ..bas template: Or you can also write from the .bas file
auxiliarty information to identify the number with the material name
(*MatProp(0))*loop materials *MatNum *MatProp(0)*end
materials Regards Enrique Escolano ----- Original Message -----From:
"IEEA" ieea at club-internet.frTo: "GIDliste"
gidlist at gatxan.cimne.upc.esSent: Tuesday, March 01, 2005 9:18
AMSubject: Re: [GiDlist] Material number & Material name hank you
Enrique for the response but my problem is more complicate
I assign materials to several mesh elements.
1. When I use the command GiD_Info materials in a Tcl script, I
obtain a
number for each material assigned.
2. When I use the *MatNum function in the .bas file, I have got
other
numbers for the same materials assigned to the same entities !
3. and when I export my mesh in a GID mesh file (.msh in ASCII
format) I
obtain other numbers, still different, assigned to the 3 nodes
elements
(last column of the file) !!
So, I am lost because I need in my .dat file the numbers contained
in
the last columns of the .msh file and these numbers should be
associated
to the properties of materials assigned (.mat). But I don't know
how to
call the good function which will give me the good association
number/material. Is it possible to do that ?
Thank you again for your response.
G.W.R. Geis
_______________________________________________
GiDlist mailing list
GiDlist at gid.cimne.upc.es
http://gid.cimne.upc.es/mailman/listinfo/gidlist
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20050301/ea9355ed/attachment.htm
The numeration used in the .msh file is really difficult to used,
especially if one uses differents BOOKS and if the user define several
new materials belonging to different BOOKS, so I think I gonna write the
mesh file from the .bas file. It is a good idea !
Thank you again.
G.W.R. Geis
Enrique Escolano a écrit :
Thr GiD-Tcl GiD_Info materials command returns the list of all current
defined materialsfor example:1- Mat A2- Mat B3- Mat C If you for
example only assing to your model the material B and C, and use a
template .bas (*MatNum) to write the calculation file, then unused
materials are ignored in the new output material numeration (tho avoid
numeration jumps):Mat A - unusedMat B - output num= 1Mat C - output
num= 2 In other hand, if you export a GID mesh file (.msh in ASCII
format), the numeration is the initial one.Mat B - output num= 2Mat C
- output num= 3 You can for example avoid to mix this two outpur
types. Don't use "export GID mesh file", can also write the mesh from
the ..bas template: Or you can also write from the .bas file
auxiliarty information to identify the number with the material name
(*MatProp(0))*loop materials *MatNum *MatProp(0)*end
materials Regards Enrique Escolano ----- Original Message -----From:
"IEEA" ieea at club-internet.frTo: "GIDliste"
gidlist at gatxan.cimne.upc.esSent: Tuesday, March 01, 2005 9:18
AMSubject: Re: [GiDlist] Material number & Material name hank you
Enrique for the response but my problem is more complicate
I assign materials to several mesh elements.
1. When I use the command GiD_Info materials in a Tcl script, I
obtain a
number for each material assigned.
2. When I use the *MatNum function in the .bas file, I have got
other
numbers for the same materials assigned to the same entities !
3. and when I export my mesh in a GID mesh file (.msh in ASCII
format) I
obtain other numbers, still different, assigned to the 3 nodes
elements
(last column of the file) !!
So, I am lost because I need in my .dat file the numbers contained
in
the last columns of the .msh file and these numbers should be
associated
to the properties of materials assigned (.mat). But I don't know
how to
call the good function which will give me the good association
number/material. Is it possible to do that ?
Thank you again for your response.
G.W.R. Geis
_______________________________________________
GiDlist mailing list
GiDlist at gid.cimne.upc.es
http://gid.cimne.upc.es/mailman/listinfo/gidlist
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20050301/ea9355ed/attachment.htm
[GiDlist] about GiD post lib
Compaq Visual FORTRAN 6.6C.
But C version workes.
In the fortran file, if we comment the call line,
CALL GID_BEGINSCALARRESULT('Scalar'//char(0),'An.'//char(0),1.0,0,
.NULL,NULL,NULL,NULL)
the program will work.
So I think there is something wrong about the subroutine
GID_BEGINSCALARRESULT in lib.
Maybe the mistake is in the interface of C and Fortran.
-----Original Message-----
From: gidlist-admin at gatxan.cimne.upc.edu.gid.cimne.upc.edu
[mailto:gidlist-admin at gatxan.cimne.upc.edu.gid.cimne.upc.edu]
On Behalf Of ronda
Sent: Tuesday, March 01, 2005 8:44 PM
To: gidlist at gatxan.cimne.upc.es
Subject: Re: [GiDlist] about GiD post lib
Which compiler are you using?
On Sunday 27 February 2005 03:10, LI Hai-tao wrote:
Hello,
I downloaded the post lib from URL
ftp://gid.cimne.upc.es/pub/gid/Tools/gidpost1.5.tgz . When I try to
link the example testpostfor.obj, an error appears:
testpostfor.obj : error LNK2001: unresolved external symbol
_GID_BEGINSCALARRESU mailto:_GID_BEGINSCALARRESULT at 56 LT at 56.
I recompiles the source, the same error appear also. So can
you give
me a right or a new version GiD post lib.
Thanks in advances.
LI Hai-tao
_______________________________________________
GiDlist mailing list
GiDlist at gid.cimne.upc.es
http://gid.cimne.upc.es/mailman/listinfo/gidlist
But C version workes.
In the fortran file, if we comment the call line,
CALL GID_BEGINSCALARRESULT('Scalar'//char(0),'An.'//char(0),1.0,0,
.NULL,NULL,NULL,NULL)
the program will work.
So I think there is something wrong about the subroutine
GID_BEGINSCALARRESULT in lib.
Maybe the mistake is in the interface of C and Fortran.
-----Original Message-----
From: gidlist-admin at gatxan.cimne.upc.edu.gid.cimne.upc.edu
[mailto:gidlist-admin at gatxan.cimne.upc.edu.gid.cimne.upc.edu]
On Behalf Of ronda
Sent: Tuesday, March 01, 2005 8:44 PM
To: gidlist at gatxan.cimne.upc.es
Subject: Re: [GiDlist] about GiD post lib
Which compiler are you using?
On Sunday 27 February 2005 03:10, LI Hai-tao wrote:
Hello,
I downloaded the post lib from URL
ftp://gid.cimne.upc.es/pub/gid/Tools/gidpost1.5.tgz . When I try to
link the example testpostfor.obj, an error appears:
testpostfor.obj : error LNK2001: unresolved external symbol
_GID_BEGINSCALARRESU mailto:_GID_BEGINSCALARRESULT at 56 LT at 56.
I recompiles the source, the same error appear also. So can
you give
me a right or a new version GiD post lib.
Thanks in advances.
LI Hai-tao
_______________________________________________
GiDlist mailing list
GiDlist at gid.cimne.upc.es
http://gid.cimne.upc.es/mailman/listinfo/gidlist