~reducedmodelling/fluidity/ROM_Non-intrusive-ann

Viewing all changes in revision 1089.

  • Committer: cwilson
  • Date: 2010-04-30 19:14:23 UTC
  • Revision ID: svn-v4:5bf5533e-7014-46e3-b1bb-cce4b9d03719:trunk:1114
Adding the ability to extrude using different parameters depending on the region id of the d-1 mesh.  For instace, different bottom_depths and sizing_functions can be used in different regions.  It's also possible to assign different top and bottom surface ids to different areas too.  Obviously if being used with adaptivity then region_ids need to be preserved.

Afraid this involves a change in the options file for all cases involving extrusion.  See the modified tests for examples but basically a new layer, regions::Name, has been introduced inbetween extrude and the parameters.  As with initial_condition specification by region_ids this defaults to WholeMesh, which doesn't give the region_ids option.  This can be switched to an unnamed version which does.  If the first is selected then only it should be used.  If the second is selected then sufficient regions and region_ids should be entered to cover the entire mesh (just as with initial_conditions).

Note that because coordinate nodes are located on the boundaries between region_ids there may be uncertainty as to which region a particular column of the mesh belongs to.  This means that it's best to ensure your bottom_depths are continuous across regions.  Otherwise the depth at the boundary will be arbitrarily chosen between the possibilities.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: