Thanks Bruno! The reason that I didn't use material_id is that I didn't 
know it:) I will take a look at step-28 to learn it.

Best,
Chenchen

在 2016年6月21日星期二 UTC-4上午11:23:08,Bruno Turcksin写道:
>
> Chenchen,
>
> is there a reason why you can't use material_id? If you can't, you could 
> use user_flag or user_pointer 
> https://dealii.org/developer/doxygen/deal.II/DEALGlossary.html#GlossUserFlags 
>
> Best,
>
> Bruno
>
> On Tuesday, June 21, 2016 at 11:07:48 AM UTC-4, Chenchen Liu wrote:
>>
>> Hi all,
>>
>> I am working on highly heterogeneous materials (see the simple cartoon in 
>> the following). It is composed of two kinds of constituents, A (blue) and B 
>> (white). The traditional methods is to check the position of the cell to 
>> see whether it belongs to phase A or B. Even though I have all the 
>> information about the distribution of the two phases, it is inefficient to 
>> do that when the model becomes more complex. My question is how to group 
>> elements or give an indicator to the cell (e.g., phase A is 1 and phase B 
>> is 2), such that we could know the cell belongs to A or B by checking the 
>> indicator.
>> Or is there any suggestion for considering the complex heterogeneous 
>> materials?  Thanks!
>>
>>
>> <https://lh3.googleusercontent.com/-ULY5cU6XOpw/V2lV3-59ieI/AAAAAAAAAJA/hlfVeCCX1NomK3H0WfNsNGTVkD7faiaOgCLcB/s1600/Screen%2BShot%2B2016-06-21%2Bat%2B10.49.25%2BAM.jpg>
>>
>>
>> Best,
>> Chenchen
>>
>

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to