 <CompuCell3D>
 <Potts>
   <Dimensions x="121" y="43" z="1"/>
   <Anneal>10</Anneal>
   <Steps>10000</Steps>
   <Temperature>0.3</Temperature>
   <Flip2DimRatio>1</Flip2DimRatio>
   <Boundary_x>Periodic</Boundary_x>
<!--   
    <Boundary_y>Periodic</Boundary_y>
   <Boundary_z>Periodic</Boundary_z> 
-->
    <FlipNeighborMaxDistance>1</FlipNeighborMaxDistance>
 </Potts>

<Plugin Name="CellType">
    <CellType TypeName="Medium" TypeId="0"/>
    <CellType TypeName="Fluid" TypeId="1"/>
    <CellType TypeName="Wall" TypeId="2" Freeze=""/>
 </Plugin>



 <Plugin Name="Volume">
   <TargetVolume>9</TargetVolume>
   <LambdaVolume>0.5</LambdaVolume>
 </Plugin>

 <Plugin Name="Surface">
   <TargetSurface>12</TargetSurface>
   <LambdaSurface>0.2</LambdaSurface>
 </Plugin>

<!-- <Plugin Name="CellSortType" /> -->

<!-- 
 <Plugin Name="Contact">
   <Energy Type1="Medium" Type2="Medium">0</Energy>
   <Energy Type1="Fluid" Type2="Fluid">1</Energy>
   <Energy Type1="Medium" Type2="Fluid">10</Energy>
   <Energy Type1="Wall" Type2="Wall">1</Energy>
   <Energy Type1="Wall" Type2="Fluid">5</Energy>
   <Energy Type1="Wall" Type2="Medium">10</Energy>
   <Depth>2</Depth>   
 </Plugin>
-->
 <Plugin Name="CenterOfMass"/>

 <Plugin Name="ExternalPotential">
    <Lambda x="-0.5" y="0.0" z="0.0"/>    
 </Plugin>

 <!--Cell Boundary Tracker Plugin must appear before viscosity-->

<!-- <Plugin Name="CellBoundaryTracker"/> -->

 <Plugin Name="NeighborTracker"/> 

 <Plugin Name="CellInstantVelocity">
    <VelocityDataHistorySize>2</VelocityDataHistorySize>
    <EnoughDataThreshold>2</EnoughDataThreshold>
 </Plugin>


 <Plugin Name="Viscosity">
    <LambdaViscosity>10.0</LambdaViscosity>
 </Plugin>


 <Plugin Name="CellVelocity">
    <VelocityDataHistorySize>2</VelocityDataHistorySize>
    <EnoughDataThreshold>2</EnoughDataThreshold>
 </Plugin>



 <Steppable Type="PIFInitializer">
    <PIFName>flow_tube_2D.pif</PIFName>
 </Steppable>
 


 <Steppable Type="CellVelocity">
    <UpdateFrequency>10</UpdateFrequency>
 </Steppable>


 
 <Steppable Type="AdvectionDiffusionSolverFE">
     <DiffusionField>
        <DiffusionData>
            <FieldName>FGF</FieldName>
            <DiffusionConstant>0.00</DiffusionConstant>
            <DecayConstant>0.000</DecayConstant> 
            <ConcentrationFileName>flowFieldConcentration2D.txt</ConcentrationFileName> 
            <DoNotDiffuseTo>Wall</DoNotDiffuseTo>
        </DiffusionData>
        <SecretionData>
<!--            <Secretion Type="Fluid">0.5</Secretion> -->
<!--	    <SecretionOnContact Type="Fluid" SecreteOnContactWith="Wall">0.5</SecretionOnContact> -->
        </SecretionData>

    </DiffusionField>
 </Steppable>



</CompuCell3D>
