rbmatlab  1.13.10
 All Classes Namespaces Files Functions Variables Groups Pages
Functions
thermalblock_model_old.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 descr = thermalblock_model_old (params)
 Thermal Block example similar as described in the book of A.T. patera and G. Rozza (just one parameter more)
 
function model = thermalblockmodelold>thermalblock_set_mu (model, mu)
 
function res = thermalblockmodelold>thermalblock_boundary_type (glob, params)
 
function comp = thermalblockmodelold>thermalblock_neumann_values_components (glob, params)
 
function res = thermalblockmodelold>thermalblock_diffusivity_tensor_components (glob, params)
 
function alpha = thermalblockmodelold>thermalblock_coercivity_alpha (descr)
 

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_model_old.m.

Function Documentation

function descr = thermalblock_model_old (   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
descrdescr
Required fields of params:
  • B1 —  B1
  • B2 —  B2
  • mus —  mus
  • numintervals_per_block —  numintervals per block
  • pdeg —  pdeg
  • qdeg —  qdeg
Generated fields of descr:
  • name —  name
  • dmodel_constructor —  dmodel constructor
  • set_mu —  set mu
  • get_mu —  get mu
  • B1 —  B1
  • B2 —  B2
  • number_of_blocks —  number of blocks
  • mu_names —  mu names
  • mu_ranges —  mu ranges
  • mus —  mus
  • 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
  • dirichlet_values —  dirichlet values
  • neumann_values —  neumann values
  • diffusivity_tensor —  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
  • plot_sim_data —  plot sim data
  • compute_output_functional —  compute output functional
  • yscale_uicontrols —  yscale uicontrols
  • coercivity_alpha —  coercivity alpha
  • continuity_gamma —  continuity gamma
  • enable_error_estimator —  enable error estimator
  • get_estimator_from_sim_data —  get estimator from sim data

Definition at line 17 of file thermalblock_model_old.m.