フィルターのクリア

Can I separate (define) the lungs from FEM thorax model in EIDORS?

6 ビュー (過去 30 日間)
Veronika
Veronika 2016 年 8 月 23 日
コメント済み: Veronika 2016 年 8 月 25 日
Dear all,
I have this FEM model of thorax, which was created in EIDORS.
I would like to separate (define) lungs from this model. Is it possible?
shape = { 1, % height
{thorax, rlung, llung}, % contours
[4,50], % perform smoothing with 50 points
0.04}; % small maxh (fine mesh)
elec_pos = [ 16, % number of elecs per plane
1, % equidistant spacing
0.5]'; % a single z-plane
elec_shape = [0.05, % radius
0, % circular electrode
0.01 ]'; % maxh (electrode refinement)
fmdl = ng_mk_extruded_model(shape, elec_pos, elec_shape);
% this similar model is also available as:
% fmdl = mk_library_model('adult_male_16el_lungs');
[stim,meas_sel] = mk_stim_patterns(16,1,[0,1],[0,1],{'no_meas_current'}, 1);
fmdl.stimulation = stim;
img=mk_image(fmdl,1);
img.elem_data(fmdl.mat_idx{2})= 0.3; % rlung
img.elem_data(fmdl.mat_idx{3})= 0.3; % llung
clf; show_fem(img); view(0,70);
print_convert thoraxmdl02a.jpg '-density 100'
Thank you for your answers.
  2 件のコメント
KSSV
KSSV 2016 年 8 月 24 日
Why don't you mesh lungs itself instead of separating from the model?
Veronika
Veronika 2016 年 8 月 25 日
Because I want to create FEM model of heart and spine too. I don´t know, how to put into one model (picture).

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeDynamic System Models についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by