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
- How do I get my hands on Ansys Rocky DEM
- Non-Intersected faces found for matching interface periodic-walls
- Unburnt Hydrocarbons contour in ANSYS FORTE for sector mesh
- Fluent fails with Intel MPI protocol on 2 nodes
- Help: About the expression of turbulent viscosity in Realizable k-e model
- Cyclone (Stairmand) simulation using RSM
- Mass Conservation Issue in Methane Pyrolysis Shock Tube Simulation
- Script Error
- Facing trouble regarding setting up boundary conditions for SOEC Modeling
- convergence issue for transonic flow
Top Contributors
-
1436
-
599
-
591
-
591
-
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.