Initializing a configuration


34
views
0
19 days ago by

Hello,

I am trying to get an initial 3D configuration of cells as follows:

There are two types of cells, and their arrangement is into concentric spheres of some radii. So, the inner spherical region contains cells of Type 1 and the outer spherical region contains Type 2 cells.

How should I go about to initialise this configuration? 

Thank you.

Community: CompuCell3D

1 Answer


1
18 days ago by
You could use two regions in blob initializer. First, you create the outer sphere filling it completely. Then you create another region for the inner sphere, overriding that portion of the sphere. As so:


<!-- outer sphere region -->
<Steppable Type="BlobInitializer">

<!-- Outer sphere region -->
<Region>
<!-- center it wherever is apropriate -->
<Center x="500" y="500" z="500"/>
<!-- give it the apropriate size -->
<Radius>100</Radius>
<Gap>0</Gap>
<Width>25</Width>
<Types>TypeB</Types>
</Region>

<!-- inner sphere region -->

<!-- Initial layout of cells in the form of spherical (circular in 2D) blob -->
<Region>
<!-- center it wherever is apropriate -->
<Center x="500" y="500" z="500"/>
<!-- give it the apropriate size -->
<Radius>50</Radius>
<Gap>0</Gap>
<Width>25</Width>
<Types>TypeA</Types>
</Region>
</Steppable>
1

I tried exactly the same as you suggested and the result I got is that the whole region is only filled with TypeB cells.

There was no effect of the second initialisation.

written 17 days ago by Ravit Anand  
1
Sorry, my mistake. The two regions should be in one steppable call. I'll edit my original response.
written 17 days ago by Juliano Ferrari Gianlupi  
1
Yeah, thankyou I got. It worked.  
written 17 days ago by Ravit Anand  
Please login to add an answer/comment or follow this question.

Similar posts:
Search »