CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

libAcoustics

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By a_habib
  • 1 Post By a_habib

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 25, 2015, 02:19
Default libAcoustics
  #1
Member
 
a_habib's Avatar
 
Ahmad Habib
Join Date: Nov 2014
Location: Aleppo, Syria
Posts: 53
Rep Power: 12
a_habib is on a distinguished road
Hello every one.
I'm using the libAcoustics and I want to know something
in the code below
Code:
    CurleAnalogy1
    {
	functionObjectLibs ("libAcoustics.so");
	
	type		Curle;
	
	log		true;
	
	probeFrequency	4;
	
	patchNames	(cyl-1);
	
	timeStart	0.2;
	
	timeEnd		0.7;
	
	c0		300;
	
	dRef		1e-6;
	
	pName		p;
	
	rhoName		none;
	
	rhoRef		1.2;
	
	observers
	{
	    microphone-A
	    {
		position	(-0.5223 1.7441 0.5e-6);
		pRef		2.0e-5;
		fftFreq		1024;
	    }

	    microphone-B
	    {
		position	(0.5710 2.032 0.5e-6);
		pRef		2.0e-5;
		fftFreq		1024;
	    }
	
	    microphone-C
	    {
		position	(1.664 2.032 0.5e-6);
		pRef		2.0e-5;
		fftFreq		1024;
	    }
	}
    }
What is the ((dRef)) in the previous code??
Is it the the long in the z direction if the simulation is 2D [x,y]
If so, what I should use for it in the 3D simulations

thanks in advance
thegauravonline likes this.
a_habib is offline   Reply With Quote

Old   March 27, 2018, 06:41
Default
  #2
Member
 
thegauravonline's Avatar
 
GS
Join Date: Mar 2016
Posts: 81
Rep Power: 10
thegauravonline is on a distinguished road
Did you find an answer to the query by any chance?

Thanks
thegauravonline is offline   Reply With Quote

Old   March 27, 2018, 14:48
Default
  #3
Member
 
a_habib's Avatar
 
Ahmad Habib
Join Date: Nov 2014
Location: Aleppo, Syria
Posts: 53
Rep Power: 12
a_habib is on a distinguished road
Quote:
Originally Posted by thegauravonline View Post
Did you find an answer to the query by any chance?



Thanks


You can set dRef to -1 in 3d simulations
In 2D, it is the thickness of your mesh
guanjiang.chen likes this.
a_habib is offline   Reply With Quote

Reply

Tags
curle, libacoustics, noise, noise analysis


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 16:27.