[GiDlist] mesh help

Moderator: GiD Team

lu hu

[GiDlist] mesh help

Post by lu hu »

hi GID team,
I'm using GID to generate 3-D meshes right now. I want to mesh a
structured volume like a simple cube with hexahedra element. The problem
is, after meshing the calculated result projecname.dat shows the number of
grid elements was 0 which results in a failure in my subsequent
application. However, the grid number for default meshing with tetrahedral
element is not 0. Does anyone know what the problem is?
Regards.

Hu X.R.

P.S. I have tried two ways to generate the cube: by creating an prism
object with 4 edges or by creating a bottom plane with pre-created 4 points
and copy this plane to the top and form a cube.

--
Xuerang Hu
huxr99 at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20060328/51ef2778/attachment.htm
Sofia Costa

[GiDlist] Conditions symbols

Post by Sofia Costa »

I GiD team.

I have some questions to make.

1 - It's possible to have two symbols apllied to one node?
For example, the node 1 have a translation along x and i
attribute the symbol forca.geo.
And have also a rotation along z, where i attribute the
symbol moment1.geo.
I need that this two symbols are represented.
How can i do it?

2 - When i don't include a condition, for example load, in
*.sim and i do Draw - load, the assigned nodes/elements
are assigned by this name, load.
It's possible to appears instead of load the value
introduce in one entry in the moment that i make the
assign?

3 - When we do Draw - Colors, in the legend appears the
colors and the corresponding values of the conditions.
It's possible to appears only one of the values of the
several conditions?

Could you give some help?

Best regards.
Khaled Obeidat

[GiDlist] create geometry mdoel thorugh batch file

Post by Khaled Obeidat »

Hello,



I am trying to use batch file to write my structure which consists of
points joined with lines into Gid compatible format. The problem is that
most of the points are duplicated and GID is not connecting between
these duplicated points.



To illustrate more, my structure in its current format looks like this:



0 0 0, 0 1 0 % line#1

0 1 0 , 1 1 0 % line#2

1 1 0 , 1 0 0 % line#3

1 0 0 , 0 0 0 % line#4



And I am writeing the bcah file as follow ( please notice that the
structures are not always easy as the above example and duplicate points
are not easy to find )

escape escape escape escape geometry create point

0 0 0

0 1 0

escape

escape escape escape escape geometry create line join

1 2


escape escape escape escape geometry create point

0 1 0

1 1 0

escape

escape escape escape escape geometry create line join

1 2


escape escape escape escape geometry create point

1 1 0

1 0 0
escape

escape escape escape escape geometry create line join

1 2


escape escape escape escape geometry create point

1 0 0

0 0 0
escape

escape escape escape escape geometry create line join

1 2


I did some thing similar previously by wrting to ASCII project but at
that time there was no help file for ASCII in English.



Thank you

Khaled Obeidat
PhD Student
Electroscience Lab
The Ohio State University
1320 Kinnear Road
Columbus, Ohio 43212
(614) 292.7981 x. 49284
obeidatk at ece.osu.edu
User avatar
escolano
Posts: 1961
Joined: Sun Sep 05, 1982 10:51 pm

[GiDlist] mesh help

Post by escolano »

Are you sure?. The grid number never must begin by 0 !!
If you list the node from GiD, it show a number 0?

How do you write the mesh for the analysis? (maybe is a bug of the *.bas template)

Which version of GiD do you use (see help about)?
(if you are using an old version is recommended to update to the last available beta version 7.7.7b or to the 8.0c release candidate)

If the problem persists, send us a small sample, including the problemtype used for your application.

Regards
Enrique Escolano

----- Original Message -----
From: lu hu
To: gidlist at gatxan.cimne.upc.es
Sent: Tuesday, March 28, 2006 4:10 PM
Subject: [GiDlist] mesh help


hi GID team,
I'm using GID to generate 3-D meshes right now. I want to mesh a structured volume like a simple cube with hexahedra element. The problem is, after meshing the calculated result projecname.dat shows the number of grid elements was 0 which results in a failure in my subsequent application. However, the grid number for default meshing with tetrahedral element is not 0. Does anyone know what the problem is?
Regards.

Hu X.R.

P.S. I have tried two ways to generate the cube: by creating an prism object with 4 edges or by creating a bottom plane with pre-created 4 points and copy this plane to the top and form a cube.

--
Xuerang Hu
huxr99 at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20060328/3b1d6633/attachment.htm
lqca tj

