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

Performs a detailed simulation of a (Navier-)stokes problem. More...

Go to the source code of this file.

Functions

function
sim_data = 
stokes_detailed_simulation (model, model_data)
 Performs a detailed simulation of a (Navier-)stokes problem. More...
 

Detailed Description

Performs a detailed simulation of a (Navier-)stokes problem.

Definition in file stokes_detailed_simulation.m.

Function Documentation

function sim_data = stokes_detailed_simulation (   model,
  model_data 
)

Performs a detailed simulation of a (Navier-)stokes problem.

In general this can also be used for every linear stationary problem. Uses a fixed point defect correction algorithm.

Parameters
modelmodel
model_datamodel data
Return values
sim_datasim data
Required fields of model_data:
  • operators —  operators
  • df_info —  df info
Required fields of model:
  • has_nonlinearity —  has nonlinearity
  • operators —  operators
  • fp_tolerance —  fp tolerance
  • fp_maxiter —  fp maxiter
  • fp_damping —  fp damping
  • verbose —  flag indicating the verbosity level of informative output
  • get_inner_product_matrix —  function W=f(model_data) returning the mass matrix \(W\) for inner product computation \(\langle u,v \rangle = u^t W v\).
Generated fields of sim_data:
  • uh —  uh
  • defect —  defect
  • niterations —  niterations
  • total_time —  total time

Definition at line 17 of file stokes_detailed_simulation.m.

Here is the caller graph for this function: