Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
Sound hard and radiation boundaries in acoustic medium!
Posted 26 ago 2014, 21:25 GMT-4 Interfacing, Acoustics & Vibrations 1 Reply
Please login with a confirmed email address before reporting spam
Hi all,
I am using FEMLAB script to solve acoustic problem.
I'm facing some difficulty in setting boundary conditions for my model.
Here is my code:
% DEFINE GEOMETRY, MESH, AND SUBDOMAIN/BOUNDARY GROUPS
fem.geom = rect2(0,2,0,1);
geomplot(fem, 'edgelabels', 'on', 'sublabels', 'on');axis equal
% Create mapped quad mesh
fem.mesh = meshinit(fem,'Hmax', 0.01, 'methodsub','quad');
% Subdomain groups 1: water medium
fem.equ.ind = {[1]};
% boundary groups 1:Sound hard boundary condition 2: Radiation condition and sound source
% 3: Radiation condition
fem.bnd.ind = {[2:3] [1] [4]};
% DEFINE SPACE CO-ORDINATES, DEPENDENT VARIABLES, AND SHAPE FUNCTIONS
fem.sdim = {'x' 'y'};
fem.dim = {'p'};
fem.shape = [1];
% DEFINE BOUNDARY CONDITIONS
fem.bnd.r = {{{'???'}} ... % Sound hard (walls) boundary condition
{{'???'}} ... % Plane wave raditaion (sound source)
{{'???'}}} % Plane wave raditaion
Do you know how to set these boundary condition?
Thank you very much.
Best Regards,
Tran Quang Dat
I am using FEMLAB script to solve acoustic problem.
I'm facing some difficulty in setting boundary conditions for my model.
Here is my code:
% DEFINE GEOMETRY, MESH, AND SUBDOMAIN/BOUNDARY GROUPS
fem.geom = rect2(0,2,0,1);
geomplot(fem, 'edgelabels', 'on', 'sublabels', 'on');axis equal
% Create mapped quad mesh
fem.mesh = meshinit(fem,'Hmax', 0.01, 'methodsub','quad');
% Subdomain groups 1: water medium
fem.equ.ind = {[1]};
% boundary groups 1:Sound hard boundary condition 2: Radiation condition and sound source
% 3: Radiation condition
fem.bnd.ind = {[2:3] [1] [4]};
% DEFINE SPACE CO-ORDINATES, DEPENDENT VARIABLES, AND SHAPE FUNCTIONS
fem.sdim = {'x' 'y'};
fem.dim = {'p'};
fem.shape = [1];
% DEFINE BOUNDARY CONDITIONS
fem.bnd.r = {{{'???'}} ... % Sound hard (walls) boundary condition
{{'???'}} ... % Plane wave raditaion (sound source)
{{'???'}}} % Plane wave raditaion
Do you know how to set these boundary condition?
Thank you very much.
Best Regards,
Tran Quang Dat
1 Reply Last Post 27 ago 2014, 20:43 GMT-4