sfepy.terms.termsBasic module¶
-
class
sfepy.terms.termsBasic.IntegrateMatTerm(name, arg_str, integral, region, **kwargs)[source]¶ Evaluate material parameter
in a volume/surface region.Depending on evaluation mode, integrate a material parameter over a volume/surface region (‘eval’), average it in elements/faces (‘el_avg’) or interpolate it into volume/surface quadrature points (‘qp’).
Uses reference mapping of
variable.Supports ‘eval’, ‘el_avg’ and ‘qp’ evaluation modes.
Definition: 


Call signature: ev_integrate_mat (material, parameter)Arguments: - material :
(can have up to two dimensions) - parameter :

-
arg_shapes= [{'material': '1, 1', 'parameter': 1}, {'material': 'D, D'}, {'material': 'S, S'}, {'material': 'D, S'}]¶
-
arg_types= ('material', 'parameter')¶
-
name= 'ev_integrate_mat'¶
- material :
-
class
sfepy.terms.termsBasic.IntegrateSurfaceOperatorTerm(name, arg_str, integral, region, **kwargs)[source]¶ Surface integral of a test function weighted by a scalar function
.Definition: 
Call signature: dw_surface_integrate (opt_material, virtual)Arguments: - material :
(optional) - virtual :

-
arg_shapes= [{'opt_material': '1, 1', 'virtual': (1, None)}, {'opt_material': None}]¶
-
arg_types= ('opt_material', 'virtual')¶
-
integration= 'surface'¶
-
name= 'dw_surface_integrate'¶
- material :
-
class
sfepy.terms.termsBasic.IntegrateSurfaceTerm(name, arg_str, integral, region, **kwargs)[source]¶ Evaluate (weighted) variable in a surface region.
Depending on evaluation mode, integrate a variable over a surface region (‘eval’), average it in element faces (‘el_avg’) or interpolate it into surface quadrature points (‘qp’). For vector variables, setting term_mode to ‘flux’ leads to computing corresponding fluxes for the three modes instead.
Supports ‘eval’, ‘el_avg’ and ‘qp’ evaluation modes.
Definition: 


Call signature: ev_surface_integrate (opt_material, parameter)Arguments: - material :
(optional) - parameter :
or 
-
arg_shapes= [{'opt_material': '1, 1', 'parameter': 1}, {'opt_material': None}, {'opt_material': '1, 1', 'parameter': 'D'}, {'opt_material': None}]¶
-
arg_types= ('opt_material', 'parameter')¶
-
integration= 'surface'¶
-
name= 'ev_surface_integrate'¶
- material :
-
class
sfepy.terms.termsBasic.IntegrateVolumeOperatorTerm(name, arg_str, integral, region, **kwargs)[source]¶ Volume integral of a test function weighted by a scalar function
.Definition: 
Call signature: dw_volume_integrate (opt_material, virtual)Arguments: - material :
(optional) - virtual :

-
arg_shapes= [{'opt_material': '1, 1', 'virtual': (1, None)}, {'opt_material': None}]¶
-
arg_types= ('opt_material', 'virtual')¶
-
name= 'dw_volume_integrate'¶
- material :
-
class
sfepy.terms.termsBasic.IntegrateVolumeTerm(name, arg_str, integral, region, **kwargs)[source]¶ Evaluate (weighted) variable in a volume region.
Depending on evaluation mode, integrate a variable over a volume region (‘eval’), average it in elements (‘el_avg’) or interpolate it into volume quadrature points (‘qp’).
Supports ‘eval’, ‘el_avg’ and ‘qp’ evaluation modes.
Definition: 


Call signature: ev_volume_integrate (opt_material, parameter)Arguments: - material :
(optional) - parameter :
or 
-
arg_shapes= [{'opt_material': '1, 1', 'parameter': 1}, {'opt_material': None}, {'opt_material': '1, 1', 'parameter': 'D'}, {'opt_material': None}]¶
-
arg_types= ('opt_material', 'parameter')¶
-
name= 'ev_volume_integrate'¶
- material :
-
class
sfepy.terms.termsBasic.SumNodalValuesTerm(name, arg_str, integral, region, **kwargs)[source]¶ Sum nodal values.
Call signature: d_sum_vals (parameter)Arguments: - parameter :
or 
-
arg_shapes= [{'parameter': 1}, {'parameter': 'D'}]¶
-
arg_types= ('parameter',)¶
-
name= 'd_sum_vals'¶
- parameter :
-
class
sfepy.terms.termsBasic.SurfaceMomentTerm(name, arg_str, integral, region, **kwargs)[source]¶ Surface integral of the outer product of the unit outward normal
and the coordinate
shifted by 
Definition: 
Call signature: di_surface_moment (parameter, shift)Arguments: - parameter : any variable
- shift :

-
arg_types= ('parameter', 'shift')¶
-
static
function()¶
-
integration= 'surface'¶
-
name= 'di_surface_moment'¶
-
class
sfepy.terms.termsBasic.SurfaceTerm(name, arg_str, integral, region, **kwargs)[source]¶ Surface of a domain. Uses approximation of the parameter variable.
Definition: 
Call signature: d_surface (parameter)Arguments: - parameter : any variable
-
arg_shapes= {'parameter': 1}¶
-
arg_types= ('parameter',)¶
-
integration= 'surface'¶
-
name= 'd_surface'¶
-
class
sfepy.terms.termsBasic.VolumeSurfaceTerm(name, arg_str, integral, region, **kwargs)[source]¶ Volume of a domain, using a surface integral. Uses approximation of the parameter variable.
Definition: 
Call signature: d_volume_surface (parameter)Arguments: - parameter : any variable
-
arg_shapes= {'parameter': 1}¶
-
arg_types= ('parameter',)¶
-
static
function()¶
-
integration= 'surface'¶
-
name= 'd_volume_surface'¶
-
class
sfepy.terms.termsBasic.VolumeTerm(name, arg_str, integral, region, **kwargs)[source]¶ Volume of a domain. Uses approximation of the parameter variable.
Definition: 
Call signature: d_volume (parameter)Arguments: - parameter : any variable
-
arg_shapes= {'parameter': 1}¶
-
arg_types= ('parameter',)¶
-
name= 'd_volume'¶

