[GiDlist] More about .... I have applied boundary conditions

Moderator: GiD Team

Post Reply
geraldos

[GiDlist] More about .... I have applied boundary conditions

Post by geraldos »

Hi Escolano,

I am going better explain my problem below.

I work with galerkin discontinuous and I can to apply different
polynomial order over different elements.

Thus I want to apply over different surfaces different interpolations
and

I d'like to obtain the following output:

APPROXIMATIONS
[number_of_approximation]
[approximation_id] type_of_interpolation (e.g. Lagrange ou Legendre)
[polynomial_order] [integration_order]
.
.
.

ELEMENT
[number_of_element]
[element_id] [approximation_id] [material_id] [node_1] [node_2] ...
[node_(nno_by_element)]
.
.
.

However I not access the fields of the approximations applied as
"conditions", but only as "material".

How I can to access the fields the questions applied over surfaces as
"conditions"?

My thnaks,


Geraldo Belmonte


Em 2012-10-02 07:00, gidlist-request at listas.cimne.upc.edu escreveu:
Send GiDlist mailing list submissions to
gidlist at listas.cimne.upc.edu

To subscribe or unsubscribe via the World Wide Web, visit
http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist
or, via email, send a message with subject or body 'help' to
gidlist-request at listas.cimne.upc.edu

You can reach the person managing the list at
gidlist-owner at listas.cimne.upc.edu

When replying, please edit your Subject line so it is more specific
than "Re: Contents of GiDlist digest..."


Today's Topics:

1. I have applied boundary conditions over differents contour
lines and I want to access theirs fields. (geraldos)
2. Re: I have applied boundary conditions over differents
contour lines and I want to access theirs fields. (Enrique
Escolano)



----------------------------------------------------------------------

Message: 1
Date: Mon, 01 Oct 2012 11:03:44 -0300
From: geraldos geraldos at lncc.br
Subject: [GiDlist] I have applied boundary conditions over differents
contour lines and I want to access theirs fields.
To: gidlist at listas.cimne.upc.edu
Message-ID: f3961128a11fbd8ad9f8009af267e21e at lncc.br
Content-Type: text/plain; charset=UTF-8; format=flowed

Hi Everybody,


I am going to customize my problem type for to analyse, by finite
element methods, a bi-dimensional potential problem.

By *.cnd and *.bas files I created a boundary conditions over lines
called "Prescribed_potential" and I want to access the fields of the
conditions

into of the *.bas file by command *tcl(GiD_Info conditions
prescribed_potential geometry).

How can I to do?


My thanks,

Geraldo Belmonte






------------------------------

Message: 2
Date: Mon, 1 Oct 2012 16:55:53 +0200
From: "Enrique Escolano" escolano at cimne.upc.edu
Subject: Re: [GiDlist] I have applied boundary conditions over
differents contour lines and I want to access theirs fields.
To: gidlist at listas.cimne.upc.edu
Message-ID: 2AF6264253074160BF328E3AD42C1FA9 at mediador
Content-Type: text/plain; format=flowed; charset="iso-8859-1";
reply-type=original

In the .bas file in general you must only use *tcl commands if it not
possible do what you want with .bas standard commands
(then with Tcl is possible do much more sophisticated thinks, but
probably
less efficiently for big meshes)

typically to access to the fields of the condition applied to nodes
or
elements you do something like
*set cond Prescribed_potential *nodes
*loop nodes *onlyincond
*nodesnum *cond(your_question)
*end nodes

I have assumed that your condition was defined 'over nodes', then in
next
loop you will iterate on the nodes with the related condition applied
over
them,
and with *cond you can have the value of the field you want.
it is recommended to use the name of the question, but it is also
possible
to use its numeric index 1, 2, ...
(it is better to be maintained, e.g. if in the future you add new
fields to
your condition definition)


----- Original Message -----
From: "geraldos" geraldos at lncc.br
To: gidlist at listas.cimne.upc.edu
Sent: Monday, October 01, 2012 4:03 PM
Subject: [GiDlist] I have applied boundary conditions over differents
contour lines and I want to access theirs fields.


Hi Everybody,


I am going to customize my problem type for to analyse, by finite
element methods, a bi-dimensional potential problem.

By *.cnd and *.bas files I created a boundary conditions over lines
called "Prescribed_potential" and I want to access the fields of
the
conditions

into of the *.bas file by command *tcl(GiD_Info conditions
prescribed_potential geometry).

How can I to do?


My thanks,

Geraldo Belmonte




_______________________________________________
GiDlist mailing list
GiDlist at listas.cimne.upc.edu
http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist



------------------------------

_______________________________________________
GiDlist mailing list
GiDlist at listas.cimne.upc.edu
http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist


End of GiDlist Digest, Vol 27, Issue 2
**************************************
User avatar
escolano
Posts: 1918
Joined: Sun Sep 05, 1982 10:51 pm

[GiDlist] More about .... I have applied boundary conditions

Post by escolano »

Read again my previous answer, I think that it wa exactly what you are
asking:
first use *set cond ... to specify the current condition, and then inside a
loop over nodes/elems you can ask for *cond(fieldname)
e.g.

file .cnd:

CONDITION: Approximation
CONDTYPE: over surfaces
CONDMESHTYPE: over body elements
QUESTION: Id
VALUE: 0
END CONDITION

file .bas:
...
*set cond Approximation *elems
*loop elems *onlyincond
*elemsnum *cond(Id) *elemsmat *elemsconec
*end elems

----- Original Message -----
From: "geraldos" geraldos at lncc.br
To: gidlist at listas.cimne.upc.edu
Sent: Tuesday, October 02, 2012 9:46 PM
Subject: [GiDlist] More about .... I have applied boundary conditions over
differents contour lines and I want to access theirs fields.


Hi Escolano,

I am going better explain my problem below.

I work with galerkin discontinuous and I can to apply different
polynomial order over different elements.

Thus I want to apply over different surfaces different interpolations
and

I d'like to obtain the following output:

APPROXIMATIONS
[number_of_approximation]
[approximation_id] type_of_interpolation (e.g. Lagrange ou Legendre)
[polynomial_order] [integration_order]
.
.
.

ELEMENT
[number_of_element]
[element_id] [approximation_id] [material_id] [node_1] [node_2] ...
[node_(nno_by_element)]
.
.
.

However I not access the fields of the approximations applied as
"conditions", but only as "material".

How I can to access the fields the questions applied over surfaces as
"conditions"?

My thnaks,


Geraldo Belmonte


Em 2012-10-02 07:00, gidlist-request at listas.cimne.upc.edu escreveu:
Send GiDlist mailing list submissions to
gidlist at listas.cimne.upc.edu

To subscribe or unsubscribe via the World Wide Web, visit
http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist
or, via email, send a message with subject or body 'help' to
gidlist-request at listas.cimne.upc.edu

You can reach the person managing the list at
gidlist-owner at listas.cimne.upc.edu

When replying, please edit your Subject line so it is more specific
than "Re: Contents of GiDlist digest..."


Today's Topics:

1. I have applied boundary conditions over differents contour
lines and I want to access theirs fields. (geraldos)
2. Re: I have applied boundary conditions over differents
contour lines and I want to access theirs fields. (Enrique
Escolano)



----------------------------------------------------------------------

Message: 1
Date: Mon, 01 Oct 2012 11:03:44 -0300
From: geraldos geraldos at lncc.br
Subject: [GiDlist] I have applied boundary conditions over differents
contour lines and I want to access theirs fields.
To: gidlist at listas.cimne.upc.edu
Message-ID: f3961128a11fbd8ad9f8009af267e21e at lncc.br
Content-Type: text/plain; charset=UTF-8; format=flowed

Hi Everybody,


I am going to customize my problem type for to analyse, by finite
element methods, a bi-dimensional potential problem.

By *.cnd and *.bas files I created a boundary conditions over lines
called "Prescribed_potential" and I want to access the fields of the
conditions

into of the *.bas file by command *tcl(GiD_Info conditions
prescribed_potential geometry).

How can I to do?


My thanks,

Geraldo Belmonte






------------------------------

Message: 2
Date: Mon, 1 Oct 2012 16:55:53 +0200
From: "Enrique Escolano" escolano at cimne.upc.edu
Subject: Re: [GiDlist] I have applied boundary conditions over
differents contour lines and I want to access theirs fields.
To: gidlist at listas.cimne.upc.edu
Message-ID: 2AF6264253074160BF328E3AD42C1FA9 at mediador
Content-Type: text/plain; format=flowed; charset="iso-8859-1";
reply-type=original

In the .bas file in general you must only use *tcl commands if it not
possible do what you want with .bas standard commands
(then with Tcl is possible do much more sophisticated thinks, but
probably
less efficiently for big meshes)

typically to access to the fields of the condition applied to nodes
or
elements you do something like
*set cond Prescribed_potential *nodes
*loop nodes *onlyincond
*nodesnum *cond(your_question)
*end nodes

