Eidors-logo    

EIDORS: Electrical Impedance Tomography and Diffuse Optical Tomography Reconstruction Software

EIDORS (mirror)
Main
Documentation
Examples
Tutorials
− Image Reconst
− Data Structures
− Application Examples
− FEM Modelling
Download
Contrib Data
GREIT
Browse SVN

News
FAQ
Developer
                       

 

Hosted by SourceForge.net Logo

 

Using Netgen to create EIDORS Models

To create more sophisticated 3D models, we require a meshing software package. EIDORS has the ability to integrate with netgen.

The basic functions are create_tank_mesh_ng and ng_mk_fwd_model.

% Use Netgen
% $Id: tutorial040a.m 1535 2008-07-26 15:36:27Z aadler $

[tank_mdl,centres] = create_tank_mesh_ng( ...
  15,      ... % tank_radius,
  30,      ... % tank_height,
  'R',     ... % CorR,  - circular or rectangular
  4,       ... % log2_electrodes_per_plane,
  2,       ... % no_of_planes,
  10,      ... % first_plane_starts,
  10,      ... % height_between_centres,
  2,       ... % electrode_width, (radius for circ elecs)
  3,       ... % electrode_height,
  'my_mdl',... % fnstem - filename without extension
  0 );         % elec_mesh_density - increase mesh near electrodes

subplot(121)
show_fem(tank_mdl)
view(-28,10)

[tank_mdl2,centres] = create_tank_mesh_ng( ...
  15, 30, 'C', 4, 2, 10, 10, 2, 3, 'my_mdl', 10 );
subplot(122)
show_fem(tank_mdl2)
view(-28,10)

print -r100 -dpng tutorial040a.png;


Figure: tank model generated by netgen and loaded into EIDORS. Left: Model with rectangular electrodes; Right: Model with circular electrodes, using electrode mesh refinement.

Last Modified: $Date: 2008-07-26 11:36:27 -0400 (Sat, 26 Jul 2008) $ by $Author: aadler $