|
[Sponsors] |
Changing turbulent viscosity in streamwise component. |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 16, 2021, 08:33 |
Changing turbulent viscosity in streamwise component.
|
#1 |
New Member
David
Join Date: Jan 2021
Posts: 13
Rep Power: 5 |
Hi there, I am performing a pimpleFoam simulation and would expect a steady state with parameters throughout my water column similar to the boundary conditions, however, the values at the boundaries are only what I expected. How can you explain this behaviour? I did the same boundaries as the pitzDaily example, with a nutkroughwallfunction at the bottom.
|
|
June 16, 2021, 10:09 |
|
#2 |
Senior Member
Join Date: Apr 2020
Location: UK
Posts: 747
Rep Power: 14 |
I assume that you are running this as a transient run, and you are comparing against an expected steady state condition. Fine. But have you run the case for long enough? It will take a while for the flow to reach a steady behaviour, and you may only be glimpsing a snapshot of a transient behaviour. Try putting some probes in the channel, at different downstream locations, and monitor these with time.
I also recommend checking your pressure field - is it showing pressure pulses up and down this channel? If yes, and if these are not dying out as the simulation progresses, then you have an issue with your BCs. |
|
June 17, 2021, 10:56 |
|
#3 |
New Member
David
Join Date: Jan 2021
Posts: 13
Rep Power: 5 |
Thank you for your quick reply. With a steady state solver I get my desired fields, but when I run pimplefoam for for example 5000s, I get no difference compared to T=2000s for example. I want to simulate 2phaseflow and wanted to explore the flow field with a single phase solver first. is it possible to run steady state+twophase with twophaseeulerfoam? I want to find rouse profiles (equilibrium sediment profiles) with different simulations.
|
|
June 17, 2021, 12:27 |
|
#4 |
Senior Member
Join Date: Apr 2020
Location: UK
Posts: 747
Rep Power: 14 |
David,
ok - good news that the solution is not pulsing, and that you have a steady solution. You probably need to give us some more info though, to help you out: 1. In the picture in your first post, what solver are you using and what are your boundary conditions? 2. Can you also provide similar plots of pressure, velocity and turbulence? |
|
June 18, 2021, 04:07 |
|
#5 |
New Member
David
Join Date: Jan 2021
Posts: 13
Rep Power: 5 |
I am using the pimpleFoam solver for the single phase. I am using the k epsilon turbulence model. I am modelling a rigid lid with a slightly rough uniform bed and my model dimensions are 15 m long x 0.25 m depth: a 2DV model. My boundary conditions are as follows:
u PHP Code:
p PHP Code:
PHP Code:
PHP Code:
nut PHP Code:
|
|
June 18, 2021, 06:16 |
|
#6 |
New Member
David
Join Date: Jan 2021
Posts: 13
Rep Power: 5 |
The grid length is the tricky part. It seems that it is not long enough to develop uniform flow conditions, see figure, this length is 30m. What I would like to do is to get the latter half of my simulation, but this is probably not possible, right?
Thank you for the help. Last edited by dalschouten; June 18, 2021 at 06:18. Reason: addition figure |
|
June 18, 2021, 10:20 |
|
#7 |
Senior Member
Join Date: Apr 2020
Location: UK
Posts: 747
Rep Power: 14 |
Ok. I understand now - your original results make sense and look okay. Making the domain longer will not help.
You have a reasonable looking boundary layer growing on your bottom (rough wall) surface. This BL looks fine. At the top boundary, you have a slip wall, which acts as a constraint on the free stream. In other words, as the BL grows and the BL displacement thickness increases, the cross sectional area for the free stream decreases and the flow therefore has to accelerate. That's why your nut is increasing downstream - you are enforcing quite a strong dPdx by your fixed lid top BC, and this accelerates the flow thereby increasing nut. If you want to get rid of the free stream acceleration (ie most of the additional dPdX) then try sloping the top boundary upwards, to make room for the BL growth. In wind tunnels, the top surface is often flexible, to allow adjustment to give a "flat plate" or zero pressure gradient flow. |
|
June 18, 2021, 10:44 |
|
#8 |
New Member
David
Join Date: Jan 2021
Posts: 13
Rep Power: 5 |
Thanks I will try this! The thing is however that I need to model it as rigid lid, as I am validating a rigid lid study. And which length is preferable, the 15m grid or 30m?
|
|
June 18, 2021, 10:50 |
|
#9 |
Senior Member
Join Date: Apr 2020
Location: UK
Posts: 747
Rep Power: 14 |
Understood, re: the necessity for a rigid lid. Can you make the domain taller? The % increase in free stream will be smaller if the domain is taller.
By the way, you can keep a rigid lid but have a slope on the upper boundary, and that will relieve some of the free stream acceleration - as a first step, just increase the height of the coords at the end of the channel by the BL thickness that you have modelled in your existing run and rerun blockMesh - that will give you a sloped upper surface. If you do this, and make the channel taller, you should be in a much better place. Finally, to remove the initial period of flow development, you can take a profile out from your simulation and map that onto your inlet, using the timeVaryingMappedFixedValue boundary condition. That will give you a realistic inflow profile and avoid the flow development zone. Good luck! |
|
June 18, 2021, 11:09 |
|
#10 |
New Member
David
Join Date: Jan 2021
Posts: 13
Rep Power: 5 |
I just looked into the addition of this, but no result that yields better results.
fvOptions for constant pressure gradient |
|
June 18, 2021, 11:14 |
|
#11 |
Senior Member
Join Date: Apr 2020
Location: UK
Posts: 747
Rep Power: 14 |
Well, yes - in my closed channelFlow simulations I use the following fvOptions:
Code:
pressureGradient { type semiImplicitSource; active true; selectionMode all; volumeMode specific; //absolute sources { U { explicit (0.4900 0 0); // kinematic pressure gradient, -(1/rho).dp/dx implicit 0; } } } But you have a different issue here - you don't have a fully developed channel flow, but instead have a boundary layer that is growing up off the bottom wall. You will eventually get to a develolped flow, I guess, a long way downstream when your BL spans the whole height of the channel - is that what you want? If yes, then maybe an approach like the one above makes sense. Otherwise, you need to make allowance for the BL growth. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Drag Force Ratio for Flat Plate | Rob Wilk | Main CFD Forum | 40 | May 10, 2020 05:47 |
Identifying cells having Turbulent viscosity limited to viscosity ratio of 1.000e+05 | Sayantan Biswas | FLUENT | 0 | September 20, 2019 05:49 |
setting value of turbulent intensity and turbulent viscosity ratio in wind tunnel | nuimlabib | Main CFD Forum | 0 | August 4, 2009 01:05 |
Problems with changing turbulent viscosity by UDF | sarah_ron | FLUENT | 0 | February 14, 2005 01:31 |
Changing turbulent viscosity | ap | FLUENT | 0 | December 16, 2003 17:25 |