-
-
August 4, 2022 at 8:10 am
maria.marinari
SubscriberHi Everyone,
I was wondering if anyone knew of a way of adding additional turbulence at an internal boundary. Either through a UDF or an extra boundary condition. The boundary in question already has a fan boundary condition on it, can you add additional boundary conditions to the same boundary?
If anyone has any ideas I would really appreciate it.
All the best,
Maria
-
August 4, 2022 at 9:02 am
Rob
Forum ModeratorNot at the surface boundary, but you can add "stuff" into cell zones using source terms.Â
-
August 4, 2022 at 9:36 am
maria.marinari
SubscriberThanks so much would I do that using user-defined scalers?
-
August 4, 2022 at 10:16 am
-
August 4, 2022 at 1:16 pm
maria.marinari
SubscriberAh, right I see. Is there a way to do this just on the cells at the boundary rather than everywhere in the domain?
-
August 4, 2022 at 2:07 pm
Rob
Forum ModeratorYes and no. There's no reason you can't split some cells to add the source too, so you add it to a whole zone which isn't the same as the whole model. Otherwise you need a UDF; expressions may also work but not sure where we've got re conditional source terms.Â
-
August 4, 2022 at 2:18 pm
maria.marinari
SubscriberCould I then theoretically write a UDF That creates a cell zone from all the cells directly behind the faces on the boundary and add a source term to them?
-
August 4, 2022 at 2:42 pm
Rob
Forum ModeratorYes, you'd need to ID the surface, it's normal and then tag the cells. Check expressions too, you may be able to set
IFÂ 15
ELSE source = 0.0
-
August 4, 2022 at 2:49 pm
maria.marinari
SubscriberAwesome thanks so much!
Where would I hook in a udf like that, do you know which macro should I use to base the udf off?
-
August 4, 2022 at 2:58 pm
Rob
Forum ModeratorYou'd need DEFINE_SOURCE https://ansyshelp.ansys.com/account/Secured?returnurl=/Views/Secured/corp/v221/en/flu_udf/flu_udf_sec_define_source.html
-
August 4, 2022 at 3:11 pm
maria.marinari
SubscriberThanks so much for all your help!
-
- The topic ‘Adding Turbulence to an Internal Boundary’ is closed to new replies.
-
3407
-
1057
-
1051
-
896
-
887
© 2025 Copyright ANSYS, Inc. All rights reserved.