[GiDlist] Wave based method

Moderator: GiD Team

Post Reply
Bert Pluymers

[GiDlist] Wave based method

Post by Bert Pluymers »

Hello,

I'm doing research on a new deterministic prediction technique, based
on wave based modelling. For this I'm looking for a user friendly pre-
and postprocessor. After having a quick look at GiD, I think it just
might be what I'm looking for, if the following things are possible.

Since for the wave based method, I only need a very rough discretization
of my problem in covex, homogenous subdomains, I only have a few large
elements. Up till here, no problem, but my domains can have other shapes
than three noded and four noded elemens (2D). For instance I can have six
or
seven noded elements (2D) or more exotic elements in 3D (with for instance
15 nodes). So my question: Is is possible to add my own elements to GiD ??

An alternative I thought of, is to use geometric entities as elements.
So assigning boundary conditions, loads and material props only to points,
lines, surfaces and volumes. Is this possible and is it then possible
to export this information with a *bas file to a *dat file, like is done
with element and node information ?

Thanks in advance,
Bert

______________________________________________

ir. Bert Pluymers
K.U.Leuven, Dept. Mechanical Engineering
Division PMA, Noise & Vibration Research Group

Celestijnenlaan 300B, B-3001 Heverlee, BELGIUM
Tel. +32 16 322672 Fax +32 16 322987
Email: Bert.Pluymers at mech.kuleuven.ac.be

http://www.mech.kuleuven.ac.be/pma/research/mod
http://www.isma-isaac.be
______________________________________________
Enrique Escolano

[GiDlist] Wave based method

Post by Enrique Escolano »

It exists also in GiD the quadratic elements:
6-noded triangle
8 or 9 noded-quadrilaterals
10-noded tetrahedra
20 or 27 noded hexahedra.

It is not available to externally define new element types.

If you simulate this "special user elements" with geometric entities, is is
possible to
export the geometric or associated data in the bas file using tcl languaje
(see *tcl order use in the bas file)
It is also possible to write this data as an ASCII file (with Export-Text
data report or Export Ascii project)
and read this file with as auxiliar program (or tcl code) to create your
input data file.

Regards
Enrique Escolano

----- Original Message -----
From: "Bert Pluymers" Bert.Pluymers at mech.kuleuven.ac.be
To: gidlist at gatxan.cimne.upc.es
Sent: Monday, December 02, 2002 12:37 PM
Subject: [GiDlist] Wave based method


Hello,

I'm doing research on a new deterministic prediction technique, based
on wave based modelling. For this I'm looking for a user friendly pre-
and postprocessor. After having a quick look at GiD, I think it just
might be what I'm looking for, if the following things are possible.

Since for the wave based method, I only need a very rough discretization
of my problem in covex, homogenous subdomains, I only have a few large
elements. Up till here, no problem, but my domains can have other shapes
than three noded and four noded elemens (2D). For instance I can have six
or
seven noded elements (2D) or more exotic elements in 3D (with for instance
15 nodes). So my question: Is is possible to add my own elements to GiD
??

An alternative I thought of, is to use geometric entities as elements.
So assigning boundary conditions, loads and material props only to points,
lines, surfaces and volumes. Is this possible and is it then possible
to export this information with a *bas file to a *dat file, like is done
with element and node information ?

Thanks in advance,
Bert

______________________________________________

ir. Bert Pluymers
K.U.Leuven, Dept. Mechanical Engineering
Division PMA, Noise & Vibration Research Group

Celestijnenlaan 300B, B-3001 Heverlee, BELGIUM
Tel. +32 16 322672 Fax +32 16 322987
Email: Bert.Pluymers at mech.kuleuven.ac.be

http://www.mech.kuleuven.ac.be/pma/research/mod
http://www.isma-isaac.be
______________________________________________


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

LEWIS, RANDEL E

[GiDlist] Wave based method

Post by LEWIS, RANDEL E »

When you say it is possible to export the geometric data in the *.bas file using tcl language, are you referring to the use of ".central.s info list_entities"? Are there labels for geometric entities, similar to those for elements such as *NodesNum, and can they be sequentially written in the *bas file using loops?

Randy

-----Original Message-----
From: Enrique Escolano [SMTP:escolano at cimne.upc.es]
Sent: Monday, December 02, 2002 6:36 AM
To: gidlist at gatxan.cimne.upc.es
Subject: Re: [GiDlist] Wave based method

It exists also in GiD the quadratic elements:
6-noded triangle
8 or 9 noded-quadrilaterals
10-noded tetrahedra
20 or 27 noded hexahedra.

It is not available to externally define new element types.

If you simulate this "special user elements" with geometric entities, is is
possible to
export the geometric or associated data in the bas file using tcl languaje
(see *tcl order use in the bas file)
It is also possible to write this data as an ASCII file (with Export-Text
data report or Export Ascii project)
and read this file with as auxiliar program (or tcl code) to create your
input data file.

Regards
Enrique Escolano

----- Original Message -----
From: "Bert Pluymers" Bert.Pluymers at mech.kuleuven.ac.be
To: gidlist at gatxan.cimne.upc.es
Sent: Monday, December 02, 2002 12:37 PM
Subject: [GiDlist] Wave based method


Hello,

I'm doing research on a new deterministic prediction technique, based
on wave based modelling. For this I'm looking for a user friendly pre-
and postprocessor. After having a quick look at GiD, I think it just
might be what I'm looking for, if the following things are possible.