[GiDlist] Cross-sectional boundary in two surfaces

Post by lqca tj »

Hi, Gid guys:
I’m using GID8.0.
I import a GID surface mesh model into GID.
The geometry model looks like a flat irregular hollow cylinder.

What I need is the cross-sectional area at one specific distance from the
end of the model.
Then I think if I have the cross-sectional boundary coordinates, then I will
get the area.

I tried to create a surface and use “surface Boolean op”. but it only
support 2D surface Boolean operation.
Is there a way that I can get the cross-sectional boundary?
Is there anyone has an idea? I really appreciate your kind help.
Thanks a lot,

Best,
John

_________________________________________________________________
Take charge with a pop-up guard built on patented Microsoft® SmartScreen
Technology.
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines
Start enjoying all the benefits of MSN® Premium right now and get the
first two months FREE*.
User avatar
escolano
Posts: 1961
Joined: Sun Sep 05, 1982 10:51 pm

[GiDlist] Conditions symbols

Post by escolano »

About your questions:

1 - It's possible to have two symbols apllied to one node?
For example, the node 1 have a translation along x and i
attribute the symbol forca.geo.
And have also a rotation along z, where i attribute the
symbol moment1.geo.
I need that this two symbols are represented.
How can i do it?

you can show different symbols for a condition depending or the value of some field,
This is an example (extracted of the RamSeries problemtype)

cond Point_Constraints
4
global
strcmp(cond(2),"ON")==0 && strcmp(cond(3),"ON")==0 && strcmp(cond(4),"ON")!=0 && strcmp(cond(5),"ON")!=0 && strcmp(cond(6),"ON")!=0 && strcmp(cond(7),"ON")!=0
1
0
0
symbols/apoio.geo
global
(strcmp(cond(2),"ON")==0 || strcmp(cond(3),"ON")==0) && strcmp(cond(4),"ON")!=0 && strcmp(cond(5),"ON")!=0 && strcmp(cond(6),"ON")!=0 && strcmp(cond(7),"ON")!=0
strcmp(cond(2),"ON")==0
(strcmp(cond(1),"ON")==0)*(-1)
0
symbols/apoio-rodillo.geo
global
strcmp(cond(5),"ON")!=0 && strcmp(cond(6),"ON")!=0 && strcmp(cond(7),"ON")!=0
1
0
0
symbols/empotrament.geo
global
1
1
0
0
symbols/apoio3d.geo

You can see that depending of a conditional sentence (based on some field values) can select the icon
If the sentence (in red) is true (not 0) then the next symbol will be used

You can use some standard symbols included in /symbols, or create your own problemtype symbols
(they are small .geo GiD models saved as ASCII project)

Read GiD help-Customization about the .sim file format

2 - When i don't include a condition, for example load, in
*.sim and i do Draw - load, the assigned nodes/elements
are assigned by this name, load.
It's possible to appears instead of load the value
introduce in one entry in the moment that i make the
assign?
User avatar
escolano
Posts: 1961
Joined: Sun Sep 05, 1982 10:51 pm

[GiDlist] create geometry mdoel thorugh batch file

Post by escolano »

You can create all points by coordinates, duplicating all, and at the end
collapse the model with a tolerance smaller
that the minimum distance between points that you don't want to join.
To avoid the question window about join two coincident points, can
previously set the variable CreateAlwaysNewPoint to 1
utilities variables CreateAlwaysNewPoint 1

About the geo GiD ASCII format, you can see a small documentat (English or
Spanish) at
this course documentation (chapter 12):
http://www.gidhome.com/2004/material_courses

Regards

Enrique Escolano

----- Original Message -----
From: "Khaled Obeidat" obeidatk at ece.osu.edu
To: gidlist at gatxan.cimne.upc.es
Sent: Tuesday, March 28, 2006 6:31 PM
Subject: [GiDlist] create geometry mdoel thorugh batch file


Hello,



I am trying to use batch file to write my structure which consists of
points joined with lines into Gid compatible format. The problem is that
most of the points are duplicated and GID is not connecting between
these duplicated points.



To illustrate more, my structure in its current format looks like this:



0 0 0, 0 1 0 % line#1

0 1 0 , 1 1 0 % line#2

1 1 0 , 1 0 0 % line#3

1 0 0 , 0 0 0 % line#4



And I am writeing the bcah file as follow ( please notice that the
structures are not always easy as the above example and duplicate points
are not easy to find )

escape escape escape escape geometry create point

0 0 0

0 1 0

