42 #include <lifev/core/LifeV.hpp> 43 #include <lifev/core/fem/BCHandler.hpp> 54 BCFunctionBase uZero( zeroFunction );
55 BCFunctionBase uInflow( inflowFunction );
57 std::vector<LifeV::ID> xComp(1), yComp(1), zComp(1);
64 bcH->addBC(
"Inflow", 1, Essential, Full, uInflow, 3 );
65 bcH->addBC(
"Outflow", 3, Natural, Full, uZero, 3 );
66 bcH->addBC(
"TopBottom", 2, Essential, Component, uZero, yComp );
67 bcH->addBC(
"LeftRight", 5, Essential, Component, uZero, zComp );
77 BCFunctionBase uOneX( oneFunctionX );
79 bcH->addBC(
"CylinderDrag", 4, Essential, Full, uOneX, 3 );
88 BCFunctionBase uOneY( oneFunctionY );
90 bcH->addBC(
"CylinderLift", 4, Essential, Full, uOneY, 3 );
boost::shared_ptr< BCHandler > bcPtr_Type