Since for the wave based method, I only need a very rough discretization
of my problem in covex, homogenous subdomains, I only have a few large
elements. Up till here, no problem, but my domains can have other shapes
than three noded and four noded elemens (2D). For instance I can have six
or
seven noded elements (2D) or more exotic elements in 3D (with for instance
15 nodes). So my question: Is is possible to add my own elements to GiD
??

An alternative I thought of, is to use geometric entities as elements.
So assigning boundary conditions, loads and material props only to points,
lines, surfaces and volumes. Is this possible and is it then possible
to export this information with a *bas file to a *dat file, like is done
with element and node information ?

Thanks in advance,
Bert

______________________________________________

ir. Bert Pluymers
K.U.Leuven, Dept. Mechanical Engineering
Division PMA, Noise & Vibration Research Group

Celestijnenlaan 300B, B-3001 Heverlee, BELGIUM
Tel. +32 16 322672 Fax +32 16 322987
Email: Bert.Pluymers at mech.kuleuven.ac.be

http://www.mech.kuleuven.ac.be/pma/research/mod
http://www.isma-isaac.be
______________________________________________


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


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

[GiDlist] Wave based method

Post by Enrique Escolano »

Yes, to export geometric data is needed to use ".central.s info" orders,
It not exists a direct access from the bas file to the geometric entities, loops over lines, etc.

Tcl is a language more complicated as the simple GiD "bas" format, but it is more powerful.

This is a tcl example (untested) to print the model points list from a 'problemtype'.tcl file:

proc NumPoints { } {
#gets information from GiD with .central.s info
set a [.central.s info list_entities Status]
#filter this info to obtain only the number of points
regexp -nocase {number of points: ([0-9]+)} $a none num
return $num
}

proc PointCoords { num } {
#gets information from GiD with .central.s info
set a [.central.s info list_entities Points $num]
#filter this info to obtain only the coordinates
set number {([0-9.+eE-]+)}
if { [ regexp -nocase "Coord: $number $number $number" $a none x y z] } {
set coords "$x $y $z"
} else {
set coords ""
}
return $coords
}

proc AllPointCoords { } {
set ret "POINTS: Num x y z\n"
set npoint [NumPoints]
set ipoint 0
set cont 1
while { $ipoint $npoint } {
set coord [ PointCoords $cont ]
if { $coord != "" } {
append ret "$cont $coord\n"
incr ipoint
}
incr cont
}
return $ret
}

To call from the'problemtype'.bas file, use a line as:
*tcl(AllPointCoords)

Note: the return of the tcl command isdirectly printed to the calculation file

Enrique Escolano
----- Original Message -----
From: "LEWIS, RANDEL E" rlewis at oppd.com
To: gidlist at gatxan.cimne.upc.es
Sent: Monday, December 02, 2002 3:07 PM
Subject: RE: [GiDlist] Wave based method


When you say it is possible to export the geometric data in the *.bas file using tcl language, are you referring to the use of ".central.s info list_entities"? Are there labels for geometric entities, similar to those for elements such as *NodesNum, and can they be sequentially written in the *bas file using loops?

Randy

-----Original Message-----
From: Enrique Escolano [SMTP:escolano at cimne.upc.es]
Sent: Monday, December 02, 2002 6:36 AM
To: gidlist at gatxan.cimne.upc.es
Subject: Re: [GiDlist] Wave based method

It exists also in GiD the quadratic elements:
6-noded triangle
8 or 9 noded-quadrilaterals
10-noded tetrahedra
20 or 27 noded hexahedra.

It is not available to externally define new element types.

If you simulate this "special user elements" with geometric entities, is is
possible to
export the geometric or associated data in the bas file using tcl languaje
(see *tcl order use in the bas file)
It is also possible to write this data as an ASCII file (with Export-Text
data report or Export Ascii project)
and read this file with as auxiliar program (or tcl code) to create your
input data file.

Regards
Enrique Escolano

----- Original Message -----
From: "Bert Pluymers" Bert.Pluymers at mech.kuleuven.ac.be
To: gidlist at gatxan.cimne.upc.es
Sent: Monday, December 02, 2002 12:37 PM
Subject: [GiDlist] Wave based method


Hello,

I'm doing research on a new deterministic prediction technique, based
on wave based modelling. For this I'm looking for a user friendly pre-
and postprocessor. After having a quick look at GiD, I think it just
might be what I'm looking for, if the following things are possible.

Since for the wave based method, I only need a very rough discretization
of my problem in covex, homogenous subdomains, I only have a few large
elements. Up till here, no problem, but my domains can have other shapes
than three noded and four noded elemens (2D). For instance I can have six
or
seven noded elements (2D) or more exotic elements in 3D (with for instance
15 nodes). So my question: Is is possible to add my own elements to GiD
??

An alternative I thought of, is to use geometric entities as elements.
So assigning boundary conditions, loads and material props only to points,
lines, surfaces and volumes. Is this possible and is it then possible
to export this information with a *bas file to a *dat file, like is done
with element and node information ?

Thanks in advance,
Bert

______________________________________________

ir. Bert Pluymers
K.U.Leuven, Dept. Mechanical Engineering
Division PMA, Noise & Vibration Research Group

Celestijnenlaan 300B, B-3001 Heverlee, BELGIUM
Tel. +32 16 322672 Fax +32 16 322987
Email: Bert.Pluymers at mech.kuleuven.ac.be

http://www.mech.kuleuven.ac.be/pma/research/mod
http://www.isma-isaac.be
______________________________________________


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


_______________________________________________
GiDlist mailing list
GiDlist at gid.cimne.upc.es
http://gid.cimne.upc.es/mailman/listinfo/gidlist
_______________________________________________
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/20021202/16da2afa/attachment.htm
Post Reply