Skip to main content

AddVelocityDirichletBC

This routine sets the Dirichlet boundary condition for Velocity field in AbstractSteadyStokes_ kernel.

  • It makes obj%DBCForVelocity(dbcNo)
  • dbcNo should be lesser than total dirichlet boundary condition for velocity field.

Interface

INTERFACE
MODULE SUBROUTINE addVelocityDirichletBC(obj, dbcNo, param, boundary)
CLASS(AbstractSteadyStokes_), INTENT(INOUT) :: obj
INTEGER(I4B), INTENT(IN) :: dbcNo
!! Dirichlet boundary nunber
TYPE(ParameterList_), INTENT(IN) :: param
!! parameter for constructing [DirichletBC_](DirichletBC_.md).
TYPE(MeshSelection_), INTENT(IN) :: boundary
!! Boundary region
END SUBROUTINE addVelocityDirichletBC
END INTERFACE