rbmatlab  1.16.09
 All Classes Namespaces Files Functions Variables Modules Pages
Functions
fv_conv_explicit_space.m File Reference

fv_conv_explicit_space(U,NU_ind,grid,params) function applying an FV-space-discretization operator starting from old values U corresponding to the geometry given in grid producing a new vector of elementwise scalars NU but only on for the subelements with numbers given in NU_ind. If NU_ind is empty, all new values NU are determined, i.e. length(NU) = length(U) = grid.nelements More...

Go to the source code of this file.

Functions

function INC = fv_conv_explicit_space (U, NU_ind,gridbase grid, params)
 fv_conv_explicit_space(U,NU_ind,grid,params) function applying an FV-space-discretization operator starting from old values U corresponding to the geometry given in grid producing a new vector of elementwise scalars NU but only on for the subelements with numbers given in NU_ind. If NU_ind is empty, all new values NU are determined, i.e. length(NU) = length(U) = grid.nelements More...
 

Detailed Description

fv_conv_explicit_space(U,NU_ind,grid,params) function applying an FV-space-discretization operator starting from old values U corresponding to the geometry given in grid producing a new vector of elementwise scalars NU but only on for the subelements with numbers given in NU_ind. If NU_ind is empty, all new values NU are determined, i.e. length(NU) = length(U) = grid.nelements

Definition in file fv_conv_explicit_space.m.

Function Documentation

function INC = fv_conv_explicit_space (   U,
  NU_ind,
gridbase  grid,
  params 
)

fv_conv_explicit_space(U,NU_ind,grid,params) function applying an FV-space-discretization operator starting from old values U corresponding to the geometry given in grid producing a new vector of elementwise scalars NU but only on for the subelements with numbers given in NU_ind. If NU_ind is empty, all new values NU are determined, i.e. length(NU) = length(U) = grid.nelements

By this, the operator evaluation can be performed in a localized way, i.e. used for empirical interpolation in rb_nonlin_evol_simulation

usual timestepping can be performed afterwards by (NU = Id - deltat * INC).

Parameters
UU
NU_indNU ind
gridan object
paramsparams
Return values
INCINC
Required fields of params:
  • verbose —  a verbosity level
  • filecache_velocity_matrixfile_extract —  filecache velocity matrixfile extract
Required fields of grid:
  • nelements —  number of elements
  • NBI —  NBI
  • nneigh —  number of neighbours of each element
  • ECX —  ECX(i,j) = \(x\)-coordinate of midpoint of edge from el i to NB j
  • ECY —  ECY(i,j) = \(y\)-coordinate of midpoint of edge from el i to NB j
  • NX —  NX(i,j) = \(x\)-coordinate of unit outer normal of edge from el i to NB j
  • NY —  NY(i,j) = \(y\)-coordinate of unit outer normal of edge from el i to NB j
  • EL —  EL
  • Ainv —  vector of inverted element areas

Definition at line 17 of file fv_conv_explicit_space.m.