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

Visualizes solution of stokes problem. More...

Go to the source code of this file.

Functions

function p = stokes_plot_sim_data (model, model_data, sim_data, plot_params)
 Visualizes solution of stokes problem. More...
 

Detailed Description

Visualizes solution of stokes problem.

Definition in file stokes_plot_sim_data.m.

Function Documentation

function p = stokes_plot_sim_data (   model,
  model_data,
  sim_data,
  plot_params 
)

Visualizes solution of stokes problem.

plot_params.modes is a cell array of strings. Possible mode-strings
  • pressure
  • velocity
  • velocity_xcomp
  • velocity_ycomp
  • velocity_abs
  • velocity_vec
  • velocity_vec_plus_pressure

if plot_params.axes_handle is given, it is used and returned, else a cell array holding the figure handles is returned.

Parameters
modelmodel
model_datamodel data
sim_datamatlab struct with simulation data generated e.g. by detailed_simulation() or rb_reconstruction() methods.
plot_paramsparameter structure controlling the output of the plot. For time dependent problems plot_params are often passed to plot_element_data() and plot_sequence().
Return values
pp
Required fields of model:
  • has_geometry_transformation —  has geometry transformation
  • geometry_transformation —  geometry transformation
  • xrange —  xrange
  • yrange —  yrange
Required fields of plot_params:
  • global_transformation —  global transformation
  • modes —  modes
  • axes_handle —  axes handle
  • rbgui —  rbgui
  • title_on —  title on
  • vector_distance —  vector distance
  • vector_scale —  vector scale
  • vector_color —  vector color
  • axis_equal —  axis equal
Required fields of model_data:
  • df_info —  df info
  • grid.CX —  grid.CX
  • grid.CY —  grid.CY
  • grid.ESX —  grid.ESX
  • grid.ESY —  grid.ESY
  • grid.NBI —  grid.NBI
Required fields of sim_data:
  • uh —  uh

Definition at line 17 of file stokes_plot_sim_data.m.