I have assumed that your condition was defined 'over nodes', then in
next
loop you will iterate on the nodes with the related condition applied
over
them,
and with *cond you can have the value of the field you want.
it is recommended to use the name of the question, but it is also
possible
to use its numeric index 1, 2, ...
(it is better to be maintained, e.g. if in the future you add new
fields to
your condition definition)


----- Original Message -----
From: "geraldos" geraldos at lncc.br
To: gidlist at listas.cimne.upc.edu
Sent: Monday, October 01, 2012 4:03 PM
Subject: [GiDlist] I have applied boundary conditions over differents
contour lines and I want to access theirs fields.


Hi Everybody,


I am going to customize my problem type for to analyse, by finite
element methods, a bi-dimensional potential problem.

By *.cnd and *.bas files I created a boundary conditions over lines
called "Prescribed_potential" and I want to access the fields of
the
conditions

into of the *.bas file by command *tcl(GiD_Info conditions
prescribed_potential geometry).

How can I to do?


My thanks,

Geraldo Belmonte




_______________________________________________
GiDlist mailing list
GiDlist at listas.cimne.upc.edu
http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist



------------------------------

_______________________________________________
GiDlist mailing list
GiDlist at listas.cimne.upc.edu
http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist


End of GiDlist Digest, Vol 27, Issue 2
**************************************

_______________________________________________
GiDlist mailing list
GiDlist at listas.cimne.upc.edu
http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist
Bettina Schröder

[GiDlist] Prismatic volumes

Post by Bettina Schröder »

Dear Sir or Madam,

I tried to create a hexaedron volume mesh with gid and had the error :This volume cannot be structured or semistructured because it is not a prismatic volume. But I don't know why I get this error. I looked at your example library and found the cajon3D there it is possible and the error doesn't occur. If I by myself construct a problem similar to that one I get again the upper mentioned error message. Now I wanted to ask you whether there is a tutorial which explains how to construct a cajon like that one, so that I can see why in your example there is no such an error message but in mine there is.

Thank you for your efforts

Yours sincerely


Schröder, Bettina


Universität Kassel, FB 14
Fachgebiet Baumechanik / Baudynamik
Mönchebergstraße 7 - Raum 1309
34109 Kassel

Tel. : 0561/804-2698
Fax : 0561/804-3631
Mail : schroederbettina at uni-kassel.de
Web: www.uni-kassel.de/fb14/mechanics







-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20121017/8113e9c6/attachment.htm
User avatar
abelcs
Posts: 146
Joined: Mon Oct 13, 2014 9:14 am

[GiDlist] Prismatic volumes

Post by abelcs »

Dear Bettina,



Could you please send me the model (it is not needed to send it to the
gidlist, you can send it to my particular e-mail: abelcs at cimne.upc.edu), so
as I can check it?



Regards,



ABEL





_________________________________

Abel Coll Sans - Civil Engineer

CIMNE - International Center for Numerical Methods in Engineering

Ofice c-2, C1 building - Campus Nord UPC

Gran Capità s/n, 08034 Barcelona

T: 34 - 93 401 74 03 Fax: 34 - 93 40 65 17

_____



De: gidlist-bounces at listas.cimne.upc.edu
[mailto:gidlist-bounces at listas.cimne.upc.edu] En nombre de Bettina Schröder
Enviado el: miércoles, 17 de octubre de 2012 12:25
Para: gidlist at listas.cimne.upc.edu
Asunto: [GiDlist] Prismatic volumes



Dear Sir or Madam,



I tried to create a hexaedron volume mesh with gid and had the error :This
volume cannot be structured or semistructured because it is not a prismatic
volume. But I don't know why I get this error. I looked at your example
library and found the cajon3D there it is possible and the error doesn't
occur. If I by myself construct a problem similar to that one I get again
the upper mentioned error message. Now I wanted to ask you whether there is
a tutorial which explains how to construct a cajon like that one, so that I
can see why in your example there is no such an error message but in mine
there is.



Thank you for your efforts



Yours sincerely





Schröder, Bettina





Universität Kassel, FB 14

Fachgebiet Baumechanik / Baudynamik

Mönchebergstraße 7 - Raum 1309

34109 Kassel



Tel. : 0561/804-2698

Fax : 0561/804-3631

Mail : schroederbettina at uni-kassel.de

Web: www.uni-kassel.de/fb14/mechanics















-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20121017/66c12aec/attachment-0001.htm
Post Reply