Wiki

Clone wiki

lifev-release / tutorial / Specification_of_a_single_boundary_condition

Go back


Specification of a single boundary condition

The single boundary condition is contained in an object of class BCBase. A single boundary condition is typically defined by the following input data:

  • the name of the boundary condition (object of class std::string, user-defined);
  • the mesh flag of the surface where we want to apply the boundary condition;
  • the type of the boundary condition;
  • the mode of the boundary condition;
  • the function holding the user defined function defining the boundary condition;
  • the number of components involved in the boundary condition.

The type of the boundary conditions should be chosen among the following list:

  • Natural
  • Robin
  • Flux
  • Resistance
  • Essential
  • EssentialVertices
  • EssentialEdges

The mode of the boundary conditions should be chosen among the following list:

  • Scalar
  • Full
  • Component
  • Normal
  • Tangential
  • Directional

Depending on the type and mode, some of the boundary conditions may require additional or different input data. In the following tutorial we provide some examples and we refer to the doxygen for a detailed explanation of all the possibile choices.

Updated