TAGGED: acoustic-simulation, fluent, udf
-
-
October 27, 2024 at 8:32 ammhsuanSubscriber
I'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 pmFedericoAnsys Employee
This 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
- Non-Intersected faces found for matching interface periodic-walls
- Script error Code: 800a000d
- Unburnt Hydrocarbons contour in ANSYS FORTE for sector mesh
- Help: About the expression of turbulent viscosity in Realizable k-e model
- Fluent fails with Intel MPI protocol on 2 nodes
- Cyclone (Stairmand) simulation using RSM
- error udf
- Diesel with Ammonia/Hydrogen blend combustion
- Mass Conservation Issue in Methane Pyrolysis Shock Tube Simulation
- Script Error
Top Contributors
-
1301
-
591
-
544
-
524
-
366
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.