CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Post-Processing (https://www.cfd-online.com/Forums/openfoam-post-processing/)
-   -   Power Spectral Density for velocity with postProcessing "noise" (https://www.cfd-online.com/Forums/openfoam-post-processing/224190-power-spectral-density-velocity-postprocessing-noise.html)

spalartallmaras February 10, 2020 05:03

Power Spectral Density for velocity with postProcessing "noise"
 
Hello,

I am searching info for the power spectral density of velocity (uu, boths in the direction of stream) in the phase of postprocessing.

It is clear that I can get results about PSD of pressure (fluctuation?) with e.g.

Code:

mpirun -np 16 noise -dict system/noiseDict-point -parallel
But I still dont know how can I get results of PSD of velocity.

My simulation is an aeroacoustic calculation about rod-airfoil configuration and the points on which I will get results are nearby rod and airfoil.

Does someone have any idea for that?

spalartallmaras February 10, 2020 10:45

I guess I found the answer...
 
At first I collect the info about velocity fields with controlDict

Code:

probes
    {
        type            patchProbes;
        libs            ("libsampling.so");
        writeControl    timeStep;
        timeStart      2.0;
        patch          cylinder;
        probeLocations
          (
              (0.4 0.2 0.08) // E
            (-0.4 0.2 0.08) // W
            (0.07 0.2 0.3) // N
            (0.07 0.2 -0.3) // S
          );
        fields          (U p forces:force Curle);

    }

and I run the postProcess noise with


Code:

pointNoiseCoeffs
{
 windowModel    Hanning;

    files
    (
        "postProcessing/probes/0.1/U"
        "postProcessing/probes/0.1/p"
        "postProcessing/probes/0.1/Curle"
    );
...
}

I hope I understood right...

spalartallmaras March 30, 2020 16:07

Unfortunately it doesnt work for U... Nobody knows how can I do postprocessing the PSD of velocity?

Kossivi June 25, 2020 09:30

Small test for validation of psd
 
Hello spalartallmaras,
I'm working currently the OF version18+ in order to use psd utility. Everything is working quite good for pressure PSD calculation. Nevertheless I'm looking for a samll test case with result with other sofware for example Fluent to compare with what I get with OF.


I would like to know if you have a test case to validate the result of OF.


Kind regards,
Kossivi.



Quote:

Originally Posted by spalartallmaras (Post 757441)
Hello,

I am searching info for the power spectral density of velocity (uu, boths in the direction of stream) in the phase of postprocessing.

It is clear that I can get results about PSD of pressure (fluctuation?) with e.g.

Code:

mpirun -np 16 noise -dict system/noiseDict-point -parallel
But I still dont know how can I get results of PSD of velocity.

My simulation is an aeroacoustic calculation about rod-airfoil configuration and the points on which I will get results are nearby rod and airfoil.

Does someone have any idea for that?



All times are GMT -4. The time now is 20:03.