flash.pyFlash4.RadTrans.mgdSetBC
- mgdSetBC(ig: int, f: int = 0, bcType: int = 0, bcValue: float = 0) None
Set the boundary condition for a specific group. Can be invoked in one of two modes:
bctypes/bcvalues present: This allows you to easily set the BC on all of the faces of the domain
f/bctype/bcvalue present: This allows you to easily set the BC on a specific face of the domain
- Parameters:
ig (int) – energy group number
bctypes (int(6)) – boundary condition type on each boundary
bcvalues (float(6)) – boundary condition value (for dirichlet) on each boundary
f (int) – boundary number
bctype (int) – type of bondary for face f
bcvalue (float) – dirichlet value for face f