TAGGED: acoustic-simulation, fluent, udf
-
-
October 27, 2024 at 8:32 am
mhsuan
SubscriberI'm doing hydroacoustics simulations via the wave equation model in Fluent. Is there any tutorial to learn the procedure to implement the wave equation solution, including setups of the source mask, sponge layer mask, time ramping, etc.? Especially how to devise a UDF to define a source region? Any sample UDF would be greatly appreciated
Thank you very much. -
October 28, 2024 at 1:11 pm
Federico
Ansys EmployeeThis is an example UDF for a mask, where you would gradually set the value from 0 near the source to 1 away from the source.
DEFINE_SOURCE_MASK(src_mask_define, c, t){Â real xc[3];Â real arg, fun;Â C_CENTROID(xc,c,t);Âarg = [expression that varies your source from 0 to 1 depending on the location relative to your source]Â fun = arg;Â return(fun);}
-
Viewing 1 reply thread
- You must be logged in to reply to this topic.
Ansys Innovation Space
Trending discussions
Top Contributors
-
2943
-
970
-
857
-
599
-
591
Top Rated Tags
© 2025 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.