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
- How do I get my hands on Ansys Rocky DEM
- Unburnt Hydrocarbons contour in ANSYS FORTE for sector mesh
- convergence issue for transonic flow
- Facing trouble regarding setting up boundary conditions for SOEC Modeling
- Point exception in erosion calculation
- Errors with multi-connected bodies using AQWA
- Script Error Ansys
Top Contributors
-
2532
-
933
-
787
-
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.