escape

escape escape escape escape geometry create line join

1 2


escape escape escape escape geometry create point

0 1 0

1 1 0

escape

escape escape escape escape geometry create line join

1 2


escape escape escape escape geometry create point

1 1 0

1 0 0
escape

escape escape escape escape geometry create line join

1 2


escape escape escape escape geometry create point

1 0 0

0 0 0
escape

escape escape escape escape geometry create line join

1 2


I did some thing similar previously by wrting to ASCII project but at
that time there was no help file for ASCII in English.



Thank you

Khaled Obeidat
PhD Student
Electroscience Lab
The Ohio State University
1320 Kinnear Road
Columbus, Ohio 43212
(614) 292.7981 x. 49284
obeidatk at ece.osu.edu



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

User avatar
escolano
Posts: 1961
Joined: Sun Sep 05, 1982 10:51 pm

[GiDlist] Cross-sectional boundary in two surfaces

Post by escolano »

You need to create the intersection between a cutting surface and your
"cylinder"
Geometry-Edit-Intersection-Surface-Surface (or multiple surface),
but this operation is not available for "surf-meshes"

You can try some trick:
1- Import the original mesh (an STL or a GiD mesh) as mesh, not as surfmesh
mesh.
2- Export this mesh with the template DXFSAP2000, to save each triangle as a
surface
3- Import this auxiliry DXF file to have a geometrical surface by triangle.
4- Use intersection Multiple surfaces to have the required cut.

Enrique
----- Original Message -----
From: "lqca tj" lqca_2004 at hotmail.com
To: gidlist at gatxan.cimne.upc.edu
Sent: Tuesday, March 28, 2006 9:21 PM
Subject: [GiDlist] Cross-sectional boundary in two surfaces


Hi, Gid guys:
I'm using GID8.0.
I import a GID surface mesh model into GID.
The geometry model looks like a flat irregular hollow cylinder.

What I need is the cross-sectional area at one specific distance from the
end of the model.
Then I think if I have the cross-sectional boundary coordinates, then I
will
get the area.

I tried to create a surface and use "surface Boolean op". but it only
support 2D surface Boolean operation.
Is there a way that I can get the cross-sectional boundary?
Is there anyone has an idea? I really appreciate your kind help.
Thanks a lot,

Best,
John

_________________________________________________________________
Take charge with a pop-up guard built on patented Microsoft® SmartScreen
Technology.

http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines
Start enjoying all the benefits of MSN® Premium right now and get the
first two months FREE*.

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

Sofia Costa

[GiDlist] Conditions symbols

Post by Sofia Costa »

Thanks Enrique

I'm elucidated in relation to points 2 and 3.

For the point 1 i will give you my case:

cond Boundary_Conditions
3
global
(cond(int,1)!=0 || cond(int,2)!=0 || cond(int,3)!=0) && (cond(int,4)==0 && cond(int,5)==0 && cond(int,6)==0)
cond(int,1)
cond(int,2)
cond(int,3)
simbols\forca.geo
global
(cond(int,4)!=0 || cond(int,5)!=0 || cond(int,6)!=0) && (cond(int,1)==0 && cond(int,2)==0 && cond(int,3)==0)
cond(int,4)
cond(int,5)
cond(int,6)
simbols\moment1.geo
global
cond(int,1)!=0 || cond(int,2)!=0 || cond(int,3)!=0 || cond(int,4)!=0 || cond(int,5)!=0 || cond(int,6)!=0
1
0
0
simbols\disc.geo

I want that in the case of sentence in green instead of drawing the simbol dic.geo, it draws the two previous simbols.

Something like this:


cond Boundary_Conditions
2
global
cond(int,1)!=0 || cond(int,2)!=0 || cond(int,3)!=0
cond(int,1)
cond(int,2)
cond(int,3)
simbols\forca.geo
global
cond(int,4)!=0 || cond(int,5)!=0 || cond(int,6)!=0
cond(int,4)
cond(int,5)
cond(int,6)
simbols\moment1.geo

If for example cond(int,1) and cond(int,5) are both true (diferent of zero), then it must draws the both simbols: forca.geo and moment.geo.
This will be possible?

Regards.

Sofia


----- Original Message -----
From: Enrique Escolano
To: gidlist at gatxan.cimne.upc.edu
Sent: Tuesday, March 28, 2006 8:37 PM
Subject: Re: [GiDlist] Conditions symbols


About your questions:

