Contact CIMNE
Edificio C-1, Campus Norte UPC C/ Gran Capitán s/n. 08034 Barcelona - Spain
|
|   |
Support
Mailing list
GiDList year 2003
| GidList 2003 |
|
Mailing list Archive year 2003
[GiDlist] Coordinates of the direction of observation in GID 7.2 version ?
Send by: ieea Dear All, I would like to come back to the coordinates of the direction of observation of the geometry in GID. Is the 7.2 version take into account this possibility ? In my electromagnetic problem, the user could find easily the direction of propagation of a wave. Thanks again for you response and please receive my best wishes for the 2003 new year ! May all your (and mine too!) GID projects born this year !! G.W.R.Geis ieea a écrit : > Thank you for the response. > > I have seen that the m matrix can be useful to obtain the 3D coordinates of the > observation vector. > I think this information could be useful to easily find an orientation vector of an ... [GiDlist] Coordinates of the direction of observation in GID 7.2 version ?
Send by: Enrique Escolano You can restore a view previously saved in a file with view->Save... To restore the view, use from tcl: .central.s process escape escape escape escape View ReadView "filename" Enrique Escolano ----- Original Message ----- From: "ieea" <ieea at club-internet.fr> To: <gidlist at gatxan.cimne.upc.es> Sent: Thursday, January 03, 2002 3:16 PM Subject: [GiDlist] Coordinates of the direction of observation in GID 7.2 version ? > Dear All, > > I would like to come back to the coordinates of the direction of ... [GiDlist] arrays in tcl
Send by: Pablo Perez del Castillo Hello;
I am trying to modify the "parametric.tcl" file, so i wish to calculate the
lenght of parametric curve, like sum every segment(i), But i have troubles to
declarate the array, anybody can help me??
Advanced thanks;
i attached a pice of file to modify.
for { set i 0 } { $i < $ParametricPriv(NumberPointsT) } { incr i} {
set t [expr $a+$i*$b]
set x [expr $fx]
set y [expr $fy]
set z [expr $fz]
.central.s process $x $y $z
#now i try to put the array
set xlenght(i) $x
set y1enght(i) $y
set z1enght(i) $z
}
# calculate lenght
set long 0
for { set i 1 } { $i < $ParametricPriv(NumberPointsT) } { incr i} {
set j [expr $i-1]
set long[expr
sqrt(($xlenght(i)-$xlenght($j))*($xlenght(i)-$xlenght($j))+($ylenght(i)-$ylenght($j))*($ylenght(i)-$ylenght($j))+($zlenght(i)-$zlenght($j))*($zlenght(i)-$zlenght($j)))+$long]
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: ...
[GiDlist] arrays in tcl
Send by: Aleix Valls Hi,
There are some errors in this expression: (in red) maybe problems come
from these errors instead of tcl arrays.
set xlength($i) $x
set y1ength($i) $y
set z1ength($i) $z
And:
set long _ [expr
sqrt(($xlength($i)-$xlength($j))*($xlength($i)-$xlength($j))+($ylength($
i)-$ylength($j))*($ylength($i)-$ylength($j))+($zlength($i)-$zlength($j))
*($zlength($i)-$zlength($j)))+$long]
To compress this expression you can use pow(x,y), in your case
pow((($xlength($i)-$xlength($j),2)
..
Look that length=lenght
But remember that if any variable will be use like an array never can be
use like string or list before. For example:
Set zlength
Set zlength(1) 3
It is and error.!!!!
Bye,
Aleix
-----Mensaje original-----
De: ...
[GiDlist] arrays in tcl
Send by: Pablo Perez del Castillo alot of thanks Aleix Aleix Valls escribió: > Hi, > > There are some errors in this expression: (in red) maybe problems come > from these errors instead of tcl arrays. > > set xlength($i) $x > set y1ength($i) $y > set z1ength($i) $z > > And: > > set long _ [expr > sqrt(($xlength($i)-$xlength($j))*($xlength($i)-$xlength($j))+($ylength($i)-$ylength($j))*($ylength($i)-$ylength($j))+($zlength($i)-$zlength($j))*($zlength($i)-$zlength($j)))+$long] > > To compress this expression you can use pow(x,y), in your case ... [GiDlist] arrays in tcl
Send by: Enrique Escolano As Aleix says, the error surely is because the bad use of xlenght(i) instead xlenght($i) ... It is not necessary to store the coordinates, you can calculate the long value directly inside the first loop. You can also ask GiD to obtain a more acurate length of some curve with a regexp of the result of: .central.s info list_entities lines "line number" or with .central.s info listmassproperties lines "line number" Enrique Escolano ----- Original Message ----- From: Pablo Perez del Castillo To: gidlist at gatxan.cimne.upc.es Sent: Saturday, January 04, 2003 1:19 AM Subject: [GiDlist] arrays in tcl Hello; I am trying to modify the "parametric.tcl" file, so i wish to calculate the lenght of parametric curve, like sum every segment(i), But i have troubles to declarate the array, anybody can help me?? Advanced thanks; i attached a pice of file to modify. for { set i 0 } { $i < $ParametricPriv(NumberPointsT) } { incr i} { set t [expr $a+$i*$b] set x [expr $fx] set y [expr $fy] set z [expr $fz] .central.s process $x $y $z #now i try to put the array set xlenght(i) $x set y1enght(i) $y set z1enght(i) $z } # calculate lenght set long 0 for { set i 1 } { $i < $ParametricPriv(NumberPointsT) } { incr i} { set j [expr $i-1] set long[expr sqrt(($xlenght(i)-$xlenght($j))*($xlenght(i)-$xlenght($j))+($ylenght(i)-$ylenght($j))*($ylenght(i)-$ylenght($j))+($zlenght(i)-$zlenght($j))*($zlenght(i)-$zlenght($j)))+$long] } -------------- next part -------------- An HTML attachment was scrubbed... URL: ... [GiDlist] arrays in tcl
Send by: Pablo Perez del Castillo Hello;
How Enrique note, if it use ".central.s info listmassproperties lines
"line number"", it is fater and easy. But you can tell me how many
points use GID to calculate the lenght?, i am using profiles similar to
NACA.
Thanks again
Another question;
I created a new menu, and it has a jpg pic, i had a lot of troubles to
get it, at the end i used the sample "coils", and i got it. Anybody can
explain me when declarate $dir in the next proc?
proc InitGIDProject { dir } {
CreateMenu "ToolSail" "PRE"
InsertMenuOption "ToolSail" "Section Sail" 0 "SectionSail "$dir""
"PRE"
UpdateMenus
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: ...
[GiDlist] arrays in tcl
Send by: Enrique Escolano 1) The length of a parametric Nurbs line is calculated inside GiD, foreach interval between "knots", with a Gauss-Legendre numerical integration rule of 8 points. (it is not calculated as a simple piecewise linear interpolation)
2) To use the value $dir provided by the InitGIDProject procedure in anoter procedure, you can store the value in a global variable,
for example:
proc InitGIDProject { dir } {
global PabloPriv
set PabloPriv(directory) $dir
}
proc AnotherProc { } {
global PabloPriv
WarnWinText "The value of dir is $PabloPriv(directory)"
}
Regards
Enrique Escolano
----- Original Message -----
From: Pablo Perez del Castillo
To: ...
[GiDlist] Create ICON from GiD.
Send by: VSayako Willy Happy New year to all of GiDListers!!!! I tried to create the ICONS from GiD. I got the ICONs but I got trouble with its sizes. How we fix the size of those ICONS?? Do we have to specify the size of the ICON.gif from the xxxx.gif software source?? Regards. __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com [GiDlist] Create ICON from GiD.
Send by: Enrique Escolano Where is trying to put the *.gif image: In a toolbar ? in the conditions or materials window? ... For example, in the toolbars, the "standard" gifs used by GiD are of 24x24 pixels, but this size is arbitrary. ----- Original Message ----- From: "VSayako Willy" <vilaysako at yahoo.com> To: <gidlist at gatxan.cimne.upc.es> Sent: Tuesday, January 07, 2003 4:02 AM Subject: [GiDlist] Create ICON from GiD. > > Happy New year to all of GiDListers!!!! > > I tried to create the ICONS from GiD. I got the ... [GiDlist] Changing the name of the materials menu
Send by: ieea Dear all, I find the materials configuration file very powerful, but in some cases (in my case in particular !) the name "material" is not well adapted. Is it possible, in a problem type, to assign an other name, both in the data menu and as the title of the materials window. Thank you for your response G.W.R.Geis [GiDlist] Changing the name of the materials menu
Send by: Jorge Suit Perez Ronda Dear Geis, You can do the following in your InitGIDProject routine: GidChangeDataLabel "Materials" "TheNameYouWant" best regards, Jorge Suit ieea wrote: >Dear all, > >I find the materials configuration file very powerful, but in some cases >(in my case in particular !) the name "material" is not well adapted. >Is it possible, in a problem type, to assign an other name, both in the >data menu and as the title of the materials window. > >Thank you for your response > >G.W.R.Geis > >_______________________________________________ ... [GiDlist] Changing the name of the materials menu
Send by: Aleix Valls It is possible:
In materials file (problemtype_name.mat) create a book (using
instruction BOOK: book_name)
In tcl file (problemtype_name.tcl) use the following commands:
Proc InitGIDProject {dir} {
.
.
.
GidChangeDataLabel "Materials" ""
#To delete materials entry in Data menu
GidAddUserDataOptions "book_name" "GidOpenMaterials book_name"
#To add new Data menu entry with name "book_name"
.
.
.
.
}
If you need more help, you can take a look to Nastran problem type like
an example.
Bye,
Aleix
-----Mensaje original-----
De: gidlist-admin at gatxan.cimne.upc.es
[mailto:gidlist-admin at gatxan.cimne.upc.es...
[GiDlist] Changing the name of the materials menu
Send by: Enrique Escolano A problem type can customize the labels used for "Conditions" , "Materials", "Problem Data" or "Interval Data"
using the tcl procedure GidChangeDataLabel
This is the header of this procedure:
proc GidChangeDataLabel { GidLabel NewLabel {Singular ""} }
GidLabel can be "Conditions" , "Materials", "Problem Data" or "Interval Data"
The third parameter is optional, to specify the singular word
After use this procedure, use the procedure UpdateMenus
for example to use the word "Properties" instead "Materials", use:
GidChangeDataLabel Materials Properties
UpdateMenus
Regards
Enrique Escolano
----- Original Message -----
From: "ieea" <ieea at club-internet.fr...
[GiDlist] use RamDebugger
Send by: Pablo Perez del Castillo I use Ramdebugger with gid with succesfull, but there is a file that debug does not work and tell me: "warning: error! line ??? is not instrumented" what mean? Advanced thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20030106/059dfc35/attachment.htm [GiDlist] combobox in tcl-file
Send by: Andreas Friedberg hi everybody,
I've created a tcl-file for a problemtype that allows me to generate geometric entities from a window called "Geometry" with the procedure "Geometry". I need to create a sort of combobox widget inside this window with three standard values between which the user has to choose. I tried to do that with the listbox widget as described in the standard tcl-documentation, but I couldn't manage to assign the currently selected value of the listbox to a global variable so as to use this information later on in the procedure "Draw". So I had to create three checkbuttons that can be turned on and off, but this solution is not satisfying, because I don't know how to deselect the other two buttons when one of the checkbuttons is selected.
This is how looks my tcl-file now:
...
proc Geometrie {} {
global GeometriePriv
set w .gid.geometrie
InitWindow $w "Geometrie" GeometryWindow
frame $w.title
label $w.title.belastungsArt -text " Belastungsart "
frame $w.check
label $w.check.sLt -text " schlaffe Last "
checkbutton $w.check.sLcb -variable GeometriePriv(sL)
label $w.check.sPt -text " starre Plate "
checkbutton $w.check.sPcb -variable GeometriePriv(sP)
label $w.check.ePt -text " elastische Platte "
checkbutton $w.check.ePcb -variable GeometriePriv(eP)
if { $GeometriePriv(sL) } { $w.check.sPcb deselect
$w.check.ePcb deselect }
if { $GeometriePriv(sP) } { $w.check.sLcb deselect
$w.check.ePcb deselect }
if { $GeometriePriv(eP) } { $w.check.sLcb deselect
$w.check.sPcb deselect }
...
These last if-commands do not work instantly. In fact, what I need is a combobox like the ones implemented in the configuration files with the command:
QUESTION: Belastung#CB#(one,two,three)
VALUE: one
Then I need to store the currently selected value in a variable so I can use it in another procedure.
Can anybody help?
thanks, Andreas
Andreas
--
...
[GiDlist] combobox in tcl-file
Send by: Enrique Escolano You can use a combobox Bwidget (the Bwitgets code is included by default to be used from GiD)
with -textvariable linked to your global variable, for example:
proc Geometrie {} {
global GeometriePriv
set w .gid.geometrie
InitWindow $w "Geometrie" GeometryWindow
set GeometriePriv(Belastungsart) "three"
frame $w.title
label $w.title.lb -text "Belastungsart"
combobox $w.title.combo -editable 0 -textvariable GeometriePriv(Belastungsart)
$w.title.combo add "one"
$w.title.combo add "two"
$w.title.combo add "three"
button $w.title.but -text "See Value" -command SeeValue
grid $w.title.lb $w.title.combo
grid $w.title.but
grid $w.title
}
proc SeeValue {} {
global GeometriePriv
WarnWin $GeometriePriv(Belastungsart)
}
It is also possible, to separate the showed text from the variable value
(of interest for example in multilingual translations), using -command
to update the variable value from the combobox and with a variable value
trace to update the combobox text
Regards
Enrique Escolano
----- Original Message -----
From: "Andreas Friedberg" <...
[GiDlist] combobox in tcl-file
Send by: Enrique Escolano Sorry,a small bug, in the previous example, the combo widget works ok in GiD, but is not a BWidget (the BWidget does not have the "add" method).
To use the bwidget, instead
combobox $w.title.combo -editable 0 -textvariable GeometriePriv(Belastungsart)
$w.title.combo add "one"
$w.title.combo add "two"
$w.title.combo add "three"
use:
ComboBox $w.title.combo -editable 0 -textvariable GeometriePriv(Belastungsart) -values {"one" "two" "three"}
Note the upper letters of the "ComboBox" Bwidget command and the -values parameter
Enrique Escolano
----- Original Message -----
From: Enrique Escolano
To: gidlist at gatxan.cimne.upc.es...
[GiDlist] How to create a Table in tcl?
Send by: VSayako Willy Hi GiD Team How can we create a Table (somehow like Table in word or excel) with the tcl/Tk? any one has some ideas? Please advice. Warm Regards __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com [GiDlist] How to create a Table in tcl?
Send by: Enrique Escolano See the Tktable widget from: http://tktable.sourceforge.net/ Enrique Escolano ----- Original Message ----- From: "VSayako Willy" <vilaysako at yahoo.com> To: <gidlist at gatxan.cimne.upc.es> Sent: Thursday, January 09, 2003 8:56 AM Subject: [GiDlist] How to create a Table in tcl? > > Hi GiD Team > > How can we create a Table (somehow like Table in > word or excel) with the tcl/Tk? any one has some ... [GiDlist] sharp angle in Tdyn3d
Send by: Pablo Perez del Castillo Hello; In Ransol demo, i am trying to modelate a wing with diferent section along the span, so the sharp angle is changing along the span, Tdyn3d has option about sharp angle to correct velocities in the trailing edge, is it necesary to mark?, it is necesary what angle i must to entry,?? Advanced thanks Pablo [GiDlist] sharp angle in Tdyn3d
Send by: Enrique Escolano Sharp_Angle should be slightly greater than the maximum angle of the wing. This will apply the correct condition for the whole wing. Regards ----- Original Message ----- From: "Pablo Perez del Castillo" <pablopdc at terra.es> To: <gidlist at gatxan.cimne.upc.es> Sent: Friday, January 10, 2003 6:18 PM Subject: [GiDlist] sharp angle in Tdyn3d > Hello; > In Ransol demo, i am trying to modelate a wing with diferent section > along the span, so the sharp angle is changing along the span, Tdyn3d ... [GiDlist] sharp angle in Tdyn3d
Send by: Pablo Perez del Castillo Hello again; I try with and without Sharp_Angle the same wing, and it gets lift and drag bigger than without S_A, so can you explain me how works this option inside the solver, or what is the physical sense of this option? (it force the trailing edge to kutta condition??) A lot of thanks Pablo Enrique Escolano escribió: > Sharp_Angle should be slightly greater than the maximum angle of the > wing. This will apply the correct condition for the whole wing. > > Regards > ----- Original Message ----- > From: "Pablo Perez del Castillo" <pablopdc at terra.es... [GiDlist] sharp angle in Tdyn3d
Send by: Enrique Escolano Sorry, I' unknown this concepts about the problem type Tdyn. I' only known about GiD. Try to send your Tdyn CFD questions to info at compassis.com Enrique ----- Original Message ----- From: "Pablo Perez del Castillo" <pablopdc at terra.es> To: <gidlist at gatxan.cimne.upc.es> Sent: Saturday, January 11, 2003 1:38 AM Subject: Re: [GiDlist] sharp angle in Tdyn3d > Hello again; > I try with and without Sharp_Angle the same wing, and it gets lift and ... [GiDlist] (no subject)
Send by: simonelazzara77 at libero.it I tried to execute Tdyn from a .bat file and there aren't any problem if I use a coarse mesh, but if I use a finer mesh I can't obtain any result and I obtain an .err file :Ransol module is limited to 10.000 nodes. Why? I tried to execute the .bch file directly from Gid and it runs perfectly. I need to execute Tdyn from .bat file because it is part of an optimization loop, so how can I do? Regards Simone [GiDlist] limitation problems
Send by: simonelazzara77 at libero.it I tried to execute Tdyn from a .bat file and there aren't any problem if I use a coarse mesh, but if I use a finer mesh I can't obtain any result and I obtain an .err file :Ransol module is limited to 10.000 nodes. Why? I tried to execute the .bch file directly from Gid and it runs perfectly. I need to execute Tdyn from .bat file because it is part of an optimization loop, so how can I do? Regards Simone [GiDlist] troubles when execute gid
Send by: Pablo Perez del Castillo Hola; Estaba calculando con tdyn3d, cerre el programa de gid, pero deje calculando el tdyn3d, accidentalmente me finalizaron la tarea de tdyn3d y ahora cada vez trato de usar Gid, me sale un aviso de que el "proceso de calculo finalizo", le doy ok y directamente me da un error de gid.exe. Como puedo evitar esto, hetratado de buscar el archivo que almacena esto pero no hay manera. Muchas gracias. Pablo [GiDlist] troubles when execute gid
Send by: Enrique Escolano La información de que el proceso de tdyn estaba corriendo en el momento de salir de GiD se almacena en el fichero "gid.ini". Este fichero puede estar situado en diferentes ubicaciones según sea WinNT, 2000, etc. Por ejemplo en Win2000 está en: C:Documents and Settings<usuario.maquina>Datos de programaGiDgid.ini (donde <usuario.maquina> depende de tu nombre de usuario de la sesion y del nombre de tu ordenador) Si no lo encuentras fácilmente, haz una búsqueda de gid.ini desde el explorador de ficheros. Una vez encontrado, puedes probar a editarlo y quitar la línea referente a tu proceso pendiente, o si no lo ves claro puedes borrar el fichero (sólamente perderas algunas preferencias sin importancia), GiD lo volverá a crear automáticamente. Enrique Escolano ----- Original Message ----- From: "Pablo Perez del Castillo" <... [GiDlist] troubles when execute gid
Send by: Pablo Perez del Castillo muchas gracias Enrique Enrique Escolano escribió: > La información de que el proceso de tdyn estaba corriendo en el momento de > salir de GiD se almacena en > el fichero "gid.ini". > Este fichero puede estar situado en diferentes ubicaciones según sea WinNT, > 2000, etc. > Por ejemplo en Win2000 está en: > C:Documents and Settings<usuario.maquina>Datos de programaGiDgid.ini > (donde <usuario.maquina> depende de tu nombre de usuario de la sesion y del > nombre de tu ordenador) > > Si no lo encuentras fácilmente, haz una búsqueda de gid.ini desde el ... [GiDlist] limitation problems
Send by: Miguel A. de Riera Pasenau Every time a .bat is executed, GiD changes the current directory to the current working project, and copies there the 'password.txt' file ( which should be inside the problemtype Tdyn.gid), so that when the Tdyn.exe is called from the .bat batch file it finds the password. If you run the .bat directly, you have to copy this file by hand. Remember to enter also the rest of the arguments to the .bat file. miguel >From: simonelazzara77 at libero.it >Reply-To: gidlist at gatxan.cimne.upc.es... [GiDlist] Coordinates of the direction of observation
Send by: ieea Hi, It should be a good option for the next generation of GID. Could you tell me what means the v rotation vector Thank you, G.W.R.Geis "Miguel A. de Riera Pasenau" a écrit : > Hi, > > what is you idea? > no in a direct way. but, you can get the view parameters through the > 'View->View->Save' menu option which writes an ASCII file the > real-world-3D-window limits, the rotation vector, the rotation matrix > and the center of the figure. we can find a way to make it possible and > usable for future versions, including the drawing of some simple 3D objects ... [GiDlist] Elements connected to a node
Send by: ieea Dear All, Has somebody a response about how to find the elements (Triangle) connected to a node ? Thank you G.W.R.Geis [GiDlist] Elements connected to a node
Send by: Ramon Ribó Hello,
The answer to this question is very simple if you are ready to use
TCL:
foreach "num x y z" [.central.s info Mesh Nodes] {
set nodes($num) [list $x $y $z]
}
foreach "num n1 n2 n3 mat" [.central.s info Mesh Elements Triangle] {
set trielms($num) [list $n1 $n2 $n3 $mat]
lappend trinodeselms($n1) $num
lappend trinodeselms($n2) $num
lappend trinodeselms($n3) $num
}
and trinodeselms will give you all the triangles around one node.
Regards,
--
Compass Ing. y Sistemas Dr. Ramon Ribó
http://www.compassis.com ramsan at compassis.com...
[GiDlist] GID crash
Send by: Billy Fälth Hello I am using GID 7.2 on Win XP and NVIDIA GeForce 3 Ti200 graphic card. I rather often (several time per day) get problems when using GID as postprocessor. Suddenly I can not reach the top menus. They just dont show up when I pick them, but the buttons in the window are still working. The only way I have figured out to solve the problem is to leave post process mode and then go back again. After that the program works well until next crash. It seems not to be any coupling between this problem and some special commands I give. The same problem was in GID 7.1. Is this a known problem? Is there some thing to do about it? Thank you /BF Billy Fälth Clay Technology AB Ideon Research Center S 223 70 Lund, SWEDEN Tel +46 46 286 25 81 Fax +46 46 13 42 30 www.claytech.se <... [GiDlist] GID crash
Send by: Miguel A. de Riera Pasenau Does this happens with different models? can you send as, or directly to me, an exmaple and its commands sequence so we can reproduce the problem? can you send us also your gid.ini, usually located under 'Document and Settings'... or 'Windows'? Which driver version are you using (Screen or Monitor properties, configuration panel, 'advanced settings' button, 'GeForce3 Ti200' panel, version information listbox)? are you using the latest whql certified drivers, v. x.x.x.4072? miguel | | Hello | | I am using GID 7.2 on Win XP and NVIDIA GeForce 3 Ti200 graphic card. I rather often (several ... [GiDlist] trouble in calculate volumen with ACIS import
Send by: Pablo Perez del Castillo Hello;
I have troubles in calculate volumen with gid, it is imported throught
ACIS, the volumen it would be 117.875 u3, and Gid gives 235.94 u3, it
is the same with every import file.
Advanced thanks,
Pablo
-------------- next part --------------
400 0 1 0
7 Unknown 13 ACIS 5.0.1 NT 24 Tue Jan 14 00:57:25 2003
-1 9.9999999999999995e-007 1e-010
-0 body $-1 $2 $-1 $1 #
-1 transform $-1 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 #
-2 lump $-1 $-1 $3 $0 #
-3 shell $-1 $-1 $-1 $4 $-1 $2 #
-4 face $-1 $19 $6 $3 $-1 $5 forward single #
-5 spline-surface $-1 forward { exactsur nubs 1 1 open open none none 2 2
-6.3854686072609539 1 6.3854686072609521 1
-5.4518128035051472 1 5.4518128035051463 1
1.7496176368145921 5.4518127995046779 -5.4518128034813689
1.7491726316489826 -7.3191244072640949 -5.4518128034813689
1.7496205510095413 5.4518127994031325 5.4518128035285365
1.7491755458439318 -7.3191244073656403 5.4518128035285365
0
0
0
0
0
0
0
F -6.3854686072609539 F 6.3854686072609521 F -5.4518128035051472 F 5.4518128035051463 } F -6.3854686072609539 F 6.3854686072609521 F -5.4518128035051472 F 5.4518128035051463 #
-6 loop $-1 $-1 $7 $4 #
-7 coedge $-1 $9 $17 $22 $59 reversed $6 $8 #
-8 pcurve $-1 0 forward { exppc nubs 3 open 2
0 3 1.0275700653817679 3
-0.93365580707086882 -5.4518128035051472
-0.49089779577125103 -5.4518128035051472
-0.07216022937869751 -5.4047038368663722
0.33487865182312421 -5.316510386358134
0
spline 0 { ref 0 } F -6.3854686072609539 F 6.3854686072609521 F -5.4518128035051472 F 5.4518128035051463
} 0 0 #
-9 coedge $-1 $11 $7 $37 $69 reversed $6 $10 #
-10 pcurve $-1 0 forward { exppc nubs 3 open 9
1.0275700653817679 3 2.3297387559913307 2 7.3259693936790864 2 7.340053048223961 3 7.4124774568003264 2
8.9140530402325702 1 10.825652026099913 2 14.349568236718007 2 16.043982364253196 3
0.33487865182312421 -5.316510386358134
0.85069095973113718 -5.2047489076642357
1.3477166470752424 -5.0270109028107086
3.7821728853810814 -3.9074987704727171
5.6934492323846371 -2.0990300684103538
6.3756079599015223 0.0059168634973554499
6.376433685886278 0.011331283349174725
6.376433685886278 0.01636473860334775
6.376433685886278 0.042249001719681288
6.3545975826536756 0.058058757752853019
6.1917759303184638 0.54173208878516288
5.6869758106888408 1.5621120425691577
5.0088467350585564 2.4127999063374705
3.7719309636404921 3.6834034194282665
2.8977856392941108 4.3141942104796165
1.3477166546398394 5.0270108993842797
0.85069097467132515 5.2047489023780216
0.33487867508048091 5.3165103813585741
0
spline 0 { ref 0 } F -6.3854686072609539 F 6.3854686072609521 F -5.4518128035051472 F 5.4518128035051463
} 0 0 #
-11 coedge $-1 $13 $9 $26 $63 reversed $6 $12 #
-12 pcurve $-1 0 forward { exppc nubs 3 open 2
16.043982364253196 3 17.381082010175476 3
0.33487867508048091 5.3165103813585741
-0.072160213428167114 5.4047038350982612
-0.49089778733849299 5.4518128035051463
-0.93365580707086882 5.4518128035051463
0
spline 0 { ref 0 } F -6.3854686072609539 F 6.3854686072609521 F -5.4518128035051472 F 5.4518128035051463
} 0 0 #
-13 coedge $-1 $15 $11 $51 $75 forward $6 $14 #
-14 pcurve $-1 0 forward { exppc nubs 3 open 4
17.381082010175476 3 17.920324213977995 2 18.459566284014993 2 18.633140118933621 3
-0.93365580707086882 5.4518128035051463
-1.1121003905106264 5.4518128035051463
-1.2904413581971266 5.4430515738138565
-1.6456119770731985 5.4080703513624186
-1.8222359502861925 5.381870555042406
-2.0535866474933133 5.3358520397910159
-2.1097224912181138 5.3237604249836714
-2.165638737700291 5.3107891326541337
0
spline 0 { ref 0 } F -6.3854686072609539 F 6.3854686072609521 F -5.4518128035051472 F 5.4518128035051463
} 0 0 #
-15 coedge $-1 $17 $13 $44 $71 forward $6 $16 #
-16 pcurve $-1 0 forward { exppc nubs 3 open 7
18.633140118933621 3 19.538712299310681 2 21.702221316626815 2 26.071623015263214 3 30.441024713899651 2
32.604533731215874 2 33.510105911592888 3
-2.165638737700291 5.3107891326541337
-2.4573658708197756 5.2431150993951734
-2.7431157114265221 5.1514968225555302
-3.6814189512081557 4.7628388947907316
-4.2824217445993566 4.3612616666332151
-5.8110828522048603 2.832600558086686
-6.3854686072609539 1.445910677345676
-6.3854686072609539 -5.4617027779209653e-011
-6.3854686072609539 -1.4459106774549075
-5.8110828522048585 -2.8326005581852227
-4.2824217445993416 -4.3612616667032915
-3.681418951208177 -4.7628388948495894
-2.7431157114265399 -5.151496822596914
-2.4573658708197721 -5.2431150994312441
-2.1656387377002941 -5.3107891326847723
0
spline 0 { ref 0 } F -6.3854686072609539 F 6.3854686072609521 F -5.4518128035051472 F 5.4518128035051463
} 0 0 #
-17 coedge $-1 $7 $15 $55 $77 forward $6 $18 #
-18 pcurve $-1 0 forward { exppc nubs 3 open 4
33.510105911592888 3 33.683679746511515 2 34.22292181654835 2 34.762164020350951 3
-2.1656387377002941 -5.3107891326847723
-2.1097224912181156 -5.3237604250132691
-2.0535866474933142 -5.335852039819569
-1.8222359502862497 -5.381870555066639
-1.6456119770731412 -5.4080703513834045
-1.2904413581971026 -5.4430515738282237
-1.1121003905106503 -5.4518128035051472
-0.93365580707086882 -5.4518128035051472
0
spline 0 { ref 0 } F -6.3854686072609539 F 6.3854686072609521 F -5.4518128035051472 F 5.4518128035051463
} 0 0 #
-19 face $-1 $32 $21 $3 $-1 $20 forward single #
-20 spline-surface $-1 forward { exactsur nurbs 2 2 both open open none none 2 3
0 2 3.471259897661557 2
0 2 8.7644396438286947 2 17.528879287657389 2
0 0 5.7256461232604368 1
0 0 5.7256461232604368 0.88399617932447694
0 0 5.7256461232604376 0.85988172683463238
5.7256461232604376 0 5.7256461232604359 0.70710678118654779
5.7256461232604376 -1.8139365567888817 5.7256461232604359 0.6250796929433371
4.6811382073586021 -3.2969635442956862 5.7256461232604359 0.60802820006316716
5.7256461232604376 0 0 1
5.7256461232604376 -1.8139365567888817 0 0.88399617932447694
4.681138207358603 -3.7844005717165423 0 0.85988172683463238
5.7256461232604376 0 -5.7256461232604359 0.70710678118654779
5.7256461232604376 -1.8139365567888817 -5.7256461232604359 0.6250796929433371
4.6811382073586021 -3.2969635442956862 -5.7256461232604359 0.60802820006316716
0 0 -5.7256461232604368 1
0 0 -5.7256461232604368 0.88399617932447694
0 0 -5.7256461232604376 0.85988172683463238
0
0
0
0
0
0
0
F 0 F 3.471259897661557 F 0 F 17.528879287657389 } F 0 F 3.471259897661557 F 0 F 17.528879287657389 #
-21 loop $-1 $-1 $22 $19 #
-22 coedge $-1 $24 $30 $7 $59 forward $21 $23 #
-23 pcurve $-1 0 forward { exppc nubs 3 open 4
-1.0275700653817679 3 -0.91807902519595175 2 -0.51132809072459207 2 0 3
3.4712598976615565 15.304623988326286
3.3521510487402715 15.339399202872464
3.2319756167385143 15.371020967630169
2.6618061367361281 15.507795338780827
2.2018305030114989 15.578023687731703
1.1660652300644327 15.683951017067811
0.57941911467966778 15.706959439151806
0 15.706959439151806
0
spline 0 { ref 7 } F 0 F 3.471259897661557 F 0 F 17.528879287657389
} 0 0 #
-24 coedge $-1 $26 $22 $53 $61 forward $21 $25 #
-25 pcurve $-1 0 forward { exppc nubs 1 open 2
-15.706959439151806 1 -1.8219198485055821 1
0 15.706959439151806
0 1.8219198485055821
0
spline 0 { ref 7 } F 0 F 3.471259897661557 F 0 F 17.528879287657389
} 0 0 #
-26 coedge $-1 $28 $24 $11 $63 forward $21 $27 #
-27 pcurve $-1 0 forward { exppc nubs 3 open 4
-17.381082010175476 3 -16.715729221016531 2 -16.186454820386615 2 -16.043982364253196 3
0 1.8219198485055821
0.57941911467969576 1.8219198485055821
1.1660652300644043 1.8449282705895758
2.2018305030114704 1.9508555999256849
2.6618061367361538 2.0210839488765684
3.2319756167385139 2.1578583200272212
3.3521510487402706 2.1894800847849258
3.4712598976615565 2.2242552993311002
0
spline 0 { ref 7 } F 0 F 3.471259897661557 F 0 F 17.528879287657389
} 0 0 #
-28 coedge $-1 $30 $26 $35 $65 forward $21 $29 #
-29 pcurve $-1 0 forward { exppc nubs 1 open 2
2.2242552993310998 1 8.7644396438286947 1
3.4712598976615565 2.2242552993311002
3.471259897661557 8.7644396438286947
0
spline 0 { ref 7 } F 0 F 3.471259897661557 F 0 F 17.528879287657389
} 0 0 #
-30 coedge $-1 $22 $28 $39 $67 forward $21 $31 #
-31 pcurve $-1 0 forward { exppc nubs 1 open 2
8.7644396438286947 1 15.304623988326286 1
3.471259897661557 8.7644396438286947
3.4712598976615565 15.304623988326286
0
spline 0 { ref 7 } F 0 F 3.471259897661557 F 0 F 17.528879287657389
} 0 0 #
-32 face $-1 $41 $34 $3 $-1 $33 forward single #
-33 spline-surface $-1 forward { exactsur nurbs 2 2 both open open none none 3 3
2.6034449232461676 2 3.471259897661557 2 7.6041672635940056 2
1.1287003438525134 2 8.7644396438286947 2 16.400178943804875 2
0.96606265005338865 -0.47411300203236589 5.6240076604826656 0.81999769385203436
0.92811308052993757 -0.55390138150688162 5.6240076604826656 0.80899967257755345
0.87810674220465335 -0.62711039795408408 5.6240076604826656 0.80336728107335975
0.6300013571193237 -0.99033537753967127 5.6240076604826648 0.7765434153626084
0.2072270222696547 -1.0921385901317651 5.6240076604826639 0.87141595937007787
5.150026260489696 -2.5484951111934673 4.7356713684708476 0.6537204882055897
4.947719215900765 -2.981231982673676 4.7356713684708467 0.64495261984357632
4.6811382073586021 -3.3812423036370931 4.7356713684708467 0.64046235145441799
3.3585021976880678 -5.3658850118306418 4.7356713684708476 0.61907776620562371
1.1047157309236884 -5.9909139780948095 4.7356713684708476 0.69471227865714358
5.150026260489696 -2.7706723713307593 0 0.87768203859115956
4.9477192159007659 -3.2814955420864735 0 0.86591033995709354
4.681138207358603 -3.7844005717165423 0 0.85988172683463238
3.3585021976880669 -6.2795531906922317 0 0.83117088372321757
1.1047157309236884 -7.7744967212487239 0 0.93271742276242442
5.150026260489696 -2.5484951111934677 -4.7356713684708467 0.6537204882055897
4.947719215900765 -2.981231982673676 -4.7356713684708467 0.64495261984357644
4.6811382073586021 -3.3812423036370935 -4.7356713684708467 0.6404623514544181
3.3585021976880673 -5.3658850118306427 -4.7356713684708467 0.61907776620562394
1.1047157309236884 -5.9909139780948104 -4.7356713684708467 0.69471227865714369
0.96606265005338976 -0.4741130020323665 -5.6240076604826665 0.81999769385203436
0.92811308052993891 -0.55390138150688228 -5.6240076604826665 0.80899967257755356
0.87810674220465446 -0.62711039795408463 -5.6240076604826665 0.80336728107335986
0.63000135711932437 -0.9903353775396726 -5.6240076604826665 0.7765434153626084
0.20722702226965503 -1.0921385901317668 -5.6240076604826648 0.87141595937007787
0
0
0
0
0
0
0
F 2.6034449232461676 F 7.6041672635940056 F 1.1287003438525134 F 16.400178943804875 } F 2.6034449232461676 F 7.6041672635940056 F 1.1287003438525134 F 16.400178943804875 #
-34 loop $-1 $-1 $35 $32 #
-35 coedge $-1 $37 $39 $28 $65 reversed $34 $36 #
-36 pcurve $-1 0 forward { exppc nubs 1 open 2
-8.7644396438286947 1 -2.2242552993310998 1
3.471259897661557 8.7644396438286947
3.4712598976615565 2.2242552993311002
0
spline 0 { ref 13 } F 2.6034449232461676 F 7.6041672635940056 F 1.1287003438525134 F 16.400178943804875
} 0 0 #
-37 coedge $-1 $39 $35 $9 $69 forward $34 $38 #
-38 pcurve $-1 0 forward { exppc nubs 3 open 7
-16.043982364253196 3 -14.620637907962527 2 -12.336478038891855 2 -8.5357762148174885 3 -4.7350743907430832 2
-2.450914521672436 2 -1.0275700653817679 3
3.4712598976615565 2.2242552993311002
3.9539080601141707 2.3651700470732946
4.4190429241044535 2.5578644529993362
5.5306914234720059 3.2883423361910515
5.9866099486626494 3.8858323935126324
6.831935418273325 5.8670886738596773
6.9425197953231139 7.4670787044737104
6.9425197953231139 8.7644396438286947
6.9425197953231139 10.061800583183695
6.8319354182733312 11.661790613797695
5.9866099486626538 13.643046894144749
5.5306914234720015 14.240536951466341
4.4190429241044562 14.971014834658051
3.953908060114173 15.163709240584094
3.4712598976615565 15.304623988326286
0
spline 0 { ref 13 } F 2.6034449232461676 F 7.6041672635940056 F 1.1287003438525134 F 16.400178943804875
} 0 0 #
-39 coedge $-1 $35 $37 $30 $67 reversed $34 $40 #
-40 pcurve $-1 0 forward { exppc nubs 1 open 2
-15.304623988326286 1 -8.7644396438286947 1
3.4712598976615565 15.304623988326286
3.471259897661557 8.7644396438286947
0
spline 0 { ref 13 } F 2.6034449232461676 F 7.6041672635940056 F 1.1287003438525134 F 16.400178943804875
} 0 0 #
-41 face $-1 $48 $43 $3 $-1 $42 forward single #
-42 spline-surface $-1 forward { exactsur nurbs 2 2 both open open none none 3 3
27.453591311720775 2 31.586498677653225 2 32.454313652068613 2
1.1287003438525134 2 8.7644396438286947 2 16.400178943804875 2
0.20722702226965417 1.053858778433248 5.6240076604826639 0.8714159593700781
0.6300013571193237 0.97072594479762631 5.6240076604826639 0.77654341536260829
0.87810674220465368 0.6184576888795994 5.6240076604826648 0.80336728107335975
0.92811308052993768 0.54745703091066322 5.6240076604826648 0.80899967257755356
0.96606265005338865 0.46934456405863373 5.6240076604826639 0.81999769385203447
1.1047157309236852 5.6180625381582416 4.7356713684708467 0.69471227865714391
3.3585021976880665 5.1748860254251268 4.7356713684708476 0.61907776620562371
4.681138207358603 3.2969635442956848 4.7356713684708476 0.6404623514544181
4.947719215900765 2.9184629853186248 4.7356713684708476 0.64495261984357644
5.150026260489696 2.5020497687044116 4.7356713684708476 0.6537204882055897
1.104715730923685 5.6180625381582399 0 0.93271742276242464
3.3585021976880656 5.174886025425125 0 0.83117088372321746
4.6811382073586021 3.2969635442956839 0 0.85988172683463238
4.9477192159007641 2.9184629853186239 0 0.86591033995709354
5.1500262604896943 2.5020497687044108 0 0.87768203859115967
1.1047157309236852 5.6180625381582407 -4.7356713684708458 0.69471227865714391
3.3585021976880665 5.1748860254251268 -4.7356713684708467 0.61907776620562394
4.681138207358603 3.2969635442956848 -4.7356713684708467 0.64046235145441821
4.9477192159007641 2.9184629853186248 -4.7356713684708467 0.64495261984357655
5.150026260489696 2.5020497687044116 -4.7356713684708467 0.65372048820558981
0.20722702226965431 1.0538587784332489 -5.6240076604826648 0.8714159593700781
0.63000135711932426 0.9707259447976273 -5.6240076604826648 0.7765434153626084
0.87810674220465446 0.61845768887959995 -5.6240076604826648 0.80336728107335986
0.92811308052993868 0.54745703091066389 -5.6240076604826656 0.80899967257755356
0.96606265005338976 0.46934456405863434 -5.6240076604826648 0.81999769385203447
0
0
0
0
0
0
0
F 27.453591311720775 F 32.454313652068613 F 1.1287003438525134 F 16.400178943804875 } F 27.453591311720775 F 32.454313652068613 F 1.1287003438525134 F 16.400178943804875 #
-43 loop $-1 $-1 $44 $41 #
-44 coedge $-1 $46 $46 $15 $71 reversed $43 $45 #
-45 pcurve $-1 0 forward { exppc nubs 3 open 7
-33.510105911592888 3 -32.099979020697766 2 -29.837030484070102 2 -26.071623015263469 3 -22.306215546456578 2
-20.043267009828831 2 -18.633140118933621 3
31.586498677653228 15.30462398832629
31.103850515200612 15.163709240584097
30.638715651210326 14.971014834658051
29.527067151842775 14.240536951466337
29.071148626652132 13.643046894144756
28.225823157041464 11.66179061379772
28.115238779991667 10.061800583183672
28.115238779991667 8.7644396438286947
28.115238779991667 7.4670787044736731
28.225823157041447 5.8670886738597128
29.071148626652132 3.885832393512632
29.527067151842775 3.288342336191052
30.638715651210333 2.5578644529993313
31.103850515200605 2.3651700470732941
31.586498677653228 2.2242552993311002
0
spline 0 { ref 17 } F 27.453591311720775 F 32.454313652068613 F 1.1287003438525134 F 16.400178943804875
} 0 0 #
-46 coedge $-1 $44 $44 $57 $73 forward $43 $47 #
-47 pcurve $-1 0 forward { exppc nubs 1 open 2
2.2242552993311002 1 15.30462398832629 1
31.586498677653228 2.2242552993311002
31.586498677653228 15.30462398832629
0
spline 0 { ref 17 } F 27.453591311720775 F 32.454313652068613 F 1.1287003438525134 F 16.400178943804875
} 0 0 #
-48 face $-1 $-1 $50 $3 $-1 $49 forward single #
-49 spline-surface $-1 forward { exactsur nurbs 2 2 both open open none none 2 3
31.586498677653225 2 35.057758575314779 2
0 2 8.7644396438286947 2 17.528879287657389 2
0 0 5.7256461232604368 0.85988172683463238
0 0 5.7256461232604368 0.88399617932447705
0 0 5.7256461232604368 1
4.681138207358603 3.2969635442956848 5.7256461232604359 0.60802820006316727
5.7256461232604376 1.8139365567888803 5.7256461232604359 0.62507969294333721
5.7256461232604376 0 5.7256461232604359 0.70710678118654779
4.6811382073586021 3.2969635442956839 0 0.85988172683463238
5.7256461232604368 1.8139365567888805 0 0.88399617932447705
5.7256461232604376 0 0 1
4.681138207358603 3.2969635442956848 -5.7256461232604359 0.60802820006316727
5.7256461232604376 1.8139365567888803 -5.7256461232604359 0.62507969294333721
5.7256461232604376 0 -5.7256461232604359 0.70710678118654779
0 0 -5.7256461232604368 0.85988172683463238
0 0 -5.7256461232604368 0.88399617932447705
0 0 -5.7256461232604368 1
0
0
0
0
0
0
0
F 31.586498677653225 F 35.057758575314779 F 0 F 17.528879287657389 } F 31.586498677653225 F 35.057758575314779 F 0 F 17.528879287657389 #
-50 loop $-1 $-1 $51 $48 #
-51 coedge $-1 $53 $57 $13 $75 reversed $50 $52 #
-52 pcurve $-1 0 forward { exppc nubs 3 open 4
-18.633140118933621 3 -18.49972912408326 2 -18.00411736688347 2 -17.381082010175476 3
31.586498677653228 2.2242552993311002
31.705607526574514 2.1894800847849267
31.825782958576269 2.1578583200272221
32.39595243857854 2.0210839488765893
32.855928072303392 1.9508555999256763
33.89169334525031 1.8449282705895831
34.478339460635155 1.8219198485055821
35.057758575314779 1.8219198485055821
0
spline 0 { ref 20 } F 31.586498677653225 F 35.057758575314779 F 0 F 17.528879287657389
} 0 0 #
-53 coedge $-1 $55 $51 $24 $61 reversed $50 $54 #
-54 pcurve $-1 0 forward { exppc nubs 1 open 2
1.8219198485055821 1 15.706959439151806 1
35.057758575314779 1.8219198485055821
35.057758575314779 15.706959439151806
0
spline 0 { ref 20 } F 31.586498677653225 F 35.057758575314779 F 0 F 17.528879287657389
} 0 0 #
-55 coedge $-1 $57 $53 $17 $77 reversed $50 $56 #
-56 pcurve $-1 0 forward { exppc nubs 3 open 4
-34.762164020350951 3 -34.139128663642957 2 -33.643516906443217 2 -33.510105911592888 3
35.057758575314779 15.706959439151806
34.47833946063502 15.706959439151806
33.891693345250438 15.68395101706782
32.855928072303328 15.578023687731706
32.395952438578604 15.507795338780815
31.825782958576269 15.371020967630168
31.705607526574514 15.339399202872464
31.586498677653228 15.30462398832629
0
spline 0 { ref 20 } F 31.586498677653225 F 35.057758575314779 F 0 F 17.528879287657389
} 0 0 #
-57 coedge $-1 $51 $55 $46 $73 reversed $50 $58 #
-58 pcurve $-1 0 forward { exppc nubs 1 open 2
-15.30462398832629 1 -2.2242552993311002 1
31.586498677653228 15.30462398832629
31.586498677653228 2.2242552993311002
0
spline 0 { ref 20 } F 31.586498677653225 F 35.057758575314779 F 0 F 17.528879287657389
} 0 0 #
-59 edge $-1 $81 $79 $22 $60 forward #
-60 intcurve-curve $-1 forward { exactcur nubs 3 open 2
-1.0275700653817679 3 0 3
1.7495533069005398 -1.2685344614176852 -5.3165103863749028
1.7495423254674085 -0.86149557958610357 -5.40470383687531
1.7495029821073564 -0.44275801156841271 -5.451812803499835
1.7495029821073564 0 -5.451812803499835
0
null_surface
null_surface
nullbs
nullbs
I I
0
0
0
F -1.0275700653817679 F 0 } F -1.0275700653817679 F 0 #
-61 edge $-1 $79 $85 $24 $62 forward #
-62 intcurve-curve $-1 forward { exactcur nurbs 2 open 3
-15.706959439151806 2 -8.7644396438286947 2 -1.8219198485055821 2
1.7495029821073564 0 -5.451812803499835 0.90354219004062153
5.7256461232604359 0 -4.1758566154466825 0.76799235864895421
5.7256461232604376 0 0 1
5.7256461232604376 0 4.1758566154466825 0.7679923586489541
1.7495029821073558 0 5.4518128034998359 0.90354219004062153
0
null_surface
null_surface
nullbs
nullbs
I I
0
0
0
F -15.706959439151806 F -1.8219198485055821 } F -15.706959439151806 F -1.8219198485055821 #
-63 edge $-1 $85 $83 $26 $64 forward #
-64 intcurve-curve $-1 forward { exactcur nubs 3 open 2
-17.381082010175476 3 -16.043982364253196 3
1.7495029821073558 0 5.4518128034998359
1.7495029821073556 -0.44275802000117065 5.4518128034998359
1.7495423254689064 -0.86149559553663391 5.4047038350808396
1.7495533069011664 -1.2685344846750417 5.3165103813357106
0
null_surface
null_surface
nullbs
nullbs
I I
0
0
0
F -17.381082010175476 F -16.043982364253196 } F -17.381082010175476 F -16.043982364253196 #
-65 edge $-1 $83 $91 $28 $66 forward #
-66 intcurve-curve $-1 forward { exactcur nurbs 2 open 2
2.2242552993310998 2 8.7644396438286947 2
1.7495533069011664 -1.2685344846750417 5.3165103813357106 0.76449139778772723
4.6811382073586021 -3.4552648905342123 3.8661700506416157 0.67194404230085114
4.681138207358603 -3.7844005717165423 0 0.85988172683463238
0
null_surface
null_surface
nullbs
nullbs
I I
0
0
0
F 2.2242552993310998 F 8.7644396438286947 } F 2.2242552993310998 F 8.7644396438286947 #
-67 edge $-1 $91 $81 $30 $68 forward #
-68 intcurve-curve $-1 forward { exactcur nurbs 2 open 2
8.7644396438286947 2 15.304623988326286 2
4.681138207358603 -3.7844005717165423 0 0.85988172683463238
4.6811382073586021 -3.4552648905342127 -3.866170050641613 0.67194404230085136
1.74955330690054 -1.2685344614176852 -5.3165103863749028 0.76449139778772723
0
null_surface
null_surface
nullbs
nullbs
I I
0
0
0
F 8.7644396438286947 F 15.304623988326286 } F 8.7644396438286947 F 15.304623988326286 #
-69 edge $-1 $83 $81 $37 $70 forward #
-70 intcurve-curve $-1 forward { exactcur nubs 3 open 8
-16.043982364253196 3 -14.349568236718007 2 -10.825652026099913 2 -8.9140530402325702 1 -7.4124774568003264 2
-7.3259693936790864 2 -2.3297387559913307 2 -1.0275700653817679 3
1.7495533069011664 -1.2685344846750417 5.3165103813357106
1.7495672229126009 -1.7843467850639367 5.204748902348264
1.7495355932273142 -2.2813724642320503 5.0270108993583413
1.7488735859528866 -3.8314414267596169 4.3141942106161508
1.7499351009565953 -4.7055867886253289 3.6834034192729277
1.748960706999076 -5.9425025268414169 2.4127999064309913
1.7480244300985224 -6.6206315702586833 1.5621120429065702
1.7492106185868554 -7.1254317315276765 0.54173208880080681
1.749499295503383 -7.2897102707151022 0.053731001564374409
1.7495029821073551 -7.3191244187752051 0.036344003874983738
1.7495029821073551 -6.6271050434787693 -2.099030068468303
1.7484958796726424 -4.7158286602222619 -3.9074987702437647
1.749535593230545 -2.2813724566674538 -5.0270109028370076
1.7495672229135519 -1.784346770123749 -5.2047489076909255
1.7495533069005398 -1.2685344614176852 -5.3165103863749028
0
null_surface
null_surface
nullbs
nullbs
I I
0
0
0
F -16.043982364253196 F -1.0275700653817679 } F -16.043982364253196 F -1.0275700653817679 #
-71 edge $-1 $87 $89 $44 $72 forward #
-72 intcurve-curve $-1 forward { exactcur nubs 3 open 7
18.633140118933621 3 19.538712299310681 2 21.702221316626815 2 26.071623015263214 3 30.441024713899651 2
32.604533731215874 2 33.510105911592888 3
1.7495029771131514 1.2319829313775232 5.310789132669643
1.7495029783253933 1.5237100646740707 5.243115099413397
1.7495029820937777 1.8094599054541625 5.1514968225764113
1.7495029820937777 2.747763145805433 4.7628388948203364
1.7495029821073953 3.3487659395614973 4.361261666668403
1.7495029821073955 4.877427048095039 2.8326005581360549
1.7495029821073547 5.4518128034998368 1.4459106774003447
1.7495029821073549 5.4518128034998359 0
1.7495029821073549 5.4518128034998359 -1.4459106774003423
1.7495029821073957 4.8774270480950372 -2.8326005581360563
1.749502982107396 3.3487659395614817 -4.3612616666684163
1.7495029820937782 2.7477631458054543 -4.7628388948203257
1.7495029820937784 1.8094599054541805 -5.1514968225764015
1.7495029783253935 1.5237100646740671 -5.2431150994133962
1.7495029771131521 1.2319829313775261 -5.3107891326696421
0
null_surface
null_surface
nullbs
nullbs
I I
0
0
0
F 18.633140118933621 F 33.510105911592888 } F 18.633140118933621 F 33.510105911592888 #
-73 edge $-1 $87 $89 $46 $74 forward #
-74 intcurve-curve $-1 forward { exactcur nurbs 2 open 3
2.2242552993311002 2 8.7644396438286947 2 15.30462398832629 2
1.7495029771131514 1.2319829313775232 5.310789132669643 0.76449139778772723
4.6811382073586021 3.2969635442956848 3.8661700506416157 0.67194404230085125
4.6811382073586021 3.2969635442956839 0 0.85988172683463238
4.6811382073586021 3.2969635442956839 -3.8661700506416166 0.67194404230085125
1.7495029771131521 1.2319829313775261 -5.3107891326696421 0.76449139778772734
0
null_surface
null_surface
nullbs
nullbs
I I
0
0
0
F 2.2242552993311002 F 15.30462398832629 } F 2.2242552993311002 F 15.30462398832629 #
-75 edge $-1 $85 $87 $51 $76 forward #
-76 intcurve-curve $-1 forward { exactcur nubs 3 open 4
17.381082010175476 3 17.920324213977995 2 18.459566284014993 2 18.633140118933621 3
1.7495029821073558 0 5.4518128034998359
1.7495029821073558 0.17844458354808984 5.4518128034998377
1.7495029224609533 0.35678555134493789 5.4430515738212337
1.7495029224609533 0.71195617043663106 5.4080703513731025
1.749502976742352 0.88858014375496053 5.3818705550547197
1.749502976742352 1.1199308411025326 5.3358520398054834
1.7495029768807973 1.1760666848614081 5.3237604249986612
1.7495029771131514 1.2319829313775232 5.310789132669643
0
null_surface
null_surface
nullbs
nullbs
I I
0
0
0
F 17.381082010175476 F 18.633140118933621 } F 17.381082010175476 F 18.633140118933621 #
-77 edge $-1 $89 $79 $55 $78 forward #
-78 intcurve-curve $-1 forward { exactcur nubs 3 open 4
33.510105911592888 3 33.683679746511515 2 34.22292181654835 2 34.762164020350951 3
1.7495029771131521 1.2319829313775261 -5.3107891326696421
1.7495029768807975 1.1760666848614094 -5.3237604249986612
1.7495029767423524 1.1199308411025335 -5.3358520398054843
1.7495029767423522 0.88858014375501782 -5.3818705550547108
1.7495029224609535 0.71195617043657367 -5.4080703513731079
1.7495029224609535 0.35678555134491396 -5.4430515738212355
1.7495029821073562 0.17844458354811388 -5.4518128034998359
1.7495029821073564 0 -5.451812803499835
0
null_surface
null_surface
nullbs
nullbs
I I
0
0
0
F 33.510105911592888 F 34.762164020350951 } F 33.510105911592888 F 34.762164020350951 #
-79 vertex $-1 $59 $80 #
-80 point $-1 1.7495029821073564 0 -5.451812803499835 #
-81 vertex $-1 $69 $82 #
-82 point $-1 1.7495533069005398 -1.2685344614176852 -5.3165103863749028 #
-83 vertex $-1 $63 $84 #
-84 point $-1 1.7495533069011664 -1.2685344846750417 5.3165103813357106 #
-85 vertex $-1 $75 $86 #
-86 point $-1 1.7495029821073556 0 5.4518128034998359 #
-87 vertex $-1 $71 $88 #
-88 point $-1 1.7495029771131514 1.2319829313775232 5.3107891326696421 #
-89 vertex $-1 $77 $90 #
-90 point $-1 1.7495029771131521 1.2319829313775261 -5.3107891326696421 #
-91 vertex $-1 $67 $92 #
-92 point $-1 4.681138207358603 -3.7844005717165428 0 #
End-of-ACIS-data
...
[GiDlist] trouble in calculate volumen with ACIS import
Send by: Enrique Escolano If the volume is calculated in GiD from the geometric model, then the volume is 235.9 u3, and if you generate a mesh of tetrahedras, and list in GiD the volume of this tetrahedras, the value obtained for a mesh of 20.000 linear elements is 235.4 u3 Enrique ----- Original Message ----- From: "Pablo Perez del Castillo" <pablopdc at terra.es> To: <gidlist at gatxan.cimne.upc.es> Sent: Tuesday, January 14, 2003 2:04 AM Subject: [GiDlist] trouble in calculate volumen with ACIS import >... [GiDlist] Where Can I find the "Proc" for table in GiD
Send by: VSayako Willy Hi Enrique Thanks for your prompt advice. As you advised me to look at some website of the database using Tcl/Tk, I didn't get any information of that. What I would like to do is some kind like what you have done in GiD. For example the table created by the following GiD commands: ------------------------------------------------------- QUESTION:Dynamic_Load_Curve:(TMIN,TMAX,A1,A2,A3,A4,A5) VALUE:#N# 7 0. 10. 0. 0. 0. 0. 0. ------------------------------------------------------- Where is the "proc" of this command located? I just would like to take a look as for a reference for my future making simple table. Warm regards. __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. ... [GiDlist] Where Can I find the "Proc" for table in GiD
Send by: Enrique Escolano The "table" created in GiD for a material/condition command as QUESTION:Dynamic_Load_Curve:(TMIN,TMAX,A1,A2,A3,A4,A5) VALUE:#N# 7 0. 10. 0. 0. 0. 0. 0. is created inside GiD using standard TK widgets: A frame with some buttons, entrys and scrollbars. You can see the code as sample inside "scriptsDataWindows.tcl": procedures DWFillText and DWVarValueWin, ... but this procedures are not ready to use for another programmers. You can download the tcl code for a good "table" widget: Tktable at http://tktable.sourceforge.net/ Copy only the basic required files inside your problemtype directory to use it with GiD. I' attach a sample of problemtype using this widget Tktable (using the version 2.7, compiled for Windows and Linux). This is a image of this sample problem type: The documentation, source and another samples of Tktable 2.8 can be downloaded from ... [GiDlist] Where Can I find the "Proc" for table in GiD
Send by: Jorge Suit Perez Ronda You can also try the pure tcl/tk implementation of the widget Tablelist, wich you can find at http://www.nemethi.de/ best regards, Jorge Suit Enrique Escolano wrote: > The "table" created in GiD for a material/condition command as > QUESTION:Dynamic_Load_Curve:(TMIN,TMAX,A1,A2,A3,A4,A5) > VALUE:#N# 7 0. 10. 0. 0. 0. 0. 0. > is created inside GiD using standard TK widgets: A frame with some > buttons, entrys and scrollbars. > You can see the code as sample inside "scriptsDataWindows.tcl": > procedures DWFillText and DWVarValueWin, ... ... [GiDlist] table in GiD!!! Many Thanks for the Info.
Send by: VSayako Willy Hi. Many thanks to Enrique and Ronda for the information. Regards. __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com [GiDlist] Background Mesh option is not working
Send by: VSayako Willy Hi Enrique Thanks for your advice. I have tried as your comments but it didn't workout. No mesh seen on the screen. Regards. __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -------------- next part -------------- A non-text attachment was scrubbed... Name: BgmPlate.bgm Type: application/octet-stream Size: 2584 bytes Desc: BgmPlate.bgm Url : http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20030129/38abd354/attachment.obj... [GiDlist] Background Mesh option is not working
Send by: Enrique Escolano To show the backgroundmesh and your sizes, use Meshing->DrawSizes (available in GiD 7.2) Notes: - You must assign size to all elements or nodes, else the value for unassigned elements is -1 - If you assign sizes to elements the value is extrapolated to the nodes with a mean value, it is best to assign directly the desired sizes. If you generate the mesh with your background sizes (0.02 for the elem 32, and 0.01 in the rest of elems), then are generated over 1.000.000 of elements This options of assign sizes with a background mesh is quite recent, and still they can appear some problems. We are working in this improvements, any error, warning or suggestions on the matter well will be received. Regards Enrique ----- Original Message ----- From: "VSayako Willy" <... [GiDlist] Some technique in bas file? dealing with data in xxx.cnd file
Send by: VSayako Willy Hi Enrique and all GiDlisters Silly question again! I would like to get your advice as the following matter. In my xxx.cnd file I created the fields as simple example as: NUMBER: 1 CONDITION:Properties CONDTYPE: over lines CONDMESHTYPE: over elements QUESTION:Ix VALUE:0.0 QUESTION:Iy VALUE:0.0 ... ... and more propertis END CONDITIONS Let assume I have 10 beam elements on the problem and want to assign 3 different properties. In the usual way of writing xxx.bas file we can get the results easily as the following format: *set Cond Property *loop elems *OnlyIncond *elemsNum *Cond(Ix) *Cond(Iy) *Cond(..) .....and more *end elems The data file should look like this: (for example) -------------------------------------------------- Mem Ix Iy Gx Gy As 1 1253.00 2563.00 .... .... ..... 2 1589.23 4356.23 .... .... .... 3 1589.23 4356.23 .... .... .... 4 1253.00 2563.00 .... .... .... 5 1253.00 2563.00 . 6 2356.45 8962.45 7 2356.45 8962.45 8 1253.00 2563.00 9 1253.00 2563.00 10 1253.00 2563.00 .... ..... ..... ---------------------------------------------------- As seen above the 3 different properties have been used but the data are rewritten again and again. Now, I would like to have the data come out as the following format: ------------------------------------------------------- Properties (This one is not convinient on xxx.mat file) set Ix Iy Gx Gy As ....... 1 1253.00 2563.00 .... ... ... 2 2356.45 8962.45 .... ... ... 3 1589.23 4356.23 ... ... ... Assign to element. This will be written with element connectivities. Mem set 1 1 2 3 3 3 4 1 5 1 6 2 7 2 8 1 9 1 10 1 ---------------------------------------------------- Can we arrange this obove data on bas file with some technique? As I have done: I created the Property on the xxx.prb file then created the assign property in xxx.cnd but it seems so inconvinient.. Any good advice please. Best regards. __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more ... [GiDlist] Some technique in bas file? dealing with data in xxx.cnd file
Send by: Enrique Escolano You can use as a condition field a "pointer" to a material #MAT# (only of some book if desired) Note: See the Nastran problem type. for example: CONDITION: Property CONDTYPE: over lines CONDMESHTYPE: over elements QUESTION: Composition#MAT#(Beam) VALUE: IPN_200 ... END CONDITION This type of material not must be assigned to any entity. The problemtype NASTRAN uses some tcl code to modify the materials window to deactivate the user assignation for this book. BOOK: Beam MATERIAL: IPN_200 QUESTION: Identifier VALUE: 1 STATE: hidden QUESTION: Ix VALUE: 3e5 ... END MATERIAL If the user creates a new material derived from this, then it automatically appears inside the condition field. Note the use of a hidden field "Identifier" to identify this type of materials inside the bas file (add this field to all materials) *#write only the properties of the materials with Identifier==1 *#by default the loop materials visit the assigned materials, note *NotUset to visit the unasigned *set Cond Property *loop elems *OnlyIncond *elemsNum *Cond(Composition) *end elems *loop materials *NotUsed *if(MatProp(Identifier,int)==1) *MatProp(0) *MatProp(Ix,real) ... *endif *end materials Regards Enrique Escolano ----- Original Message ----- From: "VSayako Willy" <... [GiDlist] Sorry, no trouble in calculate volumen with ACIS import
Send by: Pablo Perez del Castillo sorry, i have no troubles, i had a mistake, only computed the half volumen to check Pablo [GiDlist] GID 7.2 problems with TECPLOT input
Send by: D.M. Lipinski
Dear All,
I'm having problems with reading TECPLOT files into GID (Ver.7.2). Even the
simplest TECPLOT data set fails to read correctly. To illustrate my problem
here's a simple two-element (hexahedral) data set in TECPLOT FE format (the
data file is also attached to this email).
TITLE = "Sample data set"
VARIABLES = "X", "Y", "Z", "Value"
ZONE T="Sample 2 hex elements" N= 12, E= 2, F=FEPOINT, ET=BRICK
0.0 0.0 0.0 1.0
1.0 0.0 0.0 3.0
1.0 1.0 0.0 4.0
0.0 1.0 0.0 2.0
0.0 0.0 1.0 1.5
1.0 0.0 1.0 3.5
1.0 1.0 1.0 4.5
0.0 1.0 1.0 2.5
2.0 0.0 0.0 6.0
2.0 1.0 0.0 8.0
2.0 0.0 1.0 9.0
2.0 1.0 1.0 12.0
1 2 3 4 5 6 7 8
2 9 10 3 6 11 12 7
This file reads in correctly into TECPLOT Ver. 9.2 (see the attached gif
files Tecplot_grid.gif and Tecplot_values.gif), but it reads incorrectly
into GID (see the GID_input file). GID somehow misses the last nodal point
12. Instead it connects all the edges going to the node 12 with the node 1.
I'm new to GID, perhaps I'm doing something wrong; please advice.
with regards
M.Lipinski
----------------------------------------------------------------------------
----
Dr. D.M. Lipinski
private:
Office: MAGMA GmbH
Hastenrather Schule 4
Kackertstr. 11
D-52249 Eschweiler
D-52072 Aachen
Germany
Germany
Tel.: +02403-504872
Tel.: +0241-889010
Fax: +0241-8890160
email: ...
[GiDlist] GID 7.2 problems with TECPLOT input
Send by: Miguel A. de Riera Pasenau Yes, you're right, there is a bug in GiD while reading bricks in tecplot format ( it doesn't read the seventh node). solved for the next version miguel > "D.M. Lipinski" wrote: > > > Dear All, > > I'm having problems with reading TECPLOT files into GID (Ver.7.2). Even the simplest TECPLOT data set fails to read correctly. To > illustrate my problem here's a simple two-element (hexahedral) data set in TECPLOT FE format (the data file is also attached to > this email). > > TITLE = "Sample data set" > VARIABLES = "X", "Y", "Z", "Value" ... [GiDlist] Data link between two different dialogboxes
Send by: Ravish Masti Hello! Could you please suggest a method to incorporate the following features in a GID project. 1a) Adding a new submenu (for ex. under GID's main menu "Data") and associate with it the general dailogbox interface features similar to the one currently available with the "Materials" submenu. 1b) Is it possible to easily have with this new submenu, a user-defined special fields similar in action to the a_field_name#MAT#(book_name) available for "Materials" submenu? 2)How to link between two different submenu dialog boxes for data updating of a field? To explain this with an example, an entry value for a field "propertyID" in a dialogbox is to be updated in another dialogbox using a field "property_list" keeping a list of "propertyID"s info. This operation is to an extent resembles data updating possible with the special field a_field_name#MAT#(book_name). Thanking you for your suggestions. With best wishes, Ravish -------------- next part -------------- An HTML attachment was scrubbed... URL: ... [GiDlist] Data link between two different dialogboxes
Send by: Enrique Escolano 1a) Read this previous response of the GiDlist archives about add a new submenu: http://gid.cimne.com/pipermail/gidlist/2002/000908.html 1b) You can ask GID about the current list of materials with a ".central.s info materials" GiD/tcl order, and fill with this information the -values of a "ComboBox" or another similar widget See this archive and the next about the use of a ComboBox widget: http://gid.cimne.upc.es/pipermail/gidlist/2003/001123.html 2) You can define a global variable, and use a trace to call a procedure to update the fields for example, this trace call the proc UpdateFields if the value of MyVars(PropID) is set global MyVars trace var MyVars(PropID) w "UpdateFields ;#" proc UpdateFields { } { global MyVars #set the parameter "-text" for example of your widget with the current value of MyVars(PropID) ... } Some witgets have a parameter "-variable" or "-textvariable" to link automatically the widget value to a variable Regards Enrique Escolano ----- Original Message ----- From: Ravish Masti To: ... [GiDlist] Re: write file problem
Send by: Thomas Chan Hi GiD staff, I'm working on a *.tcl file and I'm trying to write a file into the problemtype folder. Here my line of code: ... set fid [open /Programs/GidWin6.3.0b/problemtypes/FEM.gid/$projname.par w] puts $fid [ ... ] close $fid ... For some reason it keeps appending "My current GiD project directory" at the end of "My desired directory". Why? Is there a way to write a file into a different directory? My current GiD project is at d:programsGiDWin6.3.0b. Here is a screen capture of my error box. Pls advice, thanks! Tom 1606ee58.jpg Thomas Chan R&D Engineer EMAG Technologies, Inc. www.emagtechnologies.com -------------- next part -------------- An HTML attachment was scrubbed... URL: ... [GiDlist] Re: write file problem
Send by: Enrique Escolano 1) You can use the global variable GIDDEFAULT to locate the GiD directory
(a relative path is important if you move your problemtype to another machine)
2) Your variable projname contain the full path (d:programsGidWin6.3.0b ests),
use file tail to obtain only the last filename (tests):
3) if projname contain blank spaces for example is not valid the order
open a/b/$projname w
because open expects two parameters, not more.
This is a corrected code:
global GIDDEFAULT
set filename [file join $GIDDEFAULT problemtypes FEM.gid [file tail $projname].par]
set fid [open $filename w]
if { !$fid } {
WarnWin "Error, file '$filename' cannot be open"
return
}
...
Regards
Enrique Escolano
----- Original Message -----
From: Thomas Chan
To: ...
[GiDlist] Can GiD generate the mesh based on the Error estimation
Send by: VSayako Willy Hi GiD team I'm now working also on "Error Estimation" and want to use GiD generate (or add) the new mesh based upon the Error estimation on that element (Triangular element). Please Look over on the attached file. Best regards. __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -------------- next part -------------- A non-text attachment was scrubbed... Name: Mesh of Error Estimation.doc Type: application/msword Size: 53760 bytes Desc: Mesh of Error Estimation.doc Url : http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20030122/9d75ce8b/attachment.doc... [GiDlist] Can GiD generate the mesh based on the Error estimation
Send by: Enrique Escolano For this pourposes, it exists in GiD the concept of "mesh size assignation by background mesh" Your analysis calculate a new node or element desired size, based on the error estimation, and write this information in a "background mesh" file. GiD read this file and the new mesh is generated based on this sizes. Now it's possible to assign sizes using a background mesh of triangles or tetrahedrons. The background mesh must cover all the domain (usually the background mesh will be a previous mesh of the same model). To load this "background mesh" file use the menu Meshing->Assign Unstructured Sizes->Background Mesh... If you load a background mesh, you can visualize the sizes (as points, filled elemens or spheres) to detect bugs: Meshing->Draw Sizes->BackgroundMesh Background mesh file example: BackgroundMesh V 1.0 MESH dimension 2 ElemType Triangle Nnode 3 Coordinates 1 5.61705 4.81504 0.00000 ... 51 -5.64191 -1.53335 0.00000 end coordinates Elements 1 24 16 26 2 16 10 14 ... 76 34 31 28 end elements DesiredSize Nodes 1 0.20 2 0.25 ... 51 1.5 End DesiredSize Regards Enrique Escolano ----- Original Message ----- From: "VSayako Willy" <... [GiDlist] Re: write file problem
Send by: Ramon Ribó
Hello,
You probably want something like:
set fid [open /Programs/GidWin6.3.0b/problemtypes/FEM.gid/[file tail
$projname].par w]
Probably, you do not want to use and absolute path for writing a file.
Doing so, you will not be able to use your
software in any other computer installation.
An additional trick that can be useful to someone is that, when a TCL
error window appears, you can press
middle mouse button over the window and more information will be displayed
about the error.
Regards,
--
Compass Ing. y Sistemas Dr. Ramon Ribó
http://www.compassis.com ramsan at compassis.com...
[GiDlist] (no subject)
Send by: Andreas Friedberg Hi everybody, I am working on the embeddement of a solver called dyn3D (for geotechnical dynamics analysis) into the preprocessor of gid. The solver has three different calculation modules which demand different input data. I have created the configuration files and a tcl-file. When a new project is created within gid ( by choosing the problemtype "dyn3D"), the tcl-file makes a window pop up in which the calculation module can be selected by the user. The selection is stored in a global variable within the tcl procedure and is used in other procedures to specify the menu and the symbols that appear in the gid window. That works fine as long as this global variable is defined. But if I save a project and reopen that project later on, the variable is lost or is set to a standard value. So either the tcl file cannot be interpreted by gid or the wrong values are read. What I would need to do is to save the global variables values in a file within the project directory so it can be read whenever the project is opened within gid. Does anybody have a clue if that is possible? Thanks for response, Andreas -------------- next part -------------- An HTML attachment was scrubbed... URL: ... [GiDlist] (no subject)
Send by: Enrique Escolano It exists two tcl procedures called by GiD if the user save or load a model (similar to InitGIDProject)
This procedures are
proc LoadGIDProject { filespd } {
#open the file 'filespd' to read specific problemtype data
}
proc SaveGIDProject { filespd } {
#open the file 'filespd' to save specific problemtype data
}
LoadGIDProject: will be called when a GiD project is loaded. It receives the filespd argument, which is the path of the file which is being opened, but with a .spd extension (specific problemtype data). This path can be useful if you want to write specific information of the problem type in a new file.
for example, if the model is saved in "c:/public/mymodel.gid" then filespd="c:/public/mymodel.gid/mymodel.spd"
SaveGIDProject: will be called when the current opened file is saved to disk. It receives the filespd argument, which is the path of the file which is being saved, but with a .spd extension (specific problemtype data). This path can be useful if you want to write specific information of the problem type in a new file.
Note: If you read a model with a problemtype assigned, then first is called InitGIDProject, and after LoadGIDProject
If you select a new problemtype, then LoadGIDProject is also called, with the parameter filespd set to the problemtype path and .spd extension (for example, in your case filespd="c:/GiD7.2/problemtypes/dyn3D/dyn3D.spd")
Regards
Enrique Escolano
----- Original Message -----
From: Andreas Friedberg
To: GiD mailinglist
Sent: Thursday, January 23, 2003 10:39 PM
Subject: [GiDlist] (no subject)
Hi everybody,
I am working on the embeddement of a solver called dyn3D (for geotechnical dynamics analysis) into the preprocessor of gid. The solver has three different calculation modules which demand different input data. I have created the configuration files and a tcl-file. When a new project is created within gid ( by choosing the problemtype "dyn3D"), the tcl-file makes a window pop up in which the calculation module can be selected by the user. The selection is stored in a global variable within the tcl procedure and is used in other procedures to specify the menu and the symbols that appear in the gid window. That works fine as long as this global variable is defined. But if I save a project and reopen that project later on, the variable is lost or is set to a standard value. So either the tcl file cannot be interpreted by gid or the wrong values are read.
What I would need to do is to save the global variables values in a file within the project directory so it can be read whenever the project is opened within gid. Does anybody have a clue if that is possible?
Thanks for response, Andreas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: ...
[GiDlist] (no subject)
Send by: Andreas Friedberg Hi everybody, I would like to know if it is possible to use an external mesher in gid. What I need to do is to write some information (about the geometry that I have stored in global variables through procedures in the tcl file) to a file *.in, then feed an external mesher with that file and read the output file of the mesher into the gid preprocessor. I would like to automate this process through the tcl file so that I can trigger it in the graphical interface of gid. Is that possible? Thanks for response, Andreas -------------- next part -------------- An HTML attachment was scrubbed... URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20030123/6e2186ac/attachment.htm... [GiDlist] (no subject)
Send by: Enrique Escolano If you generate externally a mesn then GiD can import a mesh in GiD mesh Ascii, NASTRAN or STL format (menu Files->Import) It is also possible to run GiD in batch mode without open graphical windows to generate a mesh gid -b "batchfile" -n (see help on invoking GiD and batch file) Enrique Escolano ----- Original Message ----- From: Andreas Friedberg To: GiD mailinglist Sent: Thursday, January 23, 2003 10:39 PM Subject: [GiDlist] (no subject) Hi everybody, I would like to know if it is possible to use an external mesher in gid. What I need to do is to write some information (about the geometry that I have stored in global variables through procedures in the tcl file) to a file *.in, then feed an external mesher with that file and read the output file of the mesher into the gid preprocessor. I would like to automate this process through the tcl file so that I can trigger it in the graphical interface of gid. Is that possible? Thanks for response, Andreas -------------- next part -------------- An HTML attachment was scrubbed... URL: ... [GiDlist] (no subject)
Send by: Mills, Jeff B. Hi: I am interested in your application. Can you please send me some info on it's proposed use and availability/ JM -----Original Message----- From: Andreas Friedberg [mailto:andreasfriedberg at hotmail.com] Sent: Thursday, January 23, 2003 12:40 PM To: GiD mailinglist Subject: [GiDlist] (no subject) Hi everybody, I am working on the embeddement of a solver called dyn3D (for geotechnical dynamics analysis) into the preprocessor of gid. The solver has three different calculation modules which demand different input data. I have created the configuration files and a tcl-file. When a new project is created within gid ( by choosing the problemtype "dyn3D"), the tcl-file makes a window pop up in which the calculation module can be selected by the user. The selection is stored in a global variable within the tcl procedure and is used in other procedures to specify the menu and the symbols that appear in the gid window. That works fine as long as this global variable is defined. But if I save a project and reopen that project later on, the variable is lost or is set to a standard value. So either the tcl file cannot be interpreted by gid or the wrong values are read. What I would need to do is to save the global variables values in a file within the project directory so it can be read whenever the project is opened within gid. Does anybody have a clue if that is possible? Thanks for response, Andreas -------------- next part -------------- An HTML attachment was scrubbed... URL: ... [GiDlist] using external mesher
Send by: Andreas Friedberg Hi Enrique, thanks for your quick response. I have implemtented the creation of a *.spd-file in the LoadGiDProject-procedure. I need to use an external mesher from within gid and I want to automate the creation of the input file and the execution of the external mesher in a tcl procedure within the tcl file of my problemtype. What I need to do is following: 1) create in the project directory an input file called *.in for the mesher out of some data stored in global variables 2) move that input file to the problemtype directory where the mesher is 3) feed the input file into the mesher 4) move the output file of the mesher and the input file back to the project directory 5) read that output file into gid My problem is that I don't know how to create an input file with the extension .in within the project directory, as the pathname of that directory always changes with the name of the project. What I need is something like the filespd-argument, but for a file called *.in. Can I use the tcl-command exec to run a subprocess for the creation of the mesh file with the external mesher? thanks for response, Andreas -------------- next part -------------- An HTML attachment was scrubbed... URL: ... [GiDlist] using external mesher
Send by: Enrique Escolano proc InitGIDProject { dir } {
global MyVarsPriv
#store the problemtype path inside a global variable
set MyVarsPriv(DirProblemType) $dir
}
proc ExternalMesher { } {
#for example, your own variables are stored in a array named MyVarsPriv
global MyVarsPriv
set projectname [lindex [.central.s info project] 1]
set filename $projectname.in
set fout [open $filename w]
#write your data in the file with the tcl command puts
#puts $fout $MyVarsPriv(Param)
close $fout
#copy this file from the model directory to the problemtype directory
set copyfilename [file join $MyVarsPriv(DirProblemType) [file tail $filename]]
file copy $filename $copyfilename
#run the external mesher, for example named "Mesher.exe" whit the input file as parameter
set mesher [file join $MyVarsPriv(DirProblemType) Mesher.exe]
exec $mesher $copyfilename
#copy the output , named for example out.msh from the problemtype directory to the model directory
file copy [file join $MyVarsPriv(DirProblemType) out.msh] $projectname.msh
#read the mesh file (if it is in ASCII GiD mesh format) inside GiD
.central.s process escape escape escape escape Files MeshRead $projectname.msh
}
Note: Instead copy the .in file inside the problemtype directory, it is best to call directly the mesher from the model directory
(It is possible that your user cannot have write permission inside the problemtype directory, but you can write inside your model directory).
cd [file dirname $filename]
set mesher [file join $MyVarsPriv(DirProblemType) Mesher.exe]
exec $mesher $filename
file rename out.msh $projectname.msh
Note: InitGIDProject, .central.s process and .central.s info are specific GiD/tcl commands,
the rest of code is standard tcl language.
Enrique Escolano
----- Original Message -----
From: Andreas Friedberg
To: GiD mailinglist
Sent: Monday, January 27, 2003 11:42 PM
Subject: [GiDlist] using external mesher
Hi Enrique,
thanks for your quick response. I have implemtented the creation of a *.spd-file in the LoadGiDProject-procedure.
I need to use an external mesher from within gid and I want to automate the creation of the input file and the execution of the external mesher in a tcl procedure within the tcl file of my problemtype. What I need to do is following:
1) create in the project directory an input file called *.in for the mesher out of some data stored in global variables
2) move that input file to the problemtype directory where the mesher is
3) feed the input file into the mesher
4) move the output file of the mesher and the input file back to the project directory
5) read that output file into gid
My problem is that I don't know how to create an input file with the extension .in within the project directory, as the pathname of that directory always changes with the name of the project. What I need is something like the filespd-argument, but for a file called *.in.
Can I use the tcl-command exec to run a subprocess for the creation of the mesh file with the external mesher?
thanks for response, Andreas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: ...
[GiDlist] execution of external mesher
Send by: Andreas Friedberg Hi Enrique,
thanks for your advice. The creation of the input file for the external
mesher works fine. But I have a problem with the execution of the external
mesher. When I try to execute the mesher from within a tcl procedure, I get
an error message. It seems to me that the path to that mesher is wrong, but
I checked it and couldn't find any fault. Here is the tcl procedure from
which I want to start the mesher:
proc Vernetzen {w} {
global NetzPriv
global GeometriePriv
global VoreinstellungPriv
global HalbraumartPriv
global Projektverzeichnis
set Projektname [lindex [.central.s info project] 1]
set Inputdateibis [join [list $Projektname "gid"] .]
set Inputdatei [join [list $Inputdateibis "D3D_gid_msh.in"] /]
set 1000 [list $GeometriePriv(afx) $GeometriePriv(afy)
$GeometriePriv(lax) $GeometriePriv(lay) $GeometriePriv(bx)
$GeometriePriv(by)]
set 1010 [list $NetzPriv(aex) $NetzPriv(aey)]
set 1020 [list $NetzPriv(aebx) $NetzPriv(aeby)]
set channel [open $Inputdatei w]
puts $channel "! Input-File für das Programmsystem D3D ab Version 3.200"
puts $channel ":0000 ! Titel"
puts $channel "Netzausgabe für GiD"
puts $channel "!"
puts $channel ":0010 ! BerechnungsArt"
if { $VoreinstellungPriv(Belastungsart) == " schlaffe_Last " } {
puts $channel "1" }
if { $VoreinstellungPriv(Belastungsart) == " starre_Platte " } {
puts $channel "2" }
if { $VoreinstellungPriv(Belastungsart) == " elastische_Platte " } {
puts $channel "3" }
puts $channel "!"
puts $channel ":1000 ! AnzFlaeche_x AnzFlaeche_y Abstand_x Abstand_y
Breite_x Breite_y"
puts $channel $1000
puts $channel "!"
puts $channel ":1010 ! Elementierung der Platte: PlatTlgX PlatTlgY"
puts $channel $1010
puts $channel "!"
puts $channel ":1020 ! Teilung in Bodenelemente: x-Richtung y-Richtung"
puts $channel $1020
puts $channel "!"
puts $channel ":1099 ! Abstand_z"
puts $channel $NetzPriv(afb)
puts $channel "!"
close $channel
set KopierInputdatei [file join $Projektverzeichnis [file tail
$Inputdatei]]
file delete $KopierInputdatei
file copy $Inputdatei $KopierInputdatei
set Mesher [file join $Projektverzeichnis D3D_gid_msh.exe]
file attributes $Mesher -shortname
WarnWinText $Mesher
WarnWinText $KopierInputdatei
exec $Mesher
#...
}
Here is where I get the error message.
I also tried to execute the mesher with the following line:
exec $Mesher $KopierInputdatei
but I got the same error message.
The error message reads as follows:
C:ProgrammeGiDGiD7.2D3D_gid_msh.in
Image PC
Routine Line
Source
D3D_gid_msh.exe
0040F102 Unknown Unknown Unknown
D3D_gid_msh.exe
0040EF03 Unknown Unknown Unknown
D3D_gid_msh.exe
0040E0C4 Unknown Unknown Unknown
D3D_gid_msh.exe
0040E33E Unknown Unknown Unknown
D3D_gid_msh.exe
00406565 Unknown Unknown Unknown
D3D_gid_msh.exe
00401806 Unknown Unknown Unknown
D3D_gid_msh.exe
004011D2 Unknown Unknown Unknown
D3D_gid_msh.exe
00431809 Unknown
The path that is indicated at the beginning of the error message doesn't
exist, because I didn't copy or create the input file for the mesher
(D3D_gid_msh.in) in the directory of gid. I don't have any clue what the
rest of the error message means.
thanks for response,
regards, Andreas
_________________________________________________________________
Hotmail - Absolut kostenfrei! Der weltweit größte E-Mail-Anbieter im Netz:
...
[GiDlist] execution of external mesher
Send by: Enrique Escolano If you have installed tcl/tk (can download from http://tcl.activestate.com) , the you can open a tcl/tk console (Whish or tkcon) to try to run outside GiD with exec your program. Your code always try to read from a file named "D3D_gid_msh.in" located in the same directory as D3D_gid_msh.exe? It is best to expect from your code the filename as command line parameter, else cannot be used "exec $Mesher $KopierInputdatei" Enrique ----- Original Message ----- From: "Andreas Friedberg" <andreasfriedberg at hotmail.com> To: <... [GiDlist] Diagonals ...
Send by: Alisson P. Chaves Hello all, I'm needing to generate meshes with triangular elements using different diagonal options. Is it possible to make meshes in the "Union Jack" style, with diagonals in different senses in the GiD ? Thanks! Best regards, alisson __________________________________________________________ Alisson P. Chaves alisson at dees.ufmg.br MSc. student Department of Structural Engineering Universidade Federal de Minas Gerais Av. do Contorno 842 - 2o. andar 30110-060 Belo Horizonte, MG, Brasil __________________________________________________________ ... [GiDlist] Diagonals ...
Send by: Enrique Escolano It is not possible to control the diagonals of the generated triangles. If your geometry is simple, you can create the surfaces, using copy, etc, with the final shape of the desired mesh, and generate after only a element for each surface. Enrique ----- Original Message ----- From: "Alisson P. Chaves" <Alisson at dees.ufmg.br> To: <gidlist at gatxan.cimne.upc.es> Sent: Wednesday, January 29, 2003 11:58 AM Subject: [GiDlist] Diagonals ... > Hello all, > > I'm needing to generate meshes with triangular elements using ... [GiDlist] renumbering of mesh
Send by: Andreas Friedberg Hi Enrique, thanks for your advice about the external mesher, everything works fine now. I have another question: Is it possible to renumber a mesh created with the gid-mesher through a tcl procedure in a specified way? I would like to use the gid mesher, but I need to assign the numbers of the nodes in a certain way, depending on the coordinates of the nodes (I only use structured 2D-meshes). Is that possible? I tried to do it with the command "renumber", but I can't control the assignement of the nodes numbering. Could I do that within a tcl procedure? I have another question: what format does the preprocess mesh file (*.msh) of gid have? It is obviously not text-formatted as the postprocess mesh file (*.flavia.msh). thanks for your response, Andreas Friedberg -------------- next part -------------- An HTML attachment was scrubbed... URL: ... [GiDlist] renumbering of mesh
Send by: Enrique Escolano It not exist any tcl/GiD command to force a node number. The automatic renumber set an automatic numeration finding a low matrix bandwidth for the analysis. To force a "special numeration" it is possible to get from tcl a list with the nodes and elements of the GiD mesh: set elems [.central.s info mesh elements linear] set nodes [.central.s info mesh nodes] Then renumber the tcl list of nodes with the own criteria, and write a mesh ASCII file in a temporary file, # renumber ... # set filename [file join $env(TMP) mymesh.tmp] # if this filename exists, then use another name as mymesh-1.tmp, mymesh-2.tmp, etc. # set fout [open $filename w] # write the mesh ... # close $filename then delete the current mesh: .central.s process escape escape escape escape meshing cancelmesh yes Load this mesh file inside GiD, and delete the temporary file. .central.s process escape escape escape escape files MeshRead "$filename" file delete $filename Note: The preprocess ASCII mesh file format is similar as the postprocess mesh file. See help on Files->Import->GiD mesh (GiD preprocess save the mesh files in binary format, but it can also read the ASCII format). To save the preprocess mesh in ASCII format, can use Files->Export->GiD mesh Regards Enrique Escolano ----- Original Message ----- From: Andreas Friedberg To: GiD mailinglist Sent: Tuesday, February 04, 2003 9:52 PM Subject: [GiDlist] renumbering of mesh Hi Enrique, thanks for your advice about the external mesher, everything works fine now. I have another question: Is it possible to renumber a mesh created with the gid-mesher through a tcl procedure in a specified way? I would like to use the gid mesher, but I need to assign the numbers of the nodes in a certain way, depending on the coordinates of the nodes (I only use structured 2D-meshes). Is that possible? I tried to do it with the command "renumber", but I can't control the assignement of the nodes numbering. Could I do that within a tcl procedure? I have another question: what format does the preprocess mesh file (*.msh) of gid have? It is obviously not text-formatted as the postprocess mesh file (*.flavia.msh). thanks for your response, Andreas Friedberg -------------- next part -------------- An HTML attachment was scrubbed... URL: ... [GiDlist] Question on nastran tcl file and Communicate with GiD
Send by: VSayako Willy Hi GiD team
Nastran.gid is another good example of creating tcl
file using inside GiD where I always learn from that
sources. May I ask you some questions as the
followings:
1. In nassection.tcl file I have cut off some data:
namespace eval sections (
variable section type ""
.......
variable
variable section_data {
R0lGODlhGAAYAKEAADMzMwAAAL6NkMzMzCH+Dk1hZGUgd2l0aCBHSU1QACH5
BAEKAAMALAAAAAAYABgAAAJJnI+py+3fgJwy0KuA2Lx7AWTfyIXJRWKO1EnQ
Wb6LJgSyCN5wrh+02Rv8goYhMbAB9mi8G6uknFFSFBzpExVeR9nLxOJ1EceP
AgA7
}
What kind of data as shown above? Any reasons? does
each char stands for something? I'm not familiar with
this kind of input data. would you please clarify.
2. Can you give more information about
"TKWIDGET:xxxxxxx:ComunicateWithGiD" and Proc to
communicate with GiD...Should we keep the same format
and order while writing this Proc?
Best regards.
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
...
[GiDlist] Question on nastran tcl file and Communicate with GiD
Send by: Aleix Valls Hi, 1- This data is a *.gif image in base64 format. If you take a look at the following line you will see: variable section [image create photo -data[set section_data]] With this command we will save "section_data" image in variable "section" in appropriate format to use like an icon for button section in property window. 2- More information about TKWIDGET in the attachment Aleix Nastran interface developer. -----Mensaje original----- De: gidlist-admin at gatxan.cimne.upc.es [mailto:gidlist-admin at gatxan.cimne.upc.es... [GiDlist] localnodes
Send by: Pablo Perez del Castillo Hello I would like to get connectivities with local nodes, so i try with conditions over surfaces like: NUMBER: 2 CONDITION: Surface_Sail CONDTYPE: over surfaces CONDMESHTYPE: over body elements QUESTION: Local_Axes#LA#(-Default-,-Automatic-) VALUE: -Default- CANREPEAT: No END CONDITION And in the bas file: *set cond Surface_Sail *elems *loop elems *OnlyInCond *elemsnum *localnodes *end but Gid tell me "there is no numface" What is wrong? Advanced thanks Pablo -------------- next part -------------- An HTML attachment was scrubbed... URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20030206/8e24fd58/attachment.htm... [GiDlist] localnodes
Send by: Enrique Escolano localnodes, is a order to list only the local nodes numeration of a element face with this condition, not all the element conectivities. For example, to assign a condition over some "edges" of the surface elements (the "edges" located over a line) then instead CONDTYPE: over surfaces CONDMESHTYPE: over body elements use CONDTYPE: over lines CONDMESHTYPE: over face elements Note: the automatic local axes for this boundary line are different as the local axes for the surface. Enrique ----- Original Message ----- From: Pablo Perez del Castillo To: gidlist at gatxan.cimne.upc.es... [GiDlist] localnodes
Send by: Pablo Perez del Castillo so, i can not get local nodes numeration in every element, is it? Enrique Escolano escribió: > localnodes, is a order to list only the local nodes numeration of a > element face with this condition, not all the element conectivities. > For example, to assign a condition over some "edges" of the surface > elements(the "edges" located over a line) then insteadCONDTYPE: over > surfacesCONDMESHTYPE: over body elements > useCONDTYPE: over linesCONDMESHTYPE: over face elements Note: the > automatic local axes for this boundary line are different as the local > axes for the surface. Enrique ... [GiDlist] localnodes
Send by: Enrique Escolano The local numeration for a triangle of 3 nodes is foreach element: 1 2 3 constant!! the order *localnodes with a condition over face elements, returns for example 1 2, 2 3, or 3 1 to indicate a "edge" *globalnodes returns the label number of this localnodes, for example 274 589, 589 948, 948 274 Enrique ----- Original Message ----- From: Pablo Perez del Castillo To: gidlist at gatxan.cimne.upc.es Sent: Friday, February 07, 2003 5:34 AM Subject: Re: [GiDlist] localnodes so, i can not get local nodes numeration in every element, is it? Enrique Escolano escribió: localnodes, is a order to list only the local nodes numeration of a element face with this condition, not all the element conectivities. For example, to assign a condition over some "edges" of the surface elements(the "edges" located over a line) then insteadCONDTYPE: over surfacesCONDMESHTYPE: over body elements useCONDTYPE: over linesCONDMESHTYPE: over face elements Note: the automatic local axes for this boundary line are different as the local axes for the surface. Enrique ----- Original Message ----- From:Pablo Perez del Castillo To: ... [GiDlist] formatting in tcl
Send by: Andreas Friedberg Hi Enrique, your advice about the renumbering of nodes was very useful. I have a question about specifying a certain format for floating point and integer values in tcl. I would like to prescribe floating point and integer format for certain values that I need to write into a file. I need also to transform certain integer values into floating point values and vice versa. I tried to figure out the tcl command for these operations, but I couldn't find any except the command format which is used for strings. What tcl command allows these operations? thanks for your response, Andreas Friedberg -------------- next part -------------- An HTML attachment was scrubbed... URL: ... [GiDlist] formatting in tcl
Send by: Enrique Escolano The tcl command is format, the format string is any valid C printf format. for example: format "%lf" 3.5 3.5 must be a float to truncate a float to a integer use expr to evaluate a mathematical expression: expr int(3.5) Enrique ----- Original Message ----- From: Andreas Friedberg To: GiD mailinglist Sent: Wednesday, February 05, 2003 9:33 PM Subject: [GiDlist] formatting in tcl Hi Enrique, your advice about the renumbering of nodes was very useful. I have a question about specifying a certain format for floating point and integer values in tcl. I would like to prescribe floating point and integer format for certain values that I need to write into a file. I need also to transform certain integer values into floating point values and vice versa. I tried to figure out the tcl command for these operations, but I couldn't find any except the command format which is used for strings. What tcl command allows these operations? thanks for your response, Andreas Friedberg -------------- next part -------------- An HTML attachment was scrubbed... URL: ... [GiDlist] formatting in tcl
Send by: Miguel A. de Riera Pasenau to get a real value from an integer: for expresions: set int_value 1234 set res [ expr log( double( $int_value))] for format, you can do this too: format "%f" $int_value miguel -------------------------------------------------------------------------------- Miguel A. de Riera Pasenau miguel at cimne.upc.es http://gid.cimne.upc.es [GiDlist] GiDpost library
Send by: Miguel A. de Riera Pasenau Hello, community, We've created the 'GiDpost library' http://www.gidhome.com/support/gidpost GiDpost is a set of functions (library) for writing postprocess results for GiD in ASCII ( up version 6.1.4b) or binary format ( up version 7.2). It works in Windows and Linux. Feel free to test it and send your comments and suggestions here. miguel jorge suit -- -------------------------------------------------------------------------------- Miguel A. de Riera Pasenau miguel at cimne.upc.es ... [GiDlist] Error during Export VRML
Send by: Wuttipum Ittiponsopar Why during i export vrml file with quadratic mesh, it has error message "Message in line number 8. Error : element are Quadratic." ? How to fix this problem? Thank you very much. _________________________________________________________________ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail [GiDlist] Error during Export VRML
Send by: Enrique Escolano This VRML output interface is written to export only line, triangle or quadrilateral linear elements. You can modify the template file VRML.bas (located inside /templates directory): 1) comment the lines checking if the mesh is quadratic (add *# at first to comment): *#*if(isquadratic) *#*MessageBox Error: elements are Quadratic. *#*endif 2) Change the word ElemsNnode to ElemsNnodeCurt (ElemsNnodeCurt return 3 for a triangle linear -3 nodes- or quadratic -6 nodes-) instead *for(INODO=1;INODO<=ElemsNnode;INODO=INODO+1) write *for(INODO=1;INODO<=ElemsNnodeCurt;INODO=INODO+1) Note: With this small changes, the quadratic nodes are also written in the vrml file, but the element conectivities are written only as linear. Enrique Escolano ----- Original Message ----- From: "Wuttipum Ittiponsopar" <... [GiDlist] problem with bas file
Send by: Andreas Friedberg Hi GiD-Team,
I am writing the template file for a problem type and I have a problem about data storing. I store some values (the user inputs them through a window which is created with a tcl procedure within the tcl file of the problem type) in global variables during the preprocess and I need to temporarily store these values in variables in the template file, so as to decide by these values which data in the configuration files I have to access to write the input file.
I tried the *tcl command of the bas file to get the values of the global variables in the tcl file, but the problem with this command is the fact that I cannot store these values but only write them directly into the input file.
Next is what I have written in the bas file:
*tcl(Belastungsart)
That corresponds to a procedure in the tcl file:
proc Belastungsart { } {
global VoreinstellungPriv
if { $VoreinstellungPriv(Belastungsart) == " schlaffe_Last " } {
return { 1 } }
if { $VoreinstellungPriv(Belastungsart) == " starre_Platte " } {
return { 2 } }
if { $VoreinstellungPriv(Belastungsart) == " elastische_Platte " } {
return { 3 } }
}
What I would need to do is to store the value I get from the tcl procedure with the *tcl command in a variable in the bas file; something like this:
*Set var belastungsart=*tcl(Belastungsart)
...
*if(belastungsart==2)
...
*endif
That does not work because the *tcl command is not an arithmetic expression. Is there a possibility to store other data in a variable in the bas file?
If not, how can I get to temporarily store some gobal variables of the tcl file in the bas file?
thaks for response,
Andreas Friedberg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: ...
[GiDlist] problem with bas file
Send by: Enrique Escolano Now the *tcl writes directly to the output file, but it not returns any value to the "bas" file.
You can write the conditional data also from tcl.
It is possible also some "dark" trick, for example, use a general data field in the *.prb file (can be hidden) to pass
the value between tcl and the bas file:
*.prb file
QUESTION:Belastungsart:#CB#(schlaffe_Last,starre_Platte,elastische_Platte)
VALUE: schlaffe_Last
STATE: HIDDEN
*.tcl file
proc Belastungsart { } {
global VoreinstellungPriv
.central.s process escape escape escape data problemdata singlefield
Belastungsart $VoreinstellungPriv(Belastungsart)
return
}
*.bas file
*tcl(Belastungsart)
*if(strcmp(GenData(Belastungsart),"schlaffe_Last")==0)
...
In fact, you can make the problemdata field visible, and it is not necessary a special tcl window to
input this data, and the aditional tcl proc Belastungsart.
Enrique Escolano
----- Original Message -----
From: Andreas Friedberg
To: GiD mailinglist
Sent: Sunday, February 09, 2003 10:52 PM
Subject: [GiDlist] problem with bas file
Hi GiD-Team,
I am writing the template file for a problem type and I have a problem about data storing. I store some values (the user inputs them through a window which is created with a tcl procedure within the tcl file of the problem type) in global variables during the preprocess and I need to temporarily store these values in variables in the template file, so as to decide by these values which data in the configuration files I have to access to write the input file.
I tried the *tcl command of the bas file to get the values of the global variables in the tcl file, but the problem with this command is the fact that I cannot store these values but only write them directly into the input file.
Next is what I have written in the bas file:
*tcl(Belastungsart)
That corresponds to a procedure in the tcl file:
proc Belastungsart { } {
global VoreinstellungPriv
if { $VoreinstellungPriv(Belastungsart) == " schlaffe_Last " } {
return { 1 } }
if { $VoreinstellungPriv(Belastungsart) == " starre_Platte " } {
return { 2 } }
if { $VoreinstellungPriv(Belastungsart) == " elastische_Platte " } {
return { 3 } }
}
What I would need to do is to store the value I get from the tcl procedure with the *tcl command in a variable in the bas file; something like this:
*Set var belastungsart=*tcl(Belastungsart)
...
*if(belastungsart==2)
...
*endif
That does not work because the *tcl command is not an arithmetic expression. Is there a possibility to store other data in a variable in the bas file?
If not, how can I get to temporarily store some gobal variables of the tcl file in the bas file?
thaks for response,
Andreas Friedberg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: ...
[GiDlist] problem with bas file
Send by: ieea Dear all,
I am using now the fonction given by Enrique in the last message. This
is very easy to do.
Nevertheless, I noticed a problem to transfert names with blank inside
from Tcl windows to GID template files.
For example, I wrote:
in a Tcl file associated to a user's window in GID
proc AntPatToData {} {
global ANTENNA_DIAGRAMME
set longueur [string length $ANTENNA_DIAGRAMME]
set name [string range $ANTENNA_DIAGRAMME 0 $longueur]
.central.s process escape escape escape data problemdata
singlefield
AntennaPattern $name
}
The name is here C:Program FilesGiDGiD7.1 estpattern.txt, with a
blank space
between "Program" and "Files".
Then, in my *.bas, there is:
...
*if(strcmp(GenData(Ponctual),"YES")==0)
#EmissionPoint
*GenData(AntennaPattern)
...
and in my *.prb, ther is:
...
QUESTION: AntennaPattern
VALUE: none
...
This is the way given in the last message.
But, when I do that, I cannot obtain the right file name.
The name transfered is actually C:Program instead of
C:Program FilesGiDGiD7.1 estpattern.txt !
Could you give me a good way to solve this problem.
Thank you for your response
G.W.R.Geis
Enrique Escolano a écrit :
>...
[GiDlist] problem with bas file
Send by: Jorge Suit Perez Ronda You should enclose the path , returned in the last sentence of
AntPatToData, in a tcl list, like this:
list [.central.s process escape escape escape data problemdata singlefield
AntennaPattern $name]
best regards
Jorge Suit
ieea wrote:
>Dear all,
>
>I am using now the fonction given by Enrique in the last message. This
>is very easy to do.
>Nevertheless, I noticed a problem to transfert names with blank inside
>from Tcl windows to GID template files.
>For example, I wrote:
>
>in a Tcl file associated to a user's window in GID
>...
[GiDlist] problem with bas file
Send by: Jorge Suit Perez Ronda Forget this email, there is a big mistake in it. Sorry!!! Jorge Suit Jorge Suit Perez Ronda wrote: > You should enclose the path , returned in the last sentence of > AntPatToData, in a tcl list, like this: > > list [.central.s process escape escape escape data problemdata > singlefield > AntennaPattern $name] > > best regards > > Jorge Suit > > ieea wrote: > >>Dear all, >> >>I am using now the fonction given by Enrique in the last message. This >>is very easy to do. ... [GiDlist] problem with bas file
Send by: Enrique Escolano Enclose the name in quotes: .central.s process escape escape escape data problemdata singlefield AntennaPattern "$name" Enrique ----- Original Message ----- From: "ieea" <ieea at club-internet.fr> To: <gidlist at gatxan.cimne.upc.es> Sent: Thursday, February 20, 2003 10:57 AM Subject: Re: [GiDlist] problem with bas file > Dear all, > > I am using now the fonction given by Enrique in the last message. This > is very easy to do. > Nevertheless, I noticed a problem to transfert names with blank inside ... [GiDlist] problem with bas file
Send by: ieea Thank you very much to Jorge and Enrique... One problem less !! G.W.R.Geis Enrique Escolano a écrit : > Enclose the name in quotes: > ..central.s process escape escape escape data problemdata singlefield > AntennaPattern "$name" > > Enrique > ----- Original Message ----- > From: "ieea" <ieea at club-internet.fr> > To: <gidlist at gatxan.cimne.upc.es> > Sent: Thursday, February 20, 2003 10:57 AM >... [GiDlist] (no subject)
Send by: Ricardo Resende I'm using 3d hexahedra with 20 nodes, generated outside GID. And I'm using GID 7.2 in 2 computers, a desktop and a laptop. When I import a mesh, in the laptop, I have to change the display properties to see it (which settings should I use?). And, somehow, the incidences of the elements seem to become truncated. Another question is: GID doesn't use the nodes in the sides of the hexaheadra to draw the elements, which results in a great number of mistakes in the meash not being detected. Also, in preprocessing, when doing "list", al the nodes apear in the screen and in the list dialog box, but in post-processing, only the corner nodes apear. Will this be correctd soon? I include a file with a mesh. José Ricardo Pontes Resende -------------------------------------------------------------- Bolseiro de Investigação Núcleo de Modelação Matemática e Física Departamento de Barragens Laboratório Nacional de Engenharia Civil mail: ... [GiDlist] (no subject)
Send by: Enrique Escolano In render visualization mode, by default the volume mesh is not showed. To view it, must select Meshing->Boundaries. If the variable SeeMsgRenderVolume is not zero, then if you change the render mode to Flatlighting or Smootlighting a dialog window is open to ask to draw the mesh as boundary. To set this variable to true, write (in the command line) this order: escape escape escape utilities variables SeeMsgRenderVolume 1 [GiDlist] (no subject)
Send by: Miguel A. de Riera Pasenau Hello,
in the prefences window, 'graphical' panel,
there is a menubutton with the label 'Draw quadratic elements'.
With this option you can choose how to draw the quadratic elements:
· No - elements will be drawn as linear elements, so middle nodes are not taken
into account
· As lines - the edges of the elements will be drawn as lines using the middle nodes.
· As curves - the edges of the elements will be drawn as curves passing through the
middle nodes. these curves will be drawn in preprocess while in the
wireframe mode and flat render, in post while using the *boundaries mode.
miguel
Ricardo Resende wrote:
>...
[GiDlist] (no subject)
Send by: Miguel A. de Riera Pasenau beside that, the connectivities are not correct. Please, look at http://gid.cimne.com/support/gid_16.subst#hexa20.gif i send you the corrected ones miguel Ricardo Resende wrote: > > I'm using 3d hexahedra with 20 nodes, generated outside GID. And I'm using GID 7.2 in 2 computers, a desktop and a laptop. When > I import a mesh, in the laptop, I have to change the display properties to see it (which settings should I use?). And, somehow, > the incidences of the elements seem to become truncated. > > Another question is: GID doesn't use the nodes in the sides of the hexaheadra to draw the elements, which results in a great ... [GiDlist] Problem with selecting points
Send by: Chen Guangjing Dear Sir/Madam There is a problem with my GID 6.1.2: when I select a point from a geometric figure or mesh, the point becomes red, but the red point is so small that it is difficult to see the red color clearly. so could you please do me a favor to tell me how to improve it? I look forward to your reply! Yours sincerely, Chen Gaungjing Edificio D2 [GiDlist] Problem with selecting points
Send by: Javier Mora You can use two additional tools: Utilities - Signal - Points (the point is signed using four lines) View - Label - All in - Points (you will see a label for each selected point) > -----Mensaje original----- > De: gidlist-admin at gatxan.cimne.upc.es > [mailto:gidlist-admin at gatxan.cimne.upc.es]En nombre de Chen Guangjing > Enviado el: miércoles, 12 de febrero de 2003 15:21 > Para: GiDlist at gatxan.cimne.upc.es... [GiDlist] Problem with selecting points
Send by: Chen Guangjing Hi, Javier Many thanks for your reply! But for me I hope the points selected to be marked by bigger red point. This problem happened recently, and there was no such problem with my previous GID. Chen Javier Mora wrote: > You can use two additional tools: > > Utilities - Signal - Points (the point is signed using four lines) > View - Label - All in - Points (you will see a label for each selected > point) > > > -----Mensaje original----- > > De: gidlist-admin at gatxan.cimne.upc.es >... [GiDlist] Problem with selecting points
Send by: Javier Mora Other suggestion: check a newer version, GiD7.2 or the last beta version of GiD6: ftp://gid.cimne.upc.es/pub/gid_adds/Windows/Old/GiD6.3.0b-win.exe (12.6 MB) > -----Mensaje original----- > De: gidlist-admin at gatxan.cimne.upc.es > [mailto:gidlist-admin at gatxan.cimne.upc.es]En nombre de Chen Guangjing > Enviado el: miércoles, 12 de febrero de 2003 16:03 > Para: gidlist at gatxan.cimne.upc.es... [GiDlist] Problem with selecting points
Send by: Chen Guangjing Many thanks, but this problem still exists for both GID6.3.0b and GID7.2. When I want to create a line, I just wish its two boundary points to be bigger. Chen Javier Mora wrote: > Other suggestion: check a newer version, GiD7.2 or the last beta version of > GiD6: > ftp://gid.cimne.upc.es/pub/gid_adds/Windows/Old/GiD6.3.0b-win.exe (12.6 MB) > > > -----Mensaje original----- > > De: gidlist-admin at gatxan.cimne.upc.es > > [mailto:... [GiDlist] Problem with selecting points
Send by: Enrique Escolano For the next beta version, we are working in a "custom render" mode. The user can create more "user-defined" render modes, setting some options: point and line size, color by layer or by entity type, etc. Enrique Escolano ----- Original Message ----- From: "Chen Guangjing" <chen.guangjing at upc.es> To: <gidlist at gatxan.cimne.upc.es> Sent: Wednesday, February 12, 2003 6:10 PM Subject: Re: [GiDlist] Problem with selecting points > Many thanks, but this problem still exists for both GID6.3.0b and GID7.2. ... [GiDlist] Problem with selecting points
Send by: Chen Guangjing Many thanks! I know where to change the color of point, line, etc., but I don't know where to change point size. If you could tell me it will be much appreciated! Chen Enrique Escolano wrote: > For the next beta version, we are working in a "custom render" mode. > The user can create more "user-defined" render modes, setting some options: > point and line size, color by layer or by entity type, etc. > > Enrique Escolano > > ----- Original Message ----- > From: "Chen Guangjing" <chen.guangjing at upc.es... [GiDlist] Problem with selecting points
Send by: Enrique Escolano Until this future beta version, the point size cannot be changed. Enrique ----- Original Message ----- From: "Chen Guangjing" <chen.guangjing at upc.es> To: <gidlist at gatxan.cimne.upc.es> Sent: Wednesday, February 12, 2003 7:39 PM Subject: Re: [GiDlist] Problem with selecting points > Many thanks! > I know where to change the color of point, line, etc., but I don't know where to > change point size. > If you could tell me it will be much appreciated! ... [GiDlist] Problem with selecting points
Send by: Chen Guangjing Many thanks! Compared with the point size in other user's GID, the point size in my GID is much smaller, and I can't see it clearly, so I can't work on. Something must be wrong with my GID setting. Chen Enrique Escolano wrote: > Until this future beta version, the point size cannot be changed. > > Enrique > ----- Original Message ----- > From: "Chen Guangjing" <chen.guangjing at upc.es> > To: <gidlist at gatxan.cimne.upc.es... [GiDlist] Problem with selecting points
Send by: Enrique Escolano If your poit size is too small, try if exists some setting of your graphic card to correct it. Note: Find this setting in Windows (not in GiD): screen properties -> configuration -> advanced... Try also to update your graphic card driver. Enrique ----- Original Message ----- From: "Chen Guangjing" <chen.guangjing at upc.es> To: <gidlist at gatxan.cimne.upc.es> Sent: Thursday, February 13, 2003 10:20 AM Subject: Re: [GiDlist] Problem with selecting points > Many thanks! ... [GiDlist] Problem with selecting points
Send by: Chen Guangjing I have tried to change the configuration of the screen, but it didn't work either. Chen Enrique Escolano wrote: > If your poit size is too small, try if exists some setting of your > graphic card to correct it. > > Note: Find this setting in Windows (not in GiD): > screen properties -> configuration -> advanced... > > Try also to update your graphic card driver. > > Enrique > > ----- Original Message ----- > From: "Chen Guangjing" <chen.guangjing at upc.es... [GiDlist] Problem with selecting points
Send by: Miguel A. de Riera Pasenau Which Graphic card are you using? Does the problem also appear when you change to 256 Colours? In Windows, in the Display properties Configuration panel, there is a button with label 'advance settings' or 'advanced options'. Clicking on this button a window appears with some more settings. there should be a panel with your graphics card name as label text, for instance 'GeForce2 MX' or so . . . inside this panel, there is a button called 'additional properties' another window appers. inside one of these panels probably under the one with 'openGl' as text, ther should be a setting like 'detail level' or 'optimize for . . .' with at least two options: for Speed and for Quality. You should change it to 'for Quality', so all the lines and points properties will be applied. Have you tried a new version of the drivers for your graphics card? miguel Chen Guangjing wrote: >... [GiDlist] Problem with selecting points
Send by: Chen Guangjing Many thanks for your good suggestion. My problem has been solved by using a new version of the drivers for my graphics card. Chen "Miguel A. de Riera Pasenau" wrote: > Which Graphic card are you using? > Does the problem also appear when you change to 256 Colours? > > In Windows, in the Display properties Configuration panel, > there is a button with label 'advance settings' or 'advanced options'. > Clicking on this button a window appears with some more settings. > there should be a panel with your graphics card name as label text, > for instance 'GeForce2 MX' or so . . . ... [GiDlist] help with tcl
Send by: Pablo Perez del Castillo Hello;
I try to get information about centroid with tcl for every element, so i
write:
*.bas
*loop elems
*set var num=elemsnum
*elemsnum *tcl(WriteCentroidesInfo *num)
*end elems
In the tcl i tried with two ways, with "regexp" and with "split " and
"lindex". With "regexp" i got error in variable $b, with "split" amd
"lindex" i get like this: center=2.22281
proc WriteCentroidesInfo {num} {
set a [.central.s info listMassProperties Elements $num]
regexp -nocase {Gravity center= ([0-9]+)} $a none b
return $b
#set b [split $a]
#set x [lindex $b 9]
#return $x
#set y [lindex $b 10]
#return $y
#set z [lindex $b 11]
#return $z
}
What is my mistake?, advanced thanks
Pablo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: ...
[GiDlist] help with tcl
Send by: Enrique Escolano Your regexp only expects "Gravity center=" and next a integer value (a string with numeric characters), but in this
case, the coordinates are real numbers (a real number can contain [0-9],+,-,.,E).
Use for example this regexp:
proc WriteCentroidesInfo {num} {
set a [.central.s info listMassProperties Elements $num]
regexp {Gravity center=([0-9.+eE-]+) ([0-9.+eE-]+) ([0-9.+eE-]+)} $a {} x y z
return "$x $y $z"
}
Enrique
----- Original Message -----
From: Pablo Perez del Castillo
To: gidlist at gatxan.cimne.upc.es
Sent: Thursday, February 13, 2003 12:59 AM
Subject: [GiDlist] help with tcl
Hello;
I try to get information about centroid with tcl for every element, so i write:
*.bas
*loop elems
*set var num=elemsnum
*elemsnum *tcl(WriteCentroidesInfo *num)
*end elems
In the tcl i tried with two ways, with "regexp" and with "split " and "lindex". With "regexp" i got error in variable $b, with "split" amd "lindex" i get like this: center=2.22281
proc WriteCentroidesInfo {num} {
set a [.central.s info listMassProperties Elements $num]
regexp -nocase {Gravity center= ([0-9]+)} $a none b
return $b
#set b [split $a]
#set x [lindex $b 9]
#return $x
#set y [lindex $b 10]
#return $y
#set z [lindex $b 11]
#return $z
}
What is my mistake?, advanced thanks
Pablo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: ...
[GiDlist] About RamShell steel Properties.
Send by: VSayako Willy Hi GiD team Could you advice or give some information about Standard Steel PropertiesRamShell? I'm creating the Standard Steel Properties, slightly different from Ramshell. I would like to know how to import the database of steel properties to the engine code, cuz there are more then 100 of properties. In Ramshell, does the engine <source code> read directly from the file <steelSection.txt> in scripts dir? or create the database of steel properties inside the code? I tried to create the database in Direct-file for FORTRAN but it seems not be working out. It would be gratefull if you would brief it for me how the efficient way to manage it. Many thanks. __________________________________________________ Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day ... [GiDlist] About RamShell steel Properties.
Send by: Enrique Escolano In principle, the fact to have more than 100 field in a material or condition, would not have to be a problem. In RamSeries, the steel properties are implemented as GiD conditions, instead GiD materials. (this problemtype not use any GiD material, the *.mat file is void) The problemtype read directly the own file <steelSection.txt> with tcl, and use this values to set the condition field values to assign. Enrique Escolano ----- Original Message ----- From: "VSayako Willy" <vilaysako at yahoo.com> To: <gidlist at gatxan.cimne.upc.es... [GiDlist] About RamShell steel Properties.
Send by: Ramon Ribó Hello, There are several ways to solve this problem. In RamSeries, rambshell contains all the library data inside the program source code. Of course, some kind of external utility is necessary so as to automatize all the data and syncronize both databases. Regards, -- Compass Ing. y Sistemas Dr. Ramon Ribó http://www.compassis.com ramsan at compassis.com c/ Manuel Girona, 61 bajos tel. +34 93 204 10 82 08034 Barcelona, Spain fax. +34 93 204 19 09 -----Mensaje original----- De: gidlist-admin at gatxan.cimne.upc.es... [GiDlist] precision of GID
Send by: Billy Fälth Hello I have a question about the internal precision of GID. How many digits does GID use when representing the coordinates of the nodes? I have a model, which has a maximum dimension of 2 meters and a minimum distance between nodes of 0.25 mm. When I load the result file in the postprocessor I get the message Finding edges: Problems with the triangle nr.. and the mesh is deformed in a strange way. Could this be due to the precision of GID maybe the precision in the result file? Regards BF Billy Fälth Clay Technology AB Ideon Research Center S 223 70 Lund, SWEDEN Tel +46 46 286 25 81 Fax +46 46 13 42 30 www.claytech.se <... [GiDlist] precision of GID
Send by: Enrique Escolano Internally, in GiD preprocess, the mesh and geometric operations are stored in variables type double (8 bytes), in postproces, and OpenGL visualization are stored using float type (4 bytes). Your model dimensions are useful, is not a precision problem. Please, send us your model and result files to check it. (Can send directly to escolano at cimne.upc.es) Enrique Escolano ----- Original Message ----- From: Billy Fälth To: gidlist at gatxan.cimne.upc.es Sent: Wednesday, February 19, 2003 12:29 PM Subject: [GiDlist] precision of GID Hello I have a question about the internal precision of GID. How many digits does GID use when representing the coordinates of the nodes? I have a model, which has a maximum dimension of 2 meters and a minimum distance between nodes of 0.25 mm. When I load the result file in the postprocessor I get the message "Finding edges: Problems with the triangle nr.." and the mesh is deformed in a strange way. Could this be due to the precision of GID maybe the precision in the result file? Regards BF Billy Fälth Clay Technology AB Ideon Research Center S 223 70 Lund, SWEDEN Tel +46 46 286 25 81 Fax +46 46 13 42 30 www.claytech.se -------------- next part -------------- An HTML attachment was scrubbed... URL: ... [GiDlist] test
[GiDlist] problem data
Send by: Pablo Perez del Castillo Hello I have troubles with problem data file, if i modify some value and close the problem data, when i open again or write calculate file, it does not save the changes, what is my mistake??? advanced thanks I am using 7.0beta and 7.2 PROBLEM DATA TITLE: General QUESTION: Unit_System#CB#(SI) VALUE: SI HELP: use coherent units QUESTION: Title VALUE: Default_title TITLE: Fluid_Properties QUESTION: Density VALUE: 1.17 HELP: no help this item QUESTION: Type_Flow#CB#(UNIFORM,TWISIMS) VALUE: UNIFORM HELP: you can choose between uniform flow, twist flow or IMS, it will calculate angle direcction with height QUESTION: Velocity VALUE: 10 QUESTION: alpha_i VALUE: 0 HELP: initial attack angle QUESTION: alpha_f VALUE: 10 HELP: final attack angle QUESTION: alpha_incr VALUE: 10 HELP: angle increment, so u can calculate in differents angles TITLE: Solver QUESTION: Number_steps VALUE:1 HELP: number steps in wake relax, it is recomended over 10-12 QUESTION: k_time VALUE: 0.05 HELP: time factor, it calculate time increment, it is recomended between 0.01,0.1 QUESTION: Lenght_elem_wake VALUE: 0.25 HELP: size wake element in the trailing edge QUESTION: Number_elem_wake VALUE: 20 HELP: number elements in every strip wake QUESTION: Solver_type#CB#(GAUSS_JORDAN_1,GAUSS_JORDAN_2,GASOLL) VALUE: GAUSS_JORDAN_1 HELP: If you don't know what a solver is, do not change this option. QUESTION: Cutt_off VALUE: 0.25 END GENERAL DATA -------------- next part -------------- An HTML attachment was scrubbed... URL: ... [GiDlist] problem data
Send by: Javier Mora I don't know exactly the reason, but it seems to be related to the use of a single-value option for the first question of the prb file. Check the following: Using more than one option in the first question: QUESTION: Unit_System#CB#(SI,CGS,USER) VALUE: SI HELP: use coherent units or swap the two first questions: QUESTION: Title VALUE: Default_title QUESTION: Unit_System#CB#(SI) VALUE: SI HELP: use coherent units Any of both solutions should work... -----Mensaje original----- De: gidlist-admin at gatxan.cimne.upc.es [mailto:gidlist-admin at gatxan.cimne.upc.es... [GiDlist] problem data
Send by: Enrique Escolano The problem is a confussion between the first field value "SI" and the reserved word "SingleField" It exists at this scope (Data Problemdata) two reserved words: "SingleField" and "Escape" It is a GiD bug in this two cases: - If your firts problem data field value match a left part of "SingleField" (case insensitive, as in your case "SI") - If your first problem data field value match the full word "Escape" (case insensitive) Avoid this bug using for example IS or International instead SI. QUESTION: Unit_System#CB#(International) VALUE: International Enrique Escolano ----- Original Message ----- From: Pablo Perez del Castillo To: gidlist at gatxan.cimne.upc.es... [GiDlist] A bug of intersection
Send by: edodo Hi all I have attached a batch file,You can infort it use GID.you can find that there is some trouble. edodo fea at eyou.com 2003-02-20 -------------- next part -------------- A non-text attachment was scrubbed... Name: 1.bch Type: application/octet-stream Size: 1855 bytes Desc: not available Url : http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20030220/ea863449/attachment.obj... [GiDlist] A bug of intersection
Send by: Miguel A. de Riera Pasenau This is what you wanted (look at 1.gif)? Which version are you using? Are you using the 7.2? miguel edodo wrote: > > Hi all > I have attached a batch file,You can infort it use GID.you can find that there is some trouble. > > > ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡edodo > ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡fea at eyou.com > ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡2003-02-20 ... [GiDlist] A bug of intersection
Send by: Enrique Escolano It exists a problem with the revolution surface: the first boundary line is not located with precision over the generated surface. (in render mode, this line and the surface are separated) We will try to correct this imprecisión of the surface creation as rapidly as possible. Enrique Escolano ----- Original Message ----- From: "edodo" <fea at eyou.com> To: "gidlist at gid.cimne.upc.es" <gidlist at gatxan.cimne.upc.es... [GiDlist] Calculate without meshing ?
Send by: ieea Dear All, In my problem type, I do not use mesh. In fact, I am working directly with NURBS generated with GID. I wish run an executable file with the "Calculate" command of GID, but each time, GID informs that "do not forget to generate a mesh". Is it possible to avoid this message ? Thank you for your response G.W.R.Geis [GiDlist] Calculate without meshing ?
Send by: Enrique Escolano Remove the "standard" Calculate menu and submenus, and add your own Calculate menu invoking your procedure (see help->Tcl-Tk extension->Managing menus) Enrique Escolano ----- Original Message ----- From: "ieea" <ieea at club-internet.fr> To: "GID list" <GIDlist at gatxan.cimne.upc.es> Sent: Thursday, February 20, 2003 11:01 AM Subject: [GiDlist] Calculate without meshing ? > Dear All, > > In my problem type, I do not use mesh. > In fact, I am working directly with NURBS generated with GID. ... [GiDlist] Problems reading IGES files
Send by: ieea Dear All (although this message be specially intended to GID's
programers...)
I noticed there is some problems when reading some IGES files.
Especially, some IDEAS's IGES files are not readable with GID !
Have you ever encountered this kind of problem ?
I join a sphere designed with IDEAS and recorded in IGES format.
This one is not readable with GID 7.1.
Thank you for your response.
G.W.R. Geis
-------------- next part --------------
S 1
,,22HI-DEAS Master Series 8,44H/home/asfauxd/IDEAS/RONSARD/sphere_ideas.G 1
igs,,27HI-DEAS 3D IGES Translator 8,32,38,6,308,15,3HAny,1.0D0,2,2HMM,1,G 2
0.0D0,15H20030220.095101,.01D0,10000000.0D0,,,11,0,15H20030220.095101,; G 3
128 1 0 0 0 0 0 000010001D 1
128 0 6 24 4 F1 1D 2
502 25 0 0 0 0 0 000010000D 3
502 0 0 1 1 0D 4
126 26 0 0 0 0 0 000010001D 5
126 0 6 6 2 E1 1D 6
504 32 0 0 0 0 0 000010001D 7
504 0 0 1 1 0D 8
126 33 0 0 0 0 0 000010500D 9
126 0 0 2 1 0D 10
126 35 0 0 0 0 0 000010500D 11
126 0 0 2 1 0D 12
508 37 0 0 0 0 0 000010001D 13
508 0 0 1 1 0D 14
510 38 0 0 0 0 0 000010001D 15
510 0 6 1 1 F1 1D 16
514 39 0 0 0 0 0 000010001D 17
514 0 0 1 1 0D 18
186 40 0 0 0 0 0 000000001D 19
186 0 0 1 0 0D 20
128,8,4,2,2,1,0,0,0,0,0.0D0,0.0D0,0.0D0,1.0D0,1.0D0,2.0D0,2.0D0, 1P 1
3.0D0,3.0D0,4.0D0,4.0D0,4.0D0,0.0D0,0.0D0,0.0D0,1.0D0,1.0D0, 1P 2
2.0D0,2.0D0,2.0D0,1.0D0,1.0D0,2.0D0,1.0D0,1.0D0,1.0D0,2.0D0, 1P 3
1.0D0,1.0D0,1.0D0,1.0D0,2.0D0,1.0D0,1.0D0,1.0D0,2.0D0,1.0D0, 1P 4
1.0D0,2.0D0,2.0D0,4.0D0,2.0D0,2.0D0,2.0D0,4.0D0,2.0D0,2.0D0, 1P 5
1.0D0,1.0D0,2.0D0,1.0D0,1.0D0,1.0D0,2.0D0,1.0D0,1.0D0,1.0D0, 1P 6
1.0D0,2.0D0,1.0D0,1.0D0,1.0D0,2.0D0,1.0D0,1.0D0,0.0D0,-100.0D0, 1P 7
0.0D0,0.0D0,-100.0D0,0.0D0,0.0D0,-100.0D0,0.0D0,0.0D0,-100.0D0, 1P 8
0.0D0,0.0D0,-100.0D0,0.0D0,0.0D0,-100.0D0,0.0D0,0.0D0,-100.0D0, 1P 9
0.0D0,0.0D0,-100.0D0,0.0D0,0.0D0,-100.0D0,0.0D0,100.0D0, 1P 10
-100.0D0,0.0D0,100.0D0,-100.0D0,-100.0D0,0.0D0,-100.0D0, 1P 11
-100.0D0,-100.0D0,-100.0D0,-100.0D0,-100.0D0,-100.0D0,0.0D0, 1P 12
-100.0D0,-100.0D0,100.0D0,0.0D0,-100.0D0,100.0D0,100.0D0, 1P 13
-100.0D0,100.0D0,100.0D0,-100.0D0,0.0D0,100.0D0,0.0D0,0.0D0, 1P 14
100.0D0,0.0D0,-100.0D0,0.0D0,0.0D0,-100.0D0,-100.0D0,0.0D0, 1P 15
-100.0D0,-100.0D0,0.0D0,0.0D0,-100.0D0,0.0D0,100.0D0,0.0D0, 1P 16
0.0D0,100.0D0,100.0D0,0.0D0,100.0D0,100.0D0,0.0D0,0.0D0,100.0D0, 1P 17
100.0D0,0.0D0,100.0D0,100.0D0,-100.0D0,0.0D0,100.0D0,-100.0D0, 1P 18
-100.0D0,100.0D0,-100.0D0,-100.0D0,100.0D0,0.0D0,-100.0D0, 1P 19
100.0D0,100.0D0,0.0D0,100.0D0,100.0D0,100.0D0,100.0D0,100.0D0, 1P 20
100.0D0,100.0D0,0.0D0,0.0D0,100.0D0,0.0D0,0.0D0,100.0D0,0.0D0, 1P 21
0.0D0,100.0D0,0.0D0,0.0D0,100.0D0,0.0D0,0.0D0,100.0D0,0.0D0, 1P 22
0.0D0,100.0D0,0.0D0,0.0D0,100.0D0,0.0D0,0.0D0,100.0D0,0.0D0, 1P 23
0.0D0,100.0D0,0.0D0,0.0D0,4.0D0,0.0D0,2.0D0; 1P 24
502,2,0.0D0,100.0D0,0.0D0,0.0D0,-100.0D0,0.0D0; 3P 25
126,4,2,1,0,0,0,0.0D0,0.0D0,0.0D0,.5D0,.5D0,1.0D0,1.0D0,1.0D0, 5P 26
1.0D0,.707106781186547D0,1.0D0,.707106781186547D0,1.0D0,0.0D0, 5P 27
100.0D0,0.0D0,100.0D0,100.0D0,0.0D0,100.0D0, 5P 28
-9.81307786677359D-15,0.0D0,100.0D0,-100.0D0,0.0D0, 5P 29
-2.53745236592799D-14,-100.0D0,0.0D0,0.0D0,1.0D0,0.0D0,0.0D0, 5P 30
1.0D0; 5P 31
504,1,5,3,1,3,2; 7P 32
126,1,1,0,0,1,0,0.0D0,0.0D0,1.0D0,1.0D0,1.0D0,1.0D0,4.0D0,0.0D0, 9P 33
0.0D0,4.0D0,2.0D0,0.0D0,0.0D0,1.0D0,0.0D0,0.0D0,0.0D0; 9P 34
126,1,1,0,0,1,0,0.0D0,0.0D0,1.0D0,1.0D0,1.0D0,1.0D0,0.0D0,2.0D0, 11P 35
0.0D0,0.0D0,0.0D0,0.0D0,0.0D0,1.0D0,0.0D0,0.0D0,0.0D0; 11P 36
508,2,0,7,1,0,1,1,9,0,7,1,1,1,1,11; 13P 37
510,1,1,1,13; 15P 38
514,1,15,1; 17P 39
186,17,1,0; 19P 40
S 1G 3D 20P 40 T 1
...
[GiDlist] GiD for Mac OS X
Send by: Miguel A. de Riera Pasenau Hey, people first beta release of GiD on Mac OS X, based on GiD 7.2: http://gid.cimne.upc.es/download/doMAC_v7.subst it uses the X11 window system and needs: · Mac OS X 10.2.1 ( check http://www.apple.com/macosx for updates) · X11 window system, for instance one of: - Apple: http://www.apple.com/macosx/x11 - XDarwin: http://www.xdarwin.org Once installed, GiD launches the X11 window system if it is not already launched, prior to executing itself. miguel -- -------------------------------------------------------------------------------- Miguel A. de Riera Pasenau ... [GiDlist] About ortholimits
Send by: ieea Dear All, Could somebody write me back what means the 7th value of the ortholimits of a geometry. The ortholimits values are the same that those present in the file generated by View->View->Save and the 7th value corresponds to the "e" variable. Thank you by advance. GWR Geis [GiDlist] About ortholimits
Send by: Miguel A. de Riera Pasenau the 'e' value from the 'View->save' file comes from: lets say that the bounding box of the model is Low(x,y,z) - High(x,y,z) Big = MAX( HighX - LowX, HighY - LowY, HighZ - LowZ) then e = 0.5 * sqrt( 3 * Big * Big); this value is used inside gid for the margins of the model and other calculations. miguel ieea wrote: > > Dear All, > > Could somebody write me back what means the 7th value of the ortholimits > of a geometry. > The ortholimits values are the same that those present in the file > generated by View->View->Save > and the 7th value corresponds to the "e" variable. ... [GiDlist] Fwd: Rectangle meshing
Send by: Khaled Obeidat >>Hi, >> >>Attached is a power point representation shows what we are looking for in >>GID. >> >>Best Regards, Khaled Obeidat R&D Engineer EMAG Technologies, Inc. www.emagtechnologies.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20030304/59868c93/attachment.htm -------------- next part -------------- A non-text attachment was scrubbed... Name: GID.ppt Type: application/octet-stream Size: 80384 bytes Desc: not available Url : ... [GiDlist] Fwd: Rectangle meshing
Send by: Enrique Escolano Sorry, but this kind of "grid mesh" cannot be obtained with GiD at this time. Enrique Escolano ----- Original Message ----- From: Khaled Obeidat To: gidlist at gatxan.cimne.upc.es Sent: Tuesday, March 04, 2003 8:01 PM Subject: [GiDlist] Fwd: Rectangle meshing Hi, Attached is a power point representation shows what we are looking for in GID. Best Regards, Khaled Obeidat R&D Engineer EMAG Technologies, Inc. www.emagtechnologies.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20030305/39379d79/attachment.htm... [GiDlist] loop over conditions
Send by: Mihai TEODORESCU Hello, I would like access the informations about the conditions applied over the model in a more precise manner. Something like for the materials, or the intervals data. Is there any way to make a loop over conditions? Best regards, -------------------------------------------- Mihai TEODORESCU Email: mihai.teodorescu at prevost-industries.com -------------------------------------------- [GiDlist] loop over conditions
[GiDlist] about GiD for Mac OSX
Send by: Miguel A. de Riera Pasenau Hello people, The ones of you which already have downloaded and installed GiD for Mac OSX will have noticed that there was a problem when launching GiD, if you don't have installed the Mac Development Tools. This problem is corrected. The launching 'script' has been changed with the new distribution which can be found at: ftp://gid.cimne.upc.es/pub/gid_adds/MacOSX/GiD7.2Install.dmg You will also notice that the package is smaller thatn the previous one. more details can be found in the 'Readme.txt' file ftp://gid.cimne.upc.es/pub/gid_adds/MacOSX/Readme.txt... [GiDlist] loop over conditions
Send by: Mihai TEODORESCU I already made a loop over nodes with a condition set. But the output is not exactly what I want. When I made: *set Cond Point_Déplacement_imposé *nodes *loop nodes *OnlyInCond *format "_F(NOEUD='N%i',DX=%f, DY=%f, DZ=%f,)," *NodesNum*cond(1,real)*cond(2,real)*cond(3,real) *end nodes the output was NOEUD='N3',DX=10.000000, DY=0.000000, DZ=0.000000, DRX=0.000000, DRY=0.000000, DRZ=0.000000,' NOEUD='N7',DX=0.000000, DY=0.000000, DZ=0.000000, DRX=0.000000, DRY=0.000000, DRZ=0.000000,' What I would like to have is: Condition1 DX=10.000000, DY=0.000000, DZ=0.000000, DRX=0.000000, DRY=0.000000, DRZ=0.000000 Condition2 DX=0.000000, DY=0.000000, DZ=0.000000, DRX=0.000000, DRY=0.000000, DRZ=0.000000, and then NOEUD='N3' Condition1 NOEUD='N7' Condition2 I would also want to make a list of all nodes that have assigned condition1 and all nodes that have assigned condition2 Is there any way to do it? Best regards, ------------------------------------------------- Mihai TEODORESCU Email: ... [GiDlist] loop over conditions
Send by: Enrique Escolano Each GiD condition instance have the own values and pointed entity, it is not shared
a instance of a condition between entities.
Your desired work mode is similar to the GiD materials: a small collections of materials, and multiple entities
pointing to the same material.
If it does not use the materials for another thing, can use instead a condition.
You can also obtain your desired format with this:
*set Cond Point_Déplacement_imposé *nodes
*set var cont=0
*loop nodes *OnlyInCond
*set var cont=operation(cont+1)
*format "%i%lf%lf%lf"
Condition1 *cont DX=*cond(Dx,real),DY=*cond(Dy,real), DZ=*cond(Dz,real)
*end nodes
*set var cont=0
*loop nodes *OnlyInCond
*set var cont=operation(cont+1)
*format "%i%i"
NOEUD='N*NodesNum' Condition*cont
*end nodes
Note 1: the obtained number of lines of conditions definition
Condition1 DX=10.000000, DY=0.000000, DZ=0.000000, DRX=0.000000
is the same as the number of lines of nodes with this condition
NOEUD='N3' Condition1
Note 2: Is best to use cond("field name") instead cond("field number"),
it you add new fields in future versions, this id number can change
Enrique Escolano
----- Original Message -----
From: "Mihai TEODORESCU" <...
[GiDlist] TKWIDGET field: HOw to manipulate checkbutton or radiobutton?
Send by: VSayako Willy Hi Enrique Many thanks for your prompt advice. I enclosed my attached file as a whole simple Problemtype: I have tested using the TKWIDGET field in .cnd file to modify some feature of the fields in this windows. My problem is like this: (Please look at the attached problemType). Please advice how to manipulate the TK: <checkbutton> in my .tcl file to make the other fields Hide, or SET, or RESTORE as in command DEPENDENCIES: Please look at my example file "TestTkWidget.tcl" Best regards. __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/... [GiDlist] TKWIDGET field: HOw to manipulate checkbutton or radiobutton?
Send by: Jorge Suit Perez Ronda Hi Willy, here I attach the problemtype with the code to do what you ask. best regards, Jorge Suit VSayako Willy wrote: >Hi Enrique > Many thanks for your prompt advice. I enclosed my >attached file as a whole simple Problemtype: > >I have tested using the TKWIDGET field in .cnd file to >modify some feature of the fields in this windows. My >problem is like this: (Please look at the attached >problemType). > >Please advice how to manipulate the TK: <checkbutton> >in my .tcl file to make the other fields Hide, or SET, >... [GiDlist] TKWIDGET field: Many Thanks to Jorge S. for advice
Send by: VSayako Willy Hi Jorge Many Thanks for advice.. Regards. --- Jorge Suit Perez Ronda <ronda at cimne.upc.es> wrote: > Hi Willy, here I attach the problemtype with the > code to do what you ask. > > best regards, > > Jorge Suit > > VSayako Willy wrote: > > >Hi Enrique > > Many thanks for your prompt advice. I enclosed > my > >attached file as a whole simple Problemtype: > > > >I have tested using the TKWIDGET field in .cnd file ... [GiDlist] *tcl command in bas file.
Send by: VSayako Willy Hi Enrique and GiD team
I think you didn't get my point
Refer to my previous propblem about data in .cnd
file. I have created the fields in .cnd file but
didn't want the values in the fields of this
conditions show up repeatedly when assign to the
elements. Can I use *tcl command to handle this
incident? I would like to have the values of this
condition as many times as I fill it in the box.
-------------------------------------------
NUMBER: 1 CONDITION:Properties
CONDTYPE: over lines
CONDMESHTYPE: over elements
QUESTION:Ix
VALUE:0.0 <--Random User-defined values
QUESTION:Iy
VALUE:0.0 <--Random User-defined values
END CONDITIONS
--------------------------------------------
Can I write something like the following? Please
correct me.
in my .bas file
*tcl(WriteSecCond)
where
proc WriteSecCond { } {
return [.central.info conditions Properties Ix Iy]
}
Regards.
__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
...
[GiDlist] *tcl command in bas file.
Send by: Enrique Escolano I believe that the answer to this question can be in my previous answer to Mihai TEODORESCU (RE: [ GiDlist ] loop to over conditions) I recommend to him that examines the tcl code of the WritePointLoads procedure of this related mail. Enrique ----- Original Message ----- From: "VSayako Willy" <vilaysako at yahoo.com> To: <gidlist at gatxan.cimne.upc.es> Sent: Friday, March 07, 2003 8:08 AM Subject: [GiDlist] *tcl command in bas file. > > Hi Enrique and GiD team >... [GiDlist] Command *if in Bas file
Send by: VSayako Willy Hi Enrique and all Many Thanks to Enrique for your last advice. I tried to use *if in bas file but it seems not to work out when I combined it as: *set Cond Properties *set var NumProp=CondNumEntities and so ...... *if(NumProp==0 || NumSet==0 || NumST==0) it works only 1 case, not combined one. Is it something wrong or it works only one-by-one case ?? Regards __________________________________________________ Do you Yahoo!? Yahoo! Web Hosting - establish your business online http://webhosting.yahoo.com [GiDlist] Command *if in Bas file
Send by: Enrique Escolano The "if" command must also work for the "combined case". Are you sure that your values of NumProp, NumSet and NumST are as expected? In my tests (GiD7.2) it works ok: the condition is true is some value is zero and false if all are non zero. Enrique Escolano ----- Original Message ----- From: "VSayako Willy" <vilaysako at yahoo.com> To: <gidlist at gatxan.cimne.upc.es> Sent: Tuesday, March 11, 2003 4:26 AM Subject: [GiDlist] Command *if in Bas file > > Hi Enrique and all ... [GiDlist] Command *if in Bas file
Send by: Pablo I think i have solved my problems, smply editing my files of *.res and *.msh generated by the export results menu of the postp. Thanks for all Pablo Fariñas. ----- Original Message ----- From: "Enrique Escolano" <escolano at cimne.upc.es> To: <gidlist at gatxan.cimne.upc.es> Sent: Tuesday, March 11, 2003 11:24 AM Subject: Re: [GiDlist] Command *if in Bas file > The "if" command must also work for the "combined case". > Are you sure that your values of NumProp, NumSet and NumST are as ... [GiDlist] Triangulation
Send by: VSayako Willy Hello GiD team and all GiDListers Could any one of you advice me where I can get the Fortran source code of triangular mesh generator? I have it but only in 2D (Delauney triangulation). What about in 3D as a shell case? If anyone has used Delauney please advice.. Best Regards. __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com [GiDlist] Re: GiD geo ASCII format
Send by: Khaled Obeidat
Do you mean that I can find the ASCII format for a hexahedral in this document which I have asked one of my office mate to translate it to English.
What I did is I have edited the *.geo file and then I have added my points :
1 1 0 0 3 0 0 1 0
0 0 1
1 2 0 0 3 0 0 1 0
1 0 1
1 3 0 0 3 0 0 1 0
1 0 0
1 4 0 0 3 0 0 1 0
0 0 0
1 5 0 0 3 0 0 1 0
0 -1 1
1 6 0 0 3 0 0 1 0
1 -1 1
1 7 0 0 3 0 0 1 0
1 -1 0
1 8 0 0 3 0 0 1 0
0 1 0
And after that I have connect between these points to draw the 3D rectangle:
2 1 0 0 0 0 0 1 0
1 2
2 2 0 0 0 0 0 1 0
2 3
2 3 0 0 0 0 0 1 0
3 4
2 4 0 0 0 0 0 1 0
4 1
2 5 0 0 0 0 0 1 0
5 6
2 6 0 0 0 0 0 1 0
6 7
2 7 0 0 0 0 0 1 0
7 8
2 8 0 0 0 0 0 1 0
8 5
2 9 0 0 0 0 0 1 0
1 5
2 10 0 0 0 0 0 1 0
2 6
2 11 0 0 0 0 0 1 0
3 7
2 12 0 0 0 0 0 1 0
4 8
Is there any other easy way I can do this??
Best Regards
----- Original Message -----
From: Enrique Escolano
To: Khaled Obeidat
Sent: Wednesday, March 05, 2003 12:00 PM
Subject: GiD geo ASCII format
This is a "not official" GiD geo format description (written in spanish).
To visualize, you can also write a more easy GiD mesh ascii file of hexahedrals .
For any question about the geo format, can ask to me.
Regards
Enrique Escolano
-------- Original Message -------- Subject: *geo format
Date: Wed, 05 Mar 2003 09:16:22 -0500
From: Khaled Obeidat <...
[GiDlist] Re: GiD geo ASCII format
Send by: Enrique Escolano The related "spanish" document is for the GiD-geometry Ascii format, not for the GiD-mesh Ascii format. For the GiD-mesh Ascii format, see help on Files->Import->GiD Mesh. This is a link to the online GiD manual of this topic: http://gid.cimne.com/support/gid_6.subst#SEC38 You can generate any hexahedral mesh, and use Export->GiD Mesh to write it as a sample in ascii format (to read after this mesh, use Import->GiD Mesh). Enrique Escolano ----- Original Message ----- From: Khaled Obeidat To: Enrique Escolano Cc: gidlist at gatxan.cimne.upc.es... [GiDlist] About *.flavia.msh
Send by: ieea Dear All, Is GID able to read several *.flavia.msh when opening the postprocess window ? For instance, I tried to write 2 files in the project directory <project_directory>.gid : first : <project_directory>.flavia.msh second : <project_directory>-1.flavia.msh (similarly to the files generated by several *.bas !) Thank you for those who have got a solution ... G.W.R. Geis [GiDlist] About *.flavia.msh
Send by: Miguel A. de Riera Pasenau Hi,
At the moment no.
You can 'merge' them together:
1.- read the first mesh/res as usual
2.- Files->Merge the rest ones.
But,
1. at the moment, GiD does not renumber the nodes so if in the
second mesh you are using as node numbers 1..100, then the
nodes 1..100 of the mesh inside GiD will be overwritten.
2. to view the same result of both meshes at the same time, they
should have the same name, and belong to the same anlysis
and step value.
Preparing an example about this i noticed that there is a bug, in version 7.x
in the 'merge' option: it doesn't not merge the results as it should be.
miguel
ieea wrote:
>...
[GiDlist] loop over conditions
Send by: Mihai TEODORESCU I see the way yout solution work. But is not exactly what I need for my output. You are right that i need something like the materials way of work. I would like to have only one line definiton for all the conditions that have the some value. Exemple: Only two conditon definitions (and not as much lines as points) Condition1 DX =0.0 DY=0.0 DZ=0.0 Condition2 DY=10.0 DY=10.0 DZ=0.0 N1 Condition1 N2 COndition2 N3 Condition1 N4 Condition1 N5 Condition2 Would this be possible? Thank for your response, ---------------------------------------------------------------------- Mihai TEODORESCU Email: mihai.teodorescu at prevost-industries.com... [GiDlist] loop over conditions
Send by: Enrique Escolano You can ask GiD for the applied conditions from a tcl procedure
for example, if exists a condition named "Point-Load", you can get a list with the entities
and values of this condition using the GiD-tcl command:
set res [.central.s info conditions Point-Load mesh]
This is a sample of the obtained result list: the number of node and your condition values:
{N 11 - 0.0 4} {N 6 - 0.0 1} {N 1 - 0.0 1}
You can modify with tcl this information, to avoid duplications (sorting and avoiding repetitions)
You can call write a tcl procedure, and call it from the bas file with *tcl(procedure_name). The value returned
from this procedure_name is directly send to the output file. You can use
to obtain a carriage return
for example:
*.tcl file:
proc PrintHelloWorld { } {
set a "hello
"
append a "world
"
return $a
}
*.bas file:
print "hello world" using a tcl procedure in two lines:
*tcl(PrintHelloWorld)
See help on Tcl-Tk extension.
Enrique Escolano
----- Original Message -----
From: Mihai TEODORESCU
To: ...
[GiDlist] mirror images
Send by: Pablo Hello everyone, I´m working comparing numerical and experimental results. What I want is be able to see both images (numerical and exper) in a mirror view. In this way I have arranged the files *.flavia.mesh and *.flavia.res (Are attached to this mail and are the exper. results) and I have tried to see both images at the same time by the postprocess menu "merge ascii" to the numerical file results. I don´t know why this procedure does not work properly... Will wait for your suggestions... Bye Pablo Fariñas Dpt. Shipbuilding Engineering of A Coruña University -------------- next part -------------- An HTML attachment was scrubbed... URL: ... [GiDlist] mirror images
Send by: Pablo Hello enrique, i dont really know what you mean. Are you sure you have answred my question?? You send me an answer for a question about "conditions" The answer was for a mail with a subjet "loop over condition". Thanks aniway. But i will wait again... (my subjet was "mirror images"...). Pablo Fariñas. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20030306/8df3e801/attachment.htm [GiDlist] mirror images
Send by: Miguel A. de Riera Pasenau Preparing an example about this i noticed that there is a bug, in version 7.x in the 'merge' option: it doesn't not merge the results as it should be. miguel > Pablo wrote: > > Hello enrique, i dont really know what you mean. Are you sure you have answred my question?? > > You send me an answer for a question about "conditions" The answer was for a mail with a subjet "loop over condition". Thanks > aniway. But i will wait again... (my subjet was "mirror images"...). > > Pablo Fariñas. [GiDlist] mirror images
Send by: Miguel A. de Riera Pasenau Hi,
there are only one set of files/results:
C1 - RANSOL analysis, 103.5 as step
results: 'EDDY ENERGY' and 'VELOCITY'
'merge ascii' - this adds another mesh and/or results to the current one.
does not renumber the nodes so if in the second mesh
you are using as node numbers 1..100, then the nodes 1..100
of the mesh inside GiD will be overwritten.
Looking at the file it seems that you already have taken this
into account.
to view results the results the result's name, analysis name and step value
should be the same on both models, so that just doing 'View results->C.Fill->Eddy.../Vel...
you'll get the results of both meshes.
miguel
>...
[GiDlist] mirror images
Send by: Miguel A. de Riera Pasenau But you can write all the meshes inside the same .msh file, and the results inside the same .res file. miguel "Miguel A. de Riera Pasenau" wrote: > > Hi, > > there are only one set of files/results: > C1 - RANSOL analysis, 103.5 as step > results: 'EDDY ENERGY' and 'VELOCITY' > > 'merge ascii' - this adds another mesh and/or results to the current one. > does not renumber the nodes so if in the second mesh > you are using as node numbers 1..100, then the nodes 1..100 >... [GiDlist] mirror images
Send by: Pablo Hello again, As you tell me I have taken several items into account. First, the results should be at the same time step, in spite of this i wrote at the *.flavia.res the number of 103.5 as the step. As you can see, the names of results displayed are the same than your tdyn cálculus module. (I think that in this way it should not be a problem). On the other side, about the numbering of my attached mesh nodes, as you can see at the attached file *.flavia.mesh, the first number of the first node is 500001 and my numerical problem has about 75000 nodes (i think that there should not be a problem in this way too). Aniway my problem persist... i don´t know if you can think in another kind of solution... See you, Pablo Fariñas. ----- Original Message ----- From: "Miguel A. de Riera Pasenau" <... [GiDlist] mirror images
Send by: Miguel A. de Riera Pasenau hi,
it seems that the year of your computer is not the actual one.
as i told on previous messages, in gid 7.x is a bug when merging files:
it does not mege the results as expected. it only maintains the ones
of the last mesh. Will be solved for the next version.
What you can do to overcome this problem is:
1. put all the meshes inside the same .msh file:
for instance:
cat mesh1.msh mesh2.msh mesh3.msh > all_meshes.msh
2. put all the results inside the same the same .res file and the
same results under the same result header. This requires a little
bit of editing . . . sorry
miguel
Pablo wrote:
>
>...
[GiDlist] mirror images
Send by: Pablo Hi again, I got another problem with editing my *.flavia.res (the file of results of numerical solutions). I can´t edit it. I am trying to edit it with the notebook but it seems like the file was encripted... Don´t know wy is happening this, maybe you have an answer... In order to dont work with editing the files of results, (in the version 7.x). do you think that could be more easy work only with postprocess of an older version wich can merge both solutions??? I have tried to do it but i did not obtain any image at all. Bye, Pablo Fariñas. ----- Original Message ----- From: "Miguel A. de Riera Pasenau" <miguel at cimne.upc.es... [GiDlist] mirror images
Send by: Enrique Escolano It can be a binary results file: open with GiD postprocess, and save it in ascii format before to edit (Files->Export->Post Information->Ascii files) Enrique Escolano ----- Original Message ----- From: "Pablo" <epscimne at cdf.udc.es> To: <gidlist at gatxan.cimne.upc.es> Sent: Thursday, March 07, 2002 8:22 PM Subject: Re: [GiDlist] mirror images > Hi again, > I got another problem with editing my *.flavia.res (the file of results of > numerical solutions). I can´t edit it. I am trying to edit it with the ... [GiDlist] mirror images
Send by: Pablo Problem solved, thanks, Pablo Fariñas. ----- Original Message ----- From: "Enrique Escolano" <escolano at cimne.upc.es> To: <gidlist at gatxan.cimne.upc.es> Sent: Friday, March 07, 2003 9:13 PM Subject: Re: [GiDlist] mirror images > It can be a binary results file: open with GiD postprocess, and save it in > ascii format before to edit > (Files->Export->Post Information->Ascii files) > > Enrique Escolano > ----- Original Message ----- ... [GiDlist] mirror images
Send by: Pablo Hi again enrique, I´m trying to work as automatically as i can, so im trying to edit thi mehs file only pasting it in my mesh file data. But when the postprocessor is reading gives me the followin message: "Point number out of range?: 500007 not in [ 1, 2] Reading Mesh." and i don´t know wy. Maybe you can tell me what does it mean... Pablo Fariñas ----- Original Message ----- From: "Enrique Escolano" <escolano at cimne.upc.es> To: <gidlist at gatxan.cimne.upc.es> Sent: Friday, March 07, 2003 9:13 PM Subject: Re: [GiDlist] mirror images >... [GiDlist] mirror images
Send by: Miguel A. de Riera Pasenau something is worng with the mesh. can you post it so we can take a look at it? miguel Pablo wrote: > > Hi again enrique, > > I´m trying to work as automatically as i can, so im trying to edit thi mehs > file only pasting it in my mesh file data. But when the postprocessor is > reading gives me the followin message: > "Point number out of range?: 500007 not in [ 1, 2] Reading Mesh." and i > don´t know wy. Maybe you can tell me what does it mean... > > Pablo Fariñas > > ----- Original Message ----- ... [GiDlist] mirror images
Send by: Pablo sending attached file... ----- Original Message ----- From: "Miguel A. de Riera Pasenau" <miguel at cimne.upc.es> To: <gidlist at gatxan.cimne.upc.es> Sent: Tuesday, March 11, 2003 9:01 AM Subject: Re: [GiDlist] mirror images > something is worng with the mesh. > can you post it so we can take a look at it? > > miguel > > Pablo wrote: > > > > Hi again enrique, > > > > I´m trying to work as automatically as i can, so im trying to edit thi ... [GiDlist] postprocess
Send by: Pablo Perez del Castillo Hello; I have two questions: 1) i have a aerodynamic results over bodies, and i calculate center of effort, so i would like to postprocess the point of center of effort with vector force. I thought in add a new node (or element node), is there a best solution?? 2) Now i have over 10 iterations for every load condition and postprocess ok, but if i wish calculate 6 or more load conditions in every file, how can i must to ready the postprocess? Advanced thanks [GiDlist] loop over conditions
Send by: Mihai TEODORESCU Thank you. This is a good point start. Supposing I apply the condition Point_Déplacement_imposé first with the arguments dx=0 dy=0 dz=0 and the with the arguments dx=10 dy=0 dz=10 using the a procedere to find out all the conditions, sort them and printing only once each condition is OK. But If I apply twice the condition Point_Déplacement_imposé with the some arguments dx=0 dy=0 dz=0 using the method you proposed me I will get only one condition in my bas file. For my problem I need to be able to print individualy each condition (the two I applied and not for each point), even if they have the same parameter. The reasons why I need individualy acces to each condition are driven by the FEM code I use. Supposing that I want simulate a stamping process. I need to aplpy some conditions to block parts in space and other conditions to move down the punch. Normaly the conditions are different. By maybe in some cases they will have the some values in the firts step. The some is true for forces. I need to be able to apply forces with the some values but one will constant over time and other will evolue fonction of time. Best regards, ------------------------------------------------- Mihai TEODORESCU Email: ... [GiDlist] loop over conditions
Send by: VSayako Willy Hi Mihai Same as I asked the GiD team but I think to do what you mentioned here you have to be an expert on Tcl and understand very well how this tcl works with GiD. What I have done in my case is such:(but not convinient) 1. Specify the conditions in .prb file 2. Then create the assign conditions in .cnd file [GiDlist] loop over conditions
Send by: Enrique Escolano If you use from tcl
set res [.central.s info conditions Point-Load mesh]
and obtain {N 11 - 0.0 4} {N 6 - 0.0 1} {N 1 - 0.0 1}
Then filter whit tcl commands this result to write for example (avoing repetition of "basic values"):
Point-Load basic values:
Basic 1 - 0.0 1
Basic 2 - 0.0 4
Applied basic values:
Node 1 - Basic 1
Node 6 - Basic 1
Node 11 - Basic 2
This is a procedure to "filter" and write this result
proc WritePointLoads { } {
#obtain the conditions infomation from GiD
#set conds [.central.s info conditions Point-Load mesh]
#to test use for example this:
set conds {{N 11 - 0.0 4} {N 1 - 0.0 3} {N 6 - 0.0 1} {N 1 - 0.0 2} {N 1 - 0.0 1}}
#define a procedure to be used to compare two items ignorig the first 3 words, for example ignoring "N 11 -"
proc CompareCond {a b} {
set a0 [lrange $a 3 end]
set b0 [lrange $b 3 end]
if {$a0 < $b0} {
return -1
} elseif {$a0 > $b0} {
return 1
}
return 0
}
#sort your list using this comparation procedure
set conds [lsort -command CompareCond $conds]
#write results to output temporaty in two variables: values and entities
#write basic values without repetition
set values "Point-Load basic values:
"
set entities "Applied basic values:
"
set ibasic 1
set ientities 1
set cprev ""
foreach c $conds {
append entities "Node [lindex $c 1] - Basic $ibasic
"
incr ientities
if { [CompareCond $c $cprev] != 0 } {
append values "Basic $ibasic - [lrange $c 3 end]
"
incr ibasic
set cprev $c
}
}
#this returned walue is printed directly to the output file if the
#procedure is called from the bas file with *tcl(WritePointLoads)
return "$values
$entities"
}
Enrique escolano
----- Original Message -----
From: "Mihai TEODORESCU" <...
[GiDlist] mirror images
Send by: Pablo Hello everyone, I´m working comparing numerical and experimental results. What I want is be able to see both images (numerical and exper) in a mirror view. In this way I have arranged the files *.flavia.mesh and *.flavia.res (Are attached to this mail and are the exper. results) and I have tried to see both images at the same time by the postprocess menu "merge ascii" to the numerical file results. I don´t know why this procedure does not work properly... Will wait for your suggestions... Bye Pablo Fariñas Dpt. Shipbuilding Engineering of A Coruña University -------------- next part -------------- An HTML attachment was scrubbed... URL: ... [GiDlist] Units file
Send by: My VDI Freemail Could someone help me on the input data for the units file (problemtype_name.uni) with regard to the definition for a materials density? Is there any specific parameter for defining the DENSITY as it is done for example for the STRENGTH or PRESSURE? This would be helpful for the complete characterization of a material within GiD. Thanks for your help. Ruediger [GiDlist] Units file
Send by: Jorge Suit Perez Ronda Hello Ruediger, you can define your own .uni file. Here I send you and example. The one provided with GiD is not a good example and it will be changed. There are also two links regarding units systems. You should try version 7.2 of GiD. Although there is a known bug when writting TEMPERATURE in .bas file. That bug is fixed and ready to be release in next beta. http://www.bipm.fr/enus/3_SI/si.html http://www.bipm.fr/pdf/si-brochure.pdf This is the unit file example, best regards, Jorge Suit. BEGIN TABLE length : 1.0e-3 km, m { reference, basic }, 100 cm, 1.0e+3 mm mass : kg { reference, basic }, 1.0e+3 g, 1.0e-3 t time : 1000 ms, s { reference, basic }, 0.01666667 minute, 2.777778e-4 h, 1.1574e-5 day electric current : A { reference, basic } temperature : K { reference, basic }, ºC, ºF amout of substance : mol { reference, basic } luminous intensity : cd { reference, basic } area : m2 { reference, basic }, 1.0e+4 cm2, 1.0e+6 mm2 volume : m3 { reference, basic }, 1.0e+6 cm3, 1.0e+9 mm3, 1.0e+3 l velocity : 3.6 km/h, m/s { reference, basic }, 100 cm/s, 1.0e+3 mm/s acceleration : m/s2 { reference, basic }, 0.1019716213 Gn, 100cm/s2, 3.280839895 ft/s2, 39.37007874 in/s2, Gal wavenumber : one/m { reference, basic } mass density : kg/m3 { reference, basic }, 1.0e-3 g/cm3 specific volume : m3/kg { reference, basic } current density : A/m2 { reference, basic } magnetic field strenght : A/m { reference, basic }, 0.01256637 Oe concentration of amount of substance : mol/m3 { reference, basic } luminance : cd/m2 { reference, basic } refractive index : one { reference, basic } plane angle : rad { reference, basic }, 57.293489913 deg, 63.661990481 gon, 1018.5916402 mil, 3437.7468732 min, 0.15915495087 r, 0.20626479821 seg solid angle : sr { reference, basic } frequency : 1.0e-9 GHz, 1.0e-6 MHz, 1.0e-3 kHz, Hz { reference, basic } force : N { reference, basic }, 0.102 kp, 1.0e5 dyne pressure : Pa { reference, Basic }, 1.02e-5 kp/cm2, 1e-6 N/mm2 energy : J { reference, basic }, 1.0e7 erg, N*m, 1.602e-19 eV power : W { reference, basic }, 1.0e7 erg/s electric charge : C { reference, basic }, 3.0e9 esu electric potential : V { reference, basic }, 3.3355e-3 statvolt, W/A capacitance : F { reference, basic } electric resistance : Ohm { reference, basic }, 1.0e-3 MOhm, 1.0e+3 mOhm electric conductance : S { reference, basic } magnetic flux : Wb { reference, basic }, 1.0e8 Mx, V*s magnetic flux density : T { reference, basic }, 1.0e4 G, Wb/m2 inductance : H { reference, basic }, Wb/A luminous flux : lm { reference, basic } illuminance : lx { reference, basic } radionuclide activity : Bq { reference, basic } absorbed dose specific energy kerma : Gy { reference, basic } dynamic viscosity : Pa*s { reference, basic } surface tension : N/m { reference, basic } angular acceleration : rad/s2 { reference, basic } heat flux density : W/m2 { reference, basic }, 1.0e3 erg/s*cm2 heat capacity : J/K { reference, basic }, 1.0e7 erg/K specific heat capacity : J/kg*K { reference, basic }, 1.0e7 erg/kg*K thermal conductivity : W/m*K { reference, basic }, 1.0e5 erg/s*cm*K electric field strength : V/m { reference, basic } electric charge density : C/m3 { reference, basic } electric flux density : C/m2 { reference, basic } permittivity : F/m { reference, basic } permeability : H/m { reference, basic } molar energy : J/mol { reference, basic } exposure x and y rays : C/kg { reference, basic } absorbed dose rate : Gy/s { reference, basic } heat source : W/m3 { reference, basic }, 10 erg/s*cm3 END begin system(international) length : m mass : kg time : s temperature : K area : m2 volume : m3 velocity : m/s acceleration : m/s2 mass density : kg/m3 frequency : Hz force : N pressure : Pa energy : J power : W heat flux density : W/m2 heat capacity : J/K specific heat capacity : J/kg*K thermal conductivity : W/m*K end begin system(cgs) length : cm mass : g time : s temperature : K area : cm2 volume : cm3 velocity : cm/s acceleration : cm/s2 mass density : g/cm3 frequency : Hz force : dyne pressure : Pa energy : erg power : erg/s heat flux density : erg/s*cm2 heat capacity : erg/K specific heat capacity : erg/kg*K thermal conductivity : erg/s*cm*K end HIDDEN: acceleration, heat flux density, thermal conductivity My VDI Freemail wrote: >... [GiDlist] merge volumes
Send by: kenji furui Dear GiD members, I'm trying to merge two volumes by 1. "Geometry"->"Create"-> "volume boolean operations" -> "union" 2. Select the two volumes. But it doesn't work at all... (GiD always shuts down) Am I doing correctly? GiD7.2 (WindowsXp) kenji furui U. of Texas at Austin __________________________________________________ Do you Yahoo!? Yahoo! Web Hosting - establish your business online http://webhosting.yahoo.com -------------- next part -------------- A non-text attachment was scrubbed... Name: twocube.geo Type: application/octet-stream Size: 5744 bytes Desc: twocube.geo Url : http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20030311/545c26d0/attachment.obj... [GiDlist] loop over conditions
Send by: Mihai TEODORESCU Hello and thank you for your help. I almost solved my problem. I met a field in the condition dialog box named "condition number". Then I sorted the conditions as sugested by Enrique . And finaly I could filter the informations as I needed. There is only one problem. The user have to enter for each condition a different number. If he enter two times the same number the model will be false. It will be best if this number would be incrementaly each time a new condition is assigned to the model. Can I do this? Thank you, -------------------------------------------- Mihai TEODORESCU Email: mihai.teodorescu at prevost-industries.com... [GiDlist] customisation: BOOK
Send by: Mark Smith Hi Gidders Does anyone have an example of how to use BOOK and DEPENDENCIES in a .prb file the documentation in the online manual is rather lacking. Thanks in advance. Best regards Mark --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.458 / Virus Database: 257 - Release Date: 24/02/03 The information contained in this e-mail message (and any attachment transmitted herewith) is privileged and confidential and is intended for the exclusive use of the addressee(s). If you are not an addressee, any disclosure, reproduction, distribution or other dissemination or use of this communication is strictly prohibited. If you have received this communication in error, please contact us immediately so that we can correct the error. ... [GiDlist] customisation: BOOK
Send by: Aleix Valls Hi, I advice you download Nastran-Interface problem type. You can use internet retrieve option of GiD (in DATA->PROBLEM TYPE menu) to download it. I think is a good example that how to use BOOK and DEP. in *.prb file. Aleix -----Mensaje original----- De: gidlist-admin at gatxan.cimne.upc.es [mailto:gidlist-admin at gatxan.cimne.upc.es] En nombre de Mark Smith Enviado el: viernes, 14 de marzo de 2003 13:55 Para: 'gidlist at gatxan.cimne.upc.es... [GiDlist] Re: exec command
Send by: Thomas Chan Hi GiD, I am currently calling an executable by doing the following in the .tcl file: .central.s process escape util calculate and inside the .bat file i have: %3fem.exe %3\%1 The input is a filename string and it runs fine but I wish to utilize the exec command in tcl instead, I tried in the .tcl file: exec fem.exe filename But it doesn't work. I'm not very familar with the tcl syntax, can someone help me out? Thanks a bunch, Tom Thomas Chan R&D Engineer EMAG Technologies, Inc. www.emagtechnologies.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20030314/4078fc93/attachment.htm... [GiDlist] Re: exec command
Send by: Enrique Escolano The TCL language has the exec command used to invoke a subprocess. This command treats its arguments as the specification of one or more subprocesses to execute. It's possible to invoke a subprocess from GiD using this option. To run a process in background (continue the next instruction before terminate the process) must add "&" after the command. Example: invoking a process in the background exec netscape http://gid.cimne.com & Note: In Windows and from GiD, instead of & it's necessary to put >& NUL: & to run the process in the background. Example: exec PROGRAM_NAME >& NUL: & Enrique Escolano ----- Original Message ----- From: Thomas Chan To: ... [GiDlist] Re: exec command
Send by: Thomas Chan Hi GiD support, I am using the command "exec" in my tcl scripts and it's running fine except that it prints out my progress messages in the error box! Is there a way to customize the error box, such as modifying the text on the title bar and changing the dimensions of the error box? If not, is there a way to disable the error box and bring out a message window or dos prompt window that can monitor my progress messages? I'm running GiD v6.3 (windows version) on Windows2000 Pro O/S. Thanks. Tom Thomas Chan R&D Engineer EMAG Technologies, Inc. www.emagtechnologies.com -------------- next part -------------- An HTML attachment was scrubbed... URL: ... [GiDlist] Re: exec command
Send by: Miguel A. de Riera Pasenau the output messages resulting from the 'exec' command are printed in the standard output. the 'exec' command does not display any error box. can you send a snapshot/picture of your "error box"? and a snapshot of your code? miguel Thomas Chan wrote: > > Hi GiD support, > > I am using the command "exec" in my tcl scripts and it's running fine except that it prints out my progress messages in the error > box! Is there a way to customize the error box, such as modifying the text on the title bar and changing the dimensions of the > error box? If not, is there a way to disable the error box and bring out a message window or dos prompt window that can monitor ... [GiDlist] Re: exec command
Send by: Enrique Escolano I not understand your question. What's the error box?. Your program prints to the standard output.
You can use catch to capture the exe output in a tcl variable
for example:
catch {exec yourprogram.exe yourparameters} ret
capture the progress messages of your program in the tcl "ret" variable.
Enrique Escolano
----- Original Message -----
From: Thomas Chan
To: gidlist at gatxan.cimne.upc.es
Sent: Friday, April 25, 2003 12:34 AM
Subject: [GiDlist] Re: exec command
Hi GiD support,
I am using the command "exec" in my tcl scripts and it's running fine except that it prints out my progress messages in the error box! Is there a way to customize the error box, such as modifying the text on the title bar and changing the dimensions of the error box? If not, is there a way to disable the error box and bring out a message window or dos prompt window that can monitor my progress messages? I'm running GiD v6.3 (windows version) on Windows2000 Pro O/S. Thanks.
Tom
Thomas Chan
R&D Engineer
EMAG Technologies, Inc.
www.emagtechnologies.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: ...
[GiDlist] Re: .flavia.res file
Send by: Thomas Chan Hi GiD staff, My flavia.res file has a format as follows: gausspoints "center" elemtype triangle number of gauss point: 1 natural coordinates: internal end gausspoints E_normal(V/cm) 3 1 1 2 0 "center" 1891 3910.47 2705 3951.03 . . E_tangent(V/cm) 3 1 1 2 0 "center" 1891 .00000 2705 .00000 . . The info windows prints: Found EOF too early: in this line: 2299 - Reading Results. I can visualize both E_normal and E_tangent, which is fine. But when I tried other projects with LONGER flavia.res file, the info window prints: Incorrect format: in this line: 4964 - Reading Results. Looking for result header: found unexpected result on line 4965 - '79095 0.000000'. Now I can only visualize E_normal but not E_tangent. What is wrong? I'm running GiD v6.3.0b on Windows 2K Pro. Thanks. Regards, Tom Thomas Chan R&D Engineer EMAG Technologies, Inc. www.emagtechnologies.com -------------- next part -------------- An HTML attachment was scrubbed... URL: ... [GiDlist] Re: .flavia.res file
Send by: Miguel A. de Riera Pasenau Can you send an example? Thomas Chan wrote: > > Hi GiD staff, > My flavia.res file has a format as follows: > > gausspoints "center" elemtype triangle > number of gauss point: 1 > natural coordinates: internal > end gausspoints > E_normal(V/cm) 3 1 1 2 0 "center" > 1891 3910.47 > 2705 3951.03 > . > . > E_tangent(V/cm) 3 1 1 2 0 "center" > 1891 .00000 > 2705 .00000 > . > . > > The info windows prints: > >... [GiDlist] Re: exec command
Send by: Miguel A. de Riera Pasenau You have three posibilities:
* when using the exec command, redirect the output to a file
and run the program in background:
exec your_program.exe > outputfile.txt &
end then create a procedure which reads this file and
fills a window till the program finishes
* To show the output of your program, if it prints to the standard output,
using the calculate command of GiD you have to, in the batch file,
redirect the output of your program to a file and let GiD know the name
of this file
http://www.gidhome.com/support/gid_15.subst#SEC232
...
[GiDlist] Re: exec command
Send by: ieea Dear All, I am very interested by the first Miguel's possibility. I wish to create a procedure that indicates progress of an external code launched by GID. Is there a Tcl procedure in GID that allows to read the file being created by an external program and that returns the lines of this file while the program finishes. If somebody has got an idea... Thank you in advance. G.W.R. Geis "Miguel A. de Riera Pasenau" a écrit : > You have three posibilities: > > * when using the exec command, redirect the output to a file > and run the program in background: > exec your_program.exe > outputfile.txt & ... [GiDlist] Re: exec command
Send by: Miguel A. de Riera Pasenau Hi, i attach the 'tktail' command which keeps reading the content of a file and shows it in a window miguel ieea wrote: > > Dear All, > > I am very interested by the first Miguel's possibility. > I wish to create a procedure that indicates progress of an external code launched by GID. > Is there a Tcl procedure in GID that allows to read the file being created by an external program and that returns the lines of this file > while the program finishes. > > If somebody has got an idea... > > Thank you in advance. ... [GiDlist] About trimmed NURBS
Send by: ieea Dear All, Now I'm developing a ray tracer with GID using NURBS surfaces. I get the object description from the ASCII <project>.geo file. It works very well on untrimmed NURBS surfaces, but I would like to extend it to trimmed surfaces. For the moment, I'm able to extract the 3D trimming curves and their orientations. Is it possible to use these informations to implement an efficient inside test ? Generally speaking, could you tell me how GID can detect the inside from the outside of the trimmed NURBS ? Thank you in advance, G.W.R. Geis [GiDlist] About trimmed NURBS
Send by: Ramon Ribó Hello,
the surface contains an indicator for every line contained inside
it (SAME1ST or DIFF1ST). It tell if the line is to be taken in its
natural orientation or in the inverse. Then, a line has the existent
part of the surface in the anticlockwise side, taking as orientation
rule the right hand rule related to the normal of the surface.
If you want to implement the math's of it, you will have some work.
You can find some pointers to some scientifical papers in my web
page where to find more:
http://gatxan.cimne.upc.es/ramsan
Regards,
--
Compass Ing. y Sistemas Dr. Ramon Ribo
...
[GiDlist] About trimmed NURBS
Send by: ieea Dear Ramon Ramsan, Thank you for your response. I am sorry being late to answer you... We noticed that the server corresponding to your web site is now out, so it is difficult for us to read your papers. Nevertheless, we have yet a good experience using NURBS surfaces and especially how to read GID ASCII files of geometry. In fact, we are looking for a software (C or Fortran sources) which could help us to well study our GID's geometries without creating mistakes, in particular with the trimmed surfaces which are small different than the others. If you could advice us a good web site, it would be great ! Thank you again for you answer and congratulations for GID. G.W.R. Geis >... [GiDlist] About trimmed NURBS
Send by: Ramon Ribó Hello, My personal web page should be working again. There is plenty of source code about NURBS in Internet. The problem is that it has the basement but it is not normally too reliable. Specially for complex operations like intersections, tessellation and so on. Maybe you can check the OpenGL companion, the GLU library, that has tessellation routines for NURBS and that now can be obtained with source code. Search in: www.opengl.org A last comment: Trimmed NURBS surfaces are MUCH, MUCH more difficult than plain NURBS for some operations like tessellation, visualization and others. Do not hesitate to explain in this list your experiences and successes in these issues. Regards, -- Compass Ing. y Sistemas Dr. Ramon Ribo ... [GiDlist] About ".central.s info gendata"
Send by: ieea Dear All, I wish to use the Tcl command ".central.s info gendata" because I read in the GID Help that this one returns the information entered in the Problem Data window. Nevertheless, I do not understand what means the [OTHERFIELDS] option and how to use it ! I wish to use a Tcl command that returns the data recorded in the Problem Data window in the same way as the command *gendata(<name of data>) of the *.bas file. Can somebody advice me. Thank a lot, G.W.R. Geis [GiDlist] About ".central.s info gendata"
Send by: Jorge Suit Perez Ronda Hi Geis, OTHERFIELD refers to attributes of questions like HELP, STATE or DEPENDENCIES, or TITLES, or BOOKS. What you describe here can be done with an undocumented procedure (in the future will be documented) named _GidAccessValue. Here I attached a description of the procedure. best regards, Jorge Suit ieea wrote: >Dear All, > >I wish to use the Tcl command ".central.s info gendata" because I read >in the GID Help that >this one returns the information entered in the Problem Data window. > >Nevertheless, I do not understand what means the [OTHERFIELDS] option >... [GiDlist] About ".central.s info gendata"
Send by: Jorge Suit Perez Ronda Because _GidAccessValue is now an internal function an may change we
recomend you, to be sure, use the interface provided in .central.s info
command.
This could be one solution using .central.s info. With this solution you
should first call FillGenData, to make a cache of the fields in Problem
Data, before the calls to GetGenDataField to access the fields.
best regards,
Jorge Suit
# --------------------------------------------------------------------------
# FillGenData --
# --------------------------------------------------------------------------
proc FillGenData { } {
global YourGenData
array set YourGenData [lrange [.central.s info gendata] 1 end]
}
# --------------------------------------------------------------------------
# GetGenDataField --
# --------------------------------------------------------------------------
proc GetGenDataField { field } {
global YourGenData
set _field [array names YourGenData ${field}*]
if {[llength $_field]} {
return $YourGenData([lindex $_field 0])
} else {
return ""
}
}
Jorge Suit Perez Ronda wrote:
>...
[GiDlist] About ".central.s info gendata"
Send by: ieea Thank you to Jorge and Enrique for their advices and to Mihai for his observe. I decided to use the Tcl Scripts of Jorge untitled FillGenData and GetGenDataField because I am sure that the ".central.s info gendata" command will be maintain in the next versions of GID. Thank you again, read you soon, in response of my next question(s) !.. G.W.R. Geis Jorge Suit Perez Ronda a écrit : > Because _GidAccessValue is now an internal function an may change we > recomend you, to be sure, use the interface provided in .central.s > info command. > This could be one solution using .central.s info. With this solution >... [GiDlist] About ".central.s info gendata"
Send by: Enrique Escolano If you use the last GiD 7.2 version, it exists a new, and easy tcl procedure to get a problemdata field value
(is specially designed to be used by a GiD problemtype developer)
This procedure access to values by fieldname insted by index (is more easy to maintain code accesing by fieldname )
proc GidUtils::GetProblemDataValue { fieldname }
For example, if the problem data field is named "AnalysisType", you can use in tcl this order:
set type [::GidUtils::GetProblemDataValue AnalysisType]
Regards
Enrique Escolano
----- Original Message -----
From: "ieea" <ieea at club-internet.fr...
[GiDlist] About ".central.s info gendata"
Send by: Mihai TEODORESCU What about acces to others data sets: Conditions, Materials. The _GidAccessValue function seems to be have acces to more information than the user interface fonctions GIdUtils::GetProblemDataValue and GidUtils::GetCurrentIntervalDataValue. Best regards, -------------------------------------------- Mihai TEODORESCU Email: mihai.teodorescu at prevost-industries.com -------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20030319/0d7511a9/attachment.htm... [GiDlist] Finding a Tcl procedure to execute *.win.bat
Send by: ieea Dear All,
I am looking for a Tcl procedure to execute a <problem_type>.win.bat.
I wish to reproduce the same command as GID, that means:
<problem_type>.win.bat <project_name> <project_name_directory>
<problem_type_directory>
and now, don't.
For example I execute the Execute command from the InitGIDProject
procedure something like this :
proc InitGIDProject { dir } {
# The Execute Tcl command is called here
source $dir/scripts/Execute.tcl
...
# the variable GidRepertoire take the value of the
<problem_type_directory> directory
set GidRepertoire $dir
...
# the variable GidRepertoire take the value of the
<problem_type_directory> directory
Execute GidRepertoire
...
}
with:
proc Execute {repertoire} {
# The name of the executable <problem_type>.win.bat
set executable "IDRA.win.bat"
set exttrans "/"
set aa [.central.s info Project]
set ProblemType [lindex $aa 0]
set ProjectName [lindex $aa 1]
set ProjectName [file root $ProjectName]
set repertoire [file native $repertoire]
# the argument %1
set basename [file tail $ProjectName]
# the argument %2
set directory $ProjectName.gid
# the argument %3 corresponds to $repertoire
append script $repertoire$exttrans$executable
exec $script "$basename" "$directory" "$repertoire" >&
NUL: &
}
This procedure doesn't work here because the directory names are written
as:
C:Program FilesGIDGID7.2problemtypesIDRA.gid
and should be written as:
C:PROGRA~1GIDGID7.2PROBLE~1IDRA.GID
Can somebody help me to use the right Tcl command.
Thank you in advance,
G.W.R. Geis
...
[GiDlist] Finding a Tcl procedure to execute *.win.bat
Send by: Enrique Escolano To run a bat file is needed call a interpreter command as "command.com" for Win9x or "cmd.exe" of WinNT/2000 You can use auto_execok to write a "system independent" command (it set automatically the appropiate paht and cmd.exe or command.com) exec [auto_execok $batfile] You can also use command.exe provided with GiD to avoid some limitations of the Windows command.com and cmd.exe (size of parameters with small limit, etc) See GiD help on Tcl/Tk extension->Using EXEC in GiD exec [[file join $GIDDEFAULT command.exe] $batfile] Enrique ----- Original Message ----- From: "ieea" <ieea at club-internet.fr... [GiDlist] Finding a Tcl procedure to execute *.win.bat
Send by: ieea Thank you Enrique for your response, neverthless, my problem is not exactly
this one and I had surely not well explained it !
I wish execute an external program without generating a mesh (that means, it is
not possible to use a <problem_type>.win.bat).
So, I'd execute an external program called PROGRAM.exe, for example.
This program needs the name of the problem type directory and the name of the
current project, which will be recognized as argument %1 and %2 by PROGRAM.exe
.
For the moment I use this Tcl command:
exec PROGRAM.exe $<problem_type_directory> $<current_project_name> >& >
NUL: &
where :
$<problem_type_directory> is the variable containing the name of the
problem typedirectory which is here: C:Program
FilesGIDGID7.2problemtypesIDRA.gid
and
$<problem_type_directory> is the variable containing C:Documents and
SettingIDRA est.gid
But this doesn't work, because the directories names are not given by their
Window 3.1 name (there is blank space in the name).
Could you tell me if it is the good way to execute without meshing or if there
is an other good solution.
Thank you if you have a response.
G.W.R. Geis
Enrique Escolano a écrit :
>...
[GiDlist] Finding a Tcl procedure to execute *.win.bat
Send by: ieea Dear All,
OK, I have found the response to my question (great!)
To execute an external program.bat using arguments:
proc InitGIDProject { dir } {
# ----------------------------------------------------------------------
# InitGIDProject
# ----------------------------------------------------------------------
...
InsertMenuOption "Calculate" "Run IDRA" 5 {RunExternalProgram $dir} "PRE"
"insert"
UpdateMenus
...
# ----------------------------------------------------------------------
# End InitGIDProject
# ----------------------------------------------------------------------
}
proc IdraIsRunning {repertoire} {
# ----------------------------------------------------------------------
# RunExternalProgram
# ----------------------------------------------------------------------
set repertoire [file native $repertoire]
set exttrans ""
set nothing ""
set aa [.central.s info Project]
set ProblemType [lindex $aa 0]
set ProjectName [lindex $aa 1]
set ProjectName [file root $ProjectName]
set executable "ExternalProgram.exe"
# Corresponding to GID's %1
set basename [file tail $ProjectName]
set basenameFF [file native $basename]
# Corresponding to GID's %2
set directory $ProjectName.gid
set directoryFF [file native $directory]
set directoryFFF [file attributes $directoryFF -shortname]
set directoryFFF [file native $directoryFFF]
# Corresponding to GID's %3
set repertoireFF [file native $repertoire]
set repertoireFFF [file attributes $repertoireFF -shortname]
set repertoireFFF [file native $repertoireFFF]
# Script to execute
append script $repertoireFF$exttrans$executable
exec $script $basenameFF $directoryFFF $repertoireFFF >& NUL: &
# ----------------------------------------------------------------------
# End RunExternalProgram
# ----------------------------------------------------------------------
}
Ouf !
G.W.R. Geis
ieea a écrit :
>...
[GiDlist] Problem with *.flavia.msh in GID 7.2
Send by: ieea I noticed in GID 7.2 that the POSTPROCESS doesn't read the <problem type>.flavia.msh file, created from a problem type <problem type>. When the POSTPROCESS window is called, only the <problem type>.msh is read in GID 7.2, what it is not the case in the GID 7.1. G.W.R. Geis [GiDlist] Problem with *.flavia.msh in GID 7.2
Send by: Enrique Escolano Hola Miguel. Parece que tiene razón esta persona Puedes mirar de corregirlo. Enrique ----- Original Message ----- From: "ieea" <ieea at club-internet.fr> To: "GID" <GiDlist at gatxan.cimne.upc.es> Sent: Friday, March 21, 2003 1:50 PM Subject: [GiDlist] Problem with *.flavia.msh in GID 7.2 > I noticed in GID 7.2 that the POSTPROCESS doesn't read the <problem > type>.flavia.msh file, > created from a problem type <problem type>. >... [GiDlist] Problem with *.flavia.msh in GID 7.2
Send by: Miguel A. de Riera Pasenau Yes, i found the problem. will be solved for the next beta. in the mean time you can rename your .flavia.msh /.flavia.res to .post.msh /.post.res. miguel Enrique Escolano wrote: > > Hola Miguel. > Parece que tiene razón esta persona > Puedes mirar de corregirlo. > > Enrique > ----- Original Message ----- > From: "ieea" <ieea at club-internet.fr> > To: "GID" <GiDlist at gatxan.cimne.upc.es... [GiDlist] Problem with *.flavia.msh in GID 7.2
Send by: Enrique Escolano It seems a bug to correct. But, if it exists the results file (*.flavia.res), then if exist (*.flavia.msh) is also readed instead the preprocess mesh. Thanks for your bug report Enrique Escolano ----- Original Message ----- From: "ieea" <ieea at club-internet.fr> To: "GID" <GiDlist at gatxan.cimne.upc.es> Sent: Friday, March 21, 2003 1:50 PM Subject: [GiDlist] Problem with *.flavia.msh in GID 7.2 > I noticed in GID 7.2 that the POSTPROCESS doesn't read the <problem >... [GiDlist] Mesh export to DXF
Send by: Elizabeth Borders Hi GIDers! This is hopefully a quick one... Is it possible to expert a structure's mesh to DXF, instead of just the structure itself? I only see the one option under the File drop down, to "Write to DXF". This only exports the structure without the mesh. thanks! [GiDlist] Mesh export to DXF
Send by: Mark Smith you can do the following for linear element surface meshes. go to file import/export write using template.bas & select dxf.bas in your gid templates directory, give the output file a name & you have written a dxf file for your mesh. you can then import it as a dxf file of geometry, if you only want linear element & not surface elements use geometry:delete:surface & select all & hay presto wireframe geometry. I don't know if it works with solids? If your elements are quadratic triangles/tets I have a template file which writes out a mesh file linear elements (6 per triangle or 12 per tet) then you can use the above method on this imported mesh file. It should be easy enough to modify for Quad elements if needed. Anyone who wants a copy just send an email & I'll send a copy of the template files. Regards Mark -----Original Message----- From: Elizabeth Borders [mailto:... [GiDlist] Mesh export to DXF
Send by: Elizabeth Borders Thank you for your very helpful reply. I see how I should be able to do this, now. Unfortunately, I can't seem to find a file named "dxf.bas" in any of my directories. Is there some way to generate that? thanks much. 04:33 PM 3/21/2003 +0000, you wrote: >you can do the following for linear element surface meshes. >go to file import/export write using template.bas & select dxf.bas in your >gid templates directory, give the output file a name & you have written a >dxf file for your mesh. >you can then import it as a dxf file of geometry, if you only want linear >element & not surface elements use geometry:delete:surface & select all & ... [GiDlist] Mesh export to DXF
Send by: Enrique Escolano If your GiD version is updated, it exists a directory emplates (inside your GiD directory), containing some simple templates to export mesh (DXF.bas, NastranMesh.bas, STL.bas, VRML.bas). Any user can add more own templates To export with the DXF.bas template use the menu Files->Export->Using Template bas (mesh only)->DXF If your GiD is old, update to the last GiD 7.2 version (the password is the same foreach 7.x versions) I' attach two templates, DXF.bas (included by default with GiD) and DXFSAP2000.bas to write with some special style for input of the FE code SAP2000. (Copy this templates inside emplates) Regards Enrique Escolano ----- Original Message ----- From: "Elizabeth Borders" <... [GiDlist] Tresca stress norm
Send by: Andrea Calaon Hello, in the stress post processing I visualize the Von "Mises stress" and I would like to do it also for the Tresca one. max((S1 - S2), (S2 - S3), (S3 - S1)) ... GiD in post processing calculates the principal stresses S1-S3 (autovalues of the stress tensor) automatically, is it possible to have access to those quantities in some way? Regards Andrea Calaon Ashurst Lodge, Ashurst Southampton, Hampshire SO40 7AA, UK Tel. office: +44 23 80 293 223 Fax office: +44 23 80 292 853 Mobile: +44 7766 488 225 E-mail: andrea at beasy.com [GiDlist] Tresca stress norm
Send by: Enrique Escolano If is planned a task to create in postprocess a new result, as an arithmetical combination of other results, but by now fis feature is not available. It is needed to write explicit in the results file (*.flavia.res) this "Tresca stress" as an aditional scalar result. Enrique Escolano ----- Original Message ----- From: "Andrea Calaon" <andrea at beasy.com> To: <gidlist at gatxan.cimne.upc.es> Sent: Tuesday, April 01, 2003 12:56 PM Subject: [GiDlist] Tresca stress norm > Hello, ... [GiDlist] Mesh points local number
Send by: Andrea Calaon Hello, I'm writing an interface for a BEM software and I need to provide point (mesh) boundary conditions. The input file needs the number of the element AND the local node. Only one of the elements sharing that node. es: "DISPLX1 234 3 0.0000000e001" where the condition DISPLX1 applies to the node 3 of element 234 (which could be of any kind). Is it possible to obtain this information in some way with a tcl function? I thought a loop on the element connectivity table checking the presence of an absolute node number coming from the condition. Regards Andrea Calaon Ashurst Lodge, Ashurst Southampton, Hampshire SO40 7AA, UK Tel. office: +44 23 80 293 223 Fax office: +44 23 80 292 853 Mobile: +44 7766 488 225 E-mail: ... [GiDlist] Mesh points local number
Send by: Enrique Escolano You can get from tcl, the information of the list of nodes/elements and values
of a condition with info condition "cond_name" mesh, for example:
set infocnd [.central.s info conditions Displacement mesh]
You can also get the mesh elements and make a loop over the elements to set an array, for example SingleElem(inode)
whit a elem number (only the last is stored)
set elemtypes [lindex [.central.s info mesh] 0 end]
foreach etype $elemtypes {
set infoelems [.central.s info mesh elements $etype]
#get a list with elemsnum elemsconec(1) ... elemsconec(1) elemsmat
#must verify the type and nnode of the element type
if { $etype == Triangle } {
foreach {i n1 n2 n3 mat} $infoelems {
set SingleElem($n1) "$i 1" ;#overwrite a previous element number, store only the last
set SingleElem($n2) "$i 2"
set SingleElem($n3) "$i 3"
}
}
}
#Then write your desired format
set res ""
foreach i $infocnd {
set nnode [lindex $i 1]
set fieldvalue [lindex $i 4] ;#change 4 to the apropiate field incex
append res "DISPLX1 $SingleElem($nnode) $fieldvalue
"
}
return res
Note: This code is untested, but it can works with small corrections
Enrique Escolano
----- Original Message -----
From: "Andrea Calaon" <...
[GiDlist] Thanks a lot for the Tcl on local nodes numbers and point conditions
Send by: Andrea Calaon Dear GiD and Mr. Escolano, thank you very much for your long and detailed answer. Regarding one of my recent questions (copied at the end of this mail) I was trying to loop directly form a .bas file on nodes and elements, like in an exemple in the Mail list Archives, modified for the present case ... In principle I found the way but I have a problem: if I select 2 geometrical points is OK, but with more I get an error: "Error in base file C:Program FilesGiDGiD7.2problemtypesMy_PTProblem_LowRisk.gidPo int_Constraints.bas at line number 5: Max. 3 for" I attach part of the .cnd file and the .bas of interest. I forgot before, but compliments for GiD!!! Only your "SAME1ST" and "DIFF1ST" information on surfaces around volumes allowed me to automatise completely something till now almost impossible with programs that are not real solid modellers. And the whole program is amazingly powerful. Just some more documentation on customisation wouldn't be bad. Thanks Regards ************************************************** Hello, I'm writing an interface for a BEM software and I need to provide point (mesh) boundary conditions. The input file needs the number of the element AND the local node. Only one of the elements sharing that node. es: "DISPLX1 234 3 0.0000000e001" where the condition DISPLX1 applies to the node 3 of element 234 (which could be of any kind). Is it possible to obtain this information in some way with a tcl function? I thought a loop on the element connectivity table checking the presence of an absolute node number coming from the condition. Regards Andrea Calaon ************************************************** Andrea Calaon Ashurst Lodge, Ashurst Southampton, Hampshire SO40 7AA, UK Tel. office: +44 23 80 293 223 Fax office: +44 23 80 292 853 Mobile: +44 7766 488 225 E-mail: ... [GiDlist] Thanks a lot for the Tcl on local nodes numbers and point conditions
Send by: Enrique Escolano This is a GiD bug using a 'break' inside a 'for' block. Currently in the documentation, a break must be inside a 'loop' block. For the next GiD beta version (the current last is 7.3b) this bug is corrected, and the break also exits a 'for' block. At this moment, you can use this corrected code, bypassing the bug. (also is more efficient, it exits the loop elements if it found some element pointing the node) *Set Cond Point_Displacements *nodes *loop nodes *OnlyInCond *loop elems *set var found=0 *for(i=1;i<=ElemsNNode;i=i+1) *set var inode=ElemsConec(*i,int) *if((NodesNum==inode)) *if(strcmp(cond(1),"1")==0) *format "%5i%5i%14.7E" DISPLX1 NODAL *ElemsNum *i *cond(2,real) *endif *if(strcmp(cond(3),"1")==0) *format "%5i%5i%14.7E" DISPLX2 NODAL *ElemsNum *i *cond(4,real) *endif *if(strcmp(cond(5),"1")==0) *format "%5i%5i%14.7E" DISPLX3 NODAL *ElemsNum *i *cond(6,real) *endif *set var found=1 *endif *end for *if(found) *break *endif *end elems *end nodes Regards Enrique Escolano ----- Original Message ----- From: Andrea Calaon To: ... [GiDlist] Doc small imprecision
Send by: Andrea Calaon Hello, I noticed (I copied the command and it didn't work) that on your docum. web site: http://gid.cimne.upc.es/support/gid_15.subst#IDX485 there is a referiment to a non existing command "npoint" insted of the right "npoin". Regards Andrea Calaon Ashurst Lodge, Ashurst Southampton, Hampshire SO40 7AA, UK Tel. office: +44 23 80 293 223 Fax office: +44 23 80 292 853 Mobile: +44 7766 488 225 E-mail: andrea at beasy.com -------------- next part -------------- An HTML attachment was scrubbed... URL: ... [GiDlist] Doc small imprecision
Send by: Enrique Escolano This is updated, thanks Enrique Escolano ----- Original Message ----- From: Andrea Calaon To: gidlist at gatxan.cimne.upc.es Sent: Wednesday, April 02, 2003 5:39 PM Subject: [GiDlist] Doc small imprecision Hello, I noticed (I copied the command and it didn't work) that on your docum. web site: http://gid.cimne.upc.es/support/gid_15.subst#IDX485 there is a referiment to a non existing command "npoint" insted of the right "npoin". Regards Andrea Calaon Ashurst Lodge, Ashurst Southampton, Hampshire SO40 7AA, UK Tel. office: +44 23 80 293 223 Fax office: +44 23 80 292 853 Mobile: +44 7766 488 225 E-mail: ... [GiDlist] Triangulation
Send by: Mark Smith Hi, TETGEN a 3D Delaunay tetrahedral generator in C++ http://tetgen.berlios.de/ & of course Triangle A Two-Dimensional Quality Mesh Generator and Delaunay Triangulator. in C at http://www-2.cs.cmu.edu/~quake/triangle.html Sorry not Fortran but maybe of some use. Regards Mark -----Original Message----- From: VSayako Willy [mailto:vilaysako at yahoo.com] Sent: 03 April 2003 06:01 To: gidlist at gatxan.cimne.upc.es... [GiDlist] How can I list number of Middle nodes and corner nodes separately?
Send by: Adisorn Owatsiriwong Dear GiD users and GiD teams, May I ask some questions. 1. I need to link GiD with Stoke's flow problem using 6-node triangle mixed p-u formulation (p=pressure, u= velocity vector vx,vy). Since p are only at corner nodes (3 DOFs per element) and u are at corner and midside nodes (12 DOFs per element). Can GiD list number of corner node and midside node separately ? 2. Can GiD show nodes and element meshes at the same time and in which mode (pre- or post- )? Have a nice weekend Best regards, -------------- next part -------------- An HTML attachment was scrubbed... URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20030405/85097e34/attachment.htm... [GiDlist] How can I list number of Middle nodes and corner nodes separately?
Send by: Enrique Escolano 1- GiD cannot separate midnodes and corner nodes. You must separate it inside your code (or an auxiliary program to be called from the bat file before your code) It is possible to simulate two "sets" of elements, writting two times each quadratic element (one time as quadratic and one as linear): For example, using a *.bas template similar to this: NODES: *loop nodes *nodesnum *nodescoord *end nodes *set var cont=1 QUADRATIC ELEMENTS *loop elems num=*cont connectivities:* *for(i=1;i<elemsnnode;i=i+1) elemsconec(i) * *end for *set var cont=operation(cont+1) *end elems LINEAR ELEMENTS: *loop elems num=*cont connectivities:* *for(i=1;i<elemsnnodecurt;i=i+1) elemsconec(i) * *end for *set var cont=operation(cont+1) *end elems Note: The local numeration of the element nodes is hyerarchical, first are listed the corner nodes and after the midnodes *elemsnnode return the nodes of a element, but *elemsnnodecurt returns only the number of corner nodes of a element. This template is untested, it can contain some small bug. 2- By default, the nodes are not draw to speed the visualization. To show it in preprocess use the command: escape escape escape View Entities Nodes (write directly in the command line, or pressing the rigth buttons, hidden by defauld) In postprocess you can draw only nodes or only elements, but not both. Instead to show the nodes, you can show your labels (menu view->label inside pre or postprocess) Regards Enrique Escolano ----- Original Message ----- From: Adisorn Owatsiriwong To: GiD Sent: Saturday, April 05, 2003 11:34 PM Subject: [GiDlist] How can I list number of Middle nodes and corner nodes separately? Dear GiD users and GiD teams, May I ask some questions. 1. I need to link GiD with Stoke's flow problem using 6-node triangle mixed p-u formulation (p=pressure, u= velocity vector vx,vy). Since p are only at corner nodes (3 DOFs per element) and u are at corner and midside nodes (12 DOFs per element). Can GiD list number of corner node and midside node separately ? 2. Can GiD show nodes and element meshes at the same time and in which mode (pre- or post- )? Have a nice weekend Best regards, -------------- next part -------------- An HTML attachment was scrubbed... URL: ... [GiDlist] Gid Post Processor
Send by: LEWIS, RANDEL E The default Gid 7.1 Post Processor provides stress components Si, Sii and Siii in addition to those obtained from the solid model *flavia.res file. These are not defined in the supplied documentation. Are they Principal Stresses derived from the X, Y and Z stress components of the *.flavia.res file? Randy -------------- next part -------------- An HTML attachment was scrubbed... URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20030407/5b232f05/attachment.htm [GiDlist] Gid Post Processor
Send by: Miguel A. de Riera Pasenau Yes, they are the main stresses of the tensor matrix. given a matrix result, GiD calculates its eigen values and eigen vectors. Si, Sii, Siii are ordered by its eigen values. yes, sorry, the documentation is too brief about this question, we'll include an explanation about this in the documentation. miguel > "LEWIS, RANDEL E" wrote: > > The default Gid 7.1 Post Processor provides stress components Si, Sii and Siii in addition to those obtained from the solid model > *flavia.res file. These are not defined in the supplied documentation. Are they Principal Stresses derived from the X, Y and Z ... [GiDlist] background job execution from GID
Send by: ieea Dear All,
I am using the tcl command :
exec $executable $arg1 $arg2 $arg3 >& NUL: &
This command seems not to be a background executing command. Whenever I
used it, the GID window is "frozen" !So, my questions are:
How is it possible to run a backgroung job ?
And how is it possible to know that this job is over ?
If somebody has got a response, it will be interesting for me (us).
Thank you.
G.W.R. Geis
[GiDlist] background job execution from GID
Send by: Enrique Escolano Your command execute the process in background !! Try for example to run a Windows notepad, writting in the command line this: -np- exec "c:/winnt/system32/notepad.exe" >& NUL: & Note: -np- is to indicate a tcl command instead a word to process. (It is supposed notepad.exe located in c:winntsystem32, this location can be changed) This open a notepad text editor without block GiD (the process work in background) Try now to run whitout the ampersand: -np- exec "c:/winnt/system32/notepad.exe" Then GiD is locked until exit notepad. Regards Enrique Escolano ----- Original Message ----- From: "ieea" <ieea at club-internet.fr... [GiDlist] Detecting normals and points
Send by: Andrea Calaon Hi everyone! Question: is it possible in some easy way to detect if a normal of a surface or element is pointing INSIDE or OUTSIDE the volume (or the volumes) the surface is boundary of? And similarly, is it possible to obtain the information about which volume a point belongs to? Thanks in advance I wish you a nice day Andrea Calaon Ashurst Lodge, Ashurst Southampton, Hampshire SO40 7AA, UK Tel. office: +44 23 80 293 223 Fax office: +44 23 80 292 853 Mobile: +44 7766 488 225 E-mail: andrea at beasy.com [GiDlist] Detecting normals and points
Send by: Frank Rückert Hi, if you calculate the scalar product. You can get informations of the orientation. Best wishes, Frank Rueckert Andrea Calaon wrote: >Hi everyone! >Question: is it possible in some "easy" way to detect if a normal >of a surface or element is pointing INSIDE or OUTSIDE the >volume (or the volumes) the surface is boundary of? >And similarly, is it possible to obtain the information about which >volume a point belongs to? >Thanks in advance >I wish you a nice day > > >Andrea Calaon > >Ashurst Lodge, Ashurst >... [GiDlist] Detecting normals and points
Send by: Miguel A. de Riera Pasenau Hi, You can draw the normals with Utilities->Draw Normals-> Lines/Surfaces/Color which will draw the normals for Lines or surfaces with an arrow, or with color. While the normals are drawn, you can select several options with the contextual menu ( clicking with the right mouse button over the drawing area): All swaped/SwapSome/SwapGroup/SelByNormal These are tools to change the normal orientation. You can find more help here: http://www.gidhome.com/support/gid_9.subst#SEC122 http://www.gidhome.com/support/gid_9.subst#SEC123... [GiDlist] Detecting normals and points
Send by: Ramon Ribó Hello,
If the surface is the boundary of ONLY one volume, it is guaranteed
that its normal will point towards inside the volume. If two volumes
share the same surface, you will have to look at the orientation flags
that are inside every volume and can be SAME1ST or DIFFST. The same
for elements.
To check it graphically, use:
Utilities->Draw Normals
Regards,
--
Compass Ing. y Sistemas Dr. Ramon Ribo
http://www.compassis.com ramsan at compassis.com
c/ Manuel Girona, 61 bajos tel. +34 93 204 10 82
08034 Barcelona, Spain fax. +34 93 204 19 09
-----Mensaje original-----
De: ...
[GiDlist] Product and tools
Send by: Andrea Calaon Thanks all for the tips about normals and volumes. I already use the normals, and have menu entries to visualize the orientation of surfaces with arrows and colors ... and use the information SAME1ST DIFF1ST provided by GiD in an external C++ routine ... I was just looking for some way to automatise some tasks (and so not risk any errors). I know the sign of a scalar product can provide the reciprocal orientation between two vectors or surface normals. But I was asking if the surface points inside or outside a VOLUME, not its orientation relative to another one. What I don't know is if in GiD there are some already build in functions to avoid the use of computational geometry routines and calculation of area around spherical angles to detect if a free point in space is inside or outside a volume (not easily the convex hull defined from some of his points). And since GiD is a solid modeller I was thinking of some of the routines used in Boolean operation with volumes, or something similar. May be in a future version it could be an information provided, I dont know The information SAME1ST DIFF1ST doesnt offer me what I was looking for because it tells me only if the orientation of a surface is consistent with an initial reciprocal orientation between the normal of surface 1 and the z axis. At the end so is still a human choice to say if a normal to a surface is pointing inside or outside a volume. Sorry for the long mail. Thanks in any case. Andrea Calaon Ashurst Lodge, Ashurst Southampton, Hampshire SO40 7AA, UK Tel. office: +44 23 80 293 223 Fax office: +44 23 80 292 853 Mobile: +44 7766 488 225 E-mail: ... [GiDlist] Product and tools
Send by: Enrique Escolano In GiD, If a volume has a surface as boundary, with Orientation == SAME1ST, then the surface normal points inside the volume, else the normal points outside. Enrique Escolano ----- Original Message ----- From: Andrea Calaon To: gidlist at gatxan.cimne.upc.es Sent: Wednesday, April 09, 2003 5:02 PM Subject: [GiDlist] Product and tools Thanks all for the tips about normals and volumes. I already use the normals, and have menu entries to visualize the orientation of surfaces with arrows and colors ... and use the information "SAME1ST DIFF1ST" provided by GiD in an external C++ routine ... I was just looking for some way to automatise some tasks (and so not risk any errors). I know the sign of a scalar product can provide the reciprocal "orientation" between two vectors or surface normals. But I was asking if the surface points inside or outside a VOLUME, not its orientation relative to another one. What I don't know is if in GiD there are some already build in functions to avoid the use of computational geometry routines and calculation of area around spherical angles . to detect if a free point in space is inside or outside a volume (not easily the convex hull defined from some of his points). And since GiD is a solid modeller I was thinking of some of the routines used in Boolean operation with volumes, or something similar. May be in a future version it could be an information provided, I don't know . The information "SAME1ST DIFF1ST" doesn't offer me what I was looking for because it tells me only if the orientation of a surface is consistent with an initial reciprocal orientation between the normal of surface 1 and the z axis. At the end so is still a "human" choice to say if a normal to a surface is pointing inside or outside a volume. Sorry for the long mail. Thanks in any case. Andrea Calaon Ashurst Lodge, Ashurst Southampton, Hampshire SO40 7AA, UK Tel. office: +44 23 80 293 223 Fax office: +44 23 80 292 853 Mobile: +44 7766 488 225 E-mail: ... [GiDlist] a question about postprocess
Send by: edodo Hi,all How can I display remesh(move element)'s result in gid? Thanks edodo fea at eyou.com 2003-04-10 [GiDlist] Capability of GiDin simulation of Fluid-structure interaction.
Send by: Adisorn Owatsiriwong Dear GiD Teams/GiD users
How about GiD capabilities in Fluid-structure Interaction (FSI). By using usual mesh data at each time step, in your view, is it satisfactory to display moving meshes? Could you give some links to the existing examples in this field? Thank you in advanced.
Bests,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20030410/f62a747c/attachment.htm
[GiDlist] Principal stress components Si, Sii and Siii from Post Processor
Send by: LEWIS, RANDEL E I recieved confirmation from Miguel, in reply to my previous question (text copied at bottom of this email), that the Post Processor values Si, Sii and Siii are the principal stresses. However, I find the values calculated differ from those obtained from the roots of the matrix determinant polynomial S^3 - I1*S^2 + I2S - I3 = 0 where I1, I2 and I3 are the first, second and third invariants of the Cauchy stress tensor. The values I calculate (which agree with those from the program which generated the X, Y and Z average stress components shown below) are: S1 = 1.74E4, S2 = 7.55E3 and S3 = 6.68E3 as compared to GiD's values of Si = 1.61E4, Sii = 1.13E4 and Siii = 4.26E3. How does GiD calculate these values? Yes, they are the main stresses of the tensor matrix. given a matrix result, GiD calculates its eigen values and eigen vectors. Si, Sii, Siii are ordered by its eigen values. yes, sorry, the documentation is too brief about this question, we'll include an explanation about this in the documentation. miguel >... [GiDlist] Principal stress components Si, Sii and Siii from Post Processor
Send by: Enrique Escolano MessageYour result file have an error: The order of your labels "SXZ" "SYZ" (and values) is bad, must be swapped to "SYZ" "SXZ", as is explained in the GiD help (Postprocess data files): " for Matrix results: six components (3D models) 3D: result_number_i Sxx_value Syy_value Szz_value Sxy_value Syz_value Sxz_value" If you recalculate the roots of the matrix determinant polynomial, swapping this two values, then are obtained the GiD values of Si = 1.61E4, Sii = 1.13E4 and Siii = 4.26E3. In fact, GiD not solve this cubic ecuation, because not only requires the eigenvalues, also requires the eigenvectors. It uses a Jacobi numerical method. Regards Enrique Escolano ----- Original Message ----- From: LEWIS, RANDEL E To: ... [GiDlist] Principal stress components Si, Sii and Siii from Post Processor
Send by: LEWIS, RANDEL E Thanks Enrique, I missed that subtle difference between GiD's expected order for shear components and the order in which my solver program output them. Randy -----Original Message----- From: Enrique Escolano [mailto:escolano at cimne.upc.es] Sent: Thursday, April 10, 2003 12:00 PM To: gidlist at gatxan.cimne.upc.es Subject: Re: [GiDlist] Principal stress components Si, Sii and Siii from Post Processor Your result file have an error: The order of your labels "SXZ" "SYZ" (and values) is bad, must be swapped to "SYZ" "SXZ", as is explained in the GiD help (Postprocess data files): " for Matrix results: six components (3D models) 3D: result_number_i Sxx_value Syy_value Szz_value Sxy_value Syz_value Sxz_value" If you recalculate the roots of the matrix determinant polynomial, swapping this two values, then are obtained the GiD values of Si = 1.61E4, Sii = 1.13E4 and Siii = 4.26E3. In fact, GiD not solve this cubic ecuation, because not only requires the eigenvalues, also requires the eigenvectors. It uses a Jacobi numerical method. Regards Enrique Escolano -------------- next part -------------- An HTML attachment was scrubbed... URL: ... [GiDlist] oficial version for Mac OSX
Send by: Miguel A. de Riera Pasenau The first oficial version of GiD, 7.2.1, for Mac OS X is available for download at: ftp://www.gidhome.com/pub/gid/MacOSX/GiD7.2.1Install.dmg Please take a look to ftp://www.gidhome.com/pub/gid/MacOSX/ReadMe.txt To run this GiD version in your Mac OS X you will need: Mac OS X 10.2.1 (http://www.apple.com/macosx) a X11 window system like Apple's X11, version 0.2 or greater, or XDarwin, at last 4.2.1. Apple's X11 can be downloaded from: http://www.apple.com/macosx/x11... [GiDlist] Hotkey to rotation and zoom
Send by: Jonas Forssell Hello, Many pre/postprocessors and CAD programs have a hotkey (usually CTRL) which together with the mouse allows rotation and zooming at any time during the creation process. In GID it seems I need to select the trackball every time I'd like to do this which in my mind makes it a bit more cumbersome. Is there any alternative way available in GID, similar to the hotkey? Thanks/Jonas Forssell, Gothenburg, Sweden Gå före i kön och få din sajt värderad på nolltid med Yahoo! Express -------------- next part -------------- An HTML attachment was scrubbed... URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20030413/b39e531b/attachment.htm... [GiDlist] Hotkey to rotation and zoom
Send by: Miguel A. de Riera Pasenau Hi, there are some already defined bindings up line 571 in tclfile-opengl file in the 'scripts' directory, which uses the second and third button of the mouse to do a dynamic zoom and pan, respectively. They can be activated by uncommenting the following variable set GidPriv(havecontextualbutton) 1 in line 27 fo ConfigureProgram.tcl, in the scripts directory. You can define your own bindings too, in the same tclfile-opengl file. miguel Jonas Forssell wrote: > > Hello, > > Many pre/postprocessors and CAD programs have a hotkey (usually CTRL) which together with the mouse allows rotation and zooming at ... [GiDlist] Hotkey to rotation and zoom
Send by: Enrique Escolano You can create a "macro" (utilities->graphical->Macros...) to a fast access with a key to this functions: for example, set this shorcuts: "F3" to a macro named "pan" with this macro code: dynamicpan "F4" to a macro named "zoom" with this macro code: zoom dynamic "F5" to a macro name "rotate" with the code: rotate trackball Regards Enrique Escolano ----- Original Message ----- From: Jonas Forssell To: gidlist at gatxan.cimne.upc.es Sent: Sunday, April 13, 2003 2:03 PM Subject: [GiDlist] Hotkey to rotation and zoom Hello, Many pre/postprocessors and CAD programs have a hotkey (usually CTRL) which together with the mouse allows rotation and zooming at any time during the creation process. In GID it seems I need to select the trackball every time I'd like to do this which in my mind makes it a bit more cumbersome. Is there any alternative way available in GID, similar to the hotkey? Thanks /Jonas Forssell, Gothenburg, Sweden Gå före i kön och få din sajt värderad på nolltid med Yahoo! Express -------------- next part -------------- An HTML attachment was scrubbed... URL: ... [GiDlist] Hotkey to rotation and zoom
Send by: Ramon Ribó
Hello,
The recommended solution, as Enrique pointed out, is to use macros.
However
it is possible to modify line 29 in file:
<GiD installation>/scripts/ConfigureProgram.tcl>
from:
-------------------------------------
#set GidPriv(ChangeButtonMeaning) 1
-------------------------------------------------
into
--------------------------------------------------
set GidPriv(ChangeButtonMeaning) 1
---------------------------------------------------
It permmits to achieve interesting effects with the mouse central and
right buttons.
Regards,
--
Compass Ing. y Sistemas Dr. Ramon Ribo
http://www.compassis.com...
[GiDlist] Hotkey to rotation and zoom
Send by: Jonas Forssell Ramon_Ribó <ramsan at compassis.com> wrote: Hello, The recommended solution, as Enrique pointed out, is to use macros. Howeverit is possible to modify line 29 in file: <GiD installation>/scripts/ConfigureProgram.tcl> from: ------------------------------------- #set GidPriv(ChangeButtonMeaning) 1------------------------------------------------- into --------------------------------------------------set GidPriv(ChangeButtonMeaning) 1--------------------------------------------------- It permmits to achieve interesting effects with the mouse central and right buttons. Regards, -- Compass Ing. y Sistemas Dr. Ramon Ribo ... [GiDlist] Shell element stress and strain plotting
Send by: Jonas Forssell Hello, I'm using shell elements with several integration points through the thickness. In the current version of GID (7), I can only find that one stress or strain result through the thickness is allowed. Is there a way of showing more results in the element? A shell element under bending for example would show compression on one side and tension on the other side. Currently, I am using up to 5 integration points through the thickness in triangular and quadilateral shell elements. Thanks/Jonas Forssell, Gothenburg, Sweden Gå före i kön och få din sajt värderad på nolltid med Yahoo! Express -------------- next part -------------- An HTML attachment was scrubbed... URL: ... [GiDlist] Shell element stress and strain plotting
Send by: Enrique Escolano A GiD triangle or quadrilateral is an element without thickness (a thickness can be set using a condition or material pointing to the element) Must use some trick to show a compression in a side and tension at the other side, for example write, for postprocess use only, a mesh *.flavia.msh with duplicated nodes and triangles. If exists a file named *.flavia.msh, then, changing to postprocess the preprocess mesh is avoided, and GiD postprocess use this alternative mesh. Enrique Escolano ----- Original Message ----- From: Jonas Forssell To: gidlist at gatxan.cimne.upc.es... [GiDlist] Shell element stress and strain plotting
Send by: Ramon Ribó
Hello,
GiD does not impose any limitation to the number of layers of
integration points in
the planar element. You just must use a different result name for every
layer. For example,
you can have results names:
"Stresses layer 1"
"Stresses layer 2"
....
And you will be able to visualize all of them in the postprocess.
Additionally, you can also use TCL to change the postprocessing menus,
so as to find
a more natural way of presenting the results to the final user.
Regards,
--
Compass Ing. y Sistemas Dr. Ramon Ribo
http://www.compassis.com <http://www.compassis.com/...
[GiDlist] Shell element stress and strain plotting
Send by: Jonas Forssell Good idea! Thanks for the help all of you. /Jonas Ramon_Ribó <ramsan at compassis.com> wrote: Hello, GiD does not impose any limitation to the number of layers of integration points inthe planar element. You just must use a different result name for every layer. For example,you can have results names: "Stresses layer 1" "Stresses layer 2" .... And you will be able to visualize all of them in the postprocess. Additionally, you can also use TCL to change the postprocessing menus, so as to finda more natural way of presenting the results to the final user. Regards, -- Compass Ing. y Sistemas Dr. Ramon Ribo ... [GiDlist] A better Sphere mesh?
Send by: Oguz Tanzer Hello, I generated a mesh of a Sphere using the ready-made "Sphere" Geometry in the toolbar and the resulting mesh has more triangles (seen on the boundary) near the "circle lines" defining the sphere. How can I get a more "homogeneous distribution" of the triangles on the sphere? Can it be done with some adjustment of mesh quality parameters? Or anything else? Thanks. Oguz- __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com [GiDlist] A better Sphere mesh?
Send by: Enrique Escolano Try to assign manually the same unstructured mesh size (menu Meshing->Assign unstruct. sizes) to all entities: lines, sufaces and volumes, and unselect the "automatic correct sizes" mesh preference (utilities->preferences-Meshing). You can also select the preference to mesh using "Rsurf" instead "Rfast", to try to obtain a best triangle quality in non-uniform parameterized surfaces. Enrique ----- Original Message ----- From: "Oguz Tanzer" <oguztanzer at yahoo.com> To: <gidlist at gatxan.cimne.upc.es... [GiDlist] a question about postprocess
Send by: edodo Hi ,all Can you help me? ======= 2003-04-10 10:09:00 您在来信中写道:======= >Hi,all > >How can I display remesh(move element)'s result in gid? > >Thanks > > > edodo > fea at eyou.com > 2003-04-10 > > >... [GiDlist] a question about postprocess
Send by: Enrique Escolano I don't understand your question. If you have a mesh with different nodes location in the time (but the same element connectivities), you can write a results file wiht a nodes displacement vector result, and display an animation of the mesh, deformated with this vector result. Enrique ----- Original Message ----- From: "edodo" <fea at eyou.com> To: <gidlist at gatxan.cimne.upc.es> Sent: Monday, April 14, 2003 11:45 AM Subject: Re: [GiDlist] a question about postprocess > Hi ,all ... [GiDlist] a question about postprocess
Send by: Pablo Perez del Castillo You can write in flavia.res displazaments over nodes in every iteration or step time : Result "Displacements" "movement" 3 Vector OnNodes in this sample, "3" is the iteration or step time. In the post-process you can see animate deform etc... I hope help you. In the post :. view results -- deformation -------------- next part -------------- An HTML attachment was scrubbed... URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20030414/770ec285/attachment.htm [GiDlist] how to count the number of 3D elems in a volume
Send by: Andres Peratta Hi there !
could you give me a hint ?
I need to write a table of volumes in my .bas file.
The table should have Nvol entries,
where Nvol is the number of volumes in the project.
Each record of the table should contain :
(i) the volume label and (ii) the number of 3D elements within that volume
( hexahedra or tetrahedra ).
The additional problem is that some volumes might not be meshed in volume,
that is, only their adjacent surfaces might have a mesh of 2D elems.
For those volumes, the number of 3D elements should be cero.
Do you know any way to write such a table in the bas file ?
thanks in advance,
Andres
PS: Here are the tcl procedures that I use at the moment ,
in order to get some information about volumes:
# This prints some information about volumes
proc master_slave_materials {} {
set VolSurf [.central.s info list_entities volumes 1:[NVol]]
return $VolSurf
}
# This prints the number of volumes
proc NVol { } {
set a [.central.s info list_entities Status]
regexp -nocase {number of volumes: ([0-9]+)} $a none num
return $num
}
but I can't find the number of elems inside a volume from them.
...
[GiDlist] how to count the number of 3D elems in a volume
Send by: Enrique Escolano You can apply a condition to all volumes with a autocalculated field #FUNC#(NumEntity) for example with this field (can be hidden) Question: Volume_Num#FUNC#(NumEntity) Value:0 state: hidden This set automatically the field value with the geometric entity number. The conditions are transferred to the volume elements generated. Regards Enrique Escolano ----- Original Message ----- From: "Andres Peratta" <andres at wessex.ac.uk> To: <gidlist at gatxan.cimne.upc.es> Sent: Tuesday, April 15, 2003 12:32 AM Subject: [GiDlist] how to count the number of 3D elems in a volume >... [GiDlist] a question about postprocess
Send by: edodo Pablo Perez del Castillo,
Thanks.
I want to display a results in Gid which has the different nodes belong to the same number of element.It 's mean that a remesh or move element question.
Can I do it.
Advanced thanks
You can write in flavia.res displazaments over nodes in every iteration or step time :
Result "Displacements" "movement" 3 Vector OnNodes
in this sample, "3" is the iteration or step time. In the post-process you can see animate deform etc...
I hope help you.
In the post :. view results -- deformation
= = = = = = = = = = = = = = = = = = = = = =
edodo
...
[GiDlist] Re: a question about postprocess
Send by: Pablo Perez del Castillo yes, you can do it. Gid will move element in postprocess with iteraction or time step. Even if you wish the final deform mesh for another analisys, you can write another *.msh with the new coordinates. [GiDlist] Re: a question about postprocess
Send by: edodo Pablo Perez del Castillo,
Thanks.
Can you give me an example.
======= 2003-04-15 09:29:00 您在来信中写道:=======
>yes, you can do it. Gid will move element in postprocess with iteraction
>or time step. Even if you wish the final deform mesh for another
>analisys, you can write another *.msh with the new coordinates.
>
>
>_______________________________________________
>GiDlist mailing list
>GiDlist at gid.cimne.upc.es
>http://gid.cimne.upc.es/mailman/listinfo/gidlist...
AW: [GiDlist] Re: a question about postprocess
Send by: Theo Lohschelder Dear sir Please cancel my adresse LOHSCHELDER at meocom-online.de -----Ursprüngliche Nachricht----- Von: gidlist-admin at gatxan.cimne.upc.es [mailto:gidlist-admin at gatxan.cimne.upc.es] Im Auftrag von edodo Gesendet: Dienstag, 15. April 2003 10:01 An: gidlist at gatxan.cimne.upc.es Betreff: Re: [GiDlist] Re: a question about postprocess Pablo Perez del Castillo, Thanks. Can you give me an example. ======= 2003-04-15 09:29:00 您在来信中写道:======= >... [GiDlist] Re: a question about postprocess
Send by: Enrique Escolano It is possible to self-unsubscribe from the GiDlist http://www.gidhome.com/mailman/listinfo/gidlist Fill the edit Options with your e-mail and click the button. To unsuscript set your password and clik Unsubscribe (If you've lost your password, click "Email My Password To Me") Enrique Escolano ----- Original Message ----- From: "Theo Lohschelder" <lohschelder at meocom-online.de> To: <gidlist at gatxan.cimne.upc.es> Sent: Tuesday, April 15, 2003 10:31 AM Subject: AW: [GiDlist] Re: a question about postprocess >... [GiDlist] Re: a question about postprocess
Send by: Pablo Perez del Castillo the atached file has a sample i hope help you edodo escribió: > Pablo Perez del Castillo, > > Thanks. > Can you give me an example. > > ======= 2003-04-15 09:29:00 ÄúÔÚÀ´ÐÅÖÐдµÀ£º======= > > >yes, you can do it. Gid will move element in postprocess with iteraction > >or time step. Even if you wish the final deform mesh for another > >analisys, you can write another *.msh with the new coordinates. > > >... [GiDlist] a question about Graphs in postprocess
Send by: edodo HI,all
I have wrote a result files of msh and res in attached files.I want to show a border graph.I want to set x-axis :x variation and y-axis par1,then select the border.But the Gid tell me that there have something wrong.Can you help me.
Advanced Thanks
edodo
fea at eyou.com
Fegen software Co.,Ltd
http://www.fegensoft.com/english
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p.gid.rar
Type: application/octet-stream
Size: 615431 bytes
Desc: not available
Url : http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20030415/38de6522/attachment.obj...
[GiDlist] interpolation
Send by: Mark Smith Hi Gidlist If I have a solution to a problem giving the values at the nodes of a 3D mesh is there a simple way of interpolating these values onto a new mesh of the same volume but with a new mesh ? I have a feeling that this may require determining which element a point p(x,y,z) resides inside? if so how can this be done. Any help, references, URL's etc would be most helpful. Regards Mark --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.458 / Virus Database: 257 - Release Date: 24/02/03 The information contained in this e-mail message (and any attachment transmitted herewith) is privileged and confidential and is intended for the exclusive use of the addressee(s). If you are not an addressee, any disclosure, reproduction, distribution or other dissemination or use of this communication is strictly prohibited. If you have received this communication in error, please contact us immediately so that we can correct the error. ... [GiDlist] interpolation
Send by: Enrique Escolano You must use some algorithm to search some old nodes near your new point to interpolate. There is a link to a C++ source code of a kd-tree data structure for this efficient search. http://www.cs.umd.edu/~mount/ANN/ With this near nodes, you can make some weighted average to calculate the new value, or can find the element containg the point, and use some shape functions to interpolate. Note: if the node is inside a element, then it must be at the interior half plane foreach element face For example, for an tetrahedral with 3 edge vectors V1,V2,V3 trought the node Po, and a point P must solve this 3x3 linear equation sytem: P-Po=a*V1+b*V2+c*V3 The P point is inside if a+b+c<=1 Note: It can be too hard try foreach mesh element if the point is inside.Must find first only a small group of candidate elements (with a Kd-tree for example). Enrique Escolano ----- Original Message ----- From: "Mark Smith" <... [GiDlist] interpolation
Send by: Ramon Ribó Hello,
The classical solution to this problem is:
- Find the element in the 2nd mesh where the node belongs
- Calculate the inverse of the FEM shape functions for the 1st mesh
node
- Find the value of the function in the node by using the calculated
shape
functions
The problem with this algorithm is the efficiency. You can go from a
few
seconds to a several hours or days to do the same task depending on the
implementation.
As a rule of thumb, NEVER try to calculate for every element in the
mesh
the shape funtions to decide if the node is inside. A crude octree, if
it is
not too well implemented, can be slow for big meshes. The best solution
is
probably a combination of octree search and "mesh walking" maintaining a
used
elements history.
Its plenty of literature of this in the Internet (in fact, Internet
is
plenty of everything).
Regards,
--
Compass Ing. y Sistemas Dr. Ramon Ribo
...
[GiDlist] Re: how to count the number of 3D elems in a volume
Send by: Andres Peratta Enrique, thank you very much for your help.
I'd like to know if it is possible to assign the number of volumes
to a variable in a bas file.
For example, something like :
*set var N=tcl(Nvol)
where Nvol is this tcl procedure :
proc NVol { } {
set a [.central.s info list_entities Status]
regexp -nocase {number of volumes: ([0-9]+)} $a none num
return $num
}
------------------------------------------------------------------------
I'm still trying to build the table of volumes in the output file.
To do so, I included this condition in the .cnd file
which assigns volume labels to mesh elems:
NUMBER: 1 CONDITION: VolId
Question: Volume_Num#FUNC#(NumEntity)
Value:0
state: hidden
END CONDITION
------------------------------------------------------------------------
And here are the lines that I am trying to use
in my bas file, in order to get a table of volumes and their number of elems
as an output.
This would work provided that the variable Nvol is initialized with the
number of volumes created in the project, and this is what I don't know how
to do.
*set elems(Tetrahedra)
*set cond VolId
*for(vol=1;vol<=Nvol;vol=vol+1)
*set var NelemsVol=0
*loop elems
*if(cond(1,int) == vol)
*set var NelemsVol = NelemsVol + 1
*end if
*end
Volume = *vol ; Number of elems = *NelemsVol
*end
-------------------------------------------------------------------------
In general, is there any way to assign the result of a tcl function to a variable in a bas file ?
Sorry to bother you, and thank you very much for your help
best regards,
Andres
...
[GiDlist] Re: how to count the number of 3D elems in a volume
Send by: Enrique Escolano Sorry, by now is not available to return a value from a tcl procedure to a *bas variable. To solve your problem, you can ask GiD about the applied conditions, from a tcl procedure, instead from the bas file, then reorder this information and print as desired (the tcl returned value is printed directly to the output file). Enrique Escolano ----- Original Message ----- From: "Andres Peratta" <andres at wessex.ac.uk> To: <gidlist at gatxan.cimne.upc.es> Sent: Tuesday, April 15, 2003 2:33 PM Subject: [GiDlist] Re: how to count the number of 3D elems in a volume >... [GiDlist] Re: a question about postprocess
Send by: edodo Dear,sir/madam,Pablo Perez del Castillo
Thanks.
Maybe You misapprehend my idea.Or I didn't tell clearly.
I want to display a result which the element would be changed in different step.In other words.The same number of element will be made by differnet number of node when the time change.
Thanks
======= 2003-04-15 18:07:00 You wrote£º=======
>the atached file has a sample
>
>i hope help you
>
>edodo escribió:
>
>> Pablo Perez del Castillo,
>>
>> Thanks.
>> Can you give me an example.
>>
...
[GiDlist] Hints to use gid
Send by: kalo81 at virgilio.it HI!I WOULD LIKE TO KNOW WHAT THE WAY IS TO CREATE A PARAMETRIC SURFACE, i.e. A GEOMETRIC OBJECT WHICH DEPENDS ON TWO PARAMETERS. ALSO WHAT THE WAY IS TO CREATE A PYRAMIDAL VOLUME MESH, WHICH HAS GOT A QUADRILATERAL STRUCTURED SURFACE MESH BASE. PLEASE SEND ME SOME HINTS OR THE E-MAIL OF SOMEONE WHO COULD HELP ME. THANKS IN ADVANCE! GERO [GiDlist] Hints to use gid
Send by: Enrique Escolano It is not possible to create with GiD a parametric model, but if your geometry is very simple, you can create a tcl procedure to reconstruct it, with GiD commands, from some parameters. You can see a tcl sample, explaining the creation of the GiD "Parametric Line" window (menu Geometry->Create->Parametric Line) Download the Advanced course documentation ( http://gid.cimne.com/2002/material_courses.subst ) Read the chapter 3 - Extending GiD with Tcl/Tk Regards Enrique escolano ----- Original Message ----- From: <kalo81 at virgilio.it... [GiDlist] Could we create Geometric model on GiD by batch command?
Send by: Adisorn Owatsiriwong Dear GiD Team,
In place of drawing tools, could we create geometric models like volume, surface, line by batch command like we did in standard FEA? If yes, how to do so.
i.e. Just let user input some parameters in problem data menu then let GiD automatically create some simple geometric models like box, multi-boxes or planes. Thanks in advanced.
Bests,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20030421/3cc1132b/attachment.htm
...
[GiDlist] Could we create Geometric model on GiD by batch command?
Send by: Javier Mora You can do it by using tcl/tk commands. Dowload the Advanced Course Material in http://www.gidhome.com/2002/material_courses.subst where you will find a good example for this. You can also check the attached example. Create a problemtype called prisma.gid and include the attached tcl file (the gif picture can help too). Regards, j -----Mensaje original----- De: gidlist-admin at gatxan.cimne.upc.es [mailto:gidlist-admin at gatxan.cimne.upc.es... [GiDlist] Could we create Geometric model on GiD by batch command?
Send by: Adisorn Owatsiriwong Hallo Mora,
Thank you for your useful guide. : )
Bests,
----- Original Message -----
From: Javier Mora
To: gidlist at gatxan.cimne.upc.es
Sent: Monday, April 21, 2003 5:05 PM
Subject: RE: [GiDlist] Could we create Geometric model on GiD by batch command?
You can do it by using tcl/tk commands. Dowload the Advanced Course Material in http://www.gidhome.com/2002/material_courses.subst
where you will find a good example for this.
You can also check the attached example. Create a problemtype called prisma.gid and include the attached tcl file (the gif picture can help too).
Regards,
j
-----Mensaje original-----
De: ...
[GiDlist] Why I cann't open my GID
Send by: Zhiwei Niu Hi,everyone today I installed my computer with Chinese WINDOWSXP, and then resintall GID Ver 6.3.0b. When i double the GID icon to open it, there is a error information window showed to tell me "SwapBuffers failed". After i click ok, the GID was closed. why is it? best wishes to you [GiDlist] Why I cann't open my GID
Send by: Enrique Escolano Try to deactivate the graphic card acceleration from Windows: Screen properties- Configuration - Advanced settings... - Solve problems - Hardware acceleration: None In other hand, the chinese language can also create in GiD some encoding problem (using filenames with non ascii characters). It is more recommended for example to use a english XP. Enrique Escolano ----- Original Message ----- From: "Zhiwei Niu" <nzwyc at sina.com> To: "gid" <gidlist at gatxan.cimne.upc.es> Sent: Monday, April 21, 2003 2:22 PM Subject: [GiDlist] Why I cann't open my GID >... [GiDlist] Why I cann't open my GID
Send by: Miguel A. de Riera Pasenau have you tried with the latest drivers for your graphic card? which graphic card are you using? The latest GiD version is 7.2 ( ftp://gid.cimne.upc.es/pub/gid/Windows/). have you tried with 'Start menu'->programs->GiD(...)->gid safe mode ? You can always change to 256 colors. bye miguel Zhiwei Niu wrote: > > Hi,everyone > today I installed my computer with Chinese WINDOWSXP, and then resintall GID Ver 6.3.0b. When i double the GID icon to open it, there is a error information window showed to tell me "SwapBuffers failed". After i click ok, the GID was closed. why is it? ... [GiDlist] Trouble exporting pictures
Send by: Christophe Louis Hello, I am currently using GiD 7.1 and I have trouble using the command Files>Print to file>EPS Vectorial. The picture is correctly exported but the legend of the figure and its title are not (the characters are modified and placed at the wrong position). Is this a known bug? Thanks Christophe Louis -------------- next part -------------- An HTML attachment was scrubbed... URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20030421/9e9ac7db/attachment.htm [GiDlist] Trouble exporting pictures
Send by: Miguel A. de Riera Pasenau no it is not know, but now it is! thanks, i'll lok into it. miguel > Christophe Louis wrote: > > Hello, > > I am currently using GiD 7.1 and I have trouble using the command > > Files>Print to file>EPS Vectorial. > > The picture is correctly exported but the legend of the figure and its title are not (the characters are modified and placed at > the wrong position). Is this a known bug? > > Thanks > > Christophe Louis -- -------------------------------------------------------------------------------- Miguel A. de Riera Pasenau ... [GiDlist] Generation of nodes only
Send by: Arturo di Gioia Hi, I've got a problem with GiD 7.2. I have to generate a mesh for my code. I need a surface mesh and a points cloud over the volume. I wrote a module that exports the surface mesh and the nodes of a tethraedral volume mesh generated in GiD. It works well, but it's slow when the mesh gets serious. I saw the possibility to generate only the nodes of the internal mesh, but if I try to do it with a fine mesh (~100000 triangles, ~1000000 tetrahedra), I get an error saying Last diagnostics from tetrahedra mesher: generating only points *************************************** ******************************* For the Faces+Coordinates file: ******************************* please enter file name please increase mpoin, needed at least: 67202 Less aggressive settings give the error Last diagnostics from tetrahedra mesher: after first change generated total surface mesh for the all surfaces before 3-d gg contains: nr. of faces nface= 75600 nr. of points npoin= 37802 please increase mboun, needed: 37802 ==> stopped Everything works with a very coarse mesh. Is there any quick workaround to this? Thanks -- Arturo di Gioia <... [GiDlist] Generation of nodes only
Send by: Enrique Escolano The generator of "only points" in a volume is an external mesher, and it have fixed limits in the size of some arrays. It is deprecated, and for future versions is planned to include a internal "only points" generator. You must use by now the tetrahedral generator. Enrique ----- Original Message ----- From: "Arturo di Gioia" <arturo.digioia at ing.unitn.it> To: <gidlist at gatxan.cimne.upc.es> Sent: Tuesday, April 22, 2003 7:45 PM Subject: [GiDlist] Generation of nodes only > Hi, ... [GiDlist] Symmetric meshes
Send by: kalo81 at virgilio.it Hi! What is the way to create symmetric meshes? Thanks in advance! Gero. [GiDlist] Symmetric meshes
Send by: Enrique Escolano You can create a mirror of the mesh elements (utility copy). Note: you must then apply the conditions and materials directly to the mesh. Enrique Escolano ----- Original Message ----- From: <kalo81 at virgilio.it> To: "GIDLIST" <gidlist at gatxan.cimne.upc.es> Sent: Wednesday, April 23, 2003 11:45 AM Subject: [GiDlist] Symmetric meshes > Hi! What is the way to create symmetric meshes? > Thanks in advance! > Gero. > > _______________________________________________ ... [GiDlist] GID 7.1 on Windows NT 4.0
Send by: ieea Dear All, Sometimes, I am using GID on windows NT 4.0 : some problems appear, especially, it is no more possible to select, on a GID's geometry, several lines together (or surfaces together) using the mouse. In fact, the selection of entities is only possible entity by entity. Is it a known bug ? Is there a solution (GID 7.2 of course, but an other one if possible !) ? Thank you in advance. G.W.R. Geis [GiDlist] GID 7.1 on Windows NT 4.0
Send by: Enrique Escolano This bug is unknown. In fact, GiD works ok on Win NT 4.0 in our tests. In any case, if GiD 7.2 works in your system, what's the problem to update? The password is the same Enrique Escolano ----- Original Message ----- From: "ieea" <ieea at club-internet.fr> To: "GID" <GiDlist at gatxan.cimne.upc.es> Sent: Wednesday, April 23, 2003 12:16 PM Subject: [GiDlist] GID 7.1 on Windows NT 4.0 > Dear All, > Sometimes, I am using GID on windows NT 4.0 : some problems appear, ... [GiDlist] GID 7.1 on Windows NT 4.0
Send by: ieea Thank you for your message. I cannot explain why this bug is, but it is ! I ever installed a GID 7.1 version on a Windows NT 4.0 network, it was running, but now, in an other WNT4.0 network, this bug appears !! At the moment, I prefer to use the GID 7.1 version, because all my software is developed from GID 7.1 Especially, the GID 7.2 version has a little problem with the automatic reading of the *.flavia.msh (cf. Problem with *.flavia.msh in GID 7.2 - 21/03/03). I should be necessary for me to change some lines specifically for the 7.2 version, and change again for the 7.3 version... In fact I am waiting for the next version of GID... G.W.R. Geis Enrique Escolano a écrit : >... [GiDlist] GID 7.1 on Windows NT 4.0
Send by: Pablo Perez del Castillo Hello; In Windows 2000 (pro) (kernell NT), and GID 7.2 has the same bug when select several lines together. Pablo ieea escribió: > Thank you for your message. > > I cannot explain why this bug is, but it is ! > I ever installed a GID 7.1 version on a Windows NT 4.0 network, it was running, > but now, in an other WNT4.0 network, this bug appears !! > > At the moment, I prefer to use the GID 7.1 version, because all my software is > developed from GID 7.1 > Especially, the GID 7.2 version has a little problem with the automatic reading >... [GiDlist] GID 7.1 on Windows NT 4.0
Send by: Enrique Escolano I' develop under Windows 2000 professional, and this problem not appears in any of our machines!! For example (using GiD 7.1 or 7.2): It fail if you create some lines, and try to list it selecting all ? It is, can be, a redraw problem? Enrique Escolano ----- Original Message ----- From: "Pablo Perez del Castillo" <pablopdc at terra.es> To: <gidlist at gatxan.cimne.upc.es> Sent: Wednesday, April 23, 2003 6:21 PM Subject: Re: [GiDlist] GID 7.1 on Windows NT 4.0 > Hello; ... [GiDlist] GID 7.1 on Windows NT 4.0
Send by: Pablo Perez del Castillo Hello Enrique; you are right. It is not happening with Gid tools, but if i use my tool (it is a tcl to create splines similar to NACA profiles) and then i try to select all to get nurbs, i must do it one to one. I tried to redraw, but nothin change. I guess, we have to repair our tcl code. Thanks Pablo Enrique Escolano escribió: > I' develop under Windows 2000 professional, and this problem not appears in > any of our machines!! > > For example (using GiD 7.1 or 7.2): It fail if you create some lines, and > try to list it selecting all ? > > It is, can be, a redraw problem? ... [GiDlist] GID 7.1 on Windows NT 4.0
Send by: Enrique Escolano Can you send some model, with this type of nurblines, to check it? Enrique ----- Original Message ----- From: "Pablo Perez del Castillo" <pablopdc at terra.es> To: <gidlist at gatxan.cimne.upc.es> Sent: Wednesday, April 23, 2003 7:54 PM Subject: Re: [GiDlist] GID 7.1 on Windows NT 4.0 > Hello Enrique; you are right. > It is not happening with Gid tools, but if i use my tool (it is a tcl to create > splines similar to NACA profiles) and then i try to select all to get ... [GiDlist] GID 7.1 on Windows NT 4.0
Send by: Pablo Perez del Castillo Hello Enrique; Attached file with nurbs lines. It is curious, i tried to build a nurbs surface with those lines (attached file) in two diferents PC with "geometry>create>nurbs_surface>parallel_lines" . Results: -PC with Windows 2000 pro (over windows 95), GID 7.2 , it works fine (select all with window). -PC with Windows 2000 pro, GID 7.2, i had to select line to line. Pablo. Nota: el sistema operativo win2000 instalado sobre win95, me selecciona todas por ventana y lo hace perfecto. El mismo fichero en el pc con win2000 sobre un disco duro formateado, no selecciona nada por ventana, debo picar una a una. -------------- next part -------------- A non-text attachment was scrubbed... Name: borraspline.gid.zip Type: application/x-zip-compressed Size: 1221 bytes Desc: not available Url : ... [GiDlist] GID 7.1 on Windows NT 4.0
Send by: Enrique Escolano Hello Pablo. In my computer your sample works fine. This seems a graphic card problem. Try to use software OpenGL instead hardware Run GiD from the start button of Windows ... GiD7.2-> GiD safe mode, and select software OpenGL (this selection is only necessary one time) Enrique Nota: Mi sistema operativo no ha sido instalado encima de otro previo, el problema no tiene nada que ver con haber tenido un sistema win95 previo. ----- Original Message ----- From: "Pablo Perez del Castillo" <pablopdc at terra.es> To: <gidlist at gatxan.cimne.upc.es... [GiDlist] GID 7.1 on Windows NT 4.0
Send by: ieea a IGES file is joined.
It has been made from a GID geometry saved as a IGES format file.
This file induces the bug on WNT4.0
Bye,
G.W.R.Geis
-------------- next part --------------
Translator GID - IGES S0000001
1H,,1H;,3HGID,75HC:/Documents and Settings/Administrateur/Mes documents/G0000001
Johann/test/cube.igs,,,32,,,,,,1,,,1,0,,0,0,,5HCIMNE,9,,; G0000002
128 1 1 D0000001
128 12 NURBSURF 1D0000002
128 13 1 D0000003
128 13 NURBSURF 2D0000004
128 26 1 D0000005
128 14 NURBSURF 3D0000006
128 40 1 D0000007
128 13 NURBSURF 4D0000008
128 53 1 D0000009
128 13 NURBSURF 5D0000010
128 66 1 D0000011
128 13 NURBSURF 6D0000012
128,4,4,3,3,0,0,1,0,0,0,0,0,0,0.414105,1,1,1,1,0,0,0,0,0.5,1,1, 1P0000001
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,-0.234302, 1P0000002
1.064019,-0.03,-0.147367,1.064019,-0.03,-0.024367,1.064019, 1P0000003
-0.03,0.098633,1.064019,-0.03,0.175698,1.064019,-0.03,-0.234302, 1P0000004
0.970619,-0.03,-0.147367,0.970619,-0.03,-0.024367,0.970619, 1P0000005
-0.03,0.098633,0.970619,-0.03,0.175698,0.970619,-0.03,-0.234302, 1P0000006
0.830519,-0.03,-0.147367,0.830519,-0.03,-0.024367,0.830519, 1P0000007
-0.03,0.098633,0.830519,-0.03,0.175698,0.830519,-0.03,-0.234302, 1P0000008
0.690419,-0.03,-0.147367,0.690419,-0.03,-0.024367,0.690419, 1P0000009
-0.03,0.098633,0.690419,-0.03,0.175698,0.690419,-0.03,-0.234302, 1P0000010
0.597019,-0.03,-0.147367,0.597019,-0.03,-0.024367,0.597019, 1P0000011
-0.03,0.098633,0.597019,-0.03,0.175698,0.597019,-0.03,0,1,0,1; 1P0000012
128,4,4,3,3,0,0,1,0,0,0,0,0,0,0.414105,1,1,1,1,0,0,0,0,0.5,1,1, 3P0000013
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0.175698, 3P0000014
0.597019,-0.03,0.175698,0.597019,0.014634,0.175698,0.597018, 3P0000015
0.077784,0.175698,0.597019,0.140934,0.175698,0.597019,0.1805, 3P0000016
0.175698,0.690419,-0.03,0.175698,0.690419,0.014634,0.175698, 3P0000017
0.690418,0.077784,0.175698,0.690419,0.140934,0.175698,0.690419, 3P0000018
0.1805,0.175698,0.830518,-0.03,0.175698,0.830518,0.014634, 3P0000019
0.175698,0.830518,0.077784,0.175698,0.830518,0.140934,0.175698, 3P0000020
0.830518,0.1805,0.175698,0.970618,-0.03,0.175698,0.970618, 3P0000021
0.014634,0.175698,0.970618,0.077784,0.175698,0.970618,0.140934, 3P0000022
0.175698,0.970618,0.1805,0.175698,1.064019,-0.03,0.175698, 3P0000023
1.064019,0.014634,0.175698,1.064019,0.077784,0.175698,1.064019, 3P0000024
0.140934,0.175698,1.064019,0.1805,0,1,0,1; 3P0000025
128,4,4,3,3,0,0,1,0,0,0,0,0,0,0.414105,1,1,1,1,0,0,0,0,0.5,1,1, 5P0000026
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,-0.234302, 5P0000027
1.064019,-0.03,-0.234302,1.064019,0.014634,-0.234302,1.064019, 5P0000028
0.077784,-0.234302,1.064019,0.140934,-0.234302,1.064019,0.1805, 5P0000029
-0.234302,0.970619,-0.03,-0.234302,0.970619,0.014634,-0.234302, 5P0000030
0.970619,0.077784,-0.234302,0.970619,0.140934,-0.234302, 5P0000031
0.970619,0.1805,-0.234302,0.830519,-0.03,-0.234302,0.830519, 5P0000032
0.014634,-0.234302,0.830519,0.077784,-0.234302,0.830519, 5P0000033
0.140934,-0.234302,0.830519,0.1805,-0.234302,0.690419,-0.03, 5P0000034
-0.234302,0.690419,0.014634,-0.234302,0.690419,0.077784, 5P0000035
-0.234302,0.690419,0.140934,-0.234302,0.690419,0.1805,-0.234302, 5P0000036
0.597019,-0.03,-0.234302,0.597019,0.014634,-0.234302,0.597019, 5P0000037
0.077784,-0.234302,0.597019,0.140934,-0.234302,0.597019,0.1805, 5P0000038
0,1,0,1; 5P0000039
128,4,4,3,3,0,0,1,0,0,0,0,0,0,0.414105,1,1,1,1,0,0,0,0,0.5,1,1, 7P0000040
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,-0.234302, 7P0000041
1.064019,0.1805,-0.147367,1.064019,0.1805,-0.024367,1.064019, 7P0000042
0.1805,0.098633,1.064019,0.1805,0.175698,1.064019,0.1805, 7P0000043
-0.234302,0.970619,0.1805,-0.147367,0.970619,0.1805,-0.024367, 7P0000044
0.970619,0.1805,0.098633,0.970619,0.1805,0.175698,0.970619, 7P0000045
0.1805,-0.234302,0.830519,0.1805,-0.147367,0.830519,0.1805, 7P0000046
-0.024367,0.830519,0.1805,0.098633,0.830519,0.1805,0.175698, 7P0000047
0.830519,0.1805,-0.234302,0.690419,0.1805,-0.147367,0.690419, 7P0000048
0.1805,-0.024367,0.690419,0.1805,0.098633,0.690419,0.1805, 7P0000049
0.175698,0.690419,0.1805,-0.234302,0.597019,0.1805,-0.147367, 7P0000050
0.597019,0.1805,-0.024367,0.597019,0.1805,0.098633,0.597019, 7P0000051
0.1805,0.175698,0.597019,0.1805,0,1,0,1; 7P0000052
128,4,4,3,3,0,0,1,0,0,0,0,0,0,0.414105,1,1,1,1,0,0,0,0,0.5,1,1, 9P0000053
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,-0.234302, 9P0000054
0.597019,-0.03,-0.234302,0.597019,0.014634,-0.234302,0.597018, 9P0000055
0.077784,-0.234302,0.597019,0.140934,-0.234302,0.597019,0.1805, 9P0000056
-0.152302,0.597019,-0.03,-0.152302,0.597019,0.014634,-0.152302, 9P0000057
0.597019,0.077784,-0.152302,0.597019,0.140934,-0.152302, 9P0000058
0.597019,0.1805,-0.029302,0.597019,-0.03,-0.029302,0.597019, 9P0000059
0.014634,-0.029302,0.597019,0.077784,-0.029302,0.597019, 9P0000060
0.140934,-0.029302,0.597019,0.1805,0.093698,0.597019,-0.03, 9P0000061
0.093698,0.597019,0.014634,0.093698,0.597019,0.077784,0.093698, 9P0000062
0.597019,0.140934,0.093698,0.597019,0.1805,0.175698,0.597019, 9P0000063
-0.03,0.175698,0.597019,0.014634,0.175698,0.597018,0.077784, 9P0000064
0.175698,0.597019,0.140934,0.175698,0.597019,0.1805,0,1,0,1; 9P0000065
128,4,4,3,3,0,0,1,0,0,0,0,0,0,0.414105,1,1,1,1,0,0,0,0,0.5,1,1, 11P0000066
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0.175698, 11P0000067
1.064019,-0.03,0.175698,1.064019,0.014634,0.175698,1.064019, 11P0000068
0.077784,0.175698,1.064019,0.140934,0.175698,1.064019,0.1805, 11P0000069
0.093698,1.064019,-0.03,0.093698,1.064019,0.014634,0.093698, 11P0000070
1.064019,0.077784,0.093698,1.064019,0.140934,0.093698,1.064019, 11P0000071
0.1805,-0.029302,1.064019,-0.03,-0.029302,1.064019,0.014634, 11P0000072
-0.029302,1.064019,0.077784,-0.029302,1.064019,0.140934, 11P0000073
-0.029302,1.064019,0.1805,-0.152302,1.064019,-0.03,-0.152302, 11P0000074
1.064019,0.014634,-0.152302,1.064019,0.077784,-0.152302, 11P0000075
1.064019,0.140934,-0.152302,1.064019,0.1805,-0.234302,1.064019, 11P0000076
-0.03,-0.234302,1.064019,0.014634,-0.234302,1.064019,0.077784, 11P0000077
-0.234302,1.064019,0.140934,-0.234302,1.064019,0.1805,0,1,0,1; 11P0000078
S0000001G0000002D0000012P0000078 T0000001
...
[GiDlist] GID 7.1 on Windows NT 4.0
Send by: Enrique Escolano I import your IGES file without problems with GiD7.1 or 7.2 in WinNT4.0 and Win2000 professional. Also, the multiple lines selection works ok with GiD7.1 and WinNT4.0 in my machine. I' unknown wath's the problem in your machine. The selection problem surely is by the graphical card (try deactivate graphic acceleration to solve), but I do not have idea of the import problem cause.. Enrique Escolano ----- O riginal Message ----- From: "ieea" <ieea at club-internet.fr> To: "GID" <GiDlist at gatxan.cimne.upc.es... [GiDlist] The NASA metallic almond
Send by: kalo81 at virgilio.it Hi! My aim is to create "the NASA metallic almond", which is a parametric surface. Theoretically i cold not do it by GiD; is there a particular method to do it? Best regards, Gero [GiDlist] The NASA metallic almond
Send by: Enrique Escolano You can create an approximate surface: for example, create a set of curves u=constant (can use Geometry->Create->Parametric Line) and create a nurbsurface "By parallel lines" with this set of curves. (Geometry->Create->Nurbs Surface->Parallel lines) You can also create it externally with some CAD, and import it, using IGES or another intechange format. Enrique Escolano ----- Original Message ----- From: <kalo81 at virgilio.it> To: "GIDLIST" <gidlist at gatxan.cimne.upc.es> Sent: Thursday, April 24, 2003 10:52 AM Subject: [GiDlist] The NASA metallic almond >... [GiDlist] Can I create structured mesh with only points?
Send by: Adisorn Owatsiriwong Dear GiD Team,
I need to transfer results from finite difference (finite volume) to GiD post.The results only provide at node and I require no element to make such computations. It's more convenient to transfer these results to node directly. Can I create a structured mesh with only points instead of hex elements? I tried but it failed,and finally I got unstructured mesh.
Bests,
Adisorn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20030425/f056ac12/attachment.htm...
[GiDlist] Can I create structured mesh with only points?
Send by: Miguel A. de Riera Pasenau Hi, if you want only to define the results over points you'll need 'point elements' like the attached example. The results/elements will be drawn as big points. Use the Options->Geometry->Point options...' window to change its size, to switch between the 'quick' look and the 'nice' look, and change its 'detail' level. miguel -- -------------------------------------------------------------------------------- Miguel A. Pasenau de Riera miguel at cimne.upc.es http://gid.cimne.upc.es... [GiDlist] Can I create structured mesh with only points?
Send by: Adisorn Owatsiriwong Dear Miguel
To transfer results from uniformly grid of FVM without any coupling
scheme, I definitely have to fixed position of points (in sense of uniform
grid in FVM calculations); therefore, it's necessary to create such a
structured grid. I also attach simple example for your infomation i.e. I
need points located at nodes of these hex elements. I tried to generate mesh
by 'point only' but only unstructured mesh is allowed as shown in fig 3.
Thanks in advanced.
Best regards,
Adisorn
----- Original Message -----
From: "Miguel A. de Riera Pasenau" <miguel at cimne.upc.es...
[GiDlist] Can I create structured mesh with only points?
Send by: Miguel A. de Riera Pasenau Can you attach an example? miguel Adisorn Owatsiriwong wrote: > > Dear Miguel > > To transfer results from uniformly grid of FVM without any coupling > scheme, I definitely have to fixed position of points (in sense of uniform > grid in FVM calculations); therefore, it's necessary to create such a > structured grid. I also attach simple example for your infomation i.e. I > need points located at nodes of these hex elements. I tried to generate mesh > by 'point only' but only unstructured mesh is allowed as shown in fig 3. >... [GiDlist] Can I create structured mesh with only points?
Send by: Enrique Escolano GiD is not speciallized in only nodes generation. Currently only can generate unstructured and for volumes. In other hand, generate also the elements (unneeded for your analysis) can add some postprocess advantages: contour fill, cuts, graphs, etc not availables with a "onlypoints" mesh. Enrique Escolano ----- Original Message ----- From: "Adisorn Owatsiriwong" <dollarbulldog at hotmail.com> To: <gidlist at gatxan.cimne.upc.es> Sent: Friday, April 25, 2003 2:24 PM Subject: Re: [GiDlist] Can I create structured mesh with only points? >... [GiDlist] Draw Local Axes in Post processing
Send by: VSayako Willy Hi GiD Team Could you Please show how to specify the local axes in the post processing. I've tried as instructed in on-line document but it's not working out. OK let's say local axes for each element at a centroid. For example if I have values for local axes as: x'=[1,0,0] y'=[0,1,0] z'=[0,0,1] How to write the post for these vectors??? Many thanks __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com [GiDlist] Draw Local Axes in Post processing
Send by: Enrique Escolano ----- Original Message ----- From: "VSayako Willy" <vilaysako at yahoo.com> To: <gidlist at gatxan.cimne.upc.es> Sent: Monday, April 28, 2003 8:37 AM Subject: [GiDlist] Draw Local Axes in Post processing > > Hi GiD Team > Could you Please show how to specify the local axes > in the post processing. I've tried as instructed in > on-line document but it's not working out. > OK let's say local axes for each element at a ... [GiDlist] Draw Local Axes in Post processing
Send by: Enrique Escolano This is the rotation transform, defined by the euler angles, of a vector v.
Enrique
----- Original Message -----
From: "Enrique Escolano" <escolano at cimne.upc.es>
To: <gidlist at gatxan.cimne.upc.es>
Sent: Monday, April 28, 2003 12:26 PM
Subject: Re: [GiDlist] Draw Local Axes in Post processing
>
> ----- Original Message -----
> From: "VSayako Willy" <vilaysako at yahoo.com...
[GiDlist] Draw Local Axes in Post processing
Send by: Enrique Escolano The Euler angles is a sequence of counter-clockwise passive rotations; that is, the vector remains fixed while the coordinate axes are rotated--new vector components are computed in new coordinate frame. In your case with local axes equal to global axes, all the rotations (in radians) are zero GiD Post Results File 1.0 Result "Local axes" "test" 1 LocalAxes OnNodes Values 1 0 0 0 2 0 0 0 ... End values If your local axes are for example x'=y, y'= - x, z'=z , (90 degrees around z axe) then must write as euler angles 0 0 -pi/2 Enrique Escolano ----- Original Message ----- From: "VSayako Willy" <vilaysako at yahoo.com... [GiDlist] Can I create structured mesh with only points?
Send by: Ramon Ribó
Hello,
If the nodes follow a given ordering and there is only one block of
elements, the code that
you need to program to create the elements is really trivial. I am sure
that you can program
it in less that 20 lines of code (of TCL of course). Ask for more help
if you are not able to do it.
Regards,
--
Compass Ing. y Sistemas Dr. Ramon Ribo
http://www.compassis.com <http://www.compassis.com/>
ramsan at compassis.com
c/ Manuel Girona, 61 bajos tel. +34 93 204 10 82
08034 Barcelona, Spain fax. +34 93 204 19 09
-----Mensaje original-----
De: ...
[GiDlist] Can I create structured mesh with only points?
Send by: Adisorn Owatsiriwong MensajeDear GiD Teams,
Thank you for all useful answer, Thank also for Dr.Ribo. I am very new to tcl and it's so important to have all of your guidances. Anyway, it means people need to use hex elements in transferring results from Finite Volume (in case they will not modify GiD), can anybody provide me a case study for this.
Best regards,
Adisorn
----- Original Message -----
From: Ramon Ribó
To: gidlist at gatxan.cimne.upc.es
Sent: Friday, April 25, 2003 5:04 PM
Subject: RE: [GiDlist] Can I create structured mesh with only points?
Hello,
If the nodes follow a given ordering and there is only one block of elements, the code that
you need to program to create the elements is really trivial. I am sure that you can program
it in less that 20 lines of code (of TCL of course). Ask for more help if you are not able to do it.
Regards,
--
Compass Ing. y Sistemas Dr. Ramon Ribo
...
[GiDlist] Can I create structured mesh with only points?
Send by: Enrique Escolano MensajeThis is a small geometry example to obtain a structured hexahedral mesh. To create the mesh use Meshing->generate with any mesh size (this size is avoided because all number of mesh divisions is set by the structured mesh info) GiD only generate hexahedrals in structured mode, it requires to divide the model in 6-faceted volumes), and then assign meshing structured volumes (and the number of divisions in each three directions). Enrique Escolano ----- Original Message ----- From: Adisorn Owatsiriwong To: gidlist at gatxan.cimne.upc.es Sent: Friday, April 25, 2003 11:29 PM Subject: Re: [GiDlist] Can I create structured mesh with only points? Dear GiD Teams, Thank you for all useful answer, Thank also for Dr.Ribo. I am very new to tcl and it's so important to have all of your guidances. Anyway, it means people need to use hex elements in transferring results from Finite Volume (in case they will not modify GiD), can anybody provide me a case study for this. Best regards, Adisorn ----- Original Message ----- From: Ramon Ribó To: ... [GiDlist] Pyramidal Volume Mesh
Send by: kalo81 at virgilio.it Hi, this is my problem: i mesh a surface with structured quadrilateral elements. So i would like to mesh the volume with pyramidal meshes, which have got as base the quadrilateral elements. Can i do this?How? Best regards, Gero [GiDlist] Pyramidal Volume Mesh
Send by: Enrique Escolano Currently GiD not generate pyramidal elements. Enrique Escolano ----- Original Message ----- From: <kalo81 at virgilio.it> To: "GIDLIST" <gidlist at gatxan.cimne.upc.es> Sent: Saturday, April 26, 2003 11:00 AM Subject: [GiDlist] Pyramidal Volume Mesh > Hi, this is my problem: i mesh a surface with structured quadrilateral elements. > So i would like to mesh the volume with pyramidal meshes, which have got > as base the quadrilateral elements. > Can i do this?How? ... [GiDlist] how to get the library
Send by: Zhiwei Niu everybody,hi! with GID 7.2 and some other files which are written in C language, it is possible to write the result file in binary format in order to compress the size of result file. I got some gidpost files which are written in C language from GID website. from readme.txt, i was informed that i can get a library file by compiling those resource files and with the library file, i can write the *.flavia.msh and *.flavia.res in binary format. but i cann't compile those resouce file successfully. i don't know if somebody try it or not. i think it is very meaning to write the two result file in binary format because with ascii format the two files are always very big sometimes, especially you have a lot of results in your result files. thanks a lot ... [GiDlist] how to get the library
Send by: Enrique Escolano What's your compilation problem? You compile on Linux/Unix, Windows using MS Visual C++, ...? You can compile gidpost.lib ?(read gidpost.html to compile) Yon can compile the sample use testpost.c using this library, to create testpost.exe? This library is tested under Linux and Windows. Enrique Escolano ----- Original Message ----- From: "Zhiwei Niu" <nzwyc at sina.com> To: "gid" <gidlist at gatxan.cimne.upc.es> Sent: Tuesday, April 29, 2003 3:29 AM Subject: [GiDlist] how to get the library >... [GiDlist] how to get the library
Send by: Jorge Suit Perez Ronda Hi, have you compile gidpost? if you have not, wich are the problem you have in the compilation? Regarding your other comment, mesh (.msh) file should be written in ascii format if you want to write it separately from the result file (.res). You can include the mesh into the result file and take adavantage of the binary format. Zhiwei Niu wrote: >everybody,hi! > >with GID 7.2 and some other files which are written in C language, it is possible to write the result file in binary format in order to compress the size of result file. I got some gidpost files which are written in C language from GID website. from readme.txt, i was informed that i can get a library file by compiling those resource files and with the library file, i can write the *.flavia.msh and *.flavia.res in binary format. but i cann't compile those resouce file successfully. i don't know if somebody try it or not. ... [GiDlist] how to get the library
Send by: Miguel A. de Riera Pasenau Which platform are you using? Linux? windows? Which are the errors that appears when you try to compile the files? miguel Zhiwei Niu wrote: > > everybody£¬hi£¡ > > with GID 7.2 and some other files which are written in C language, it is possible to write the result file in binary format in order to compress the size of result file. I got some gidpost files which are written in C language from GID website. from readme.txt, i was informed that i can get a library file by compiling those resource files and with the library file, i can write the *.flavia.msh and *.flavia.res in binary format. but i cann't compile those resouce file successfully. i don't know if somebody try it or not. ... [GiDlist] Memory Limits of GiD 7.2
Send by: Winfried Schepers Dear GiD users, are there any memory limits in GiD? I have a mesh of 4599 nodes, 24 beams, and 3576 hexahedras. For postprocessing I have a post.res file with 2048 time steps of displacements and stresses. First of all, I had to change the stack size of GiD.exe using EDITBIN, otherwise it wasn't possible to open a file that large. However, there seems to be a limit in GiD, since GiD crashes at some point before all the time steps are read from the file. From the debugger I get the error message "unhandled exception in gid.exe: access violation", which usually means some array boundary violations of the program. I could figure out that it happens when GiD allocated approximately 425 MB of memory, even if I reduce the number of time steps or the amount of postprocessing data. What are these limits? There is another strange behaviour of GiD: I want to cut volume sets of the mesh above. GiD asks for two points, and then which side I want. After pointing on the side GiD _always_ crashes with the same error message from the debugger as above. This happens even when I haven't read any post data, but only the mesh. Does anyone have any ideas? I could send my data if requested. I'm using GiD 7.2. I got this error on a Intel P4 as well as on an Athlon 1000+, both running W2K. Best regards Winfried SCHEPERS Technical University of Berlin Soil Mechanics and Geotechnical Engineering Division ... [GiDlist] Memory Limits of GiD 7.2
Send by: Miguel A. de Riera Pasenau Have you tried the latest beta: ftp://gid.cimne.upc.es/pub/gid_adds/Windows/GiD7.3b-win.exe ? There were some problems with the stack limitation imposed by Microsoft Visual C++. Which is overcome in this version. the bug of cutting hexahedras was also solved. miguel Winfried Schepers wrote: > > Dear GiD users, > > are there any memory limits in GiD? > > I have a mesh of 4599 nodes, 24 beams, and 3576 hexahedras. For > postprocessing I have a post.res file with 2048 time steps of >... [GiDlist] Memory Limits of GiD 7.2
Send by: Enrique Escolano GiD , in general, not have static memory limits. It seems a physical memory limitation: what amount of RAM exists in your machine? Mour mesh is small, but exists too many time steps. If your write only displacements (3 components) and stresses (6 components) then GiD also store the vector modulus (1 component), and the eigenvalues (3 components) and eigenvectors (9 components) of your stress tensor. For 4599 nodes, 2048 time steps, and stored as single precision (real*4 bytes), this is: 4599*2048*(3+6+1+3+9)*4=828850176 bytes (800 MB) If your system not have 1GB or more of RAM, this overflow your physical memory. It is really needed to write too many time steps? Enrique Escolano ----- Original Message ----- From: "Winfried Schepers" <... [GiDlist] Memory Limits of GiD 7.2
Send by: Winfried Schepers Dear Enrique, dear Miguel, indeed, the 7.3beta solved all the problems. Thanks for your help. Winfried SCHEPERS Technical University of Berlin Soil Mechanics and Geotechnical Engineering Division Enrique Escolano wrote: > > GiD , in general, not have static memory limits. > It seems a physical memory limitation: what amount of RAM exists in your > machine? > Mour mesh is small, but exists too many time steps. > If your write only displacements (3 components) and stresses (6 components) > then GiD also store the vector modulus (1 component), and the eigenvalues (3 >... [GiDlist] Fw: how to get the library
Send by: Enrique Escolano You have reason, if you try to compile testpostfor.f from Compaq Visual FORTRAN
(or another compiler from MS Developer Studio), it exists a bug in the sample:
Instead:
CALL GID_BEGINSCALARRESULT('Result','Analy.',1.0,0,0,NULL,NULL)
must use:
CALL GID_BEGINSCALARRESULT('Result','Analy.',1.0,0,NULL,NULL,NULL)
Another small change:
Instead
CALL GID_WRITECOORDINATES(idx, rx, ry, 0.0)
use
REAL*8 rz
...
rz = 0.0
CALL GID_WRITECOORDINATES(idx, rx, ry, rz)
I attach testpostfor.f with this changes, and avoiding the use of RANDOM for this sample, because is not FORTRAN standard, and
the syntax can change between compilers.
Regards
Enrique Escolano
----- Original Message -----
From: "Zhiwei Niu" <...
[GiDlist] postprocessing with changing mesh
Send by: Malte Neumann Hi everbody,
I would like to postprocess results on a changing mesh, i.e. the number of
nodes and elements might change (increase and decrease) during the simulation.
Is there a way to postprocess such results other than writing a new .msh
and .res for each new mesh and not being able to create animations?
Thanks for any help.
Malte
--
--------------------------------------------------------------------------
Malte Neumann
--------------------------------------------------------------------------
Institut fuer Baustatik / Institute of Structural Mechanics
Prof. Dr.-Ing. Ekkehard Ramm
Universitaet Stuttgart / University of Stuttgart
Pfaffenwaldring 7, D-70550 Stuttgart, Germany
mailto:...
[GiDlist] postprocessing with changing mesh
Send by: Enrique Escolano Currently is not supported a "time-step" variable mesh in GiD postprocess. It is necessary to open each .msh and .res It is possible to create a tcl procedure (and a window) to automatize, for a colection of results, this process: - open an animation file (avi, mpeg...), - read a mesh and results file - read a view previously saved in another file. - save a image to this animation file -close this animation file Enrique Escolano ----- Original Message ----- From: "Malte Neumann" <neumann at statik.uni-stuttgart.de> To: <gidlist at gatxan.cimne.upc.es... [GiDlist] Saving informations about the project
Send by: Mihai TEODORESCU Hello Gid Team, I'm would like to be able to save some informations about the projecct and to restore them when i open the project. Exactly, I want to keep the information about two selected surfaces, without assigning conditions or materials to those surfaces. The goal is to create an contact zone which i need to mesh in a specific way. For this I need to surfaces: a master surface and a slave surface. I created a new list in which i keep the name of the contact zone, the numbers of each surface (master and slave) and some options. I would like to keep track of this list over sessions. Is this possible? Thank you, -------------------------------------------- Mihai TEODORESCU Tel: 05.49.25.40.63 Email: ... [GiDlist] Saving informations about the project
Send by: Ramon Ribó Hello, Conditions are specifically for THIS, to save contact information between entities (among other things). So, my advice is to use a condition with numeric or named fields to identify the master and the slave pairs. In any case, you can save things from TCL inside the project, by using: SaveGIDProject LoadGIDProject Check the Help for details. Regards, -- Compass Ing. y Sistemas Dr. Ramon Ribo http://www.compassis.com ramsan at compassis.com c/ Manuel Girona, 61 bajos tel. +34 93 204 10 82 08034 Barcelona, Spain fax. +34 93 204 19 09 -----Mensaje original----- De: ... [GiDlist] Saving informations about the project
Send by: Enrique Escolano This is the help information about the tcl procedures related by Ramon to save
and reload specific problemtype data. (see help on Tcl/Tk extension)
proc LoadGIDProject { filespd } {
...body(5)...
}
LoadGIDProject: will be called when a GiD project is loaded. It receives the filespd argument, which is the path of the file which is being opened, but with a .spd extension (specific problemtype data). This path can be useful if you want to write specific information of the problem type in a new file.
proc SaveGIDProject { filespd } {
...body(6)...
}
SaveGIDProject: will be called when the current opened file is saved to disk. It receives the filespd argument, which is the path of the file which is being saved, but with a .spd extension (specific problemtype data). This path can be useful if you want to write specific information of the problem type in a new file.
Enrique Escolano
----- Original Message -----
From: "Ramon Ribó" <...
[GiDlist] Problem of the Local Axes on the post.
Send by: VSayako Willy Hi Enrique Many thanks for your prompt advise It seems to me that there are a problem in GiD about drawing the Local axes on the Post. I attached the simple Post of the local axes. I played around with the rotating the local axes from X,Y,and Z as shown in the file. In my case the local Axis rotate around the Y-axis base on the surface of the element. The problem is: 1. Rotate about x axis......this's OK. 2. Rotate about y axis......this's not OK. 3. Rotate about z axis......this's OK. The Zoom command "screen axis" in the post also didn't work properly. Is it a GiD problem or my problem??? Best Regars. __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. ... [GiDlist] Templates for Abaqus
Send by: N Has anyone created templates for ABAQUS input files from QiD 7.2? Has anyone successfully imported ABAQUS output files into QiD 7.2? Any help will be appreciated... Thanks N -------------- next part -------------- An HTML attachment was scrubbed... URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20030501/fa11e30a/attachment.htm [GiDlist] glibc version?
Send by: Johnny Geling Hello, I installed GID on a Linux box (Debian, woody with sarge and unstable parts) What Glibc version needs GID? And what other versions of libraries are required? The problems I have: - instal verion not working: segmentation fault - I cannot do any calculation: cannot find <problemtype>.dat file and when it can find it it cannot open or run. Because I'm not at that computer I cannot phrase the exact error. - retrieve problem type list causes a segmentation fault. Any help is appriciated. Johnny [GiDlist] glibc version?
Send by: Miguel A. de Riera Pasenau Hi, it uses glibc 2.2. GiD is compiled statically, and the installator too, so no external libraries are needed. There is a dynamic version: ftp://www.gidhome.com/pub/gid_adds/Linux/gid7.3b-dyn.tar.gz to take advantage of the graphics acceleraiton provided by the X server. Which version of Debian are you using? To do any calculation you have to install a simulation code, for instance Rambshell, Tdyn, caltep, emant, or any other. take a look at http://www.gidhome.com/gidplus/ or into the option menu 'Data->Problem type->Internet retrieve'. miguel Johnny Geling wrote: >... [GiDlist] memory consuming animation of results
Send by: Stefan Bergmann Hello GiD Team, when running an animation with GiD 7.3b I realised a steady increase of memory usage by GiD. Usually this wouldn't cause any harm, but when running an animation overnight GiD will produce a memory overflow and may cause to crash the computer. Good luck in finding the probably missing dealloc command in your sources, Regards Stefan Bergmann -- ------------------------------------- Dipl.-Ing. Stefan Bergmann Technische Universität Berlin Fachgebiet Grundbau und Bodenmechanik Sekr. TIB1-B7 Gustav-Meyer-Allee 25 D-13355 Berlin, Germany email stefan.bergmann at tu-berlin.de... [GiDlist] Saving informations about the project
Send by: Mihai TEODORESCU Hello and thank you for your advise. I think that is the only way to achive my goals. Initialy I thought that the only information i needed was the surface Id. But I found no way to extract the elements (3D elements) that have one face belonging to a given surface. (maybe there is one i didn't find). So the second way would be to use conditions. But I'm sure how can I make a dialog window where i can assign two conditions, one for the master surface and the second for the slave surface. Can you give me some indications in this way? Thank you, -------------------------------------------- Mihai TEODORESCU Tel: 05.49.25.40.63 Email: ... [GiDlist] Saving informations about the project
Send by: Enrique Escolano 1) You can store the surface element's source, inside autocalculated field of a condition. QUESTION: Surface_number#FUNC#(NumEntity) VALUE: 0 STATE: hiddden 2) To learn to make a dialog window, read the chapter 3 of this advanced course documentation: http://www.gidhome.com/2002/material_courses.subst To select GiD entities from Tcl/Tk, can use this user procedure (defined inside /scripts/dev_kit.tcl) proc GidUtils::PickEntities { type selectmode } # It returns the enties identifier numbers (for example 1 3 5:8 represents 1 3 5 6 7 8) # type can be "Points" "Lines" "Surfaces" "Volumes" "Nodes" or "Elements" # selectmode can be "single" or "multiple" For example: set surf [::GidUtils::PickEntities Surfaces single] The file dev_kit.tcl contain some GiD-Tcl developer utilities (to be documented) Enrique Escolano ----- Original Message ----- From: "Mihai TEODORESCU" <... Re: [GiDlist] glibc version?
Send by: Johnny Geling Thanks for the reply, I use a mix from woody, sarge and a little bit of unstable. I'm planning an update to sarge. Unless the statically compiled installer it gives me a segmentation fault. The internet retrieve also has the segmentation fault. This evening I can investigate futher. Should I compile the problem types for Linux? I tried it with the cmas2d, without succes. Johnny On Mon, 12 May 2003 08:55:34 +0200, you wrote: >Hi, > >it uses glibc 2.2. >GiD is compiled statically, and the installator too, so >no external libraries are needed. >There is a dynamic version: >... [GiDlist] glibc version?
Send by: Enrique Escolano The "internet retrieve" problemtypes, at this moment, only includes the Win32 compiled executable. Are not compiled for Linux. To obtain a Linux/Unix version of Ramseries of Tdyn contact Compass web page: http://www.compassis.com What's the problem with cmas2d? It exists some problem to compile cmas2d.c to cmas2d? Must also change cmas2d.unix.bat to start this executable: $3/cmas2d $2/$1 (and set the permission execution flag of cmas2d with chmod +x) Enrique Escolano ----- Original Message ----- From: "Johnny Geling" <johnny.geling at chello.be... [GiDlist] meshing
Send by: Mark Smith I have an electrostatics application where I have a surface & discrete point charges not on the surface. I have found that the only way to write out both the surface mesh and the points to a mesh file is to join the points to a dummy point with lines to make them linear elements. Is there a more elegant method to enable both surface elements & points to be written to a mesh file? Thanks in advance Mark GiD6.3.0b & win98 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.458 / Virus Database: 257 - Release Date: 24/02/03 The information contained in this e-mail message (and any attachment transmitted herewith) is privileged and confidential and is intended for the exclusive use of the addressee(s). If you are not an addressee, any disclosure, reproduction, distribution or other dissemination or use of this communication is strictly prohibited. If you have received this communication in error, please contact us immediately so that we can correct the error. ... [GiDlist] meshing
Send by: Enrique Escolano By default, isolated points are not meshed as nodes, but you can change this setting with: Utilities->Preferences: Meshing , and select "Mesh Always by default" for Points Note: The nodes are hidden by default, but can show their labels. (or show written "escape escape View Entities Nodes" in the command line or with the right buttons) Enrique Escolano ----- Original Message ----- From: "Mark Smith" <mark.smith at linx.co.uk> To: "Gidlist (E-mail)" <gidlist at gatxan.cimne.upc.es... [GiDlist] Saving informations about the project
Send by: Mihai TEODORESCU I attached the code i already develloped. Inside the main window you have to select two surfaces: master and slave. The surfaces Ids and the Contact zone name are stored in a list. The names are displayed in a listbox. The script is not finished, yet. My problem is that i don't know how to use the surfaces Ids to find the elements that belongs (or have one face) on that surfaces. Can i create a dialog box where i have two assign (condition) buttons? Or once I select the surfaces how can i store that information as a condition? Thank you, -------------------------------------------- Mihai TEODORESCU Tel: 05.49.25.40.63 Email: mihai.teodorescu at prevost-industries.com... [GiDlist] Saving informations about the project
Send by: Enrique Escolano You must define a contition with a #FUNC#(NumEntity) field
file: ZoneContact.cnd
NUMBER: 1 CONDITION: SURF_ID
CONDTYPE: over surfaces
CONDMESHTYPE: over face elems
QUESTION: ID#FUNC#(NumEntity)
VALUE: 0
STATE:HIDDEN
END CONDITION
Then assign this condition to the desired surfaces, before generate the mesh. When meshing, are created automatically
this conditions for the elements, storing the number of source surface in the ID field.
You can assign the condition to some surface from tcl with:
.central.s process escape escape escape escape data cond assign SURF_ID "list of entities to assign"
You can get information of the elements with this condition from the template bas file, or from tcl with
set ElemsAndValues[.central.s info conditions SURF_ID mesh]
Note: Your script use some advanced (tkwidget), undocumented features.
Instead to use proc ZoneContact::ComunicateWithGiD (copied from another problemtype)
It is recommended to use 'problemtype'.tcl with InitGIDProject called by GiD when your problemtype is readed.
for example:
proc InitGIDProject { dir } {
set w .gid.zc
toplevel $w
::ZoneContact::initwindow $w
}
Read GiD help about TCL_TK extension.
Enrique Escolano
----- Original Message -----
From: Mihai TEODORESCU
To: ...
[GiDlist] NURBS surface division
Send by: My VDI Freemail I quite often encounter problems when I want to divide a NURBS surface by >Edit>Divide>Surfaces>Split. Actually GiD rejects this function by giving the message: <check point xx>. But the line I want to use for the surface division was generated by using points on the boundary and on the surface directly. What is the reason? Additionally I want to know, what is the best method to join lines, which as individual segments through geometry interfaces. Is there an opportunity to join these segments to get one line only? Thanks for your support. Ruediger [GiDlist] NURBS surface division
Send by: Enrique Escolano 1) To split the surface, the line points must divide the surface boundary (it is not sufficient to be over the boundary, must be shared by the boundary and the split lines) 2) If the lines are "approximately tangents", then you can use a "Utilities->collapse->Lines" to join it. It exists another command to force lines tangency (with a user-defined angle tolerance to select the lines to be tangents). This command is only available from the right buttons command: Geometry Edit TangentNurbsL (the lines must be of type NurbLine, but any line can be converted with the menu Geometry->Edit->Convert to NURBS->Line) Convert the lines to NurbLine (in are of another type), force tangency, for example until 35 degrees, and collapse the lines. Enrique Escolano ----- Original Message ----- From: "My VDI Freemail" <... [GiDlist] NURBS surface division
Send by: Ramon Ribó Hello,
The simplest command to use in order to split one line
at the endpoint of another line is:
Geometry->Create intersection->line-line
by careful: the order of selection of the two lines change
the result.
Regards,
--
Compass Ing. y Sistemas Dr. Ramon Ribo
http://www.compassis.com ramsan at compassis.com
c/ Manuel Girona, 61 bajos tel. +34 93 204 10 82
08034 Barcelona, Spain fax. +34 93 204 19 09
-----Mensaje original-----
De: gidlist-admin at gatxan.cimne.upc.es...
[GiDlist] meshing
Send by: Mark Smith Enrique Thanks for the tip but I still have a problem I have the following as a .bas file which works OK when I have a line between the points but when I delete the line it reports that CondNumEntities(int) is zero ? .bas file: Number of Point charges *Set Cond Point-charge *nodes *set var numchg(int)=CondNumEntities(int) *numchg *#---------------------------------------- node value(Coulombs) *Set Cond Point-charge *nodes *loop nodes *OnlyInCond *NodesNum *cond(1) *end Any thoughts? Is there a way of setting the Utilities->Preferences: Meshing , and select "Mesh Always by default" for Points to be always on when the specific problem type is selected? Thanks in advance Mark -----Original Message----- From: Enrique Escolano [mailto:... [GiDlist] meshing
Send by: Enrique Escolano Your problem type can change automatically this GiD variable from tcl with .central.s process escape escape escape utilities variables ForceMeshEntities 1 It is recommended to restore the old value when the problemtype is unloaded. To ask GiD for the current value, use: set oldvalue [.central.s info variables ForceMeshEntities] But inother hand, you have reason. If only are generated the nodes, without elements, the conditions are not transferred automatically to the mesh. This bug is not corrected until a next beta version. ----- Original Message ----- From: "Mark Smith" <mark.smith at linx.co.uk... [GiDlist] Templates for Abaqus
Send by: N Has anyone created templates for ABAQUS input files from QiD 7.2? Has anyone successfully imported ABAQUS output files into QiD 7.2? Any help will be appreciated... Thanks N PS: I had posted this message sometime ago, but got a reply stating I was not subscribed and my message was rejected. To my knowledge I am subscribed to the mailing list. Please let me know if I am doing something wrong... -------------- next part -------------- An HTML attachment was scrubbed... URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20030513/3bf09e56/attachment.htm... [GiDlist] Templates for Abaqus
Send by: Ramon Ribó
We have developed a minimal interface with Abacus. It only exports
the mesh and node sets (NSET) and
elmset (ELSET).
Find it attached and tell us if it is useful. To make it work, unpack
the zip file in:
<GiD installation directory>problemtypes
Inside GiD, choose:
Data->Problemtypes->Abacus
Help->Abacus help
Regards,
--
Compass Ing. y Sistemas Dr. Ramon Ribo
http://www.compassis.com <http://www.compassis.com/>
ramsan at compassis.com
c/ Manuel Girona, 61 bajos tel. +34 93 204 10 82
08034 Barcelona, Spain fax. +34 93 204 19 09
-----Mensaje original-----
De: ...
[GiDlist] INTERESTING OBJECTS
Send by: kalo81 at virgilio.it HI EVERYONE! WHEN I'VE DOWNLOAD GiD, THERE WAS VERY CLEAR INSTRUCTIONS TO CREATE A MECHANICAL WHEEL. COULD YOU SEND ME CLEAR INSTRUCTIONS TO CREATE VERY INTERESTING OBJECTS? SO I WILL ABLE TO MESH THEM. ABOUT INTERESTING OBJECTS I REALIZE: MILITARY AIRCRAFT (i.e. F-14, F-16, F-17 STEALTH...), APACHE ELICOPTERT, MILITARY BOATS, OR RACE CAR (i.e. RALLY CAR, FORMULA 1 CAR...), RACE BIKE (i.e. MOTO GP BIKE, SUPERBIKE...), OR SATELLITES... OTHERWISE SEND ME A PATH TO FIND THEM IN SOME LINKS. BEST REGARDS, GERO [GiDlist] INTERESTING OBJECTS
Send by: Miguel A. de Riera Pasenau You can import any model created by other CAD/CAE/CAM programs, some of them are also available on internet, in GiD if they are written in one of these formats: http://www.gidhome.com/support/gid_6.subst#SEC30 IGES, DXF, Parasolid, ACIS, VDA, ... Use the tutorials in http://www.gidhome.com/support/su05.subst, about preprocessing and importing to handle and correct these geometries to create a profitable mesh. miguel kalo81 at virgilio.it wrote: >... [GiDlist] surface mesh import
Send by: My VDI Freemail Hello GiD,
I generated a simple quadrilateral mesh in GiD, which I saved as GiD mesh.
Then I wanted to import this as surface mesh (according to the reference manual this should work with GiD mesh as well as STL file). But I got only the error message "VoidPlex::set_at. Invalid void index 0" and then GiD exited with a core dump.
What's the reason for it?
The simple GiD mesh looks like the following:
===========================================
MESH dimension 3 ElemType Quadrilateral Nnode 4
Coordinates
1 100 0 0
2 100 100 0
3 100 50 0
4 50 0 0
5 0 0 0
6 50 100 0
7 50 50 0
8 0 50 0
9 0 100 0
end coordinates
Elements
1 8 7 6 9
2 5 4 7 8
3 7 3 2 6
4 4 1 3 7
end elements
==========================================
Thanks for your support.
Best regards,
Ruediger
...
[GiDlist] surface mesh import
Send by: Enrique Escolano This is a bug of GiD 7. It is corrected for the next beta version. Until this correction, instead to create a surfmesh from quadrilateral meshes, use only triangular GiD ascii or STL meshes. Thanks for your bug report. Enrique Escolano ----- Original Message ----- From: "My VDI Freemail" <heim.ruediger at vdi.de> To: <gidlist at gatxan.cimne.upc.es> Sent: Tuesday, May 13, 2003 11:24 AM Subject: [GiDlist] surface mesh import > Hello GiD, > > I generated a simple quadrilateral mesh in GiD, which I saved as GiD mesh. ... [GiDlist] surface mesh import
Send by: My VDI Freemail Many thanks for your response Enrique, Actually the import of triangular surface meshes works quite well. But unfortunately the surfaces created in GiD are not NURBS type. This means, that all subsequent actions (such as trimming etc.) are not valid, because of the type of the surface. Additionally the conversion to NURBS often does not work because the surfaces are not planar or coon surfaces. How could I work with the surfaces generated? Ruediger ------------------- > This is a bug of GiD 7. It is corrected for the next beta version. Until > this correction, instead to create > a surfmesh from quadrilateral meshes, use only triangular GiD ascii or STL ... [GiDlist] CGNS for GiD
Send by: Bruno Contessi Hi I'd like to know if anyone has written or designed some code to translate GiD mesh (or projects) into CGNS - and from CGNS to GiD file type. Also, to the GiD team, are you plaining on include such feature on GiD? Thanks Bruno Contessi -------------- next part -------------- An HTML attachment was scrubbed... URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20030513/2c9eba40/attachment.htm [GiDlist] How to insert a PDF document in an HTML file?
Send by: Philippe Bouchilloux Hello: I am trying to use a tag such as: <A HREF="MyDocument.pdf" TARGET="_blank">click here</A> in a html help file called by my tcl script as: HelpWindow "TUTORIAL" $HelpFile This does not seem to work. What's the trick to launch a PDF document from a GiD HTML page? Thanks. Philippe Magsoft Corporation Tel: 518-271-1352 www.magsoft-flux.com [GiDlist] How to insert a PDF document in an HTML file?
Send by: Enrique Escolano It is not possible to show a pdf document inside the html GiD help viewer. But it is possible for next GiD versions to start Acrobat Reader to open the pdf link. At this moment, it is also possible to add a new menu to GiD to start Acrobat Reader to show the desired file, instead to open it with the html GiD help viewer. Enrique Escolano ----- Original Message ----- From: "Philippe Bouchilloux" <pb at magsoft-flux.com> To: "GiDList" <gidlist at gatxan.cimne.upc.es> Sent: Wednesday, May 14, 2003 4:40 PM Subject: [GiDlist] How to insert a PDF document in an HTML file? >... [GiDlist] GID-problems with X-Server...
Send by: Holger Steeb Hello,
after reinstalling our GID-PC (now Kernel 2.4.20, Suse 8.2)
additonally with Open-GL Hardware encouragement,
it is not possible to run GID "over" the network anymore,
it always crashes with an error ("Segmentation fault").
Is it a problem with the graphic-card (it was NO problem before
the update (Kernel 2.4.18, Suse 8.0), when i don't use any specific
Nvidia-graphic driver)?
Thanks for help and comments and perhaps solutions,
Holger
=====================================================================
Dr. Holger Steeb
Institute of Applied Mechanics, Building 22
Saarland University
D-66123 Saarbruecken, Germany
Phone: ++49(0)681-302-2157
Fax: ++49(0)681-302-3992
email: ...
[GiDlist] GID-problems with X-Server...
Send by: Miguel A. de Riera Pasenau Hi, Gid is statically compiled, with Mesa into it. That means that is does software rendering, and do not use the graphic acceleration. At the beginning of May, together with the static version, we released a dynamical linked version of GiD: ftp://gid.cimne.upc.es/pub/gid_adds/Linux/gid_adds/Linux/gid7.3b-dyn.tar.gz which, this one yes, uses the hardware acceleration of the graphical card. By now, the Linux distributions comes with a 'sort' of accelerated driver for the NVIDIA cards. This driver does not perform so well as de ones that NVIDIA are distributing in their web page. You are saying the that you are running GID "over" the network. Where does GiD run? are you running from a Silicon machine and displaying in your local Linux Box? Then perhaps the problem lies in the 'GLX' capatibility of your machine. On Silicon, GiD uses the SGI's OpenGL libraries. It happens the same with any other OpenGL program from the Silicon box, that you are displaying in your Linux box? Perhaps you should disable this 'GLX' capability by commenting the ' Load "glx"' line in your module section of your /etc/X11/XF86Config-4 file. GiD is compiled on a Slackware 8.0 Linux Box with 2.2.19 kernel and gcc version 2.95.3. miguel Holger Steeb wrote: >... [GiDlist] ARCLINE properties
Send by: Malte Neumann Hi everbody,
I have a couple of questions about Arcline properties, as they are shown in
List Entities or printed in the output file:
1. In which direction and from what origin are the angles initang and
endang defined?
2. What is the point 2D center? If this is the center of the circle/arc it
is not correct!!
3. What does the transformation matrix transform?
I could not find the answers somewhere in the manuals or on the web page.
Maybe you could just tell me in which part of the manuals I can find the
explanations.
Thanks for your help
Malte
--
--------------------------------------------------------------------------
Malte Neumann
--------------------------------------------------------------------------
Institut fuer Baustatik / Institute of Structural Mechanics
Prof. Dr.-Ing. Ekkehard Ramm
Universitaet Stuttgart / University of Stuttgart
Pfaffenwaldring 7, D-70550 Stuttgart, Germany
mailto:...
[GiDlist] ARCLINE properties
Send by: Enrique Escolano An arc is first defined in 2D normalized space, with a center 2D, radious, and start and end angle in radians Px(t)=Cx+r*cos(t) Py(t)=Cy+r*sin(t) with t from start angle to end angle (radians) This generate a 2D arc, and this arc is mapped to the final 3D location with a transform matrix: This is a 4x4 matrix, to include a rotation, a translation and a a scalate. The 3x3 submatrix coefs are for the rotation The 4º row (only 3 col terms) are the translation, The 4º column is set 0, and can be ignored. M(4,4) is the scale factor. (useful 1.0) Enrique Escolano ----- Original Message ----- From: "Malte Neumann" <neumann at statik.uni-stuttgart.de... [GiDlist] Surface (curve mesh) flattening
Send by: VSayako Willy Hi GiD team and all
Can we do a Surface mesh flattening in GiD? or any
further development? In case I have a mesh from the
shell surface and want to flatten it in some parts how
we do a mapping from 3D to 2D? any ideas? or
suggestion, or information Please.
Regards.
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
[GiDlist] a question about Mesh
Send by: edodo Hi GiD team and all. I have a model,I can mesh it in Gid6.3 ,but there are some trouble when i use Gid7.3 to mesh. Who can help me!Thanks. egen software Co.,Ltd http://www.fegensoft.com/english 086-10-82131600 086-10-82121900 ShaolinZhou fea at eyou.com 2003-05-16 [GiDlist] a question about Mesh
Send by: Enrique Escolano If you try to mesh with transition size=0.7 instead 0.6 (and the default mesh size=0.32) then the mesh is generated. The advancing front generation is a "pseudo-random" procedure, and some small change can affect the generated mesh obtained. Enrique Escolano ----- Original Message ----- From: "edodo" <fea at eyou.com> To: <gidlist at gatxan.cimne.upc.es> Sent: Friday, May 16, 2003 9:34 AM Subject: [GiDlist] a question about Mesh > Hi GiD team and all. > I have a model,I can mesh it in Gid6.3 ,but there are some trouble when ... [GiDlist] a question about Mesh
Send by: edodo Hi GiD team and all. I have a model,I can mesh it in Gid6.3 ,but there are some trouble when i use Gid7.3 to mesh. Who can help me!Thanks. egen software Co.,Ltd http://www.fegensoft.com/english 086-10-82131600 086-10-82121900 ShaolinZhou fea at eyou.com 2003-05-16 -------------- next part -------------- A non-text attachment was scrubbed... Name: JYZ.gid.rar Type: application/octet-stream Size: 17514 bytes Desc: not available Url : http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20030516/d2e81de4/attachment.obj... [GiDlist] Entities Selection
Send by: Mihai TEODORESCU Hello,
When I select some entities in GiD using the procedure:
Utilities::PickEntities the result may be in the form 1:4.
Can you suggest me a way of transforming this interval in a list with
all the components {1 2 3 4}?
Thank you,
--------------------------------------------
Mihai TEODORESCU
Ingénieur Recherche et Développement
Pièces et Accessoires Industriels
Tel: (33)05.49.25.40.71
Email: mihai.teodorescu at prevost-industries.com
--------------------------------------------
[GiDlist] Entities Selection
Send by: Jorge Suit Perez Ronda Hi, you can do the following
proc ExpandGIDSelection { sellist } {
set result [list]
foreach sel $sellist {
if {[llength [set range [split $sel :]]]==1} {
lappend result $range
} else {
foreach {from to} $range break
while {$from<=$to} {
lappend result $from
incr from
}
}
}
# you can also use: return $result
set result
}
best regards,
Jorge Suit
Mihai TEODORESCU wrote:
>Hello,
>
>When I select some entities in GiD using the procedure:
>Utilities::PickEntities the result may be in the form 1:4.
...
[GiDlist] Entities Selection
Send by: Enrique Escolano This is another sample procedure, inverse of you want: convert the selection list from "expanded style" to "compact style"
#sellist must be a list of positive integer numbers (e.g, a GiD entities selection)
proc CompactGIDSelection{ sellist } {
set ret ""
set istart 0
foreach i [lsort -integer $sellist] {
if { !$istart} {
set istart $i
} else {
if {$i != [expr $iprev+1]} {
if { $istart != $iprev } {
if { [expr $istart +1] == $iprev } {
append ret "$istart $iprev "
} else {
append ret "$istart:$iprev "
}
} else {
append ret "$istart "
}
set istart $i
}
}
set iprev $i
}
if { $istart } {
if { $istart != $iprev } {
if { [expr $istart +1] == $iprev } {
append ret "$istart $iprev"
} else {
append ret "$istart:$iprev"
}
} else {
append ret "$istart"
}
}
return $ret
}
Enrique Escolano
----- Original Message -----
From: "Mihai TEODORESCU" <...
[GiDlist] Mark D. Moeckel/0Y/Caterpillar is out of the office.
Send by: Mark D. Moeckel I will be out of the office starting 19May2003 and will not return until 29May2003. [GiDlist] GiD online reference manual
Send by: Philippe Bouchilloux Hello: Just to point out a minor mistake in the on-line documentation: http://gid.cimne.upc.es/support/gid_7.subst#SEC68 mentions "Entities" where it should read "Send To." (I think this is a leftover from version 6). Philippe Magsoft Corporation Tel: 518-271-1352 Cell: 518-365-0421 (direct) www.magsoft-flux.com [GiDlist] GiD online reference manual
Send by: Enrique Escolano Thanks, it is corrected now. Enrique Escolano ----- Original Message ----- From: "Philippe Bouchilloux" <pb at magsoft-flux.com> To: "GiDList" <gidlist at gatxan.cimne.upc.es> Sent: Monday, May 19, 2003 8:18 PM Subject: [GiDlist] GiD online reference manual > Hello: > > Just to point out a minor mistake in the on-line documentation: > > http://gid.cimne.upc.es/support/gid_7.subst#SEC68... [GiDlist] View Toolbar
Send by: Andrea Calaon Hi everyone, Im trying to introduce a View toolbar in my problem type, to have a fast access to the principal views like XY plane, YZ plane Which is the command to use in the list set MyPreBitmapsCommands(0) [list ???] to use with the AddNewToolbar routine? I tried with something like rotate angle 270 90 but it didnt work, could you please advise me about the item to use? Thanks in advance Andrea Calaon Ashurst Lodge, Ashurst Southampton, Hampshire SO40 7AA, UK Tel. office: +44 23 80 293 223 Fax office: +44 23 80 292 853 Mobile: +44 7766 488 225 E-mail: andrea at beasy.com... [GiDlist] View Toolbar
Send by: Ramon Ribó Hello,
Try something like:
set 3dButtonNames(0,3) [list [_ "Trackball"] [_ "Screen axes"] [_
"Object axes"]
[_ "Center"] --- [_ "Plane XY (Original)"] [_ "Plane XZ"] [_
"Plane YZ"] [_ "Isometric"]]
set 3dButtonCommands(0,3) { {-ne- rotate Trackball} {-ne- rotate
ScrAxes}
{-ne- rotate ObjAxes} {-ne- rotate Center FJoin}
"" {-ne- rotate angle 270 90} {-ne- rotate angle 270 0}
{-ne- rotate angle 0 0} {-ne- rotate angle 45 45} }
Check file GrDataMenus.tcl for details.
Regards,
--
Compass Ing. y Sistemas Dr. Ramon Ribo
http://www.compassis.com ramsan at compassis.com...
[GiDlist] Image editor
Send by: Andrea Calaon Hi everyone, does anyone have an advice for a .gif icon editor suitable for GiD icons? I would like to be able to generate .gif icons that dont draw anything on the background around the coloured pixels. Thanks Andrea Calaon Ashurst Lodge, Ashurst Southampton, Hampshire SO40 7AA, UK Tel. office: +44 23 80 293 223 Fax office: +44 23 80 292 853 Mobile: +44 7766 488 225 E-mail: andrea at beasy.com [GiDlist] Image editor
Send by: Ramon Ribó Hi, Try Gimp, a free image editor for both, Unix and Windows. It is somewhat difficult to begin working with, but it is very powerful after. Regards, -- Compass Ing. y Sistemas Dr. Ramon Ribo http://www.compassis.com ramsan at compassis.com c/ Manuel Girona, 61 bajos tel. +34 93 204 10 82 08034 Barcelona, Spain fax. +34 93 204 19 09 -----Mensaje original----- De: gidlist-admin at gatxan.cimne.upc.es [mailto:gidlist-admin at gatxan.cimne.upc.es... [GiDlist] Printing
Send by: Philippe Bouchilloux Hello: I have several questions regarding printing (to a printer) under windows. 1- The "Files | Print" and "Files | Page Setup" commands do not seem to be documented. Is this correct? 2- My impression is that GiD sends a "general reset" command to the printer before printing. As a result, the printer gets internally reset each time the "Files | Print" command is used. This is causing problems on some printers that need to be manually set before printing (the manual setting must be done each time GiD prints). Note that other Windows applications (such as Word) behave differently, so this issue appears to be specific to GiD. 3- The settings under "Files | Page Setup" seem to be lost each time this option is used (all the settings are reset to their default values). This appears to be a small bug in the program. Thanks. Philippe Magsoft Corporation Tel: 518-271-1352 Cell: 518-365-0421 (direct) www.magsoft-flux.com ... [GiDlist] Printing
Send by: Enrique Escolano 1- Yes, this command is now indocumented (until the next beta version).
2- It did not know this problem, we will try to detect and to correct it.
3- This settings are not saved to disk, only are maintaind for the current
session.
(can be also enhanced for the next version)
Thanks
Enrique Escolano
----- Original Message -----
From: "Philippe Bouchilloux" <pb at magsoft-flux.com>
To: "GiDList" <gidlist at gatxan.cimne.upc.es>
Sent: Wednesday, May 21, 2003 5:12 PM
Subject: [GiDlist] Printing
>...
[GiDlist] diferent icon in the postprocess
Send by: carlos lopez pavon Hi everyone, Is there any way to have icons in the postprocessor diferent that the one we have in the preprocessor. I´m using MyPreBitmaps and MyPostBitmaps procs and if i use a gif image in MyPostBitmaps that i haven`t use in MyPreBitmaps i have no icons displyed in the postprocessor. ¿? so i use to have some icons that dont work in preprocessor only to be able to use that icons in the postprocessor. Thanks a lot. [GiDlist] diferent icon in the postprocess
Send by: Miguel A. de Riera Pasenau Are you sure you are calling MyPreBitmaps and MyPostBitmaps from the InitGIDProject procedure? the variables passed to the CreateOtherBitmaps are global? ? attached to this mail you'll find the 'kratos0.1' problemtype which creates a icon bar for the preprocess and another one for the postproces. you can also check it with the enclosed example. miguel carlos lopez pavon wrote: > > Hi everyone, > Is there any way to have icons in the postprocessor diferent that the > one we have in the preprocessor. > > I´m using MyPreBitmaps and MyPostBitmaps procs and if i use a gif image ... [GiDlist] Some issues with BOOKS in materials
Send by: Philippe Bouchilloux Hello:
I would like to report a series of issues that concern the use of BOOKS in
the materials file (GiD 7.2). I am using a materials file divided into
several BOOKS, and there are no materials outside of the BOOKS, i.e.:
BOOK: book1
NUMBER: 1 MATERIAL: material1
...
END MATERIAL
...
NUMBER: N1 MATERIAL: materialn1
...
END MATERIAL
BOOK: book2
NUMBER: N1+1 MATERIAL: materialn1+1
...
END MATERIAL
...
NUMBER: N1+N2 MATERIAL: materialn1+n2
...
END MATERIAL
BOOK: bookm
NUMBER: N1+N2+...+1 MATERIAL: materialn1+n2+...+1
...
END MATERIAL
...
NUMBER: N1+N2+...+NM MATERIAL: materialn1+n2+...+nm
...
END MATERIAL
0- I believe this is a correct material file definition, but let me know if
I messed up.
1- Using the "Import/Export" feature in the material window: the local
material data (model data) listed is exclusively the materials in the
current book. This is what we want. However, the global material list
(file data) is not properly sorted. Actually, no materials are shown in
the right hand side of the window. I believe the reason is the following:
In dataw.tcl, the initialization of the DataMaterials (the materials from
the file) is done via the DWReadMatfile procedure. This procedure does not
seem to be looking for BOOK information. Therefore, when the
UpdateMaterialsPrim procedure is called to sort and display the list of
materials that belong to $Book, the result comes empty.
At that point, it is clear that there is no possibility to import/export
material. If I try to export anyway, then the external material file is
replaced with the list of materials I have exported (all other materials
are lost, and of course, there is no BOOK information anymore).
2- Using the "delete material" command available in the material window
until all the materials of a BOOK have been deleted causes an error in GiD
(empty list). Although the BOOK entry remains in file.mat, it is not
possible to recover from this error unless the file.mat is manually edited
and a material is created for that book.
Note that if all the materials from all the books are deleted, then
file.mat is also deleted.
Maybe it would be useful to have a dummy material in each book. This dummy
material could serve as a template to create new materials and it would
prevent the book from being totally empty.
3- Additionally, would it be possible to consider implementing a "rename
material" feature?
Thanks a lot!
Philippe
Magsoft Corporation
Tel: 518-271-1352
Cell: 518-365-0421 (direct)
www.magsoft-flux.com
...
[GiDlist] Some issues with BOOKS in materials
Send by: Enrique Escolano The concept of BOOKS is added to GiD after create this Import/Export materials window, and it is not been updated. In some days this window will be updated, adding some tree structure to support books. We study also the suggested option to rename materials. Thanks Enrique Escolano ----- Original Message ----- From: "Philippe Bouchilloux" <pb at magsoft-flux.com> To: "GiDList" <gidlist at gatxan.cimne.upc.es> Sent: Thursday, May 22, 2003 3:55 PM Subject: [GiDlist] Some issues with BOOKS in materials >... [GiDlist] 7.3b and visualizing of boundary condition
Send by: Andrea Calaon Hi everyone, I'm using the GiD 7.3b version and I found some problems in visualizing the boundary conditions on surfaces with colours. Sometimes, if the surfaces with a certain b.c. overlap, in the visualization, the colours are displayed wrongly. I had this problem with quadrilateral elements. Another question: Is it for debugging reasons that at the end of the meshing process (and in few other cases) GiD 7.3b waits some seconds before showing the mesh? Regards Andrea Calaon Ashurst Lodge, Ashurst Southampton, Hampshire SO40 7AA, UK Tel. office: +44 23 80 293 223 Fax office: +44 23 80 292 853 Mobile: +44 7766 488 225 E-mail: andrea at beasy.com... [GiDlist] 7.3b and visualizing of boundary condition
Send by: Enrique Escolano please, send us a small sample with this visualization problem (send directly to escolano at cimne.upc.es) This delay after meshing it can be because there are transferring the conditions from the geometry, renumbering nodes and calculating the mesh boundary, etc. Enrique Escolano ----- Original Message ----- From: "Andrea Calaon" <andrea at beasy.com> To: <gidlist at gatxan.cimne.upc.es> Sent: Tuesday, May 27, 2003 3:25 PM Subject: [GiDlist] 7.3b and visualizing of boundary condition >... [GiDlist] Mouse wheel zoom pan
Send by: Andrea Calaon Hi GiD developers,
I use GiD as geometry modeller as well, and I think some change
in the mouse wheel events use could improve a lot the usability,
speed and reliability of GiD modelling.
Autocad allows a configuration that makes screen drawing very
similar to paper drawing even without huge screens.
It is the possibility to use
* the mouse wheel rotation as a zoom centred on the
cursor (with a settable ZOOMFACTOR) and
* the mouse wheel buttondown and buttonup events as
activation and deactivation of pan.
In this way practically no use of zooming windows is needed
(time efficiency) and the picking of points, lines
is more
reliable since the user never lose sight of the entities. The whole
becomes similar to the continuous going near the paper with your
head for picking points and getting away from the surface when
drawing the lines in real paper drawing.
I hope this suggestion will help you in the improvement of you
already powerful program.
Regards
Andrea Calaon
Ashurst Lodge, Ashurst
Southampton, Hampshire
SO40 7AA, UK
Tel. office: +44 23 80 293 223
Fax office: +44 23 80 292 853
Mobile: +44 7766 488 225
E-mail: ...
[GiDlist] Question about loads
Send by: Jesús Mª García Hi everybody, I have got a question about loads: when I apply a load over a point, this load is constant in this point and then it will be transferred over a node, that´s right. But if I want to aply a load non constant over a line or over a surface, for example a load which it depends on the x-variable along of the entity, this means the x-coordinate will be the x-coordinate of the node or the x-coordinate of the center of the element but not the x-coordinate along the line or surface. This is different to my idea because at the end the load is constant in that point and I don´t want that. The problem is that I´m doing a problem type for Cosmos in 3D with solid elements and Cosmos don´t admit loads non constants, so I have to give them from GiD. Could you tell me how I can create this condition? Thank you, very much. I wait your answers. Jesús Mª García Prieto ... [GiDlist] Question about loads
Send by: Enrique Escolano I don't understand well your question. If you use a condition with a autocalculated #FUNC# field, you can use for this field a equation using the variables x,y,z and other field values. This x,y,z are the global coordinates of each node or element center generated from the geometric entity (not the line or surface local parameter coordinates). What you want exactly to write as input for COSMOS? Enrique Escolano ----- Original Message ----- From: Jesús Mª García To: GID list ; gidlist at gatxan.cimne.upc.es Sent: Wednesday, May 28, 2003 5:51 PM Subject: [GiDlist] Question about loads Hi everybody, I have got a question about loads: when I apply a load over a point, this load is constant in this point and then it will be transferred over a node, that´s right. But if I want to aply a load non constant over a line or over a surface, for example a load which it depends on the x-variable along of the entity, this means the x-coordinate will be the x-coordinate of the node or the x-coordinate of the center of the element but not the x-coordinate along the line or surface. This is different to my idea because at the end the load is constant in that point and I don´t want that. The problem is that I´m doing a problem type for Cosmos in 3D with solid elements and Cosmos don´t admit loads non constants, so I have to give them from GiD. Could you tell me how I can create this condition? Thank you, very much. I wait your answers. Jesús Mª García Prieto ... [GiDlist] Question about loads
Send by: Jesús Mª García Hi, other time.
Perhaps I didn´t explain very well my question.
The problem is that x,y,z are the global coordinates of each node or element center generated.
My question was for example, if I apply a load over a surface I have two possibilities:
1.- When I do my conditions archive the load is transfered over his nodes
2.- The load is transfered over his elemens
In both cases, the final load is constant in the nodes or in the centre of the element.
But if the load wasn´t constant because it depended on the one variable.What can I do if I want that the final load depends
----- Original Message -----
From: Enrique Escolano
To: ...
[GiDlist] Unstructured Meshing - Cordal Error
Send by: Philippe Bouchilloux Hello: I have been experimenting a little with the "Assign unstruct. meshing | By cordal error" command and I do not quite understand its behavior. To simplify matters, I am using a simple 2D disk for the geometry. I start with a cordal error value C and I obtain an unstructured mesh. Then, I assign a value c < C for the cordal error. I remesh, and the mesh becomes denser, as expected. Now, if I assign the cordal error back to C, and if I re-mesh, then the mesh remains the same instead of becoming coarse again, as I was expecting. Am I doing something wrong? Thanks! Philippe Magsoft Corporation Tel: 518-271-1352 Cell: 518-365-0421 (direct) www.magsoft-flux.com ... [GiDlist] Unstructured Meshing - Cordal Error
Send by: Enrique Escolano The utilities to assign automatic sizes (by cordal error, by geom) or to automatic correct sizes, not change an entity size if this entity has a previous assigned size more small. (not increase previous assigned sizes). To set a greater cordal error, it is needed to use "Reset mesh data" to clear previous assigned sizes, and use then "By cordal error" This form to act is not a bug, but it can seem not intuitive. Enrique Escolano ----- Original Message ----- From: "Philippe Bouchilloux" <pb at magsoft-flux.com> To: "GiDList" <gidlist at gatxan.cimne.upc.es... [GiDlist] Unstructured Meshing - Cordal Error
Send by: Philippe Bouchilloux Hello Enrique: Thanks for your rapid reply, as usual. Maybe I am not using the meshing feature in the best way, but it seems to me that using the "Reset Mesh Data" command is too radical when we are trying to fine-tune a mesh, because suddenly, we lose all the mesh information. Maybe it is possible to reset to mesh information for one specific geometrical entity only, instead than for the complete model at the same time? But I have not found how. Your advice is very appreciated. Thanks! Philippe Magsoft Corporation Tel: 518-271-1352 Cell: 518-365-0421 (direct) www.magsoft-flux.com [GiDlist] Unstructured Meshing - Cordal Error
Send by: Enrique Escolano To unassign only some mesh entity size, assign manually a new unstructured size = 0 to this entity. Enrique ----- Original Message ----- From: "Philippe Bouchilloux" <pb at magsoft-flux.com> To: <gidlist at gatxan.cimne.upc.es> Sent: Thursday, May 29, 2003 4:11 PM Subject: Re: [GiDlist] Unstructured Meshing - Cordal Error > Hello Enrique: > > Thanks for your rapid reply, as usual. > > Maybe I am not using the meshing feature in the best way, but it seems to ... [GiDlist] Unstructured Meshing - Cordal Error
Send by: Philippe Bouchilloux Thanks, Enrique and sorry for that silly question. I know (for having read it long time ago) that the answer is in the manual. Philippe >To unassign only some mesh entity size, assign manually a new unstructured >size = 0 to this entity. Magsoft Corporation Tel: 518-271-1352 Cell: 518-365-0421 (direct) www.magsoft-flux.com [GiDlist] Question about loads
Send by: Jesús Mª García Hi, other time.
Perhaps I didn´t explain very well my question.
The problem is that x,y,z are the global coordinates of each node or element center generated.
My question was for example, if I apply a load over a surface I have two possibilities:
1.- When I do my conditions archive the load is transfered over his nodes
2.- The load is transfered over his elemens
In both cases, the final load is constant in the nodes or in the centre of the element.
An example can be a load with triangle form varing with y-varible and applied over a vertical face of a cube.
The mesh could be solid and have for example 5x5x5 elements solid.
How can I do my condition for the nodes collect the effect of the load?
I would like the new loads in the nodes would be equivalent to the original load.
Thank you, very much.
----- Original Message -----
From: Enrique Escolano
To: ...
[GiDlist] Question about loads
Send by: Pablo Perez del Castillo Hello; You have examples in the GIDLIST over this question; Try this: File: *.cnd NUMBER: 1 CONDITION: Hydrostatic_pressure CONDTYPE: over surfaces CONDMESHTYPE: over nodes CANREPEAT: yes QUESTION: Density: VALUE: 0 QUESTION: Z_Water_Level: VALUE: 0 QUESTION: AutoCalculatePressure#FUNC#(Cond(1,REAL)*(Cond(2,REAL)-z)) VALUE: AutoCalculate END CONDITION file:*.bas *Set Cond Hydrostatic_pressure *nodes *loop nodes *OnlyInCond *nodesnum *Cond(AutoCalculatePressure) *end nodes Pablo [GiDlist] Question about loads
Send by: Jesús Mª García Hello: other problem on relation on the before problem, with this condition or with other similar when you apply a load, the final load depends on the number of the nodes. For example, I have other time a cube. If I apply a triangle load over a lateral surface like a hydrostatic load and my cube is meshed with 2x2x2 elements, the nodes on top have the value of the load, the nodes in the middle of the surface have half value of the load and the nodes down haven´t load. I can add the differents values: Total Load = 3 * F + 3 * 0.5 * F = 4.5 F In other case if my cube is meshed with 4x4x4 elements, the total load is: Total Load = 5 * F + 5 * 0.75 * F + 5 * 0.5 * F + 5 * 0.25 * F = 12.5 F So my question is, are there any way to do this? I would like that the total load would be the same in both cases and it wouldn´t depend on the number of nodes in the surface. So the total load would be independent of the nodes´ number. Thank you, I believe that isn´t easy to do that. Jesús. ----- Original Message ----- From: "Pablo Perez del Castillo" <... [GiDlist] Question about loads
Send by: Enrique Escolano In fact, is a bad design to define a concentrated force over lines, surfaces or volumes to be transferred over nodes. The correct design is to apply a pressure to be transfered over a element face, then the total force not dependent of the mesh size. But if your code cannot support pressures, and you must set the total force to a user value=A, must calculate a new weighted value for each node. For example compute the forces summatory Sum(Fi), and write for each node i the value Fi/Sum(Fi)*A Note: can make some small operation inside the bas file, using the *operation command Enrique Escolano ----- Original Message ----- From: "Jesús Mª García" <... [GiDlist] Question about loads
Send by: Jesús Mª García It´s a good idea but I see a problem: if I do that the total force is the same in both cases but the resultant moment is different. That is my main problem because I don´t know to do a system of forces equivalent to my original load. While the force is equivalent the moment isn´t. Cosmos support pressures but the pressures are constant in each element. I have a question, when I apply a load over a element face, if that load isn´t constant, does Gid know to put in each node his exact force to do the system equivalent? I send you a draw to explain the situation. Thank you other time. Jesús García Prieto Valladolid (Spain) ----- Original Message ----- From: "Enrique Escolano" <... [GiDlist] Question about loads
Send by: Enrique Escolano GiD is a neutral program, and it unknow if your condition is a force, a pressure, a velocity, a label, etc. It cannot translate automatically from geometry to nodes the "unknown field" with a "equivalent system" as desired in this particular case (from pressure to puntual loads). It is needed to write this specific translation inside the bas file, or with and auxiliar code that read the input file, and rewrite it modified. You can convert the continuous load over a element to some equivalent (F=Sum Fi, and M=Sum Mi ) forces over the nodes, for example: You assign in GiD with a #FUNC# field condition the Pa,Pb values, and after process the calculation file (with a external code, or tcl if needed) to calculate the accumulated Fa,Fb Enrique Escolano ----- Original Message ----- From: "Jesús Mª García" <... [GiDlist] Question about loads
Send by: Enrique Escolano You can define for example, a pressure linear with the z coordinate: P(z)=Density*(Zref-z) NUMBER: 1 CONDITION: Hydrostatic-Load CONDTYPE: over surfaces CONDMESHTYPE: over nodes QUESTION: Z_Reference: VALUE: 0 QUESTION: Density: VALUE: 1.0 QUESTION: Pressure#FUNC#(Cond(2,REAL)*(Cond(1,REAL)-z) VALUE: Autocalculated STATE:hidden END CONDITION The Pressure field obtained foreach node is not constant, it's the result of evaluate the function (using for each node your z coordinate) Enrique Escolano ----- Original Message ----- From: Jesús Mª García To: gidlist at gatxan.cimne.upc.es... [GiDlist] Post Processing across shell thickness
Send by: Guy HUBERT Is there any functions to see the stress on a particular layer (typically medium, upper, lower). How to define the stress components across the thickness in a result file for Gid. Thanks ________________________________________________________________ Guy HUBERT Mailto:hubert at deltacad.fr Tel direct : +33 (0)3 44 23 52 99 mobile: 06 76 80 03 42 DeltaCAD Centre de Transfert - 66 Avenue de Landshut 60200 COMPIEGNE (FRANCE) Tel : +33 (0)3 44 23 46 54 - Fax : +33 (0)3 44 23 46 31 Web : http://www.deltacad.fr... [GiDlist] Post Processing across shell thickness
Send by: Miguel A. de Riera Pasenau what do you mean with ' see the stress on a particular layer (typically > medium, upper, lower)' ? i understand that you have several stresses for one node/element and want to see one of them ( medium stress, upper stress, lower stress). what you can do is enter these three stresses with their own names: for instance : Result "medium stress" "load case" 1.0 Matrix OnNodes Values ... End Values Result "upper stress" "load case" 1.0 Matrix OnNodes Values ... End Values Result "lower stress" "load case" 1.0 Matrix OnNodes Values ... End Values and just select throught the menus/windows the one you want to see. can you elaborate on this: >... [GiDlist] A question about a command
Send by: edodo Dear,sir/madam,GID Developer Team I have a qustion about the command which is join in postprocess. I can find the help about that in online Manual. Join: to join several sets into one. But what is a set? How can i define a set? And the same quetion in PostProcess :Utilities>Collapse. Can you tell me detail? How to use it? Thanks ShaolinZhou Fegensoft Co.,Ltd http://www.fegensoft.com/english/ [GiDlist] A question about a command
Send by: Miguel A. de Riera Pasenau What time ago we called Meshes/sets/cuts is now called VolumeMesh/SurfaceMesh/CutMesh. a volume set is a set of points, tetrahedras or hexaedras. a surface set is a set of triangles, cuadrilaterals or lines. so, Join sets just merges the Shown surface sets into one. the same for colapse: try to colapse repeated nodes of a surface set. i the newer version appears already the actualized names (volume/surface,...). miguel edodo wrote: > > Dear,sir/madam,GID Developer Team > > I have a qustion about the command which is join in postprocess. > I can find the help about that in online Manual. ... [GiDlist] Automatic condition not displayed
Send by: Andrea Calaon Hi everyone, In my problem type I use a condition that I assign automatically before meshing and I would like not to show it in the Condition menu. Is there any way to get rid of that submenu item, in the InitGiDProject Tcl routine? Thanks in advance Regards Andrea Calaon Ashurst Lodge, Ashurst Southampton, Hampshire SO40 7AA, UK Tel. office: +44 23 80 293 223 Fax office: +44 23 80 292 853 Mobile: +44 7766 488 225 WIT Press on the web - Now with eLIBRARY: http://www.witpress.com E-mail: andrea at beasy.com -------------- next part -------------- An HTML attachment was scrubbed... URL: ... [GiDlist] Automatic condition not displayed
Send by: Enrique Escolano If your problemtype user not need to open the condition windows, can remove the Conditions menu using
GidChangeDataLabel "Conditions" ""
proc InitGIDProject { dir } {
GidChangeDataLabel "Conditions" ""
}
Enrique Escolano
----- Original Message -----
From: Andrea Calaon
To: gidlist at gatxan.cimne.upc.es
Sent: Friday, June 06, 2003 10:49 AM
Subject: [GiDlist] Automatic condition not displayed
Hi everyone,
In my problem type I use a condition that I assign automatically before meshing and I would like not to show it in the "Condition" menu.
Is there any way to get rid of that submenu item, in the InitGiDProject Tcl routine?
Thanks in advance
Regards
Andrea Calaon
Ashurst Lodge, Ashurst
Southampton, Hampshire
SO40 7AA, UK
Tel. office: +44 23 80 293 223
Fax office: +44 23 80 292 853
Mobile: +44 7766 488 225
WIT Press on the web - Now with eLIBRARY:
...
[GiDlist] Question about NASA ALMOND
Send by: kalo81 at virgilio.it Hi everyone! I would like to know a web site to import the NASA ALMOND; And afterwards: meshing the window suggests me the size of the element, what is the M.S.K.A. unit of it? Best regards, Gero. [GiDlist] How to orient conditions in *.sim
Send by: Philippe Bouchilloux Hello: This is what I am doing: - the user defines a local coordinate system (local_axes) - the user applies a boundary condition that depends on local_axes to a set of volumes present in the model. The tricky part here is that the boundary condition is radial (for instance, radial with respect to an axis of local_axes). To export the data to my solver, there's no problem because I can find the orientation of the local_axes in the *.bas file using LocalAxesDef(EulerAngles), for instance. However, since local_axes is the same for all the volumes in the set, then the drawing of the condition is the same also. In order to draw properly the condition in GiD, I would need to know the orientation of local_axes (or the orientation of the element) at the time of drawing so that I could apply a formula in the *.sim file that would properly orient the drawing for each element. I have not found how to do that. Is there a way to obtain the local_axes definition (or element orientation) for use in the *.sim file? Thanks. Philippe PS: one possible way would seem to add hidden fields (euler angles, e.g.) to my condition and automatically compute the value of these fields based on the setting of local_axes (using the FUNC command, for instance); but I haven't found how to do that either. Magsoft Corporation Tel: 518-271-1352 Cell: 518-365-0421 (direct) www.magsoft-flux.com ... [GiDlist] How to orient conditions in *.sim
Send by: Enrique Escolano Sorry, it is not possible now to orient a symbol with the local_axes field information. The format of the symbols file is old, and it can be updated and enhanced with this and another features for next GiD versions. Enrique Escolano ----- Original Message ----- From: "Philippe Bouchilloux" <pb at magsoft-flux.com> To: "GiDList" <gidlist at gatxan.cimne.upc.es> Sent: Tuesday, June 10, 2003 12:07 AM Subject: [GiDlist] How to orient conditions in *.sim > Hello: > >... [GiDlist] How to orient conditions in *.sim
Send by: Ramon Ribó Hello,
It is very difficult to give a general mechanism for orienting
properly and semi-automatically the symbols. For the new version,
we have decided to follow another scheme: to draw OpenGL from TCL.
The main disadvantage is that OpenGL is quite difficult to learn
and understand. The main advantage is that it gives complete freedom
to the problemtype creator to draw whatever he/she wants. Another
advantage is that it is easy to copy from someone else the most
standard drawings.
This new possibility should be usable in the last beta version.
As a example, consider the following:
in proc InitGIDProject:
drawopengl registercond DrawSections::drawLoadCond
Global_Beam_Load
Global_Projected_Beam_Load
And below, you can find the drawing function.
Regards,
--
Compass Ing. y Sistemas Dr. Ramon Ribo
...
[GiDlist] RamDebugger version 3.0
Send by: Ramon Ribó Hello,
A new version of RamDebugger has been released.
Changes From version 2.8 to version 3.0
* Count lines of code of a project (LOC)
* It is possible to create and use macros defined in TCL
* Values in User defined var & Local vars display content in balloon
* Autodisplay variables now displays also array variables
* Better interactive indentation and colors
* Menu close
* Drawing dynamically closing braces when editing
* better stack position
* search & replace
* comment lines are indented in normal column
* Added reinstrument to menu Debug
* If tkcon is open, output goes also to tkcon
* New menu options in Tkcon to send commands to debugged program
web page
========
RamDebugger web page is at: ...
[GiDlist] RamDebugger version 3.0. I this a bug?
Send by: Jesús Torrecilla Hello, just downloaded RamDebugger 3.0 into C:RamDebugger. When I try to run RamDebugger.tcl, I obtain a message box with this content: "bitmap "C:RamDebuggeraddons amdebugger.ico" not defined while executing "wm iconbitmap "w "MainDiraddons amdebugger.ico" (procedure "RamDebugger::InitGUI" line 530) invoked from within "RamDebugger::InitGUI" invoked from within "............................... Some suggestion ? Thanks in advance Jesús Torrecilla [GiDlist] RamDebugger version 3.0. I this a bug?
Send by: Enrique Escolano See if exists the related file: C:RamDebuggeraddons amdebugger.ico I attach a copy of this file 'ramdebugger.ico', but it is included inside Ramdebugger3.0.zip, try to re-download it and unzip. Enrique Escolano ----- Original Message ----- From: "Jesús Torrecilla" <jtorine at ciccp.es> To: <gidlist at gatxan.cimne.upc.es> Sent: Thursday, June 12, 2003 10:17 AM Subject: RE: [GiDlist] RamDebugger version 3.0. I this a bug? > Hello, > > just downloaded RamDebugger 3.0 into C:RamDebugger. When I try to run ... [GiDlist] RamDebugger version 3.0. I this a bug?
Send by: Jesús Torrecilla Yes, I did have the file. Anyway I got yours and put into /addons directory. I have the same problem as before. I have Tcl/Tk 8.4 version. Any idea? Thanks in advance. Jesús Torrecilla [GiDlist] Frozen Layers and lightnig
Send by: Andrea Calaon Hi everyone, I would like to access the information about which layers are frozen in Tcl, is there an easy way? In GiD 7.3 b I have a problem in postprocessig: when I use the commands render FlatLightning and render Normal the image disappears and there is no way to get it back but to exit post processing. Are the command suitable for post processing or shoud I use different ones? Thanks in advance Andrea Calaon Ashurst Lodge, Ashurst Southampton, Hampshire SO40 7AA, UK Tel. office: +44 23 80 293 223 Fax office: +44 23 80 292 853 Mobile: +44 7766 488 225 E-mail: andrea at beasy.com... [GiDlist] Frozen Layers and lightnig
Send by: Enrique Escolano 1) You can get GiD from Tcl about the list of layer names with [.central.s info layers]
and you can ask a layer, for example named 'L1' using [.central.s info layers L1]
The returned information is: { On Frozen R_color G_color B_color }
On and Frozen are logical values, and R,G,B are the color components (integer values from 0 to 255)
To get for example the frozen field use
set FrozenL1 [lindex [lindex [.central.s info layers L1] 0] 1]
2) In postprocess, instead to use (as in preprocess):
View Render FlatLighting
use:
Utilities Render FlatRender
Enrique Escolano
----- Original Message -----
From: "Andrea Calaon" <andrea at beasy.com...
[GiDlist] Frozen Layers and lightnig
Send by: Miguel A. de Riera Pasenau You should use the commands: utilities render normal utilities render falt utilities render smooth in postprocess. for the next version the behaviour will be unified to the preprocess one. miguel Andrea Calaon wrote: > > Hi everyone, > I would like to access the information about which layers are frozen > in Tcl, is there an easy way? > In GiD 7.3 b I have a problem in postprocessig: > when I use the commands ?render FlatLightning? and ?render > Normal? the image disappears and there is no way to get it back but > to exit post processing. Are the command suitable for post ... [GiDlist] zoom in GID
Send by: Billy Fälth Hello Is there any possibility to make GID to keep the actual zoom of the model when switching between graph view and model view? When I zoom in a certain part of a model, draw a graph and then switch back again, the zooming has switched back to frame zoom again. Regards BF Billy Fälth Clay Technology AB Ideon Research Center S 223 70 Lund, SWEDEN Tel +46 46 286 25 81 Fax +46 46 13 42 30 www.claytech.se <http://www.claytech.se/> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20030618/a112a9c6/attachment.htm... [GiDlist] zoom in GID
Send by: Miguel A. de Riera Pasenau will be correcte for the next version. what you can do is 'Zoom->previous zoom', but you'll get the forelast view of the model, and not the last. Or you can use: view->save view and then view->read view miguel -- -------------------------------------------------------------------------------- Miguel A. Pasenau de Riera miguel at cimne.upc.es http://gid.cimne.upc.es [GiDlist] zoom in GID
Send by: Javier Mora Have you tried the "View - View - Save/Read" command? -----Mensaje original----- De: gidlist-admin at gatxan.cimne.upc.es [mailto:gidlist-admin at gatxan.cimne.upc.es]En nombre de Billy Fälth Enviado el: miércoles, 18 de junio de 2003 15:54 Para: gidlist at gatxan.cimne.upc.es Asunto: [GiDlist] zoom in GID Hello Is there any possibility to make GID to keep the actual zoom of the model when switching between graph view and model view? When I zoom in a certain part of a model, draw a graph and then switch back again, the zooming has switched back to frame zoom again. Regards BF Billy Fälth Clay Technology AB Ideon Research Center S 223 70 Lund, SWEDEN Tel +46 46 286 25 81 Fax +46 46 13 42 30 www.claytech.se -------------- next part -------------- An HTML attachment was scrubbed... URL: ... [GiDlist] Mark D. Moeckel/0Y/Caterpillar is out of the office.
Send by: Mark D. Moeckel I will be out of the office starting 16Jun2003 and will not return until 23Jun2003. [GiDlist] Circles
Send by: Philippe Bouchilloux Hello: When I use the Geometry | Create | Object | Circle function in GiD, I obtain an almost closed circle defined by a line and a single point. A surface is also automatically generated. I found out that if I remove the surface and split the line in slices (just like a pizza pie), then the radius of each slice changes. The variations are actually sufficient to produce spurious results in my FE solvers. So, obviously, that is a problem. I found out that if I create my circle using 2 arcs (2 lines and 2 points), then I can slice these arcs and the numerical errors on the radius become very small. The same thing for circles generated by rotation extrusion. Also note that the disc used as the base of the Cylinder object is actually constituted of two arcs of circle, and does not present the strange behavior of the single-point-circle. I want to ask the following: - Do you agree with my remarks, i.e. the Circle object in GiD is defined in such a way that it is not a very good representation of a true circle? So this object should be used carefully if numerical analysis is to be performed. Maybe you can give me some recommendations about the usage of that circle? - Would it be possible to have a new object, a "true circle" that would be defined with two arcs, just like the base of a cylinder object? - I believe GiD uses single precision for the definition of objects. Is this true? Do you see that as a limitation? Thanks. Philippe ... [GiDlist] Circles
Send by: Ramon Ribó Hello, When you create a circle with that function, GiD creates a rational NURBS line. Its expression, for the unit circle is: Control points: 1 0.000000,1.000000,0.000000 W=1.000000 2 -1.000000,1.000000,0.000000 W=0.707107 3 -1.000000,0.000000,0.000000 W=1.000000 4 -1.000000,-1.000000,0.000000 W=0.707107 5 0.000000,-1.000000,0.000000 W=1.000000 6 1.000000,-1.000000,0.000000 W=0.707107 7 1.000000,0.000000,0.000000 W=1.000000 8 1.000000,1.000000,0.000000 W=0.707107 9 0.000000,1.000000,0.000000 W=1.000000 Knots: 1 0.000000 2 0.000000 3 0.000000 4 0.250000 5 0.250000 6 0.500000 7 0.500000 8 0.750000 9 0.750000 10 1.000000 11 1.000000 12 1.000000 Following the NURBS theory, this should represent an exact circle. So, the mathematical representation of this line should by exactly a circle. If you divide this circle into parts, every arc should be converted into another NURBS line that should represent exactly that arc. If you have found that the representation is not accurate, maybe you have discovered a bug in the division code. Please send us the exact example to make it easier to discover the problem. GiD internal operations in the preprocessing part are made in double precision. About the mesh simmetry in a simmetric geometry, as unstructured mesh is an heuristic algorithm, you can never guarantee that you will obtain the same mesh although the geometry is simmetric. You cannot even guarantee that you will obtain the same mesh on two runs of the mesher in the same geometry. But good analysis codes do not depend on the mesh, do they? Regards, -- Compass Ing. y Sistemas Dr. Ramon Ribo ... [GiDlist] Circles
Send by: Enrique Escolano Hello Philippe. As explain Ramon, it exists in GiD two mathematical expresions for a circle: The classical circle (with a center 2D, a radius and a transformation matrix to locate in 3D position), and the NURBS expression. The first expression set the radius explicit, and for the second expression the radius is implicit, and can have a great numerical error. The numerical error can increase if your model have a size too big, too small, or is translated far of the origin. Can you send us the sample (what is the location, radius, number of divisions, etc)? To increase the precision can try to scale and/or translate your entities. You can also create an arc with the classical expression using geometry->create->arc instead to create with the circle object or by rotation. In other hand, the cylinder uses also NURB expression. The precission problem must also appear in this case! Enrique ----- Original Message ----- From: "Philippe Bouchilloux" <... [GiDlist] BLT trouble
Send by: Saunders, Kristopher Hi everyone
Can anyone tell me what alterations I need to make to my tcl scripts so that
they will work with the tcl extension BLT? I have installed the BLT
executables within the same directory as the original tclsh84.exe
(problemtypes/tcl/bin), but for some reason I have a stand-alone tcl script
that will no longer execute when called.
The stand-alone script is executed from within another script, and has the
following three lines at the start of the file:
#!/bin/sh
# -*- mode: tcl -*-
exec tclsh "$0" ${1+"$@"}
And as far as I can work out the lines of tcl code that call the script are:
Set prg "[list [file join $ControlBoxDir tcl bin tclsh84s.exe]]
[list [file join $ControlBoxDir $RunInfo(control,name)]] $_args"
set result [catch {
runExe run $prg -blocking false -callback
"::CFDControl::ControlBoxCb %m"
} RunInfo(control,pid)]
Does anyone know where I am going wrong? I am still very much a beginner
with tcl and so I would be extremely greatful for any help, no matter how
basic it might seem!
Kindest regards,
Kris Saunders
This email and any attached files are confidential and copyright protected.
If you are not the addressee, any dissemination of this communication is
strictly prohibited. Unless otherwise expressly agreed in writing, nothing
stated in this communication shall be legally binding.
...
[GiDlist] BLT trouble
Send by: Ramon Ribó Hello,
You are trying to open an additional process with TCL and BLT. This
is normally not the way to proceed. GiD has an internal TCL-TK
interpreter
that should deal with your TCL code. If you need BLT, you can deal with
it by using from GiD something like:
- package require BLT or
- load BLTlib??.dll (in UNIX, something like: libBLT??.so)
Note that the GiD TCL version and the BLT version should be
compatible.
Check the package and load man pages and check the BLT help for more
details.
Regards,
--
Compass Ing. y Sistemas Dr. Ramon Ribo
http://www.compassis.com ...
[GiDlist] Re: GiDlist digest, Vol 1 #406 - 1 msg
Send by: Jeramy Ashlock Hi Philippe, I have found the same problem with the circle command. I needed to create a cylinder as well, and the arc formed by rotation-extrusion of the vertical sides was different from that obtained by the circle command. I have learned to use the exact same lines to generate surfaces that need to be connected. Furthermore, I have found that a perfectly symmetric geometry with symmetric surface divisions will not result in a symmetric mesh. I then tried to create a single "slice" of the cylinder geometry, which I then meshed and copied by rotation. I have found that there is unacceptable round off error in rotating the mesh like this, so I now create 1/4 of the cylinder, mesh it, and copy it by mirroring twice so that the resulting mesh is actually symmetric. I have asked if there was an option to increase the numerical precision of the rotation operation, but was told that generating 1/4 of the mesh and copying by mirroring was the only way to get a truly symmetric mesh. I do see this and your problem as small limitations, although I can't complain because I am using a great program for free. Had I paid for the license, then I would not be happy, but hopefully this will be addresed in future versions. On Fri, 20 Jun 2003 ... [GiDlist] GiD --> ucd format?
Send by: Roger Young Hello GiD folk, I am an applied mathematician working in crystal plasticity and fatigue modelling. For my calculations I am using the deal.II finite element library. This library is poorly supplied with meshing tools, and for complicated geometries it relies on importation of a mesh in a particular format, for example "ucd" format. It is best to explain this in terms of a very simple example: Here (below) there is a single hex cell with 8 vertices (nodes). After defining the vertices there are then 3 cell-type connectivity statements. The first just describes the connectivity of the hex element, but the 2 following lines each associate a tag with a particular (quad) _face_ of the element. The face is identified by its nodal connectivity. Thus we have tag 5 being associated with the quad face with node numbers (0 1 2 3). Later the tag will be associated with a boundary condition. 8 3 0 0 0 0 0.0 0.0 0.0 1 1.0 0.0 0.0 2 1.0 0.0 1.0 3 0.0 0.0 1.0 4 0.0 1.0 0.0 5 1.0 1.0 0.0 6 1.0 1.0 1.0 7 0.0 1.0 1.0 0 0 hex 0 1 2 3 4 5 6 7 1 5 quad 0 1 2 3 2 8 quad 0 1 5 4 The scheme is easily extended to a multi-element mesh: there is a list of hex declarations, followed by as many quad lines as are required to associate the tags with the relevant boundary (quad) faces. My question is, can I use the .bas scripting language to create a .dat file in this particular (ucd) format? The hard part seems to be the last 2 lines. The GiD script language seems very powerful, so I am confident that it can be done. Can someone point me in the right direction? Roger Young. Applied Maths Group, Industrial Research Ltd., Box 31-310 Lower Hutt, New Zealand. ... [GiDlist] GiD --> ucd format?
Send by: Enrique Escolano You must create a problemtype to define a condition to apply tags over faces, named for example FaceTag, to be applied over suface geometric entities, and transferred to the mesh over face elems: file ucd.cnd: CONDITION: FaceTag CONDTYPE: over surfaces CONDMESHTYPE: over face elems CANREPEAT: yes QUESTION: Tag VALUE: 0 END CONDITION file ucd.bas: *#coordinates *npoin *ndime 0 0 0 *loop nodes *nodesnum *nodescoord(1) *nodescoord(2) *nodescoord(3) *end nodes *#hexahedral elements *set elems(hexahedra) *loop elems *elemsnum 0 hex *elemsconec(1) *elemsconec(2) *elemsconec(3) *elemsconec(4) *elemsconec(5) *elemsconec(6) *elemsconec(7) *elemsconec(8) *end elems *set elems(all) *#tags over faces *Set Cond FaceTag *elems *canrepeat *set var cont=1 *loop elems *OnlyInCond *cont *cond(Tag) quad *globalnodes *set var cont=operation(cont+1) *end elems Unzip this sample ucd.gid.zip inside the GiD /problemtypes directory, then start GiD and load this problemtype from the menu Data->Problemtype->ucd Assign the condition FaceTag to the desired surfaces, and generate a mesh (hexahedrals) To write the ucd file use: Files->Export->Calculation file... The *.bas and *.cnd syntax is explained in GiD->Help (customization) Regards Enrique Escolano ----- Original Message ----- From: "Roger Young" <... [GiDlist] GiD --> ucd format?
Send by: Roger Young Enrique: This is excellent, thankyou so much. GiD is certainly a very powerful and flexible FE mesh tool... Regards, Roger Young ......................................................................................................... On Mon, 23 Jun 2003 16:29:57 +0200 "Enrique Escolano" <escolano at cimne.upc.es> wrote: > You must create a problemtype to define a condition to apply tags over faces, named for example FaceTag, to be applied > over suface geometric entities, and transferred to the mesh over face elems: > > file ucd.cnd: ... [GiDlist] Only a signle condition not all
Send by: Andrea Calaon Hello everyone,
thanks for the suggestion. I use already commands like
proc InitGIDProject { dir } {
GidChangeDataLabel "Conditions" ""
}
not to visualize Data Units and similars.
In this case I would like to have the submenu "Conditions"
displayed, but without only one of the conditions, precisely the
"Zones" one, which is applied automatically before meshing.
Thanks
Regards
Andrea Calaon
Ashurst Lodge, Ashurst
Southampton, Hampshire
SO40 7AA, UK
Tel. office: +44 23 80 293 223
Fax office: +44 23 80 292 853
Mobile: +44 7766 488 225
E-mail: andrea at beasy.com
...
[GiDlist] Only a signle condition not all
Send by: Jorge Suit Perez Ronda Hello, you can use BOOKS in order to do what you want and use
GidShowBook to hide the BOOK containing the hiden conditions.
Here I include an example:
------------- sample .cnd file -----------
BOOK: Visibles
CONDITION: Point_Constraints
CONDTYPE: over points
CONDMESHTYPE: over nodes
QUESTION: X-Constraint#CB#(0,1)
VALUE: 1
QUESTION: Y-Constraint#CB#(0,1)
VALUE: 1
QUESTION: Z-Constraint#CB#(0,1)
VALUE: 1
END CONDITION
BOOK: Invisibles
CONDITION: Zones
CONDTYPE: over points
CONDMESHTYPE: over nodes
QUESTION: Your_Label
VALUE: your_value
END CONDITION
--------------- end sample .cnd file ----------------
---------------- sample .tcl file -----------------
proc InitGIDProject { dir } {
GidShowBook "conditions" Invisibles 0
}
------------- end sample .tcl file -----------------
hope it helps,
best regards,
Jorge Suit
Andrea Calaon wrote:
>...
[GiDlist] Re: GiDlist digest, Vol 1 #408 - 6 msgs
Send by: Jeramy Ashlock > About the mesh simmetry in a simmetric geometry, as unstructured mesh > is an heuristic algorithm, you can never guarantee that you will obtain > the same mesh although the geometry is simmetric. You cannot even > guarantee that you will obtain the same mesh on two runs of the mesher > in the same geometry. But good analysis codes do not depend on the mesh, > do they? > > Regards, > > -- > Compass Ing. y Sistemas Dr. Ramon Ribo > http://www.compassis.com ramsan at compassis.com... [GiDlist] Re: GiDlist digest, Vol 1 #408 - 6 msgs
Send by: Enrique Escolano About your previous mails: In general with GiD, a symmetric geometry not generate a symmetric mesh, also in structured mesh. About your round "error rotating the mesh, and a preference to increase this precision." This is a corrected bug of some version, truncating incorrectly a input value with the "real format" preference. Internally all operation are in double precision. Update your GiD version to the last beta. Enrique Escolano ----- Original Message ----- From: "Jeramy Ashlock" <ashlock at bechtel.Colorado.EDU> To: <gidlist at gatxan.cimne.upc.es... [GiDlist] Counting boundary conditions
Send by: esneyder.montoya at utoronto.ca Hi there
Could somebody help me out in something, I am trying to count the number of
restrains in nodes and write the results down in my *.bas files, for a nonlinear
finite element program. This is the first time I use GiD and have no success so
far in doing this.
the *.bas commands of GiD count the number of nodes with a certain condition
BUT not the number of restraints, that is, if a node XX has three degrees of
freedom restrained (say a fixed support) , the *set cond estatement will count
ONE node BUT not THREE restraints. How can I count the restraints?
I am attaching a piece of the *.bas for your reference:
No. of restraints : *
*set var restraints=0
*Set Cond Support-Constraints *nodes
*if(CondNumEntities(int)>0)
*loop nodes *OnlyInCond
*format {"%4i"}
*restraints=*Operation(cond(1,int)+cond(2,int)+cond(3,int))
*end nodes
*endif
...
[GiDlist] Counting boundary conditions
Send by: Enrique Escolano I don,'t understand exactly what's the desired value, and your definition of the Support-Constraints condition, but your code can similar to this: *set var restraints=0 *Set Cond Support-Constraints *nodes *loop nodes *OnlyInCond set var restraints=Operation(restraints+cond(1,int)+cond(2,int)+cond(3,int)) *end nodes No. of restraints: *restraints It's assumed that the fields 1,2 and 3 of Support-Constraints can be set only to 0 or 1, and 1=degree constraint. Enrique Escolano ----- Original Message ----- From: <esneyder.montoya at utoronto.ca> To: <... [GiDlist] Circle Problem - Follow up example
Send by: Philippe Bouchilloux Hello: I was asked to submit a specific example regarding the circle problem mentioned earlier. Here's one that's illustrative: - Create 3 circle objects centered in 0,0 with radii 1, 0.5, and 0.25 and delete the surfaces. - Create two lines to connect points (-1.1, 0.025) to (1.1, 0.025) and (-1.1, -0.025) to (1.1, -0.025) (these are two parallel lines to Ox with Y=0.025 and Y=-0.025) - Make 3 copies of these lines by successive 45deg. rotations about (0,0). You end up with 8 lines. - Do all the line intersections (16 per circle) Now, measure the distance between the two points obtained by intersecting one line with one circle (we'll say that two parallel lines form a pair). Measure one pair, then the next, etc. Using GiD 7.2 on my windoze xp laptop, here is what I find: For disc 1 (large): 1.99932 1.99932 1.99751 1.99751 1.99932 1.99932 1.99919 1.99919 For disc 2 (intermediate): 0.998624 0.998624 0.998425 0.998425 0.998634 0.998634 0.996863 0.996863 For disc 3 (small): 0.497494 0.497450 0.497001 0.497494 0.497494 0.497330 0.496836 0.496782 In all cases, variations of the third decimal can be observed. This may seem small, but the relative error on disc 3 is not negligible, I think. For circles 1 and 2, distance measurements are identical for the lines of the same pair, but all the pairs in disc 2 show different results, whereas measurements are more consistent for disc 1. In the case of circle 3, that is not true any more. This indicates that the loss of accuracy is indeed related to the model dimensions (but I think a circle of radius 0.25 is not unreasonable). These results will most likely change if I redo the same exact example, which is also interesting. I have not yet checked the cylinder case. I hope this is helpful. Philippe ... [GiDlist] Circle Problem - Follow up example
Send by: Ramon Ribó Hello,
We appreciate the example. It will be useful for future
tests.
As a first idea, I think that the error is more related
to the intersection algorithm that to the mathematical
representation of the NURBS. One way of checking this is
the following:
- Create the circle
- Generate a mesh with an arbitrary number of elements
- Check the distance from any of the generated points to
the center
- In my example, the distance is exactly equal to the
radius. In other example there may be a small difference
but not in the third digit.
Regards,
--
Compass Ing. y Sistemas Dr. Ramon Ribo
http://www.compassis.com...
[GiDlist] Circle Problem - Follow up example
Send by: Enrique Escolano It's not a intersection bug or a intrinsic problem of the Nurbs to describe a circle. It's a bug in a subdivision algorithm of rational Nurbs: Some weights are bad calculated in the division procedure. This is corrected for the next GiD version. I attach your sample obtained after the related correction. Enrique Escolano ----- Original Message ----- From: "Philippe Bouchilloux" <pb at magsoft-flux.com> To: "GiDList" <gidlist at gatxan.cimne.upc.es> Sent: Wednesday, June 25, 2003 7:55 AM Subject: [GiDlist] Circle Problem - Follow up example >... [GiDlist] Circle Problem - Follow up example
Send by: Philippe Bouchilloux Thanks Enrique >This is corrected for the next GiD version. >I attach your sample obtained after the related correction. [GiDlist] emacs mode for GiD
Send by: Miguel A. de Riera Pasenau Hi people, based on the tochnog emacs mode done by "Martin Lüthi" <answer at tnoo.net> i developed a gid emacs mode to colour the syntax for the .bas, .cnd, .mat, .prb and .uni files of GiD's problem types files. http://www.gidhome.com/support/gid_emacs miguel -- -------------------------------------------------------------------------------- Miguel A. Pasenau de Riera miguel at cimne.upc.es http://gid.cimne.upc.es... [GiDlist] Counting boundary conditions
Send by: Esneyder Montoya Hi Enrique many thanks for your answer. However it did not solve my problem. To refresh the idea what I want the program to do is: Let's say I have the following nodes with the restraints in X , Y , and Z directions (1: restrained 0:free) Node Rx Ry Rz 12 1 0 0 16 1 1 1 22 0 0 1 25 0 1 1 The list of commands you suggested will write the following set var = 0 = 1 0 = 3 0 = 1 0 = 2 No. of restraints = 0 However what I need to write into the *.bas files is ONLY: No. of restraints = 7 That is the total number of restraints ( node 12 is 1, node 16 is 3, node 22 is 1, node 25 is 2, total = 1 + 3 + 1 + 2 = 7), for the four nodes. Thanks for any hint on this, really appreciated. Gracias I don,'t understand exactly what's the desired value, and your = definition=20 of the Support-Constraints condition, but your code can similar to this: *set var restraints=3D0 *Set Cond Support-Constraints *nodes *loop nodes *OnlyInCond set var = restraints=3DOperation(restraints+cond(1,int)+cond(2,int)+cond(3,int)) *end nodes No. of restraints: *restraints It's assumed that the fields 1,2 and 3 of Support-Constraints can be set = only to 0 or 1, and 1=3Ddegree constraint. Enrique Escolano ----- Original Message -----=20 From: <... [GiDlist] Counting boundary conditions
Send by: Enrique Escolano My previous code was not tested (It was only a explanation requiring slight modifications for your especific use) Is missing an asterisc before "set var restraints=3DOperation(restraints+cond(1,int)+cond(2,int)+cond(3,int))" I attach a problemtype (CountRest.gid.zip) and a small sample (SampleCount.gid.zip) whit your related contition over the nodes 12,16,22 and 25. the result is as expected: No. of restraints: 7 Enrique ----- Original Message ----- From: Esneyder Montoya To: gidlist at gatxan.cimne.upc.es Sent: Friday, June 27, 2003 12:42 AM Subject: [GiDlist] Counting boundary conditions Hi Enrique many thanks for your answer. However it did not solve my problem. To refresh the idea what I want the program to do is: Let's say I have the following nodes with the restraints in X , Y , and Z directions (1: restrained 0:free) Node Rx Ry Rz 12 1 0 0 16 1 1 1 22 0 0 1 25 0 1 1 The list of commands you suggested will write the following set var = 0 = 1 0 = 3 0 = 1 0 = 2 No. of restraints = 0 However what I need to write into the *.bas files is ONLY: No. of restraints = 7 That is the total number of restraints ( node 12 is 1, node 16 is 3, node 22 is 1, node 25 is 2, total = 1 + 3 + 1 + 2 = 7), for the four nodes. Thanks for any hint on this, really appreciated. Gracias I don,'t understand exactly what's the desired value, and your = definition=20 of the Support-Constraints condition, but your code can similar to this: *set var restraints=3D0 *Set Cond Support-Constraints *nodes *loop nodes *OnlyInCond set var = restraints=3DOperation(restraints+cond(1,int)+cond(2,int)+cond(3,int)) *end nodes No. of restraints: *restraints It's assumed that the fields 1,2 and 3 of Support-Constraints can be set = only to 0 or 1, and 1=3Ddegree constraint. Enrique Escolano ----- Original Message -----=20 From: <... [GiDlist] inaccurate postprocessing with given Gauss points
Send by: Andres Peratta When postprocessing scalar results with "given" gauss points
I found out that the visualization becomes quite inaccurate.
For example Contour_fill and Contour_lines options, dont' work properly.
It seems that the defined coordinates of the gauss points should not have
more than 5 decimal figures,
otherwise the given coordinates in the .res file are not read properly
by GID.
To see what is going on, you can try the following example in which
a scalar field
u(x,y) = x
is visualized in a single unitary triangular element with 6 gauss points
located at the following coordinates :
a = 1/6, b = 2/3, c = 5/12, d = 1/6
( a, a) ( b, a) ( a, b) ( c, d) ( c, c) ( d, c)
( see the attached .res file in which I used different precisions to
represent the fractional
numbers 1/6, 2/3 and 5/12 , and see what happens when contour_lines
or contour_fill options are selected )
The main problem is that if I want to increase the precision of the
given coordinates,
beyond 5 figures the result is completely unpredictable,
and if I keep 5 or less figures, the visualization does not reflect the
real scalar field.
Is there any solution ?
Has anyone faced this problem before ?
Thanks for your help.
best regards,
Andres
--
Andres B. Peratta
Wessex Institute of Technology
Email: ...
[GiDlist] inaccurate postprocessing with given Gauss points
Send by: Miguel A. de Riera Pasenau Yes, there was a problem with inverting a matrix when zeros appeared on the diagonal. With 0.16667 there was no problem, but with 0.1666666666666666667. i think i will prepare a new beta this week with this problem solved. miguel Andres Peratta wrote: > > When postprocessing scalar results with "given" gauss points > I found out that the visualization becomes quite inaccurate. > For example Contour_fill and Contour_lines options, dont' work properly. > It seems that the defined coordinates of the gauss points should not have > more than 5 decimal figures, > otherwise the given coordinates in the .res file are not read properly ... [GiDlist] Postprocessing with Gauss Points
Send by: Andres Peratta Hi there ! Here I come with another problem related to gauss points. The problem is that I can't see any Graph analysis when postprocessing scalar results with gauss points. I tried with View_Results -> Graph -> Point_Analysis View_Results -> Graph -> Point Graph View_Results -> Graph -> Border Graph and all of them become disabled at the moment of choosing any result. I have tried this feature with GID 7.1.4b and GID 7.2 ( linux version ) Is this normal, or is it that I'm doing something wrong ? Any suggestion will be very helpful Many thanks, Andres -- Andres B. Peratta PhD Student Wessex Institute of Technology Email: ... [GiDlist] Postprocessing with Gauss Points
Send by: Miguel A. de Riera Pasenau At the moment graphs on gauss point results are not supported. but it will be in a short term. miguel Andres Peratta wrote: > > Hi there ! > Here I come with another problem related to gauss points. > The problem is that I can't see any Graph analysis > when postprocessing scalar results with gauss points. > > I tried with > View_Results -> Graph -> Point_Analysis > View_Results -> Graph -> Point Graph > View_Results -> Graph -> Border Graph > and all of them become disabled at the moment of choosing any result. ... [GiDlist] Re: GiDlist digest, Vol 1 #414 - 1 msg
Send by: Andres Peratta Thank you very much, I do appreciate your repply and your effort. I am working with GID in boundary elements methods (BEM). This definition of gauss points ( a = 1/6, b = 2/3, c = 5/12, d = 1/6) is very common in BEM, when using triangular discontinuous elements. I believe that anyone working with BEM will really appreciate this feature of GID. best regards, Andres gidlist-request at gatxan.cimne.upc.es wrote: >Send GiDlist mailing list submissions to > gidlist at gid.cimne.upc.es ... [GiDlist] Saving boundary conditions
Send by: Jonas Forssell Hello, Is there a way to save a boundary condition setup, similar to what is possible for materials? Thanks /Jonas Gå före i kön och få din sajt värderad på nolltid med Yahoo! Express -------------- next part -------------- An HTML attachment was scrubbed... URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20030703/d54ed409/attachment.htm [GiDlist] Saving boundary conditions
Send by: Enrique Escolano It has not sense to save a GiD condition in a database, because the contition field values are different for each assignation to an entity. In other hand, a GiD material has usually constant values. Enrique Escolano ----- Original Message ----- From: Jonas Forssell To: gidlist at gatxan.cimne.upc.es Sent: Thursday, July 03, 2003 1:47 PM Subject: [GiDlist] Saving boundary conditions Hello, Is there a way to save a boundary condition setup, similar to what is possible for materials? Thanks /Jonas Gå före i kön och få din sajt värderad på nolltid med Yahoo! Express -------------- next part -------------- An HTML attachment was scrubbed... URL: ... [GiDlist] Saving boundary conditions
Send by: Jonas Forssell The reason I am asking is because I have found that by defining many parameters as conditions (although they are things like elemement number of integration points, parameters etc), I can define and assign all the data I want to the model and get an excellent output file. You can see the thinking if you download the GID preprocessor interface to my program from http://impact.sourceforge.net I dabbled with the Idea of using materials instead but there can only be one material per element while there can be several conditions per element. The problem is that once I have defined a "condition" and assigned it to an element, my settings get erased. Thanks /Jonas --- Enrique Escolano <... [GiDlist] Saving boundary conditions
Send by: Enrique Escolano It is possible to define a field #MAT# inside a condition or material. This field point to a material name (it's automatically updated with the current materials). You can group some "shared" values of a condition in a GiD material, and point it. This "special" materials can be locaded in another book. Download the problemtype nastran2. It's a good sample using this #MAT# field (some materials of a book named "PROPERTIES" point to materials of another book named "MATERIAL") Can download nastran2 from GiD (menu Data->Problemtype->Internet Retrieve...) or from this web page: http://www.compassis.com... [GiDlist] Saving boundary conditions
Send by: Jonas Forssell Thanks Enrique, Excellent workaround! I'll use that one from now on. For the authors of GID, I'd like to propose saveable conditions as a possible future feature to an otherwise very nice software. Thanks /Jonas Enrique Escolano <escolano at cimne.upc.es> wrote: It is possible to define a field #MAT# inside a condition or material. This field point to a material name (it's automatically updated with the current materials). You can group some "shared" values of a condition in a GiD material, and point it. This "special" materials can be locaded in another book. Download the problemtype nastran2. It's a good sample using this #MAT# field (some materials of a book named "PROPERTIES" point to materials of another book named "MATERIAL") Can download nastran2 from GiD (menu Data->Problemtype->Internet Retrieve...) or from this web page: ... [GiDlist] new GiD 7.4.2b beta version
Send by: Enrique Escolano It exists a new GiD7.4.2b beta version, available for Windows and Linux To download it, go to the 'Download GiD beta versions' section: http://www.gidhome.com/download/do07.subst This beta version has basically several corrected bugs. _______________________________________________________ Enrique Escolano http://www.gidhome.com escolano at cimne.upc.es CIMNE - Centro Internacional de Métodos Numéricos en Ingeniería C/ Gran Capitán s/n, Modulo C1, Campus Norte UPC, E-08034 Barcelona, Spain tel. +34 93 401 74 03 -------------- next part -------------- An HTML attachment was scrubbed... URL: ... [GiDlist] RealFormat
Send by: NUNIO Francois DAPNIA Hello, I have a problem with the node coordinate output (random shift of the column) when I use the format command : Gid *.bas file (partial) : ... ... *RealFormat "%22.14E" *loop nodes *NodesCoord(1,real) *NodesCoord(2,real) *endif *end nodes ... ... Output (partial) : ... ... 8.93893535425073E+01 -5.94093577063217E+00 -1.50000000000000E+00 8.42523817128309E+01 -4.56193076496659E+00 -1.50000000000000E+00 8.21569253738304E+01 1.22646133016995E+01 -1.50000000000000E+00 8.61009970470839E+01 -6.87078553039366E+00 -1.50000000000000E+00 8.05839756925027E+01 -3.16789659893504E+00 -1.50000000000000E+00 8.85163594431580E+01 -7.74133767712196E+00 ... ... What's wrong with my template file ? Regards, François ___________________________________ François NUNIO CEA-Saclay DSM/DAPNIA/SIS/LCAP Bât. 123 - 91191 Gif-Sur-Yvette cedex Tel : 0169082391 / Fax : 0169088138 -------------- next part -------------- An HTML attachment was scrubbed... URL: ... [GiDlist] RealFormat
Send by: Enrique Escolano RealFormatThis is a corrected bug. Update to the last GiD7.4.2b beta version. Enrique Escolano. ----- Original Message ----- From: NUNIO Francois DAPNIA To: 'gidlist at gid.cimne.upc.es' Sent: Tuesday, July 08, 2003 10:01 AM Subject: [GiDlist] RealFormat Hello, I have a problem with the node coordinate output (random shift of the column) when I use the format command : Gid *.bas file (partial) : ... ... *RealFormat "%22.14E" *loop nodes *NodesCoord(1,real) *NodesCoord(2,real) *endif *end nodes ... ... Output (partial) : ... ... 8.93893535425073E+01 -5.94093577063217E+00 -1.50000000000000E+00 8.42523817128309E+01 -4.56193076496659E+00 -1.50000000000000E+00 8.21569253738304E+01 1.22646133016995E+01 -1.50000000000000E+00 8.61009970470839E+01 -6.87078553039366E+00 -1.50000000000000E+00 8.05839756925027E+01 -3.16789659893504E+00 -1.50000000000000E+00 8.85163594431580E+01 -7.74133767712196E+00 ... ... What's wrong with my template file ? Regards, François ___________________________________ François NUNIO CEA-Saclay DSM/DAPNIA/SIS/LCAP Bât. 123 - 91191 Gif-Sur-Yvette cedex Tel : 0169082391 / Fax : 0169088138 -------------- next part -------------- An HTML attachment was scrubbed... URL: ... [GiDlist] assign condition automatically
Send by: Malte Neumann Hi,
Some weeks ago I read on this list about assigning conditions automatically
before meshing. I now read through most of the documentation and could not
find a clue how to do this.
Can anybody please explain how to do this or where to find an explanation.
Thanks in advance
Malte
--
--------------------------------------------------------------------------
Malte Neumann
--------------------------------------------------------------------------
Institut fuer Baustatik / Institute of Structural Mechanics
Prof. Dr.-Ing. Ekkehard Ramm
Universitaet Stuttgart / University of Stuttgart
Pfaffenwaldring 7, D-70550 Stuttgart, Germany
mailto:...
[GiDlist] assign condition automatically
Send by: Enrique Escolano The last beta version 7.4.2b has two new tcl events raised by GiD (not included in the documentation by now):
proc BeforeMeshGeneration { size } and proc AfterMeshGeneration { fail }
This procedures are similar to InitGidProject, tipically used by a problemtype to change menus, etc.
This tcl procedures can be overwritten by a problemtype to make some action, for example, assign automatically
a condition to some entities before mesh:
To test this events, create a problemtype.tcl file with this procedures:
(and also a problemtype.cnd with a condition named "MyCond" with two fields)
proc BeforeMeshGeneration { size } {
WarnWinText "BeforeMeshGeneration $size"
#assign a condition named "MyCond" with field values "valueA" and "ValueB" to all entities (from number 1 to last)
.central.s process escape escape escape escape data cond assign Mycond valueA valueB 1: escape
}
proc AfterMeshGeneration { fail } {
WarnWinText "AfterMeshGeneration $fail"
}
Regards
Enrique Escolano
----- Original Message -----
From: "Malte Neumann" <...
[GiDlist] frame around window in movies
Send by: Michael Gee Dear mailing list users,
when producing a movie from gid, gid adds a colored frame around the
graphics window.
can this fram be influenced in thickness in color, and if, where do I
find this in the gid menus?
Thank You very much in advance, Michael Gee
--
----------------------------------------------------------------------
Michael Gee
----------------------------------------------------------------------
Institut fuer Baustatik / Institute of Structural Mechanics
Prof. Dr.-Ing. Ekkehard Ramm
Universitaet Stuttgart / University of Stuttgart
Pfaffenwaldring 7
D-70550 Stuttgart
Tel +711-685-6572
Fax +711-685-6130
mail ...
[GiDlist] frame around window in movies
Send by: Enrique Escolano GiD not adds any colored frame to your movies (avi, mpg, ...). It's can be a setting of your animation player program. Enrique Escolano ----- Original Message ----- From: Michael Gee To: gidlist at gatxan.cimne.upc.es Sent: Wednesday, July 09, 2003 4:02 PM Subject: [GiDlist] frame around window in movies Dear mailing list users, when producing a movie from gid, gid adds a colored frame around the graphics window. can this fram be influenced in thickness in color, and if, where do I find this in the gid menus? Thank You very much in advance, Michael Gee -- ---------------------------------------------------------------------- Michael Gee ---------------------------------------------------------------------- Institut fuer Baustatik / Institute of Structural Mechanics Prof. Dr.-Ing. Ekkehard Ramm Universitaet Stuttgart / University of Stuttgart Pfaffenwaldring 7 D-70550 Stuttgart Tel +711-685-6572 Fax +711-685-6130 mail ... [GiDlist] Select "Layer" by righ mouse click no longer available?
Send by: kenji furui Dear GiD members, I've just installed GiD ver7.4.2b. (Windows) I couldn't find "Layer" selection by a right mouse click , which was supported in the previous versions. I'm just wondering if this is a bug or something. If this is the new feature, please disregard this message. thanks, Kenji Furui U. of Texas at Austin Dept. of Petroleum & Geosystems Eng. __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com [GiDlist] Select "Layer" by righ mouse click no longer available?
Send by: Enrique Escolano This Layer menu is removed to test if can exists a relation between this menu and a known bug (upper menu locked), as related in a FAQ: "With the OS Microsoft Windows, sometimes exists a conflict with the menu bar, and they remain blocked. It is possible to unlock the menu bar without restarting GiD, by using the keyboard shortcuts (e.g. Alt+f, to invoke the Files menu)." For future beta versions, this menu can be restored. Enrique Escolano ----- Original Message ----- From: "kenji furui" <petrocowboy at yahoo.com> To: <gidlist at gatxan.cimne.upc.es... [GiDlist] A question about Meshing
Send by: edodo HI,All I create a volume model,But I can't mesh it.You can find the Gid files in the attached files.Can you help me? BTW,Is there Gid's Parralel version. Thanks ======= 2003-07-03 15:00:00 You wrote£º======= >It has not sense to save a GiD condition in a database, because the contition field values are different for each >assignation to an entity. In other hand, a GiD material has usually constant values. > >Enrique Escolano > ----- Original Message ----- > From: Jonas Forssell > To: gidlist at gatxan.cimne.upc.es... [GiDlist] A question about Meshing
Send by: edodo Dear,sir/madam,edodo
sorry
I forget to attach files in last mail.
======= 2003-07-17 11:48:00 You wrote£º=======
>HI,All
> I create a volume model,But I can't mesh it.You can find the Gid files in the attached files.Can you help me?
> BTW,Is there Gid's Parralel version.
>
> Thanks
>
>
>
>======= 2003-07-03 15:00:00 You wrote£º=======
>
>>It has not sense to save a GiD condition in a database, because the contition field values are different for each
>>assignation to an entity. In other hand, a GiD material has usually constant values.
...
[GiDlist] FEAP problem type
Send by: Adisorn Owatsiriwong Dear GiD Team, GiD users
Is there a problem type (for solid mechanics) for Feap and Feappv available to download? Thank you in advanced.
Best regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20030719/b65502f0/attachment.htm
[GiDlist] FEAP problem type
Send by: VSayako Willy Dear GiDList friend Go and Check the following website: http://www.bh.com/companions/fem Good luck --- Adisorn Owatsiriwong <dollarbulldog at hotmail.com> wrote: > Dear GiD Team, GiD users > > Is there a problem type (for solid mechanics) > for Feap and Feappv available to download? Thank > you in advanced. > > Best regards, > __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com... [GiDlist] FEAP problem type
Send by: Enrique Escolano You can download a old version of feap: Feap 7.4, including a small GiD problemtype, from this ftp: ftp://www.gidhome.com/pub/gid_adds/problem_types/feap74_offer_win.zip ftp://www.gidhome.com/pub/gid_adds/problem_types/feap74_offer_linux.zip This is the FEAP ver 74 distribution. It contains: - GiD problemtype --> gid_feap.gid (copy it into the directory 'problemtypes' in the GiD distribution) - Feap program for Windows (feap.exe). It is inside the gid_feap.gid directory. - Libraries to recompile the program with user routines: -For Windows: check file 'readme.win' and directory 'library_win' To create a Feap model from GiD: - Install the problemtype (copy gid_feap.gid to the directory 'problemtypes' in the GiD distribution) - Open GiD - Inside GiD, select from the menus: Data->Problemtype->gid_feap - Create your model, assign boundary conditions, materials and loads - Generate the mesh - Press button 'Calculate->Calculate'. Feap program will appear. - Note that for Feap advanced capabilities, it will be necessary to edit the Feap input file in order to introduce additional data. Regards Enrique Escolano ----- Original Message ----- From: Adisorn Owatsiriwong To: GiD Sent: Saturday, July 19, 2003 7:40 PM Subject: [GiDlist] FEAP problem type Dear GiD Team, GiD users Is there a problem type (for solid mechanics) for Feap and Feappv available to download? Thank you in advanced. Best regards, -------------- next part -------------- An HTML attachment was scrubbed... URL: ... [GiDlist] FEAP problem type
Send by: Adisorn Owatsiriwong Thanks GiD Teams for your supporting. Bests Regards, ----- Original Message ----- From: Enrique Escolano To: gidlist at gatxan.cimne.upc.es Sent: Monday, July 21, 2003 10:54 AM Subject: Re: [GiDlist] FEAP problem type You can download a old version of feap: Feap 7.4, including a small GiD problemtype, from this ftp: ftp://www.gidhome.com/pub/gid_adds/problem_types/feap74_offer_win.zip ftp://www.gidhome.com/pub/gid_adds/problem_types/feap74_offer_linux.zip... [GiDlist] mesh reading
Send by: Adisorn Owatsiriwong Dear GiD teams Does GiD support the way to remesh automatically during postprocessing; for example, in case of h-adaptivity can we view the results of the new meshes without interupting the process? By this way I think it should be necessary that multiple flavia.msh files must be stored, can we do so? Thank you in advanced. Best regards, -------------- next part -------------- An HTML attachment was scrubbed... URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20030721/a4fbdf4b/attachment.htm... [GiDlist] mesh reading
Send by: Miguel A. de Riera Pasenau hi, by now you can not view a different mesh for each step within GiD. you have to save separate .msh and .res files foreach step and read each pair in GiD. we're working now in GiD so that it can handle different meshes for each analysis step, for instance when there is a mesh refinement during the analysis. miguel -- -------------------------------------------------------------------------------- Miguel A. Pasenau de Riera miguel at cimne.upc.es http://gid.cimne.upc.es [GiDlist] A question about Mesh extrusion
Send by: edodo Dear GiD teams There are a new availab in GID 7.4.2b of Mesh extrusion,But I can't find it in Copy windows! Can you help me? Fegen software Co.,Ltd http://www.fegensoft.com/english 086-10-82131600 086-10-82121900 ShaolinZhou fea at eyou.com 2003-07-22 [GiDlist] A question about Mesh extrusion
Send by: Enrique Escolano This feature is also available in previous 7.x versions. Select mesh view, and then open the "copy window". Can extrude elements by translation, rotation, etc. Enrique ----- Original Message ----- From: "edodo" <fea at eyou.com> To: <gidlist at gatxan.cimne.upc.es> Sent: Tuesday, July 22, 2003 11:00 AM Subject: [GiDlist] A question about Mesh extrusion > Dear GiD teams > There are a new availab in GID 7.4.2b of Mesh extrusion,But I can't find it in Copy windows! Can you help me? >... [GiDlist] Post Processing on given gauss points for tri3 and quad4 elements
Send by: Guy HUBERT I am currently developping the interface between Gid 7.2 on Windows and a finite elment solver. 1 - I have a shell mesh with results defines on gauss points on triangle (T3) and quadrilateral (Q4) elements. When I want to show contour, I have to choose T3 or Q4, but I cannot view T3 and Q4 on the same image, I try to use "Several Results" but I cannot add more than one result. 2 - For results defined on Quauss Point (Given), how Gid decides to display result with contour or with colored points located at gauss point location ? Thanks ________________________________________________________________ Guy HUBERT Mailto:hubert at deltacad.fr... [GiDlist] Post Processing on given gauss points for tri3 and quad4 elements
Send by: Miguel A. de Riera Pasenau Hi, 1. there is no way to show a c.fill of a result defined on two different gauss points sets at once. 2. by given natural coordinates, gid tries to extrapolate the results to the nodes of the element: 1/3/6 gauss points per triangle 1/4/9 gauss points per cuadrilateral 1/4 per tetrahedra 1/8/27 per hexahedra (download the 7.4.2b version which solves some interpolation problems), and if this is not possible, then it will draw the gauss points result as coloured spheres. Nevertheless you can always label the gauss point results which will be located at the gauss points. a question for the list: does anybody know which are the natural coordinates for 10 Gauss points in a tetrahedra? miguel Guy HUBERT wrote: >... [GiDlist] Natural coordinates for 10 Gauss points in tetrahedra
Send by: Guy HUBERT Hello, I haven't found anything on this level of integration, several publications give 1, 4, 5 or 15 gauss points on tetrahera. I join the Code_Aster documentation with weight and coordinates of integration points. The same are reported in "Finite Element method displayed" from Touzot and Dhatt. ________________________________________________________________ Guy HUBERT Mailto:hubert at deltacad.fr Tel direct : +33 (0)3 44 23 52 99 mobile: 06 76 80 03 42 DeltaCAD Centre de Transfert - 66 Avenue de Landshut 60200 COMPIEGNE (FRANCE) Tel : +33 (0)3 44 23 46 54 - Fax : +33 (0)3 44 23 46 31 Web : ... [GiDlist] A question about Mesh extrusion
Send by: edodo Dear,Enrique Escolano
Thanks
There are some error in this way when I use Offest.Can you help me.
======= 2003-07-22 20:26:00 You wrote:=======
>This feature is also available in previous 7.x versions.
>Select mesh view, and then open the "copy window".
>
>Can extrude elements by translation, rotation, etc.
>
>Enrique
>
>----- Original Message -----
>From: "edodo" <fea at eyou.com>
>To: <gidlist at gatxan.cimne.upc.es...
[GiDlist] A question about Mesh extrusion
Send by: Enrique Escolano Send us a small sample and the procedure to obtain this error. Note: If you use a version previous to 7.4.2-b, must update (from the web section download beta versions). Some bugs can be corrected. Enrique ----- Original Message ----- From: "edodo" <fea at eyou.com> To: <gidlist at gatxan.cimne.upc.es> Sent: Thursday, July 24, 2003 3:12 AM Subject: Re: Re: [GiDlist] A question about Mesh extrusion > Dear,Enrique Escolano > > Thanks > There are some error in this way when I use Offest.Can you help me. ... [GiDlist] A question about Mesh extrusion
Send by: edodo Dear,sir/madam,Enrique Escolano
There is a sample in attached files. You should tanslate to Mesh view in Gid When you open the files of "sa.gid",And I create a bach file,butTHe model which you import bach files are better than the sa.gid,but there are some wrong on the boundary.
BTW,I will get different model when i import sa.bch? Why?
Thanks for your help
======= 2003-07-24 14:53:00 You wrote:=======
>Send us a small sample and the procedure to obtain this error.
>
>Note: If you use a version previous to 7.4.2-b, must update (from the web
>section download beta versions). Some bugs can be corrected.
...
[GiDlist] A question about Mesh extrusion
Send by: edodo Dear,sir/madam,Enrique Escolano
There is a sample in attached files. You should tanslate to Mesh view in Gid When you open the files of "sa.gid",And I create a bach file,butTHe model which you import bach files are better than the sa.gid,but there are some wrong on the boundary.
BTW,I will get different model when i import sa.bch? Why?
Thanks for your help
======= 2003-07-24 14:53:00 You wrote:=======
>Send us a small sample and the procedure to obtain this error.
>
>Note: If you use a version previous to 7.4.2-b, must update (from the web
>section download beta versions). Some bugs can be corrected.
...
[GiDlist] A question about Mesh extrusion
Send by: Enrique Escolano Yes, This is a bug (a variable not initialized), with random results. It'is corrected for the next beta version (the next week be available). Note: It's possible to generate prims by triangle extrusion, but this element type has a very small support in GiD at this moment (cannot be loaded in postprocess or see boundaries in preprocess, etc). Thanks for your bug report. Enrique Escolano ----- Original Message ----- From: "edodo" <fea at eyou.com> To: <gidlist at gatxan.cimne.upc.es... [GiDlist] Post Processing on Gauss Points
Send by: Guy HUBERT Hello, I have 2 quastions about Post Procesing on Gauss Points 1 - For a result file with given gauss points, "contour fill" is displayed with "big colored points" located at gauss point location, it is very convenient for some applications. Is there any options to get this display on all results at "gauss points" 2 - My solver give me "results on node", but elements by elments, in order to keep this information for results dysplay, I use the option "results on gauss point" with "given gauss points" located on nodes of the reference element. Is there any other way to achieve this objective ? Thanks ________________________________________________________________ Guy HUBERT Mailto:... [GiDlist] Post Processing on Gauss Points
Send by: Miguel A. de Riera Pasenau Hi, 1- No, but it seems an interesting option, so i think it will be available for the next version. In the meantime you can label the these results. The label will be drawn at the gauss points location. 2- No, the way you are doing it is the one i would also have chosen. miguel Guy HUBERT wrote: > > Hello, > > I have 2 quastions about Post Procesing on Gauss Points > > 1 - For a result file with given gauss points, "contour fill" is displayed > with "big colored points" located at gauss point location, it is very > convenient for some applications. Is there any options to get this display ... [GiDlist] A question about Mesh extrusion
Send by: edodo Dear,Enrique Escolano Thanks. How can I set boundaries(such as surface load) on the Hexahra element,I only Can set the Load on the first surface ,I can't set it on the create element surface. BTW,What's mean of S_i S_ii S_iii in the menu ViewRests Which the rest files used the matrix type in postpress. ======= 2003-07-25 23:02:00 You wrote:======= >Yes, This is a bug (a variable not initialized), with random results. >It'is corrected for the next beta version (the next week be available). > >Note: It's possible to generate prims by triangle extrusion, but this >element type has a very small support in GiD at this moment (cannot be ... [GiDlist] A question about Mesh extrusion
Send by: Enrique Escolano I don't understand your questions, but i try to request it: > How can I set boundaries(such as surface load) on the Hexahra element,I only Can set the Load on the first surface ,I can't set it on the create element surface. If you want to apply a condition 'over face elems' directly over the mesh, instead to over the surfaces and after generate the mesh, it exists some problems: It is not possible to select a face, it's needed to select a element, and GiD automatically apply this conditions over the boundary faces (the interface betwheen two materials is considered also boundary) If your condition is defined CanRepeat: No (by default), then only is applied the condition over one face by element, else is applied a condition foreach boundary face. Probably you must set CanRepeat: yes in the *.cnd file. BTW,What's mean of S_i S_ii S_iii in the menu ViewRests Which the rest files used the matrix type in postpress. Si, Sii and Siii represent the eigen values & vectors of the symmetric tensor matrix results which are calculated by GiD, and which are ordered according to the eigen value. Enrique Escolano ----- Original Message ----- From: "edodo" <... [GiDlist] Potential problems with results on Gauss Points with 8 nodes Hexadron
Send by: Guy HUBERT Hello It seems there is an interpolation problem with this exemple on Gid 7.2 for Windows. To see the problem, Load .res View->Read and select bar.vpt Display with color-Fill SIEF_R g_SIXX (g is for gauss) If you labeled elements results, you will see that results for elements 1 and 2 are symetric. This is not the case in the colored fill picture and value seems very strange. You can view the right distribution with SIEF_R n_SIXX (on nodes elements by elements) or with SIEF_R SIXX (on nodes) ________________________________________________________________ Guy HUBERT Mailto:hubert at deltacad.fr... [GiDlist] Potential problems with results on Gauss Points with 8 nodes Hexadron
Send by: Miguel A. de Riera Pasenau Hi, yes, this problem was corrected with version GiD 7.4.2b. but with this version you can not read your saved views (some more parameters has been added). the next beta version, which will be available in a couple of days, will read these views. miguel Guy HUBERT wrote: > > Hello > > It seems there is an interpolation problem with this exemple on > Gid 7.2 for Windows. > > To see the problem, > Load .res > View->Read and select bar.vpt > > Display with color-Fill SIEF_R g_SIXX (g is for gauss) > > If you labeled elements results, you will see that results for elements ... [GiDlist] Create Text
Send by: ieea Dear All, I wish create a text automatically from a Tcl command. I suppose I should use the GID command "Utilities Dimension Create Text", but I don't know how to indicate the text that will appear. If somebody has ever used this command in a Tcl script I will thank him in advance. Thanks, G.W.R. Geis [GiDlist] Create Text
Send by: Enrique Escolano the GiD command to create a text is: escape escape escape utilities dimension create text "the text" leftmouse x y x y are the relative screen coordinates from a range -1.0 to 1.0. The screen center is (0, 0) Note: the current GiD version expects interactively the text input: To avoid the text input window, must set temporary the variable UseMoreWindows to 0 (Utilities Variables UseMoreWindows 0) and after restore to the previous value (to get the value must use .central.s info variables UseMoreWindows) Enrique Escolano ----- Original Message ----- From: "ieea" <ieea at club-internet.fr... [GiDlist] Create Text
Send by: ieea Thank you Enrique One more time, it's running good now. G.W.R. Geis Enrique Escolano a écrit : > the GiD command to create a text is: > escape escape escape utilities dimension create text "the text" leftmouse x > y > x y are the relative screen coordinates from a range -1.0 to 1.0. The screen > center is (0, 0) > > Note: the current GiD version expects interactively the text input: To avoid > the text input window, must set > temporary the variable UseMoreWindows to 0 (Utilities Variables > UseMoreWindows 0) and after restore > to the previous value (to get the value must use .central.s info variables ... [GiDlist] Creating and exporting one node elements (point element)
Send by: Guy HUBERT Hello I need to export, in calculation file, point element. In my .bas, I have tried nelem(point) and elems(point) by they are not allowed, then I used the code below *# *# Mailles Point (1 noeud) *# ----------------------- *if(npoin) POI1 *loop elems *if(ElemsNnode==1) *GenData(3)*ElemsNum*GenData(2)*ElemsConec(1) *endif *End elems FINSF It works, but is it the correct method ? Another question is that I cannot create point element on another geometry than volumes, I have seen that linear elements can be assigned to lines, surfaces and volumes. Is it right ? It could be interesting to have the same function than lineaar element for point element (even mesh geometrical point). Thanks ________________________________________________________________ Guy HUBERT Mailto:... [GiDlist] Creating and exporting one node elements (point element)
Send by: Enrique Escolano Your sintax is valid, but instead to use *if(npoin) (this return the number of nodes, not the number or 1-noded elements) must use a previous loop to count this number of elements or check if exists at least one 1-noded element and break. *set var ExistsElem1=0 *loop elems *if(ElemsNnode==1) *set var ExistsElem1=1 *break *endif *End elems *if(ExistsElem1) ... At this moment not exists a command *nelem(npoin) or *set elem(npoin) for 1-noded elements. The next beta version GiD7.4.3b includes for this element type the order *nelem(onlypoints) and *set elem(onlypoints) For example, for this GiD7.4.3b and higher is also valid: *if(nelem(onlypoints)) *set elems(onlypoints) *loop elems *ElemsNum *ElemsConec(1) *End elems *endif This related version 7.4.3b can be available to download this week (inside the download beta versions section). Enrique Escolano ----- Original Message ----- From: "Guy HUBERT" <... [GiDlist] postprocessing in batch mode
Send by: Matias Gabriel Zielonka I am running gid 7.2 in linux. I would like to postprocess a tecplot file in batch mode. The tasks I wish are: -Import the tecplot file -generate a bandplot of a variable named "FZ" -export a snapshot -quit gid To do this I generated the following batchfile: ____________ escape escape escape escape Postprocess escape escape escape escape files readTECPLOT ./tecplot_file_name.dat escape escape escape escape results contourfill FZ hardcopy png ./png_file_name.png escape escape escape escape quit ____________ I found the following problems: 1- when I run with "gid -b batchfile" the snapshot file is generated but is empty. 2- when I run with "gid -b batchfile -n" the snapshot fil is not generated at all. 3- when I run gid in interactive mode, and load the batchfile with the command line "file batch batchfile", I found the same problem as in 1 4- Only when I run gid in interactive mode, and load the batchfile with the interactive "read batch window" dialog, everything works, which means that the batch file was generated properly, and that there are not any problems in the tecplot input file. Any suggestions? Best regards. ... [GiDlist] postprocessing in batch mode
Send by: Enrique Escolano 1- when I run with "gid -b batchfile" the snapshot file is generated but is empty. Must use the flag -b+g to enable some graphic capabilities: gid -b+g batchfile 2- when I run with "gid -b batchfile -n" the snapshot fil is not generated at all. At this moment It's not possible to create a image without open a Window to draw. 3- when I run gid in interactive mode, and load the batchfile with the command line "file batch batchfile", I found the same problem as in 1 It seems a bug to correct (using some GiD versions can works ok). 4- Only when I run gid in interactive mode, and load the batchfile with the interactive "read batch window" dialog, everything works, which means that the batch file was generated properly, and that there are not any problems in the tecplot input file. Enrique Escolano ----- Original Message ----- From: "Matias Gabriel Zielonka" <... [GiDlist] gid.exe error
Send by: Calogero Fontana Hi, I have a problem: when I assign material to an object and then i push on draw/colour, a window tell me that there is an gid.exe error and GiD is closed. How can i do to solve this problem? Thanks in advance, Calogero. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20030729/35d7c280/attachment.htm [GiDlist] gid.exe error
Send by: Miguel A. de Riera Pasenau Hi, which version of GiD are you using? can you post an example where this happens? miguel > Calogero Fontana wrote: > > Hi, I have a problem: when I assign material to an object and then i push on draw/colour, a window tell me that there is an > gid.exe error and GiD is closed. > How can i do to solve this problem? > Thanks in advance, > Calogero. -- -------------------------------------------------------------------------------- Miguel A. Pasenau de Riera miguel at cimne.upc.es ... [GiDlist] Conditions
Send by: kalo81 at virgilio.it Hi everyone, I assign some conditions with some values, but whe iI read the file **.cnd,in the field VALUE there is default value.Why? And then, when I Unassign all condition i think that file **.cnd should be erase, but it is there with the previous value. Thanks in advance! Calogero. [GiDlist] Conditions
Send by: Enrique Escolano The file *.cnd contain the template of the condition (questions and default values), but not contain the instances of this template (the values and assigned entities). This condition instances are saved in the *.lin binary file. Enrique Escolano ----- Original Message ----- From: <kalo81 at virgilio.it> To: "GIDLIST" <gidlist at gatxan.cimne.upc.es> Sent: Wednesday, July 30, 2003 10:42 AM Subject: [GiDlist] Conditions > Hi everyone, > I assign some conditions with some values, but whe iI read the file ... [GiDlist] How to include different types of .res files
Send by: VSayako Willy Hi GiD Team and all I would like to display the Outputs in .res file in different types of Analysis. For example: I have output in "Linear Static case" and "Non Linear with Time step" "Influence line" and so forth.. How can I Include these results in PostProcessing file?? Can we use the command "include"? if so how? Please give small example. Best Regards __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com [GiDlist] How to include different types of .res files
Send by: Miguel A. de Riera Pasenau You can write these results in the same .res file: GiD Post Results File 1.0 ... Result "damage" "Linear Static case" 0.0 Scalar OnNodes ... Result "damage evolution" "Non linear with time step" 1.0 Scalar OnNodes ... and so on. You can alo use "include", like this: GiD Post Results File 1.0 ... include "My Other Results File" ... include "another file" ... and so on. miguel VSayako Willy wrote: > > Hi GiD Team and all > I would like to display the Outputs in .res file in > different types of Analysis. For example: I have > output in "Linear Static case" and "Non Linear with >... [GiDlist] How to include different types of .res files
Send by: VSayako Willy Many thanks Miguel
Please take a look my attached file and Please
advice what's wrong in the file format. I also
included the OldFormat of the .res file. Both are not
working properly
Best regards.
--- "Miguel A. de Riera Pasenau" <miguel at cimne.upc.es>
wrote:
> You can write these results in the same .res file:
>
> GiD Post Results File 1.0
> ...
> Result "damage" "Linear Static case" 0.0 Scalar
> OnNodes
> ...
> Result "damage evolution" "Non linear with time
> step" 1.0 Scalar OnNodes
...
[GiDlist] How to include different types of .res files
Send by: Miguel A. de Riera Pasenau Hi, just add a new-line after the last 'end values' line. miguel VSayako Willy wrote: > > Many thanks Miguel > Please take a look my attached file and Please > advice what's wrong in the file format. I also > included the OldFormat of the .res file. Both are not > working properly > > Best regards. > > --- "Miguel A. de Riera Pasenau" <miguel at cimne.upc.es> > wrote: > > You can write these results in the same .res file: ... [GiDlist] Searching the archives & .prb files
Send by: Mark Smith Is it possible to do a search on the gid list archives & if so how? Is there any specific documentation on the use of SET HIDE RESTORE & DEPENDENCIES as used in the .prb file with ver gid 6.3.0b, I have downloaded the nastran problem type & looked at it's .prb file but I have a problem with some of my QUESTION fields not hiding when they should, see below .prb file PROBLEM DATA BOOK: Model Units TITLE: Units QUESTION: Units#CB#(m,mm) VALUE: mm HELP: Choose the units for the model BOOK: Matrix Solver TITLE: Type QUESTION: Solution_Method#CB#(Direct,Iterative) VALUE: Iterative DEPENDENCIES:(Direct,RESTORE,LU,#CURRENT#,HIDE,Algorithm,#CURRENT#,HIDE,Prec onditioner,#CURRENT#,HIDE,Precision,#CURRENT#,HIDE,Residual_error,#CURRENT#) (Iterative,HIDE,LU,#CURRENT#,RESTORE,Algorithm,#CURRENT#,RESTORE,Precision,# CURRENT#,RESTORE,Residual_error,#CURRENT#) QUESTION: LU#CB#(Decomposition) VALUE: Decomposition QUESTION: Algorithm#CB#(CGS,BiCG,BiCGSTAB) VALUE: CGS DEPENDENCIES:(CGS,RESTORE,Preconditioner,#CURRENT#)(BiCG,HIDE,Preconditioner ,#CURRENT#)(BiCGSTAB,HIDE,Preconditioner,#CURRENT#) HELP: Conjugate gradient squared (CGS) likely to be best choice. QUESTION: Preconditioner#CB#(Vanilla,Point_Jacobi,Tridiagonal) HELP: Tridiagonal fastest but uses most memory (reccomended) Vanilla slowest but requires least memory. VALUE: Tridiagonal QUESTION:Precision#CB#(Single,Double) HELP: Internal precision of iterative solver, fastest is Double but requires more memory for vector storage. Matrix is held as single precision VALUE: Double QUESTION:Residual_error VALUE: 1e-6 HELP: The smaller the value the more iterations required. END GENERAL DATA I select matrix solver as direct & fields hide OK I then accept data & close. But if I open up data-problem data-matrix solver again then a supposedly hidden field Preconditioner shows itself ? Is this a bug that can only be fixed by upgrading? Are comments allowed in a .prb file & if so how? Thanks in advance Mark --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (... [GiDlist] Searching the archives & .prb files
Send by: Enrique Escolano In the main page of GiD (http://www.gidhome.com) exists a input field to make a search. It's located at the lower right corner (attention: it is difficult to distinguish it of the background) Note: Some features cannot work for old GiD versions. Enrique Escolano ----- Original Message ----- From: "Mark Smith" <mark.smith at linx.co.uk> To: "Gidlist (E-mail)" <gidlist at gatxan.cimne.upc.es> Sent: Wednesday, July 30, 2003 11:59 AM Subject: [GiDlist] Searching the archives & .prb files >... [GiDlist] Searching the archives & .prb files
Send by: Ramon Ribó Hello, You can search the list archives in: http://gid.cimne.upc.es/pipermail/gidlist Regards, -- Compass Ing. y Sistemas Dr. Ramon Ribo http://www.compassis.com ramsan at compassis.com c/ Manuel Girona, 61 bajos tel. +34 93 204 10 82 08034 Barcelona, Spain fax. +34 93 204 19 09 -----Mensaje original----- De: gidlist-admin at gatxan.cimne.upc.es [mailto:gidlist-admin at gatxan.cimne.upc.es... [GiDlist] Searching the archives & .prb files
Send by: Mark Smith Yes I can do a manual search [look through each archive :-( ] but there is no automatic word search facility. Regards Mark -----Original Message----- From: Ramon Ribó [mailto:ramsan at compassis.com] Sent: 30 July 2003 14:55 To: gidlist at gatxan.cimne.upc.es Subject: RE: [GiDlist] Searching the archives & .prb files Hello, You can search the list archives in: http://gid.cimne.upc.es/pipermail/gidlist Regards, --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (... [GiDlist] Searching the archives & .prb files
Send by: Enrique Escolano This is the search field: And this is a sample output for tre "dependencies" word ----- Original Message ----- From: "Mark Smith" <mark.smith at linx.co.uk> To: <gidlist at gatxan.cimne.upc.es> Sent: Wednesday, July 30, 2003 4:19 PM Subject: RE: [GiDlist] Searching the archives & .prb files > Yes I can do a manual search [look through each archive :-( ] but there is > no automatic word search facility. > Regards > Mark > >... [GiDlist] Re: gid.exe error
Send by: Calogero Fontana Dear Miguel, I'm using GiD 7.2, demo version. In my notebook when i assign materials or conditions to the object and then i want that GiD draws them, pushing "draw" an error window appears and GiD is closed. This event happens also in my computer when i try to create **.jpeg format of the object with the assigned materials. Best regards, Calogero -------------- next part -------------- An HTML attachment was scrubbed... URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20030731/9688bf77/attachment.htm... [GiDlist] Re: gid.exe error
Send by: Enrique Escolano 1) If only crash drawing material in your notebook, it can be a graphic card problem. This is the content of a related Help->F.A.Q: I try to open GiD by the first time on MS Windows and it crashes Tipically, these type of problems are caused by the graphics acceleration card. A possibility to avoid the problem is the following: Try to start GiD safe mode (from the start menu) and activate use Software OpenGL If the problem persists, try to deactivate the graphic hardware acceleration (Screen properties->Advanced options). Also try a different colour resolutions (select 32 bits of colour for example) Search in the web page of your card if there are actualized drivers for your graphic card. 2) Update to the last GiD 7.4.3b version (only available now for Windows). ----- Original Message ----- From: Calogero Fontana To: ... [GiDlist] .sim file & conditions
Send by: Mark Smith Hi GiD team I am using material to apply what are effectively surface boundary conditions (no volumes are created) e.g. see part of .mat file below: NUMBER: 1 MATERIAL: 1 QUESTION: Value VALUE: 0.0 QUESTION: surface_condition:#CB#(Potential,Charge) VALUE: Potential END MATERIAL NUMBER: 1 MATERIAL: 2 QUESTION: Value VALUE: 0.0 QUESTION: surface_condition:#CB#(Potential,Charge) VALUE: Potential END MATERIAL etc.. now when I do Materials-draw-all materials my surfaces are shown coloured but I don't know which condition was applied. Is there any way of using the .sim file and a symbol geometry files to attach a different symbol to each material depending on if it is a Potential or Charge? Best regards Mark --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (... [GiDlist] .sim file & conditions
Send by: Enrique Escolano It's not possible to draw a symbol for a material. In your case, it seems best to use a condition instead a material And, it has sense to predefine two materials with the same fields and values? Enrique ----- Original Message ----- From: "Mark Smith" <mark.smith at linx.co.uk> To: "Gidlist (E-mail)" <gidlist at gatxan.cimne.upc.es> Sent: Thursday, July 31, 2003 6:18 PM Subject: [GiDlist] .sim file & conditions > Hi GiD team > I am using material to apply what are effectively surface boundary ... [GiDlist] Now available GiD7.4.3b-win
Send by: Enrique Escolano Hello
It's available a new GiD beta version 7.4.3b for Windows, with multiple corrected
small bugs and some new feature.
Can see a list of changes and corrections in the GiD Help:
What's new -> Last detailed changes from version 7.2 to 7.4b
For example:
a.. New GiD-tcl, info and bas template commands
b.. RecentFiles menu to access to the last models.
c.. 'Utilities->graphical->animation script' window which allows the user to define a sequence of scenes which will be animated
d.. 'Utilities->Report' window for creating reports: images, List Entities info, text, etc. can be inserted.
e.. Smooth Contour fill: shows a contour fill with smoothed gauss points results: min, max and mean value of the nodal extrapolated results
Etc.
Regards
The GiD Team
-------------- next part --------------
An HTML attachment was scrubbed...
URL: ...
[GiDlist] Now available GiD7.4.3b-win
Send by: Miguel A. de Riera Pasenau another added feature is this one: using the 'points' display style which draws spheres at the nodes, when a c.fill of a gauss point results is selected, it will draw coloured spheres at the gauss points. miguel Guy HUBERT wrote: > > Hello, > > I have 2 quastions about Post Procesing on Gauss Points > > 1 - For a result file with given gauss points, "contour fill" is displayed > with "big colored points" located at gauss point location, it is very > convenient for some applications. Is there any options to get this display > on all results at "gauss points" ... [GiDlist] How can I get the new version 7.4.3b?
Send by: Adisorn Owatsiriwong Dear Gid team,
How can I download the new version 7.4.3b for windows; I 've seen only v.7.2 is the lastest version on gid homepage.
Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20030801/e888a2c8/attachment.htm
[GiDlist] How can I get the new version 7.4.3b?
Send by: Miguel A. de Riera Pasenau look into the betas section, ftp://www.gidhome.com/pub/gid_adds/Windows miguel > Adisorn Owatsiriwong wrote: > > Dear Gid team, > > How can I download the new version 7.4.3b for windows; I 've seen only v.7.2 is the lastest version on gid homepage. > > Thank you -- -------------------------------------------------------------------------------- Miguel A. Pasenau de Riera miguel at cimne.upc.es http://gid.cimne.upc.es... [GiDlist] Several problem
Send by: kalo81 at virgilio.it Hi everyone, when i try to open, in a postprocessing contest, a file "myfile.msh" a info window appears in which is written: "too few parameters:in this line: 7- Reading mesh". What does it mean? What should i do? And also, i have always the same problem with gid.exe error; now in postprocessing too. It happens when i push every option in "view results". Best regards, Calogero [GiDlist] Several problem
Send by: Miguel A. de Riera Pasenau it means that there is an error the the file, and it can not be read. is the file is written in GiD postprocess format? look at http://www.gidhome.com/support/gid_16.subst#SEC237 can you post the file? Do the gid.exe error still appear when you change to 256 colors? Have you tried to select the 'GiD safe mode' menu entry, inside the window's Start menu->Programs->GiD...->GiD safe mode; and then have you choosen the 'Yes, i'm experiencing troubles with my card and want to use the software OpenGL? Have you tried upgrading your graphic card drivers? Which graphic card does your notebook have (Controlpanel->Display->Setting->Advanced options->adaptor) ? best regards miguel ... [GiDlist] Advantage
Send by: Calogero Fontana Dear GiD team, I'm using demo version, if i download GiD 7.4.3b, shall it give an advantage to me? And also, when i press "strem lines" a dialog window appeares in which is written: Waring: at the moment only works on thetrahedras" What does it mean? If a create a structural volume mesh (esahedral),Shall i able to use this option? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20030802/c2a41d18/attachment.htm |