CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   turbulentInlet (FvPatchField) (https://www.cfd-online.com/Forums/openfoam-programming-development/159184-turbulentinlet-fvpatchfield.html)

mirz September 10, 2015 10:14

turbulentInlet (FvPatchField)
 
hi,

first: unfortunately iam a newbie in OF and c++ ....

can anyone give me some hints about this turbulentInlet generation?

this is what i have found so far

http://www.openfoam.org/version2.2.0...ntInletDoc.png

(see also in: /opt/openfoam240/src/finiteVolume/fields/fvPatchFields/derived/turbulentInlet/ )


i the example above (myPatch) alpha= 0.1, x_ref = 10, s = 0.1 ...correct?
where do i get the C_RMS?
is it similar to this post?
Quote:

matthias: ...It is chosen during the rms (=standard deviation) calculation from the condition that rms has a prescribed value.

For instance, let us generate a random signal with the rms value of 0.9:

First we generate randomly numbers -0.1, 0.2, 0.5, -0.3. The mean value is of this sample is 0.075. The standard deviation is 0.3031.

Let us introduce the constant C=(0.9/0.3031). Multiply all numbers above with C. The signal sample -0.1*C, 0.2*C, 0.5*C, -0.3*C has the rms 0.9 or variance of 0.81.

The same is made in Lund transformation and referred to as the conditioning
source: http://www.cfd-online.com/Forums/ope...generator.html

i paraview i can see how the turbulent inlet is developed.
http://666kb.com/i/d1z4pfpqn5hfhc5k6.jpg



well the purpose is to understand the turbulentInlet and perhapes where the pressure pulsation in the pitzDaily comes from.

greetz


All times are GMT -4. The time now is 09:35.