FEATool Multiphysics  v1.10
Finite Element Analysis Toolbox
postrevolve.m File Reference

Description

POSTREVOLVE Revolve axisymmetric 2D fea data to 3D.

[ FEA ] = POSTREVOLVE( FEA, N_CR, TH ) Revolves an axisymmetric 2D FEA problem struct to 3D for postprocessing. N_CR is the number of cells in the direction of revolution (default 32), and TH the fraction of revolution 0..1 (default 1).

Examples
  1) Revolve a axisymmetric pipe flow solution.

  fea = ex_navierstokes8( <tt>iplot</tt>, false );

  feap = postrevolve( fea, 24, 0.75 );

  postplot( feap, <tt>surfexpr</tt>, <tt>sqrt(u^2+w^2)</tt>, ...
                  <tt>colorbar</tt>, <tt>off</tt>, <tt>axis</tt>, <tt>off</tt> )
  view(70,25)

  2) Revolve a axisymmetric spherical capacitor solution.

  fea = ex_electrostatics2( <tt>iplot</tt>, false );

  feap = postrevolve( fea, 24, 0.75 );

  postplot( feap, <tt>surfexpr</tt>, <tt>V</tt>, <tt>colorbar</tt>, <tt>off</tt>, <tt>axis</tt>, <tt>off</tt> )
  view(70,25)
See also
postplot, gridrevovle