[GiDlist] Open Units from a Toolbad and .mat file with BOOK:

Moderator: GiD Team

Andrea Calaon

[GiDlist] Open Units from a Toolbad and .mat file with BOOK:

Postby Andrea Calaon » Fri Nov 12, 2004 11:33 am

Hello everyone,
I was wandering if there is a Tcl command which could be used to open the Units dialog
form a toolbar, an analogous of
[list -np- GidOpenConditions "..."] ?

I haven't found anything in the GiD scripts.

A second question:
Is there in any problem type a WIDGET which could be used to restrain the Material
assignment to one kind of geometrical entities only (Volumes, Surfaces, Lines, Points)
which works with a .mat file using BOOKs?

Thanks for any suggestions
Have 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
Homepage: http://mailserver1.wessex.ac.uk/~acalaon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20041112/d36cdc57/attachment.htm
ronda

[GiDlist] Open Units from a Toolbad and .mat file with BOOK:

Postby ronda » Fri Nov 12, 2004 2:08 pm

Hi

On Friday 12 November 2004 11:07, Andrea Calaon wrote:
Hello everyone,
I was wandering if there is a Tcl command which could be used to open the
Units dialog form a toolbar, an analogous of
[list -np- GidOpenConditions "..."] ?

I haven't found anything in the GiD scripts.


You can use this proc:

DWDataUnits


A second question:
Is there in any problem type a WIDGET which could be used to restrain the
Material assignment to one kind of geometrical entities only (Volumes,
Surfaces, Lines, Points) which works with a .mat file using BOOKs?


yes, you can use proc GiD_DataBehaviour, here I paste the internal doc of the
command:

#-----------------------------------------------------------------------------
# GiD_DataBehaviour --
#
# This command controls properties of data windows for materials and
# conditions (not currently implemented). For materials we can modify
# the behaviour of assign, draw, unassign, impexp, new, modify and delete.
# We can also specify the entity type list in assign option throught the
# cmds geomlist and meshlist.
#
# Syntax:
#
# GiD_DataBehaviour data_class name ?cmd? proplist
#
# data_class could be: "material" if we want to modify the behaviour of a
# particular material if whole book must be modified the data_class should
# take the value "materials". Depending on the value of data_class name
# takes the value of a material's name or a book's name. Argument cmd can
# take one of the values: show, hide, disable, geomlist and meshlist.
# Argument proplist is a list of options or entity type. When cmd is show,
# hide or disable then proplist could a subset of {assign draw unassign
# impexp new modify delete}. The command show make the option visible,
# if the value is hide then the option is not visible and when the value
is
# disable then the option is visible but unavailable. When cmd if geomlist
# then then property list can take a subset of {points lines surfaces
volumes}
# and define the entities that can get the material assigned when in
geometry
# mode, if the value of cmd is meshlist the proplist can take the value
# elements (only elements can gets a material assigned in mesh mode).
#
# Examples:
#
# GiD_DataBehaviour materials Table geomlist {surfaces volumes}
# GiD_DataBehaviour materials Solid hide {delete impexp}
#
# Note: GiD_DataBehaviour is only implemented for material and books of
materials.
#-----------------------------------------------------------------------------


hope it helps, regards
Thanks for any suggestions
Have 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
Homepage: http://mailserver1.wessex.ac.uk/~acalaon
Andrea Calaon

[GiDlist] Open Units from a Toolbad and .mat file with BOOK:

Postby Andrea Calaon » Fri Nov 12, 2004 3:11 pm

Thanks for the precious help!!
Regards

On 12 Nov 2004 at 12:57, ronda wrote:


DWDataUnits


yes, you can use proc GiD_DataBehaviour, here I paste the internal doc of the
command:



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
qi qlfm

[GiDlist] assign condition

Postby qi qlfm » Fri Nov 12, 2004 10:20 pm

I found it's very frustrating.
Maybe because I didn't wrong operation.

I have a hollow cylinder, I just want assign all outer surface of cyliner
fixed.
I use condition command from menu, there's an option, I select "assgin"
I find I cann't select the outer surface of the hollow cyliner.
Either I select the whole cylinder or I only select some of it.
I cann't specify the outer surface.

Could you give me some suggestions?
I really appreciate it.

regards,
Mark

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.com/
Enrique Escolano

[GiDlist] assign condition

Postby Enrique Escolano » Fri Nov 12, 2004 11:18 pm

Can you in general to select surfaces? (inside a selection in normal render,
must click the pink lines)

How is defined the condition to be applied: It's a condition "over
surfaces"?
Are your working with your own problemtype, or a standard one?

You must assign the condition over the surfaces, and then generate the mesh.
Do not apply directly over the mesh entities if it's possible.

Enrique Escolano

----- Original Message -----
From: "qi qlfm" qlfm at hotmail.com
To: gidlist at gatxan.cimne.upc.es
Sent: Friday, November 12, 2004 10:01 PM
Subject: [GiDlist] assign condition


I found it's very frustrating.
Maybe because I didn't wrong operation.

I have a hollow cylinder, I just want assign all outer surface of cyliner
fixed.
I use condition command from menu, there's an option, I select "assgin"
I find I cann't select the outer surface of the hollow cyliner.
Either I select the whole cylinder or I only select some of it.
I cann't specify the outer surface.

Could you give me some suggestions?
I really appreciate it.

regards,
Mark

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.com/

_______________________________________________
GiDlist mailing list
GiDlist at gid.cimne.upc.es
http://gid.cimne.upc.es/mailman/listinfo/gidlist

Mark qlfm

[GiDlist] About .lin file

Postby Mark qlfm » Sat Nov 13, 2004 11:04 pm

Hi,Enrique:
Thank for your kind help.
Hope this time I don't bother you much *_^.


I export my cylinder gid file to a ASCII file.
I found a " .lin" file, which includes condition and load information.
I check the mailing list, it seems you suggest we write a template file
instead of ".lin".
However, in my case, I prefer the ".lin".
I think template file is a little complicated.

In my case, I just want to know which elements are fixd, and which elements
are applied a pressure.
And I read "*.lin" file, I think it includes the information I am interested
in.
But some parts of it I cann't figure them out.


below is the beginning of this .lin file

"
1
0
1
0
0
2
0
0
3
4 6 1 1 1 1 1 1
0
3 -1 6 1 1 1 1 1 1
120 -1 6 1 1 1 1 1 1
.....
"

what does the beginning number meaning?
I think the " 1 1 1 1 1 1" represent the 6 freedom, that I fixed.
but what meaning of the very beginning number?

what the meaning of the number just before the " 1 1 1 1 1 1"?
Are they the element number?

and in the middle of this .lin file, there's a part as following
"

4
0
0
5
0
0
6
3 1 258.0
0
40 1 1 258.0
12 4 1 258.0
78 3 1 258.0
43 1 1 258.0
11 4 1 258.0
77 3 1 258.0
38 1 1 258.0
26 1 1 258.0
2 4 1 258.0
41 1 1 258.0
"

the number 258 is the prssure I applied on the one of the surfaces of the
cyliner.
but what the meaning of number before the pressure?

I really appreciate your kind help.
And Thanks a lot,
Mark

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.com/
Ramon Ribó

[GiDlist] About .lin file

Postby Ramon Ribó » Mon Nov 15, 2004 1:03 pm

Mark,

My advice is not to use the .lin file, as it is not
documented and can change over time.

Get one of the demo problemtypes or one of the Internet
Retrieve modules, and you will see that it is fairly easy
to modify it to suit to your needs.

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] En nombre de Mark qlfm
Enviado el: sábado, 13 de noviembre de 2004 22:21
Para: gidlist at gatxan.cimne.upc.es
Asunto: [GiDlist] About .lin file


Hi,Enrique:
Thank for your kind help.
Hope this time I don't bother you much *_^.


I export my cylinder gid file to a ASCII file.
I found a " .lin" file, which includes condition and load information. I
check the mailing list, it seems you suggest we write a template file
instead of ".lin".
However, in my case, I prefer the ".lin".
I think template file is a little complicated.

In my case, I just want to know which elements are fixd, and which
elements
are applied a pressure.
And I read "*.lin" file, I think it includes the information I am
interested
in.
But some parts of it I cann't figure them out.


below is the beginning of this .lin file

"
1
0
1
0
0
2
0
0
3
4 6 1 1 1 1 1 1
0
3 -1 6 1 1 1 1 1 1
120 -1 6 1 1 1 1 1 1
.....
"

what does the beginning number meaning?
I think the " 1 1 1 1 1 1" represent the 6 freedom, that I fixed. but
what meaning of the very beginning number?

what the meaning of the number just before the " 1 1 1 1 1 1"? Are they
the element number?

and in the middle of this .lin file, there's a part as following "

4
0
0
5
0
0
6
3 1 258.0
0
40 1 1 258.0
12 4 1 258.0
78 3 1 258.0
43 1 1 258.0
11 4 1 258.0
77 3 1 258.0
38 1 1 258.0
26 1 1 258.0
2 4 1 258.0
41 1 1 258.0
"

the number 258 is the prssure I applied on the one of the surfaces of
the
cyliner.
but what the meaning of number before the pressure?

I really appreciate your kind help.
And Thanks a lot,
Mark

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!

http://messenger.msn.com/

_______________________________________________
GiDlist mailing list
GiDlist at gid.cimne.upc.es
http://gid.cimne.upc.es/mailman/listinfo/gidlist

Return to “2004 - 2003”

Who is online

Users browsing this forum: No registered users and 2 guests