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

Drag and lift coefficients are computed via volume integrals. More...

Go to the source code of this file.

Functions

function [ Cd
, Cl ] = 
stokes_compute_drag_and_lift (model, model_data, sim_data)
 Drag and lift coefficients are computed via volume integrals. More...
 

Detailed Description

Drag and lift coefficients are computed via volume integrals.

Definition in file stokes_compute_drag_and_lift.m.

Function Documentation

function [ Cd , Cl ] = stokes_compute_drag_and_lift (   model,
  model_data,
  sim_data 
)

Drag and lift coefficients are computed via volume integrals.

Parameters
modelmodel
model_datamodel data
sim_datamatlab struct with simulation data generated e.g. by detailed_simulation() or rb_reconstruction() methods.
Return values
CdCd
ClCl
Required fields of model:
  • inner_boundary_rectangle —  vector [xleft xright yleft yright] representing a rectangle, which contains the boundary
  • U_mean —  mean inflow velocity
  • L —  characteristic length
  • has_dirichlet_values —  has dirichlet values
  • operators —  operators
  • has_nonlinearity —  has nonlinearity
Required fields of model_data:
  • bc_info.dirichlet_gids —  bc info.dirichlet gids
  • df_info —  df info
  • bc_info —  bc info
Required fields of sim_data:
  • uh —  uh
  • uh.dofs —  uh.dofs

Definition at line 17 of file stokes_compute_drag_and_lift.m.

Here is the caller graph for this function: