Skip to main content

AddPressureNeumannBC

This routine sets the Neumann boundary condition for pressure field in AbstractSteadyStokes_ kernel.

  • It makes obj%NBCForPressure(nbcNo)
  • nbcNo should be lesser than total Neumann boundary condition for pressure field.

Interface

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

Example