Element boundary condition routines
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
-
Prabin Pradhananga_20428 said:
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.
1
Answers
-
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.
1 -
acupro_21778 said:
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!
0 -
Prabin Pradhananga_20428 said:
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.
1