-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The mean value of p_Fluct is not zero in VortexShed case #95
Comments
here is my case set: p file/--------------------------------- C++ ----------------------------------- dimensions [0 2 -2 0 0 0 0]; internalField uniform 0; boundaryField
U file/--------------------------------- C++ ----------------------------------- dimensions [0 1 -1 0 0 0 0]; internalField uniform (0.3 0 0); boundaryField
fwhControl fileFarassat1A-Patch
} commonSetting filelibs ("libAcoustics.so");
... controlDict file/--------------------------------- C++ ----------------------------------- application pimpleFoam; startFrom startTime; startTime 0; stopAt endTime; endTime 1000; deltaT 5e-4; writeControl adjustableRunTime; writeInterval 0.1; purgeWrite 0; writeFormat ascii; writePrecision 6; writeCompression off; timeFormat general; timePrecision 6; runTimeModifiable true; adjustTimeStep yes; maxCo 0.9; functions |
The E1 point is located in near field and is needed to compare pressure with direct calculation. If you are using the pimple or piso algorithm you need to set pInf equal to 0. This tutorial was created to show how to use and configure libacoustics for similar problems. Library validation cases can be found in the Tests folder. You may also be interested in the answers to these questions: Regards, |
thank you for replying, |
hi,
I am running the VortexShed tutorial case in OpenFoam v20 and libacoustic in v20. But the p_Fluct of one observation point calculated by FWH method has non-zero mean value, which confuse me that the acoustic pressure should oscillate around the 0 rather than a non-zero value. how can I get the right value in this case?
here is the output .dat file and I used MATLAB to draw it:
as we can see that the point E1's p_Fluct has the non-zero mean value, it it right ?
The text was updated successfully, but these errors were encountered: