Element boundary condition routines

Unknown
edited August 2022 in Community Q&A

Hi experts,

I am having issues running element boundary condition routines like udfGetEbcNQuads(), udfGetEbcType(), etc. I am currently using momentum source. Do I need to specify name of the surface set? if yes, where to define and how to get it done?

Thanks!

Best Answer

  • acupro
    acupro
    Altair Employee
    edited August 2022 Answer ✓

    You meant to say that it can be invoked via a particular surface set and I need to use only those user function that can be used with surface set ???

    And momentum source is the element set not surface set right?

    What are element boundary condition user functions? Where are they applicable?

    Thanks!

    Those particular routines can only be used in functions called by the ELEMENT_BOUNDARY_CONDITION command with type = user_function.  Basically this might be when you want to set some specialized boundary condition on a surface that is not 'covered' by the general boundary condition types.

Answers

  • acupro
    acupro
    Altair Employee
    edited August 2022

    From the User-Defined Functions Manual:

    udfGetEBCType():  This routine may only be called within an Element Boundary Condition user function.

    udfGetEBCNQuads():  This routine may only be called within an Element Boundary Condition user function.

    In other words, those routines are not valid for MOMENTUM_SOURCE type = user_function.

  • Unknown
    edited August 2022

    From the User-Defined Functions Manual:

    udfGetEBCType():  This routine may only be called within an Element Boundary Condition user function.

    udfGetEBCNQuads():  This routine may only be called within an Element Boundary Condition user function.

    In other words, those routines are not valid for MOMENTUM_SOURCE type = user_function.

    You meant to say that it can be invoked via a particular surface set and I need to use only those user function that can be used with surface set ???

    And momentum source is the element set not surface set right?

    What are element boundary condition user functions? Where are they applicable?

    Thanks!

  • acupro
    acupro
    Altair Employee
    edited August 2022 Answer ✓

    You meant to say that it can be invoked via a particular surface set and I need to use only those user function that can be used with surface set ???

    And momentum source is the element set not surface set right?

    What are element boundary condition user functions? Where are they applicable?

    Thanks!

    Those particular routines can only be used in functions called by the ELEMENT_BOUNDARY_CONDITION command with type = user_function.  Basically this might be when you want to set some specialized boundary condition on a surface that is not 'covered' by the general boundary condition types.