|
[Sponsors] | |||||
|
|
|
#1 |
|
New Member
Join Date: Jan 2024
Location: Planet Earth?
Posts: 5
Rep Power: 3 ![]() |
Hi all, I started exploring the libAcoustics library recently. I am getting an error while executing pimpleFoam (in parallel on 8 cores). The case is the propeller tutorial from $FOAM_TUTORIALS.
My system/controlDict file is as follows: Code:
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2406 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object controlDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
application pimpleFoam;
startFrom startTime;
startTime 0;
stopAt endTime;
endTime 0.1;
deltaT 1e-5;
writeControl adjustable;
writeInterval 0.001;
purgeWrite 0;
writeFormat binary;
writePrecision 6;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable true;
adjustTimeStep yes;
maxCo 2;
functions
{
acousticFW_H
{
type FfowcsWilliamsHawkings;
formulationType Farassat1AFormulation;
libs ("libAcoustics.so");
patches ();
executeControl timeStep;
executeInterval 1;
writeControl timeStep;
writeInterval 1;
c0 343;
pInf 0;
pRef 0;
pName p;
rhoName rho;
rho rhoInf;
rhoInf 1.225;
interpolationScheme cell;
origin (0 0 0);
rotation
{
type axes;
e1 (1 0 0);
e2 (0 1 0);
}
surfaces
{
propellerSurface
{
type patch;
patches ("propeller");
}
}
cleanFreq 100;
fixedResponseDelay false;
responseDelay 0.1;
nonUniformSurfaceMotion false;
Ufwh (.0 .0 .0);
U0 (.0 .0 .0);
probeFrequency 1;
timeStart 0;
timeEnd 1e10;
observers
{
mic1
{
type point;
position (0 0.5 0.2);
}
mic2
{
type point;
position (0 0.5 0);
}
mic3
{
type point;
position (0 0.5 -0.2);
}
mic4
{
type point;
position (0 0.7 0);
}
}
calculateSPL yes;
SPLRefPressure 2e-5;
writeFields yes;
log yes;
writefft false;
}
#includeFunc Q
#include "forces"
#include "propellerInfo"
#include "surfaces"
#include "AMIWeights"
}
libs
(
"libAcoustics.so"
);
// ************************************************************************* //
Error.txt Thank you! Kindly let me know if any more information is needed to come to a conclusion. |
|
|
|
|
|
![]() |
| Tags |
| acoustic analysis, acoustics, ffwh model, propeller |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [Gmsh] Meshing 3D volume from STL/STEP Files (Gmsh) | jgross | OpenFOAM Meshing & Mesh Conversion | 6 | July 15, 2022 06:11 |
| how to use github to backup/track customized OF src/app/case files | cfdopenfoam | OpenFOAM Programming & Development | 0 | May 27, 2017 16:33 |
| [snappyHexMesh] snappyHexMesh does not create boundary patches from .stl files | bug_or_feature | OpenFOAM Meshing & Mesh Conversion | 7 | August 30, 2016 20:18 |
| [Workbench] Converting mesh files back into geometry files | dufferbrady | ANSYS Meshing & Geometry | 1 | April 7, 2016 20:38 |
| attaching trn files | hossein_sml | CFX | 1 | August 5, 2015 20:17 |