25.02.2015 Views

Demo problem: Turek & Hron's FSI benchmark problem - Oomph-lib

Demo problem: Turek & Hron's FSI benchmark problem - Oomph-lib

Demo problem: Turek & Hron's FSI benchmark problem - Oomph-lib

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

18 <strong>Demo</strong> <strong>problem</strong>: <strong>Turek</strong> & Hron’s <strong>FSI</strong> <strong>benchmark</strong> <strong>problem</strong><br />

{<br />

Fluid_mesh_pt->boundary_node_pt(ibound, inod)-><br />

set_auxiliary_node_update_fct_pt(<br />

<strong>FSI</strong>_functions::apply_no_slip_on_moving_wall);<br />

}<br />

} // done automatic application of no-slip<br />

Next, we set up the lookup schemes required by the <strong>FSI</strong>SolidTractionElements to establish which<br />

fluid elements affect the traction onto the solid:<br />

// Work out which fluid dofs affect the residuals of the wall elements:<br />

// We pass the boundary between the fluid and solid meshes and<br />

// pointers to the meshes. The interaction boundary are boundaries 5,6,7<br />

// of the 2D fluid mesh.<br />

<strong>FSI</strong>_functions::setup_fluid_load_info_for_solid_elements<br />

(this,5,Fluid_mesh_pt,Traction_mesh_pt[0]);<br />

<strong>FSI</strong>_functions::setup_fluid_load_info_for_solid_elements<br />

(this,6,Fluid_mesh_pt,Traction_mesh_pt[2]);<br />

<strong>FSI</strong>_functions::setup_fluid_load_info_for_solid_elements<br />

(this,7,Fluid_mesh_pt,Traction_mesh_pt[1]);<br />

}<br />

All interactions have now been specified and we conclude by assigning the equation numbers<br />

// Assign equation numbers<br />

cout

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!