First of all, I want to congratualte you on the creation and development of a great product. Please keep up the good work!
I have one question concerning any known techniques to use GID to insert cracks in a mesh. I am looking for suggestions that will facilitate the insertion of 3-D cracks, either serrated, circualr or elliptical into a given geometry.
When will you recommend to do it: as a geometrical entity or in the mesh directly?
With the latest GID beta version.. I could not use any
of my materials options.. What a problem with that??
The assign function in the Material window box is not
working.. when I tried to assign the material on the
mesh object.. that is not working out. Why???
Hi, could you provide more information about the bug you are getting?, may be
some error message or screen capture.
regards,
Jorge
On Monday 03 October 2005 07:09, VSayako Willy wrote: Hi all Gidlist people With the latest GID beta version.. I could not use any of my materials options.. What a problem with that?? The assign function in the Material window box is not working.. when I tried to assign the material on the mesh object.. that is not working out. Why??? Cheers..
There is no tool now available in GiD to take care about 3D cracks in meshes. We are working on it, but it won’t be ready soon.
The only way to treat this problem now, using GiD, is to modify the geometry including the cracks, and mesh again the new geometry.
Regards,
ABEL COLL
----- Original Message -----
From: Fernando Lorenzo
To: gidlist at gatxan.cimne.upc.es
Sent: Friday, September 30, 2005 10:50 PM
Subject: [GiDlist] Suggestions for inserting cracks in meshes
Dear Sirs,
First of all, I want to congratualte you on the creation and development of a great product. Please keep up the good work!
I have one question concerning any known techniques to use GID to insert cracks in a mesh. I am looking for suggestions that will facilitate the insertion of 3-D cracks, either serrated, circualr or elliptical into a given geometry.
When will you recommend to do it: as a geometrical entity or in the mesh directly?
I am animating the evolution of the surface of a lake (see attached).
I would like to know how one can draw the volume under this free
surface using gid.
I am animating the evolution of the surface of a lake (see attached).
I would like to know how one can draw the volume under this free
surface using gid.
it is just a surface mesh, so the calculation is done on the surface
but for animation, i want to represent the whole volume.
See the attached file freesurface.gif
abdou
¿can you send us the example? ¿is there a volume mesh or just the surface of the sea? miguel -----Mensaje original----- De: gidlist-admin at gatxan.cimne.upc.edu [mailto:gidlist-admin at gatxan.cimne.upc.edu] En nombre de asene at sunumail.sn Enviado el: lunes, 10 de octubre de 2005 9:43 Para: gidlist at gatxan.cimne.upc.edu Asunto: [GiDlist] Free surface animation Hello, I am animating the evolution of the surface of a lake (see attached). I would like to know how one can draw the volume under this free surface using gid. Best regards Abdou
Could you please tell me or send the source of
information or source code on the surface
parameterization for shell.. I would like to mapp the
nodes in space into 2D…UV parametric space..
Anybody knows something about this???
Hi all Gidlists Could you please tell me or send the source of information or source code on the surface parameterization for shell.. I would like to mapp the nodes in space into 2D…UV parametric space.. Anybody knows something about this??? Regards.
Hi Enrique
Thanks very much for your advice and information. I
have attached the shell surface herewith. How would we
write the parametric of all the nodes of such surface
which has about 100 nodes.??
Regards
It exists a GiD-Tcl Info command to get this type of geometric information (coordinates, derivatives, etc): for example to get the u,v parameter coordinates of a 3D coordinates x,y,z on the surface number 28, can use set uv [GiD_Info parametric surface 28 uv_fromcoord $x $y $z] Read GiD Help about Tcl/Tk extension-Control functions-Info function-Parametric Regards Enrique Escolano ----- Original Message ----- From: “VSayako Willy” vilaysako at yahoo.com To: gidlist at gatxan.cimne.upc.edu Sent: Wednesday, October 12, 2005 5:51 AM Subject: [GiDlist] Surface parameterization
Hi all Gidlists Could you please tell me or send the source of information or source code on the surface parameterization for shell.. I would like to mapp the nodes in space into 2D…UV parametric space.. Anybody knows something about this??? Regards.
Hi Willy,
Your model don’t have any geometric surface (you probably imported a mesh), then it not exists a “surface space parameter” to ask.
In other hand, the user don’t have any control over the parameterization of the surfaces, then maybe the uv parameter space coordinates are not valid for your use.
I generated by revolution a new surface matching your simple mesh shape. I attach your model with this surface number 1.
Then you can ask for example the uv coordinates of all your nodes over this surface with this tcl procedure
proc GetUVCoordinates { } {
set res “”
set numsurface 1
set infonodes [GiD_Info mesh nodes]
foreach {num x y z} $infonodes {
set uv [GiD_Info parametric surface $numsurface uv_fromcoord $x $y $z]
append res “$num $uv\n”
}
WarnWinText $res
return $res
}
To test it:
copy this definition procedure an put in the GiD lower command line, preceded by “-np-” (to indicate GiD that is tcl code)
-np- proc GetUVCoordinates { } {
set res “”
set numsurface 1
set infonodes [GiD_Info mesh nodes]
foreach {num x y z} $infonodes {
set uv [GiD_Info parametric surface $numsurface uv_fromcoord $x $y $z]
append res “$num $uv\n”
}
WarnWinText $res
return $res
}
Then the procedure is defined inside GiD, and can invoke it with
-np- GetUVCoordinates
(it will open a window with the results)
Note: It’s possible to easily call tcl procedures from customized buttons of the macros toolbar.
Hi Enrique Thanks very much for your advice and information. I have attached the shell surface herewith. How would we write the parametric of all the nodes of such surface which has about 100 nodes.?? Regards
— Enrique Escolano escolano at cimne.upc.edu wrote: It exists a GiD-Tcl Info command to get this type of geometric information (coordinates, derivatives, etc): for example to get the u,v parameter coordinates of a 3D coordinates x,y,z on the surface number 28, can use set uv [GiD_Info parametric surface 28 uv_fromcoord $x $y $z] Read GiD Help about Tcl/Tk extension-Control functions-Info function-Parametric Regards Enrique Escolano ----- Original Message ----- From: “VSayako Willy” vilaysako at yahoo.com To: gidlist at gatxan.cimne.upc.edu Sent: Wednesday, October 12, 2005 5:51 AM Subject: [GiDlist] Surface parameterization
Hi all Gidlists Could you please tell me or send the source of information or source code on the surface parameterization for shell.. I would like to mapp the nodes in space into 2D…UV parametric space.. Anybody knows something about this??? Regards.
Hi Enrique
Where should I put this tcl proc?? in which file
of GiD?or which directory?
Enrique what do you mean by uv-parametric space
here? isn’t the x-y coordinate of 3D x-y-z cartesian
coordinates?
What is the idea of uv-parametric used in GiD? how
could I get this uv-parametric generated inside my
source code? instead of reading as a input file of
this uv data.. I just read the 3D xyz coordinates in
the data input file then write the source code to
calculate the uv-parametric automatically inside the
code..
Hi Willy, Your model don’t have any geometric surface (you probably imported a mesh), then it not exists a “surface space parameter” to ask. In other hand, the user don’t have any control over the parameterization of the surfaces, then maybe the uv parameter space coordinates are not valid for your use. I generated by revolution a new surface matching your simple mesh shape. I attach your model with this surface number 1. Then you can ask for example the uv coordinates of all your nodes over this surface with this tcl procedure proc GetUVCoordinates { } { set res “” set numsurface 1 set infonodes [GiD_Info mesh nodes] foreach {num x y z} $infonodes { set uv [GiD_Info parametric surface $numsurface uv_fromcoord $x $y $z] append res “$num $uv\n” } WarnWinText $res return $res } To test it: copy this definition procedure an put in the GiD lower command line, preceded by “-np-” (to indicate GiD that is tcl code) -np- proc GetUVCoordinates { } { set res “” set numsurface 1 set infonodes [GiD_Info mesh nodes] foreach {num x y z} $infonodes { set uv [GiD_Info parametric surface $numsurface uv_fromcoord $x $y $z] append res “$num $uv\n” } WarnWinText $res return $res } Then the procedure is defined inside GiD, and can invoke it with -np- GetUVCoordinates (it will open a window with the results) Note: It’s possible to easily call tcl procedures from customized buttons of the macros toolbar. ----- Original Message ----- From: “VSayako Willy” vilaysako at yahoo.com To: gidlist at gatxan.cimne.upc.edu Sent: Saturday, October 15, 2005 4:41 AM Subject: Re: [GiDlist] Surface parameterization
Hi Enrique Thanks very much for your advice and information. I have attached the shell surface herewith. How would we write the parametric of all the nodes of such surface which has about 100 nodes.?? Regards
— Enrique Escolano escolano at cimne.upc.edu wrote: It exists a GiD-Tcl Info command to get this type of geometric information (coordinates, derivatives, etc): for example to get the u,v parameter coordinates of a 3D coordinates x,y,z on the surface number 28, can use set uv [GiD_Info parametric surface 28 uv_fromcoord $x $y $z] Read GiD Help about Tcl/Tk extension-Control functions-Info function-Parametric Regards Enrique Escolano ----- Original Message ----- From: “VSayako Willy” vilaysako at yahoo.com To: gidlist at gatxan.cimne.upc.edu Sent: Wednesday, October 12, 2005 5:51 AM Subject: [GiDlist] Surface parameterization
Hi all Gidlists Could you please tell me or send the source of information or source code on the surface parameterization for shell.. I would like to mapp the nodes in space into 2D…UV parametric space.. Anybody knows something about this??? Regards.
For a fast test, it’s not necessary to save the code in any file. you can
copy and paste in the GiD command line, preceded by “-np-” as I said in the
previous message:
-np- proc GetUVCoordinates…
And use with:
-np- GetUVCoordinates
A parametric surface is a mapping from a 2D parameter space (a 1x1 square)
to 3D coordinates. { x(u,v) ,y(u,v), z(u,v) }
Maybe you can use this u,v space.
Note: each surface has his own parametric space, then you only can use this
trick if your 3D nodes are generated from a single source surface.
In general, only from a cloud of points you can’t create a surface to use
his space parameter.
The uv_fromcoord command get the inverse: from a 3D coordinate on the
surface, returning the u,v parameters
(to calculate this inverse of the parametrization, you need to solve a
non-linear two equation system, finding u,v that minimize the distance to
the 3D point)
Hi Enrique Where should I put this tcl proc?? in which file of GiD?or which directory? Enrique what do you mean by uv-parametric space here? isn’t the x-y coordinate of 3D x-y-z cartesian coordinates? What is the idea of uv-parametric used in GiD? how could I get this uv-parametric generated inside my source code? instead of reading as a input file of this uv data.. I just read the 3D xyz coordinates in the data input file then write the source code to calculate the uv-parametric automatically inside the code.. Best regards. — Enrique Escolano escolano at cimne.upc.edu wrote: Hi Willy, Your model don’t have any geometric surface (you probably imported a mesh), then it not exists a “surface space parameter” to ask. In other hand, the user don’t have any control over the parameterization of the surfaces, then maybe the uv parameter space coordinates are not valid for your use. I generated by revolution a new surface matching your simple mesh shape. I attach your model with this surface number 1. Then you can ask for example the uv coordinates of all your nodes over this surface with this tcl procedure proc GetUVCoordinates { } { set res “” set numsurface 1 set infonodes [GiD_Info mesh nodes] foreach {num x y z} $infonodes { set uv [GiD_Info parametric surface $numsurface uv_fromcoord $x $y $z] append res “$num $uv\n” } WarnWinText $res return $res } To test it: copy this definition procedure an put in the GiD lower command line, preceded by “-np-” (to indicate GiD that is tcl code) -np- proc GetUVCoordinates { } { set res “” set numsurface 1 set infonodes [GiD_Info mesh nodes] foreach {num x y z} $infonodes { set uv [GiD_Info parametric surface $numsurface uv_fromcoord $x $y $z] append res “$num $uv\n” } WarnWinText $res return $res } Then the procedure is defined inside GiD, and can invoke it with -np- GetUVCoordinates (it will open a window with the results) Note: It’s possible to easily call tcl procedures from customized buttons of the macros toolbar. ----- Original Message ----- From: “VSayako Willy” vilaysako at yahoo.com To: gidlist at gatxan.cimne.upc.edu Sent: Saturday, October 15, 2005 4:41 AM Subject: Re: [GiDlist] Surface parameterization
Hi Enrique Thanks very much for your advice and information. I have attached the shell surface herewith. How would we write the parametric of all the nodes of such surface which has about 100 nodes.?? Regards
— Enrique Escolano escolano at cimne.upc.edu wrote: It exists a GiD-Tcl Info command to get this type of geometric information (coordinates, derivatives, etc): for example to get the u,v parameter coordinates of a 3D coordinates x,y,z on the surface number 28, can use set uv [GiD_Info parametric surface 28 uv_fromcoord $x $y $z] Read GiD Help about Tcl/Tk extension-Control functions-Info function-Parametric Regards Enrique Escolano ----- Original Message ----- From: “VSayako Willy” vilaysako at yahoo.com To: gidlist at gatxan.cimne.upc.edu Sent: Wednesday, October 12, 2005 5:51 AM Subject: [GiDlist] Surface parameterization
Hi all Gidlists Could you please tell me or send the source of information or source code on the surface parameterization for shell.. I would like to mapp the nodes in space into 2D…UV parametric space.. Anybody knows something about this??? Regards.
Hi Enrique
The proc you wrote gives the window box of Copy, Translation, mirror, scale, and offset… What and how can I know anything about uv-parameter from this window box. Actually we use this box only for extrution purpose?? Would you please to elaborate.
Regards
Enrique Escolano escolano at cimne.upc.edu wrote:
Hi Willy,
Your model don’t have any geometric surface (you probably imported a mesh), then it not exists a “surface space parameter” to ask.
In other hand, the user don’t have any control over the parameterization of the surfaces, then maybe the uv parameter space coordinates are not valid for your use.
I generated by revolution a new surface matching your simple mesh shape. I attach your model with this surface number 1.
Then you can ask for example the uv coordinates of all your nodes over this surface with this tcl procedure
proc GetUVCoordinates { } {
set res “”
set numsurface 1
set infonodes [GiD_Info mesh nodes]
foreach {num x y z} $infonodes {
set uv [GiD_Info parametric surface $numsurface uv_fromcoord $x $y $z]
append res “$num $uv\n”
}
WarnWinText $res
return $res
}
To test it:
copy this definition procedure an put in the GiD lower command line, preceded by “-np-” (to indicate GiD that is tcl code)
-np- proc GetUVCoordinates { } {
set res “”
set numsurface 1
set infonodes [GiD_Info mesh nodes]
foreach {num x y z} $infonodes {
set uv [GiD_Info parametric surface $numsurface uv_fromcoord $x $y $z]
append res “$num $uv\n”
}
WarnWinText $res
return $res
}
Then the procedure is defined inside GiD, and can invoke it with
-np- GetUVCoordinates
(it will open a window with the results)
Note: It’s possible to easily call tcl procedures from customized buttons of the macros toolbar.
Hi Enrique Thanks very much for your advice and information. I have attached the shell surface herewith. How would we write the parametric of all the nodes of such surface which has about 100 nodes.?? Regards
— Enrique Escolano escolano at cimne.upc.edu wrote: It exists a GiD-Tcl Info command to get this type of geometric information (coordinates, derivatives, etc): for example to get the u,v parameter coordinates of a 3D coordinates x,y,z on the surface number 28, can use set uv [GiD_Info parametric surface 28 uv_fromcoord $x $y $z] Read GiD Help about Tcl/Tk extension-Control functions-Info function-Parametric Regards Enrique Escolano ----- Original Message ----- From: “VSayako Willy” vilaysako at yahoo.com To: gidlist at gatxan.cimne.upc.edu Sent: Wednesday, October 12, 2005 5:51 AM Subject: [GiDlist] Surface parameterization
Hi all Gidlists Could you please tell me or send the source of information or source code on the surface parameterization for shell.. I would like to mapp the nodes in space into 2D…UV parametric space.. Anybody knows something about this??? Regards.
Hi, from what you are telling, it’s sure that you have selected de Tcl code
from the mail, made a ctrl.-C and change to GiD, and pressed Ctrl-V to paste
the code in the command line entry. But, in gid, Ctrl-V is the shortcut for
the Move window, which will popup and that is what happened to you.
Instead of using Ctrl-V to paste the code, used Shift-Insert.
But, as Enrique told you, you’ll need a Surface to get’s this UV information
and in the example you’ve sent, there is no geometrical surface. So you’ll
not get any UV information.
The proc you wrote gives the window box of Copy, Translation, mirror,
scale, and offset… What and how can I know anything about uv-parameter
from this window box. Actually we use this box only for extrution purpose??
Would you please to elaborate.
Your model don’t have any geometric surface (you probably imported a mesh),
then it not exists a “surface space parameter” to ask.
In other hand, the user don’t have any control over the parameterization of
the surfaces, then maybe the uv parameter space coordinates are not valid
for your use.
I generated by revolution a new surface matching your simple mesh shape. I
attach your model with this surface number 1.
Then you can ask for example the uv coordinates of all your nodes over this
surface with this tcl procedure
proc GetUVCoordinates { } {
set res “”
set numsurface 1
set infonodes [GiD_Info mesh nodes]
foreach {num x y z} $infonodes {
set uv [GiD_Info parametric surface $numsurface uv_fromcoord $x $y
$z]
append res “$num $uv\n”
}
WarnWinText $res
return $res
}
To test it:
copy this definition procedure an put in the GiD lower command line,
preceded by “-np-” (to indicate GiD that is tcl code)
-np- proc GetUVCoordinates { } {
set res “”
set numsurface 1
set infonodes [GiD_Info mesh nodes]
foreach {num x y z} $infonodes {
set uv [GiD_Info parametric surface $numsurface uv_fromcoord $x $y
$z]
append res “$num $uv\n”
}
WarnWinText $res
return $res
}
Then the procedure is defined inside GiD, and can invoke it with
-np- GetUVCoordinates
(it will open a window with the results)
Note: It’s possible to easily call tcl procedures from customized buttons of
the macros toolbar.
Hi Enrique Thanks very much for your advice and information. I have attached the shell surface herewith. How would we write the parametric of all the nodes of such surface which has about 100 nodes.?? Regards
It exists a GiD-Tcl Info command to get this type of geometric information (coordinates, derivatives, etc): for example to get the u,v parameter coordinates of a 3D coordinates x,y,z on the surface number 28, can use set uv [GiD_Info parametric surface 28 uv_fromcoord $x $y $z] ! Read GiD Help about Tcl/Tk extension-Control functions-Info function-Parametric Regards Enrique Escolano ----- Original Message ----- From: “VSayako Willy” mailto:vilaysako at yahoo.com vilaysako at yahoo.com To: mailto:gidlist at gatxan.cimne.upc.edu gidlist at gatxan.cimne.upc.edu Sent: Wednesday, October 12, 2005 5:51 AM Subject: [GiDlist] Surface parameterization
Hi all Gidlists Could you please tell me or send the source of information or source code on the surface parameterization for shell.. I would like to mapp the nod! es in space into 2D…UV parametric space.. Anybody knows something about this??? Regards.