Acoustic Horn Design – The Easy Way (Ath4)

Member
Joined 2004
Paid Member
This is a full script sample that works for me. You can take this as a starting point.

enc1.PNG


Code:
Throat.Diameter = 25.4
Throat.Angle = 10
Coverage.Angle = 45
Length = 60
Term.s = 1
Term.n = 4
OS.k = 1.0
Term.q = 0.98

Mesh.Enclosure = {
  Spacing = 30,30,30,200
  Depth = 200
  EdgeRadius = 20
  EdgeType = 1
  FrontResolution = 8,8,16,16
  BackResolution = 20,20,20,20
}

;Mesh.Quadrants = 14        ; 1/2 symmetry

Mesh.LengthSegments = 24
Mesh.AngularSegments = 64
Mesh.ThroatResolution = 4
Mesh.MouthResolution = 8.0
Mesh.SubdomainSlices =

Mesh.ZMapPoints = 0.5,0.2,0.5,0.8

ABEC.SimType = 2            ; free space
ABEC.MeshFrequency = 1000
ABEC.NumFrequencies = 24
ABEC.f1 = 800
ABEC.f2 = 10000

ABEC.Polars:SPL_H_norm = {
  MapAngleRange = 0,90,19
  NormAngle = 10
}

ABEC.Polars:SPL_V_norm = {
  MapAngleRange = 0,90,19
  NormAngle = 10
  Inclination = 90
}

Output.ABECProject = 1
Output.STL = 0
 

Attachments

  • enclosure1.txt
    879 bytes · Views: 68
  • Like
Reactions: 1 user
Member
Joined 2004
Paid Member
How do I set microphone level in observations.txt?
You mean where the mic is positioned - between the WG and the woofer, for example?
That would need to be incorporated in the mesh itself (i.e. to move all its points). I can add a parameter for that. I don't think it's possible to move the axis for polars additionally in an observation stage. At the moment it's always the axis of the horn.
 
Last edited:
  • Like
Reactions: 1 user
All I can see is a harmless on-axis dip just above 2 kHz.
Horizontals are easy... :)

(I'm working on a woofer addition.)
Project2 - verticals.

I will look at the ZMapPoints settings and try a better mesh, resolution, freq range. Leave it churning overnight.

It will be interesting to measure this with the HF10AK in place. Hopefully at the weekend.

1648726219354.png


Woofer! I guess it will work in a similar way to the tweeter https://www.diyaudio.com/community/...-design-the-easy-way-ath4.338806/post-6984405 ?
 
Mesh.ZMapPoints = 0.5,0.1,0.76,0.733

I only changed the last two for the mouth edge
Thanks for the tip, I think this looks much better.
1648728409005.png


; -------------------------------------------------------
; Mesh Setting
; -------------------------------------------------------

Mesh.AngularSegments = 120
Mesh.LengthSegments = 64
Mesh.ThroatResolution = 4.0 ; [mm]
Mesh.InterfaceResolution = 10.0 ; [mm]
Mesh.InterfaceOffset = 5.0 ; [mm]
Mesh.CornerSegments = 10
Mesh.SubdomainSlices =
Mesh.Quadrants = 14
Mesh.ZMapPoints = 0.5,0.1,0.76,0.733
 
Member
Joined 2004
Paid Member
Here it's probably best to not use subdomains at all if possible, i.e. set "Mesh.SubdomainSlices = " and get rid of the interface altogether.
That said, I already saw a situation where the model wouldn't solve properly without subdomains, for some (not at all obvious) reasons. I can't help with that.
 
Last edited:
  • Like
Reactions: 1 users