Pulsating sphere
We are going to use the supplied Java™ GUI to run AcouSTO for a classical case in acoustics: the radiation problem of a pulsating sphere for which we have an analytical solution.
Let's assume to have a unit radius kphere immersed in standard air that is pulsating with a radial velocity of unit amplitude. Microphones are places on the x axis.
The Java™ GUI can be started with the command:
java -jar AcouSTOGUI.jar
GUI: Program Flow and Geometry
| Symmetry | No Symmetry |
| Rows in Memory | -1 |
| Sound velocity | 343 m/s |
| Density | 1.225 Kg/m3 |
| Boundary Condition type | 1 |
| Omega min | 99 Hz |
| Omega max | 100 Hz |
| Omega n.samples | 1 |
| Geometry type | Sphere |
| Rings | 9 |
| Segments | 8 |
| Radius | 1.0 |
| Radiant | checked |
| Radiant body real strength | 1.0 |
| Radiant body imaginary strength | 0.0 |
| N.of microphones | 20 |
Since we declared 20 microphones, in the acousto.mics.mesh we have to declare the location (x,y and z) of the 20 microphones at which the solution will be evaluated, as follows:
1.0 0.0 0.0
2.0 0.0 0.0
...
20.0 0.0 0.0
We can now run AcouSTO with the parameters we configured above. We can start AcouSTO directly from the GUI by selecting the "Execute" tab and inserting the required parameters in the input boxes:
- The Run path is the directorty in which AcouSTO will run
- The Cfg file can be left blank
- in mpirun args we will insert the parameters to be given to the mpirun executable. We chose to have 2 process rows and 2 columns, thus we will run the program on four processes. Let's assume we want to run the process on the four nodes: node1, node2, node3, node4
of our cluster, we have to supply to mpirun the following parameters:
mpirun -np 4 -host node1,node2,node3,node4 /usr/local/bin/acousto -f pulsatingsphere.cfg
- The run from gui checkbox must be selected
GUI: Execute tab
<run title>-mics-<freq in Hz>.out
Thus in this case, for the only frequency present, the file will be AcouSTO run-mics-99.0000Hz.out.
The file has 16 columns with the following values:
- Microphone index
- Microphone x
- Microphone y
- Microphone z
- Solution (real part)
- Solution (imaginary part)
- Solution (absolute value)
- Incident Potential (real part)
- Incident Potential (imaginary part)
- Incident Potential (absolute value)
- Total pressure (real part)
- Total pressure (imaginary part)
- Total pressure (absolute value)
- Scattering pressure (real part)
- Scattering pressure (imaginary part)
- Scattering pressure (absolute value)
The Potential at the surface is in the file:
<run title>-surf-<freq in Hz>.out
that has 10 columns with:
- Panel index
- Panel Control point x
- Panel Control point y
- Panel Control point z
- Solution (real part)
- Solution (imaginary part)
- Solution (absolute value)
- Incident Potential (real part)
- Incident Potential (imaginary part)
- Incident Potential (absolute value)
