sfepy.terms.terms_navier_stokes module

class sfepy.terms.terms_navier_stokes.ConvectTerm(name, arg_str, integral, region, **kwargs)[source]
Call signature

dw_convect

(virtual, state)

arg_shapes = {'state': 'D', 'virtual': ('D', 'state')}
arg_types = ('virtual', 'state')
static function()
get_fargs(virtual, state, mode=None, term_mode=None, diff_var=None, **kwargs)[source]
name = 'dw_convect'
class sfepy.terms.terms_navier_stokes.DivGradTerm(name, arg_str, integral, region, **kwargs)[source]
Call signature

dw_div_grad

(opt_material, virtual, state)

(opt_material, parameter_1, parameter_2)

arg_shapes = [{'opt_material': '1, 1', 'virtual': ('D', 'state'), 'state': 'D', 'parameter_1': 'D', 'parameter_2': 'D'}, {'opt_material': None}]
arg_types = (('opt_material', 'virtual', 'state'), ('opt_material', 'parameter_1', 'parameter_2'))
d_div_grad(out, grad1, grad2, mat, vg, fmode)[source]
static function()
get_eval_shape(mat, virtual, state, mode=None, term_mode=None, diff_var=None, **kwargs)[source]
get_fargs(mat, virtual, state, mode=None, term_mode=None, diff_var=None, **kwargs)[source]
modes = ('weak', 'eval')
name = 'dw_div_grad'
set_arg_types()[source]
class sfepy.terms.terms_navier_stokes.DivOperatorTerm(name, arg_str, integral, region, **kwargs)[source]
Call signature

dw_div

(opt_material, virtual)

arg_shapes = [{'opt_material': '1, 1', 'virtual': ('D', None)}, {'opt_material': None}]
arg_types = ('opt_material', 'virtual')
static function(out, mat, vg)[source]
get_fargs(mat, virtual, mode=None, term_mode=None, diff_var=None, **kwargs)[source]
name = 'dw_div'
class sfepy.terms.terms_navier_stokes.DivTerm(name, arg_str, integral, region, **kwargs)[source]
Call signature

ev_div

(parameter)

arg_shapes = {'parameter': 'D'}
arg_types = ('parameter',)
static function(out, div, vg, fmode)[source]
get_eval_shape(parameter, mode=None, term_mode=None, diff_var=None, **kwargs)[source]
get_fargs(parameter, mode=None, term_mode=None, diff_var=None, **kwargs)[source]
integration = 'by_region'
name = 'ev_div'
surface_integration = 'surface_extra'
class sfepy.terms.terms_navier_stokes.GradDivStabilizationTerm(name, arg_str, integral, region, **kwargs)[source]
Call signature

dw_st_grad_div

(material, virtual, state)

arg_shapes = {'material': '1, 1', 'state': 'D', 'virtual': ('D', 'state')}
arg_types = ('material', 'virtual', 'state')
static function()
get_fargs(gamma, virtual, state, mode=None, term_mode=None, diff_var=None, **kwargs)[source]
name = 'dw_st_grad_div'
class sfepy.terms.terms_navier_stokes.GradTerm(name, arg_str, integral, region, **kwargs)[source]
Call signature

ev_grad

(parameter)

arg_shapes = {'parameter': 'N'}
arg_types = ('parameter',)
static function(out, grad, vg, fmode)[source]
get_eval_shape(parameter, mode=None, term_mode=None, diff_var=None, **kwargs)[source]
get_fargs(parameter, mode=None, term_mode=None, diff_var=None, **kwargs)[source]
integration = 'by_region'
name = 'ev_grad'
surface_integration = 'surface_extra'
class sfepy.terms.terms_navier_stokes.LinearConvect2Term(name, arg_str, integral, region, **kwargs)[source]
Call signature

dw_lin_convect2

(material, virtual, state)

arg_shapes = {'material': 'D, 1', 'state': 'D', 'virtual': ('D', 'state')}
arg_types = ('material', 'virtual', 'state')
static function()
get_fargs(material, virtual, state, mode=None, term_mode=None, diff_var=None, **kwargs)[source]
name = 'dw_lin_convect2'
class sfepy.terms.terms_navier_stokes.LinearConvectTerm(name, arg_str, integral, region, **kwargs)[source]
Call signature

dw_lin_convect

(virtual, parameter, state)

arg_shapes = {'parameter': 'D', 'state': 'D', 'virtual': ('D', 'state')}
arg_types = ('virtual', 'parameter', 'state')
static function()
get_fargs(virtual, parameter, state, mode=None, term_mode=None, diff_var=None, **kwargs)[source]
name = 'dw_lin_convect'
class sfepy.terms.terms_navier_stokes.PSPGCStabilizationTerm(name, arg_str, integral, region, **kwargs)[source]
Call signature

dw_st_pspg_c

(material, virtual, parameter, state)

arg_shapes = {'material': '1, 1', 'parameter': 'D', 'state': 'D', 'virtual': (1, None)}
arg_types = ('material', 'virtual', 'parameter', 'state')
static function()
get_fargs(tau, virtual, parameter, state, mode=None, term_mode=None, diff_var=None, **kwargs)[source]
name = 'dw_st_pspg_c'
class sfepy.terms.terms_navier_stokes.PSPGPStabilizationTerm(name, arg_str, integral, region, **kwargs)[source]
Call signature

dw_st_pspg_p

(opt_material, virtual, state)

(opt_material, parameter_1, parameter_2)

name = 'dw_st_pspg_p'
class sfepy.terms.terms_navier_stokes.SUPGCStabilizationTerm(name, arg_str, integral, region, **kwargs)[source]
Call signature

dw_st_supg_c

(material, virtual, parameter, state)

arg_shapes = {'material': '1, 1', 'parameter': 'D', 'state': 'D', 'virtual': ('D', 'state')}
arg_types = ('material', 'virtual', 'parameter', 'state')
static function()
get_fargs(delta, virtual, parameter, state, mode=None, term_mode=None, diff_var=None, **kwargs)[source]
name = 'dw_st_supg_c'
class sfepy.terms.terms_navier_stokes.SUPGPStabilizationTerm(name, arg_str, integral, region, **kwargs)[source]
Call signature

dw_st_supg_p

(material, virtual, parameter, state)

arg_shapes = {'material': '1, 1', 'parameter': 'D', 'state': 1, 'virtual': ('D', None)}
arg_types = ('material', 'virtual', 'parameter', 'state')
static function()
get_fargs(delta, virtual, parameter, state, mode=None, term_mode=None, diff_var=None, **kwargs)[source]
name = 'dw_st_supg_p'
class sfepy.terms.terms_navier_stokes.StokesTerm(name, arg_str, integral, region, **kwargs)[source]
Call signature

dw_stokes

(opt_material, virtual, state)

(opt_material, state, virtual)

(opt_material, parameter_v, parameter_s)

arg_shapes = [{'opt_material': '1, 1', 'virtual/grad': ('D', None), 'state/grad': 1, 'virtual/div': (1, None), 'state/div': 'D', 'parameter_v': 'D', 'parameter_s': 1}, {'opt_material': None}]
arg_types = (('opt_material', 'virtual', 'state'), ('opt_material', 'state', 'virtual'), ('opt_material', 'parameter_v', 'parameter_s'))
static d_eval(out, coef, vec_qp, div, vvg)[source]
get_eval_shape(coef, vvar, svar, mode=None, term_mode=None, diff_var=None, **kwargs)[source]
get_fargs(coef, vvar, svar, mode=None, term_mode=None, diff_var=None, **kwargs)[source]
modes = ('grad', 'div', 'eval')
name = 'dw_stokes'
set_arg_types()[source]
class sfepy.terms.terms_navier_stokes.StokesWaveDivTerm(name, arg_str, integral, region, **kwargs)[source]
Call signature

dw_stokes_wave_div

(material, virtual, state)

(material, state, virtual)

arg_shapes = {'material': '.: D', 'state': 'D', 'virtual': ('D', 'state')}
arg_types = (('material', 'virtual', 'state'), ('material', 'state', 'virtual'))
static function(out, out_qp, geo, fmode)[source]
geometries = ['2_3', '2_4', '3_4', '3_8']
get_fargs(kappa, kvar, dvar, mode=None, term_mode=None, diff_var=None, **kwargs)[source]
modes = ('kd', 'dk')
name = 'dw_stokes_wave_div'
class sfepy.terms.terms_navier_stokes.StokesWaveTerm(name, arg_str, integral, region, **kwargs)[source]
Call signature

dw_stokes_wave

(material, virtual, state)

arg_shapes = {'material': '.: D', 'state': 'D', 'virtual': ('D', 'state')}
arg_types = ('material', 'virtual', 'state')
static function(out, out_qp, geo, fmode)[source]
geometries = ['2_3', '2_4', '3_4', '3_8']
get_fargs(kappa, virtual, state, mode=None, term_mode=None, diff_var=None, **kwargs)[source]
name = 'dw_stokes_wave'