26 Mar
2014
26 Mar
'14
3:35 p.m.
On 03/26/2014 04:23 PM, seismo_phil wrote:
BTW, my next job is to calculate the heat flux out the top of the model. Any hints for that?
For this you can use the d_surface_flux term, for example in a postprocess hook function [1] - something like (your region/variable/other names may differ...):
flux = problem.evaluate('d_surface_flux.2.Gamma_Top(coef.val, t)', mode='eval', copy_materials=False, verbose=False) print flux
r.
[1] http://sfepy.org/doc-devel/users_guide.html#solution-postprocessing