1 - It's possible to have two symbols apllied to one node?
For example, the node 1 have a translation along x and i
attribute the symbol forca.geo.
And have also a rotation along z, where i attribute the
symbol moment1.geo.
I need that this two symbols are represented.
How can i do it?

you can show different symbols for a condition depending or the value of some field,
This is an example (extracted of the RamSeries problemtype)

cond Point_Constraints
4
global
strcmp(cond(2),"ON")==0 && strcmp(cond(3),"ON")==0 && strcmp(cond(4),"ON")!=0 && strcmp(cond(5),"ON")!=0 && strcmp(cond(6),"ON")!=0 && strcmp(cond(7),"ON")!=0
1
0
0
symbols/apoio.geo
global
(strcmp(cond(2),"ON")==0 || strcmp(cond(3),"ON")==0) && strcmp(cond(4),"ON")!=0 && strcmp(cond(5),"ON")!=0 && strcmp(cond(6),"ON")!=0 && strcmp(cond(7),"ON")!=0
strcmp(cond(2),"ON")==0
(strcmp(cond(1),"ON")==0)*(-1)
0
symbols/apoio-rodillo.geo
global
strcmp(cond(5),"ON")!=0 && strcmp(cond(6),"ON")!=0 && strcmp(cond(7),"ON")!=0
1
0
0
symbols/empotrament.geo
global
1
1
0
0
symbols/apoio3d.geo

You can see that depending of a conditional sentence (based on some field values) can select the icon
If the sentence (in red) is true (not 0) then the next symbol will be used

You can use some standard symbols included in /symbols, or create your own problemtype symbols
(they are small .geo GiD models saved as ASCII project)

Read GiD help-Customization about the .sim file format

2 - When i don't include a condition, for example load, in
*.sim and i do Draw - load, the assigned nodes/elements
are assigned by this name, load.
It's possible to appears instead of load the value
introduce in one entry in the moment that i make the
assign?

From the condition window you can also draw Field's value (this is exactly what you want I think)

3 - When we do Draw - Colors, in the legend appears the
colors and the corresponding values of the conditions.
It's possible to appears only one of the values of the
several conditions?

This seems "Draw Field's color", is not?

Regards

Enrique Escolano

----- Original Message -----
From: "Sofia Costa" ascosta at mec.ua.pt
To: gidlist at gatxan.cimne.upc.es
Sent: Tuesday, March 28, 2006 6:01 PM
Subject: [GiDlist] Conditions symbols


I GiD team.

I have some questions to make.

1 - It's possible to have two symbols apllied to one node?
For example, the node 1 have a translation along x and i
attribute the symbol forca.geo.
And have also a rotation along z, where i attribute the
symbol moment1.geo.
I need that this two symbols are represented.
How can i do it?

2 - When i don't include a condition, for example load, in
*.sim and i do Draw - load, the assigned nodes/elements
are assigned by this name, load.
It's possible to appears instead of load the value
introduce in one entry in the moment that i make the
assign?

3 - When we do Draw - Colors, in the legend appears the
colors and the corresponding values of the conditions.
It's possible to appears only one of the values of the
several conditions?

Could you give some help?

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20060329/11df794b/attachment.htm
User avatar
escolano
Posts: 1961
Joined: Sun Sep 05, 1982 10:51 pm

[GiDlist] Conditions symbols

Post by escolano »

You can't associate two simbols, but you can create a new .geo symbol for this case (combining both in a single file 'forcemoment.geo')

It's easy to create a new .geo symbol, you only need to create a model with GiD, save it as ASCII project and get the .geo file.

Note: Your own symbol must be located inside your own problemtype, not inside the standard /symbols GiD directory.

problemtypes\yourproblemtype\symbols\forcemoment.geo
----- Original Message -----
From: Sofia Costa
To: gidlist at gatxan.cimne.upc.es
Sent: Wednesday, March 29, 2006 11:44 AM
Subject: Re: [GiDlist] Conditions symbols


Thanks Enrique

I'm elucidated in relation to points 2 and 3.

For the point 1 i will give you my case:

cond Boundary_Conditions
3
global
(cond(int,1)!=0 || cond(int,2)!=0 || cond(int,3)!=0) && (cond(int,4)==0 && cond(int,5)==0 && cond(int,6)==0)
cond(int,1)
cond(int,2)
cond(int,3)
simbols\forca.geo
global
(cond(int,4)!=0 || cond(int,5)!=0 || cond(int,6)!=0) && (cond(int,1)==0 && cond(int,2)==0 && cond(int,3)==0)
cond(int,4)
cond(int,5)
cond(int,6)
simbols\moment1.geo
global
cond(int,1)!=0 || cond(int,2)!=0 || cond(int,3)!=0 || cond(int,4)!=0 || cond(int,5)!=0 || cond(int,6)!=0
1
0
0
simbols\disc.geo

I want that in the case of sentence in green instead of drawing the simbol dic.geo, it draws the two previous simbols.

Something like this:


cond Boundary_Conditions
2
global
cond(int,1)!=0 || cond(int,2)!=0 || cond(int,3)!=0
cond(int,1)
cond(int,2)
cond(int,3)
simbols\forca.geo
global
cond(int,4)!=0 || cond(int,5)!=0 || cond(int,6)!=0
cond(int,4)
cond(int,5)
cond(int,6)
simbols\moment1.geo

If for example cond(int,1) and cond(int,5) are both true (diferent of zero), then it must draws the both simbols: forca.geo and moment.geo.
This will be possible?

Regards.

Sofia


----- Original Message -----
From: Enrique Escolano
To: gidlist at gatxan.cimne.upc.edu
Sent: Tuesday, March 28, 2006 8:37 PM
Subject: Re: [GiDlist] Conditions symbols


About your questions:

1 - It's possible to have two symbols apllied to one node?
For example, the node 1 have a translation along x and i
attribute the symbol forca.geo.
And have also a rotation along z, where i attribute the
symbol moment1.geo.
I need that this two symbols are represented.
How can i do it?

you can show different symbols for a condition depending or the value of some field,
This is an example (extracted of the RamSeries problemtype)

cond Point_Constraints
4
global
strcmp(cond(2),"ON")==0 && strcmp(cond(3),"ON")==0 && strcmp(cond(4),"ON")!=0 && strcmp(cond(5),"ON")!=0 && strcmp(cond(6),"ON")!=0 && strcmp(cond(7),"ON")!=0
1
0
0
symbols/apoio.geo
global
(strcmp(cond(2),"ON")==0 || strcmp(cond(3),"ON")==0) && strcmp(cond(4),"ON")!=0 && strcmp(cond(5),"ON")!=0 && strcmp(cond(6),"ON")!=0 && strcmp(cond(7),"ON")!=0
strcmp(cond(2),"ON")==0
(strcmp(cond(1),"ON")==0)*(-1)
0
symbols/apoio-rodillo.geo
global
strcmp(cond(5),"ON")!=0 && strcmp(cond(6),"ON")!=0 && strcmp(cond(7),"ON")!=0
1
0
0
symbols/empotrament.geo
global
1
1
0
0
symbols/apoio3d.geo

You can see that depending of a conditional sentence (based on some field values) can select the icon
If the sentence (in red) is true (not 0) then the next symbol will be used

You can use some standard symbols included in /symbols, or create your own problemtype symbols
(they are small .geo GiD models saved as ASCII project)

Read GiD help-Customization about the .sim file format

2 - When i don't include a condition, for example load, in
*.sim and i do Draw - load, the assigned nodes/elements
are assigned by this name, load.
It's possible to appears instead of load the value
introduce in one entry in the moment that i make the
assign?

From the condition window you can also draw Field's value (this is exactly what you want I think)

3 - When we do Draw - Colors, in the legend appears the
colors and the corresponding values of the conditions.
It's possible to appears only one of the values of the
several conditions?

This seems "Draw Field's color", is not?

Regards

Enrique Escolano

----- Original Message -----
From: "Sofia Costa" ascosta at mec.ua.pt
To: gidlist at gatxan.cimne.upc.es
Sent: Tuesday, March 28, 2006 6:01 PM
Subject: [GiDlist] Conditions symbols


I GiD team.

I have some questions to make.

1 - It's possible to have two symbols apllied to one node?
For example, the node 1 have a translation along x and i
attribute the symbol forca.geo.
And have also a rotation along z, where i attribute the
symbol moment1.geo.
I need that this two symbols are represented.
How can i do it?

2 - When i don't include a condition, for example load, in
*.sim and i do Draw - load, the assigned nodes/elements
are assigned by this name, load.
It's possible to appears instead of load the value
introduce in one entry in the moment that i make the
assign?

3 - When we do Draw - Colors, in the legend appears the
colors and the corresponding values of the conditions.
It's possible to appears only one of the values of the
several conditions?

Could you give some help?

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20060329/7472ab20/attachment.htm
Post Reply