|
[Sponsors] |
December 30, 2016, 14:12 |
pitzDailyMapped killing fluctuations
|
#1 |
Member
Join Date: Apr 2016
Posts: 34
Rep Power: 10 |
HI,
I was going through the pitzDailyMapped folder and it is supposed to create a turbulent inflow condition by mapping the velocity at a plane located in the downsteam of the flow back to the inlet plane. I noticed it uses averaging of velocity to maintain the volumetric flux. However, the average vector is (10,0,0), which means it kills the eddies and therefore the fluctuations over time by mapping the Uy and Uz to zero. Isn't it the whole idea of LES to take the fluctuations larger than the filter width into account? I assume the inlet profile would approach that of a laminar flow after enough time steps and if I'm right the whole simulation case of "pitzDailyMapped" makes no sense. Am I missing something here? any idea? Many thanks in advance. |
|
January 2, 2017, 08:06 |
|
#2 |
Member
Juho Peltola
Join Date: Mar 2009
Location: Finland
Posts: 89
Rep Power: 17 |
Here you can see how the setAverage works:
https://github.com/OpenFOAM/OpenFOAM...tchFieldBase.C Code:
if (setAverage_) { Type averagePsi = gSum(patchField_.patch().magSf()*newValues) /gSum(patchField_.patch().magSf()); if (mag(averagePsi)/mag(average_) > 0.5) { newValues *= mag(average_)/mag(averagePsi); } else { newValues += (average_ - averagePsi); } } |
|
January 2, 2017, 17:32 |
|
#3 | |
Member
Join Date: Apr 2016
Posts: 34
Rep Power: 10 |
Quote:
Also here on page 15 you can see: "Care must be taken not to make the control algorithms too efficient; if the velocity control is too good then it can have the effect of completely destroying fluctuations in the velocity, thus unintentionally relaminarising the flow." |
||
January 3, 2017, 11:44 |
|
#4 |
Senior Member
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0 |
the way that channelFoam use to work for this type of application was to use a cyclic BC with a pressure gradient to drive the flow in a user-specified direction. Without the pressure gradient -> the flow decays. There is an fvoption in openFOAM-plus for pressure gradient source term to replicate that of channelFoam used like:
Code:
airDeflection { type directionalPressureGradientExplicitSource; active true; directionalPressureGradientExplicitSourceCoeffs { selectionMode cellZone; cellZone cZone; fieldNames (U); // Name of the field flowDir (1 1 0); // Desired flow direction faceZone f0Zone; // Face zone upstream cell zone relaxationFactor 0.3; // Relaxation factor for flow // deflection (default 0.3) //Pressure drop model [Pa] model volumetricFlowRateTable;//constant;//DarcyForchheimer; //DarcyForchheimer model // deltaP = (D*mu + 0.5*rho*magUn)*magUn*length_ D 5e7; I 0; length 1e-3; //constant model pressureDrop 40; //volumetricFlowRateTable model outOfBounds clamp; fileName "volFlowRateTable"; } } |
|
May 4, 2023, 16:01 |
|
#5 | |
Senior Member
CFD_Lovers
Join Date: Mar 2015
Posts: 168
Rep Power: 11 |
Quote:
Hello Eman, Did you solve this issue? The problem in which you get laminar flow when applying the mapped velocity boundary condition. I am trying to simulate a pipe flow using this method and all I get is a averaged-looked profile instead of a fluctuating one. Thank you, Sina |
||
Tags |
large eddy simulation, mapped boundary condition, mapped condition, pitzdaily |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How does CFX initialize velocity fluctuations in LES? | dtmith | CFX | 3 | June 4, 2017 04:09 |
Inlet fluctuations issue in LES | Ivan | Main CFD Forum | 0 | October 15, 2012 13:57 |
numerical prediction of Pressure fluctuations in hydraulic jump | masoud197 | CFX | 1 | January 22, 2012 18:58 |
Obtaining RMS of turbulent velocity fluctuations | rks171 | Main CFD Forum | 0 | January 19, 2012 09:45 |
about turbulence random fluctuations | ben | Main CFD Forum | 2 | December 23, 2004 21:23 |