Skip to content
jessicahunter24 edited this page Mar 31, 2013 · 22 revisions

Infinite Homogeneous Case

    py_printf('INFO', 'Initializing fuel-moderator mix region...')
    
    # Define region
    region_mix = Region('infinite medium', INFINITE)
    region_mix.setMaterial(mix)

Homogeneous Equivalence (Pin Cell) Case

    py_printf('INFO', 'Initializing fuel and moderator regions...')
    
    # Define moderator region
    region_mod = Region('moderator', MODERATOR)
    region_mod.setMaterial(moderator)
    region_mod.setFuelRadius(radius_fuel)
    region_mod.setPitch(pitch)
        
    # Define fuel region
    region_fuel = Region('fuel', FUEL)
    region_fuel.setMaterial(fuel)
    region_fuel.setFuelRadius(radius_fuel)
    region_fuel.setPitch(pitch)

Return to Creating Input Files

Tutorials

Home

Clone this wiki locally