Linking non uniform (reference field) in Turbulent Inlet to AtmosphericBoundaryLayer
Dear Foamers,
I just started learning how to use openFoam and now I want to use the Atmospheric boundary layer profile as an inlet velocity along with the turbulent inlet. inlet { type turbulentInlet; referenceField nonuniform; fluctuationScale (0.02 0.01 0.01); } inlet { type atmBoundaryLayerInletVelocity; n (1 0 0); z (0 0 1); Uref 10.0; Zref 20.0; z0 uniform 0.1; zGround uniform 0.0; } |
do you want to use both BC together?
it is impossible :) you maybe want to change source code to consider turbulent flow along ABL condition |
Hello Nima Samkhaniani,
I tried understanding the code but I wasn't able to figure out want exactly to change.So I came up with this solution I performed two simulations.First with Atmospheric Boundary layer as the inlet for a few time steps.From the last time step, I got the non-uniform list of the inlet(which is the ABL). In the second simulation, I used the Turbulent Inlet with nonuniform reference field and then copied the nonuniform list from the first simulation to the second simulation.It works fine :). boundaryField { inlet { type turbulentInlet; fluctuationScale (0.20 0.20 0.20); referenceField nonuniform List<vector> 10800 ( (3.45854 0 0) .. .. .. .. ) ; } Regards, Akhil Mehta |
All times are GMT -4. The time now is 19:58. |