Hi,
I create a problem type with the files *.cnd, *.bas, *.mat and *.prb.
I d'like to know how can I create a boundary condition varying with a
determined function?
An example is, given a two-dimensional thermal problem, how to apply a
prescribed Dirichlet
condition (temperature) linearly varying along an edge of boundary.
My thanks,
Geraldo Belmonte
[GiDlist] How can I create a boundary condition with varying
Moderator: GiD Team
[GiDlist] How can I create a boundary condition with varying
A posibility is use a 'Self Calculated #FUNC# field' (see help on Gid
Customization-Configuration files-Conditions file )
In this kind of special #FUNC# fields you can use a formulae to calculate
the value based on the variables x, y,z of the node or element center where
the condition is applied when meshing, and other field values of the same
condition
Other possibility is to implement the GiD-tcl event
proc AfterMeshGeneration { fail } {
}
that is called just after the mesh generation, and with GiD Tcl commands
(like GiD_Info conditions, GiD_AssignData condition, etc) you can ask for
the conditions applied and assign other conditions (can assign a condition
to identify the entities and other required data and replace them
automatically with other conditions calculated as you want)
Enirque
----- Original Message -----
From: "geraldos" geraldos at lncc.br
To: gidlist at listas.cimne.upc.edu
Sent: Wednesday, September 26, 2012 6:05 AM
Subject: [GiDlist] How can I create a boundary condition with varying with a
determined function?
Hi,
I create a problem type with the files *.cnd, *.bas, *.mat and *.prb.
I d'like to know how can I create a boundary condition varying with a
determined function?
An example is, given a two-dimensional thermal problem, how to apply a
prescribed Dirichlet
condition (temperature) linearly varying along an edge of boundary.
My thanks,
Geraldo Belmonte
_______________________________________________
GiDlist mailing list
GiDlist at listas.cimne.upc.edu
http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist
Customization-Configuration files-Conditions file )
In this kind of special #FUNC# fields you can use a formulae to calculate
the value based on the variables x, y,z of the node or element center where
the condition is applied when meshing, and other field values of the same
condition
Other possibility is to implement the GiD-tcl event
proc AfterMeshGeneration { fail } {
}
that is called just after the mesh generation, and with GiD Tcl commands
(like GiD_Info conditions, GiD_AssignData condition, etc) you can ask for
the conditions applied and assign other conditions (can assign a condition
to identify the entities and other required data and replace them
automatically with other conditions calculated as you want)
Enirque
----- Original Message -----
From: "geraldos" geraldos at lncc.br
To: gidlist at listas.cimne.upc.edu
Sent: Wednesday, September 26, 2012 6:05 AM
Subject: [GiDlist] How can I create a boundary condition with varying with a
determined function?
Hi,
I create a problem type with the files *.cnd, *.bas, *.mat and *.prb.
I d'like to know how can I create a boundary condition varying with a
determined function?
An example is, given a two-dimensional thermal problem, how to apply a
prescribed Dirichlet
condition (temperature) linearly varying along an edge of boundary.
My thanks,
Geraldo Belmonte
_______________________________________________
GiDlist mailing list
GiDlist at listas.cimne.upc.edu
http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist