Commit 55c20bba authored by GILLES Sebastien's avatar GILLES Sebastien
Browse files

#820 Introcude non homogeneous boundary condition.

parent b3280b29
......@@ -724,6 +724,43 @@ EssentialBoundaryCondition11 = {
} -- EssentialBoundaryCondition11
EssentialBoundaryCondition12 = {
-- Name of the boundary condition (must be unique).
-- Expected format: "VALUE"
name = 'fluid_robin_interface_dH',
-- Comp1, Comp2 or Comp3
-- Expected format: "VALUE"
-- Constraint: ops_in(v, {'Comp1', 'Comp2', 'Comp3', 'Comp12', 'Comp23', 'Comp13', 'Comp123'})
component = 'Comp12',
-- Name of the unknown addressed by the boundary condition.
-- Expected format: "VALUE"
unknown = 'fluid_velocity',
-- Values at each of the relevant component.
-- Expected format: {VALUE1, VALUE2, ...}
value = { 0., 0. },
-- Index of the domain onto which essential boundary condition is defined.
-- Expected format: VALUE
domain_index = 13,
-- Whether the values of the boundary condition may vary over time.
-- Expected format: 'true' or 'false' (without the quote)
is_mutable = true,
-- Whether a dof of this boundary condition may also belong to another one. This highlights an ill-defined
-- model in most cases, but I nonetheless need it for FSI/ALE.
-- Expected format: 'true' or 'false' (without the quote)
may_overlap = false
} -- EssentialBoundaryCondition12
-- Radial on solid
EssentialBoundaryCondition20= {
......
......@@ -98,6 +98,7 @@ namespace HappyHeart
{
fluid_non_homegeneous = 10,
fluid_robin_interface = 11,
fluid_robin_interface_dH = 12,
solid_radial = 20,
solid_vertical = 21,
......@@ -182,6 +183,7 @@ namespace HappyHeart
InputParameter::DirichletBoundaryCondition<EnumUnderlyingType(BoundaryConditionIndex::fluid_non_homegeneous)>,
InputParameter::DirichletBoundaryCondition<EnumUnderlyingType(BoundaryConditionIndex::fluid_robin_interface)>,
InputParameter::DirichletBoundaryCondition<EnumUnderlyingType(BoundaryConditionIndex::fluid_robin_interface_dH)>,
InputParameter::DirichletBoundaryCondition<EnumUnderlyingType(BoundaryConditionIndex::solid_radial)>,
InputParameter::DirichletBoundaryCondition<EnumUnderlyingType(BoundaryConditionIndex::solid_vertical)>,
// InputParameter::DirichletBoundaryCondition<EnumUnderlyingType(BoundaryConditionIndex::solid)>,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment