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
**************************************