On 06/30/2016 04:34 PM, Nicolas DELAN wrote:
I have to formulate this equation in sfepy:
So with \partialOmega = gamma:
"""dw_laplace.i.Omega(c,s, t ) + dw_volume_dot.i.Gamma( h , t, s)
=dw_surface_dot.i.Gamma(g, s )"""
From the attached image it would seem to me more like:
"""dw_laplace.i.Omega(c,s, t ) + dw_surface_dot.i.Gamma( h , t, s)
= dw_surface_integrate.i.Gamma(g, s )"""
My question is: alpha and g are constants of the surface of the airfoil, i have two files that contains the values of them for each point of the surface (we are in a 2D problem).
But i don't know how to define h and alpha in the configuration file as variables of the domain gamma with some ebcs conditions ?
You need to define the h and g using functions, see  - get_pars() in
particular, and functions dict at the bottom (you need just the single
function). In your version of get_pars(), you would have to load the files, and
interpolate the values to the quadrature point coordinates