rbmatlab 0.10.01
Functions
models/thermalblock_descr.m File Reference

Thermal Block example similar as described in the book of A.T. patera and G. Rozza (just one parameter more) More...

Go to the source code of this file.

Functions

function model thermalblock_descr ( params)
 Thermal Block example similar as described in the book of A.T. patera and G. Rozza (just one parameter more)
function res thermalblockdescr>thermalblock_boundary_type ( glob, params)
function model thermalblockdescr>thermalblock_set_mu ( model, mu)
function comp thermalblockdescr>thermalblock_neumann_values_components ( glob, params)
function res thermalblockdescr>thermalblock_diffusivity_tensor_components ( glob, params)
function alpha thermalblockdescr>thermalblock_coercivity_alpha ( model)
function RB thermalblockdescr>my_RB_basisgen ( rmodel, detailed_data)

Detailed Description

Thermal Block example similar as described in the book of A.T. patera and G. Rozza (just one parameter more)

Definition in file thermalblock_descr.m.


Function Documentation

function model = thermalblock_descr (   params)

Thermal Block example similar as described in the book of A.T. patera and G. Rozza (just one parameter more)

i.e.

  • div ( a(x) grad u(x)) = q(x) on Omega u(x)) = g_D(x) on Gamma_D a(x) (grad u(x)) n) = g_N(x) on Gamma_N s = l(u) linear output functional

where Omega = [0,1]^2 is divided into B1 * B2 blocks

QA := B1*B2. The heat conductivities are given by mu_i

------------------------- | ... | ..... | mu_QA | ------------------------- | .... | ... | ..... | ------------------------- | mu_1 | ... | mu_B1 | -------------------------

$Gamma_D =$ upper edge $Gamma_N = boundary(Omega)\Gamma_D$

$a(x) = mu_i(x) if x\in B_i$ $q(x) = 0$ $g_D = 0$ on top $g_N = 1$ on lower edge, 0 otherwise $l(u)$ = average over lower edge

Parameters:
paramsparams
Return values:
modelmodel
Required fields of params:
  • B1 —  B1
  • B2 —  B2
  • mus —  mus
  • numintervals_per_block —  numintervals per block
  • pdeg —  pdeg
  • qdeg —  qdeg
Generated fields of model:
  • name —  name
  • dmodel_constructor —  dmodel constructor
  • rb_problem_type —  rb problem type
  • detailed_data_constructor —  detailed data constructor
  • RB_customized_basis_generation_ptr —  RB customized basis generation ptr
  • RB_train_rand_seed —  RB train rand seed
  • RB_train_size —  RB train size
  • RB_stop_epsilon —  RB stop epsilon
  • RB_stop_Nmax —  RB stop Nmax
  • B1 —  B1
  • B2 —  B2
  • number_of_blocks —  number of blocks
  • mu_names —  a string array containing the symbolic names of the parameter vector $\mu$
  • mu_ranges —  matrix storing the admissable ranges for parameter vector components. Each two dimensional column vector represents a range for a component specified by model.mu_names.
  • mus —  mus
  • RB_generation_mode —  RB generation mode
  • RB_mu_list —  RB mu list
  • has_diffusivity —  has diffusivity
  • has_output_functional —  has output functional
  • has_dirichlet_values —  has dirichlet values
  • has_neumann_values —  has neumann values
  • local_dirichlet_values —  local dirichlet values
  • local_neumann_values —  local neumann values
  • local_diffusivity_tensor —  local diffusivity tensor
  • operators_output —  operators output
  • output_function —  output function
  • output_integral_qdeg —  output integral qdeg
  • gridtype —  gridtype
  • xnumintervals —  xnumintervals
  • ynumintervals —  ynumintervals
  • xrange —  xrange
  • yrange —  yrange
  • pdeg —  pdeg
  • qdeg —  qdeg
  • dimrange —  dimrange
  • boundary_type —  boundary type
  • compute_output_functional —  compute output functional
  • yscale_uicontrols —  yscale uicontrols
  • coercivity_alpha —  coercivity alpha
  • continuity_gamma —  continuity gamma
  • enable_error_estimator —  enable error estimator
  • crb_enabled —  crb enabled

Definition at line 1 of file thermalblock_descr.m.

All Classes Namespaces Files Functions Variables