Quote:
I made some changes in \Make\file and \Make\options, But I am not sure is that works in your case. file is changed to : SoundObserver/SoundObserver.C FoamFourierAnalysis/FoamFftwDriver.C /* Acoustic analogies */ analogies/AcousticAnalogy/AcousticAnalogy.C analogies/Curle/Curle.C analogies/FfowcsWilliamsHawkings/fwhFormulation.C analogies/FfowcsWilliamsHawkings/Farassat1AFormulation.C analogies/FfowcsWilliamsHawkings/GTFormulation.C analogies/FfowcsWilliamsHawkings/FfowcsWilliamsHawkings.C /* Coupling with BEM and FFT */ samplingBEM/sampledSurface/writers/gmsh/gmshSurfaceWriter.C samplingBEM/soundPressureSampler/soundPressureSampler.C LIB = $(FOAM_USER_LIBBIN)/libAcoustics and options is changed to : fftw_root=$(FOAM_USER_LIBBIN)/fftw-3.3.3 EXE_INC = \ -I$(LIB_SRC)/fileFormats/lnInclude \ -I$(LIB_SRC)/sampling/lnInclude \ -I$(LIB_SRC)/transportModels \ -I$(LIB_SRC)/transportModels/compressible/lnInclude \ -I$(LIB_SRC)/TurbulenceModels/turbulenceModels/lnInclude \ -I$(LIB_SRC)/TurbulenceModels/incompressible/lnInclude \ -I$(LIB_SRC)/TurbulenceModels/compressible/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \ -I$(LIB_SRC)/finiteVolume/lnInclude \ -I$(LIB_SRC)/meshTools/lnInclude \ -I$(LIB_SRC)/functionObjects/forces/lnInclude \ -I$(LIB_SRC)/surfMesh/lnInclude \ -I$(fftw_root)/include LIB_LIBS = \ -lcompressibleTransportModels \ -lsampling \ -lturbulenceModels \ -lincompressibleTurbulenceModels \ -lcompressibleTurbulenceModels \ -lincompressibleTransportModels \ -lfluidThermophysicalModels \ -lspecie \ -lfileFormats \ -lfiniteVolume \ -lmeshTools \ -lforces \ -lsurfMesh \ -L$(fftw_root)/lib \ -lfftw3 |
Quote:
I checked one by one but they are the same with your post, could you please tell me where did you modified? file: SoundObserver/SoundObserver.C FoamFourierAnalysis/FoamFftwDriver.C /* Acoustic analogies */ analogies/AcousticAnalogy/AcousticAnalogy.C analogies/Curle/Curle.C analogies/FfowcsWilliamsHawkings/fwhFormulation.C analogies/FfowcsWilliamsHawkings/Farassat1AFormulation.C analogies/FfowcsWilliamsHawkings/GTFormulation.C analogies/FfowcsWilliamsHawkings/FfowcsWilliamsHawkings.C /* Coupling with BEM and FFT */ samplingBEM/sampledSurface/writers/gmsh/gmshSurfaceWriter.C samplingBEM/soundPressureSampler/soundPressureSampler.C LIB = $(FOAM_USER_LIBBIN)/libAcoustics options: fftw_root=$(FOAM_USER_LIBBIN)/fftw-3.3.3 EXE_INC = \ -I$(LIB_SRC)/fileFormats/lnInclude \ -I$(LIB_SRC)/sampling/lnInclude \ -I$(LIB_SRC)/transportModels \ -I$(LIB_SRC)/transportModels/compressible/lnInclude \ -I$(LIB_SRC)/TurbulenceModels/turbulenceModels/lnInclude \ -I$(LIB_SRC)/TurbulenceModels/incompressible/lnInclude \ -I$(LIB_SRC)/TurbulenceModels/compressible/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \ -I$(LIB_SRC)/finiteVolume/lnInclude \ -I$(LIB_SRC)/meshTools/lnInclude \ -I$(LIB_SRC)/functionObjects/forces/lnInclude \ -I$(LIB_SRC)/surfMesh/lnInclude \ -I$(fftw_root)/include LIB_LIBS = \ -lcompressibleTransportModels \ -lsampling \ -lturbulenceModels \ -lincompressibleTurbulenceModels \ -lcompressibleTurbulenceModels \ -lincompressibleTransportModels \ -lfluidThermophysicalModels \ -lspecie \ -lfileFormats \ -lfiniteVolume \ -lmeshTools \ -lforces \ -lsurfMesh \ -L$(fftw_root)/lib \ -lfftw3 |
1 Attachment(s)
Sorry, I compiled version 2.3 and version 4 to Openfoam 6, and I forget which one I changed. I have attached them. If they don't work, maybe you can try to check your environment. I couldn't do this on a computer because it didn't have fftw-3.
|
the Xfer method have been removed by this commit :
https://github.com/OpenFOAM/OpenFOAM...1c806ff2dd24ea faces.xfer() is now move(faces) |
Quote:
I run the example of cylinder case in version v2112 , in the acousticData folder, there is only time, pressure fluctuation data on the overserved points. There is no Freq, and spl. Could you help me to figure out what is the problem? thanks! hewei |
Hi,
This may be a modification of the new version. As you already have time and pressure fluctuations. You can calculate spl or PSD using matlab. https://www.mathworks.com/matlabcent...vel-calculator Regards, Guanjiang |
Hi Guanjiang,
I solved it by activating the "writeFfft"in commonSettings file. Either I can calculate spl equation using the p' value. Thank you very much! regards, W. Quote:
|
compile error libAcoustics
Hello,
I want to compile libAcoustics-digitef-dev-2112 on OpenFOAM-v2112. I get error /usr/bin/ld cannot find -lrandomProcesses. Can someone please help me out? Thank you! Ervin |
All times are GMT -4. The time now is 07:49. |