-
Notifications
You must be signed in to change notification settings - Fork 626
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Correlation between the wall roughness and friction factor #6738
Comments
Your case is too complicated to sort out these fundamental issues. Do this: create a very, very simple input file with a horizontal tunnel with approximately the same dimensions and shape as your real tunnel. Blow air through the tunnel and let's see if the model achieves a pressure drop that is comparable to empirical correlations. |
Also, you should not have NO_SLIP and ROUGHNESS specified on the same
SURF. These are mutually exclusive parameters. We should throw an error
for this input. I will fix this.
…On Thu, Aug 2, 2018 at 11:12 AM, Kevin McGrattan ***@***.***> wrote:
Your case is too complicated to sort out these fundamental issues. Do
this: create a very, very simple input file with a horizontal tunnel with
approximately the same dimensions and shape as your real tunnel. Blow air
through the tunnel and let's see if the model achieves a pressure drop that
is comparable to empirical correlations.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#6738 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AENrwUe59Asl47v7sFIb8tkMPMO9UH-kks5uMxbpgaJpZM4VsdNy>
.
|
Also, when you use WIND there is a mean force being applied to the right
hand side of the FDS momentum calculation. This force acts like a mean
pressure gradient. The DEVCs for pressure will not pick this up. What the
DEVC reports is the local hydrodynamic pressure, which sits on top of the
mean pressure gradient from the nudging scheme used by WIND.
We should probably create a DEVC that integrates the mean nudging force in
each component direction so that this could be included in the force
balance.
On Thu, Aug 2, 2018 at 11:18 AM, Randy McDermott <randy.mcdermott@gmail.com>
wrote:
… Also, you should not have NO_SLIP and ROUGHNESS specified on the same
SURF. These are mutually exclusive parameters. We should throw an error
for this input. I will fix this.
On Thu, Aug 2, 2018 at 11:12 AM, Kevin McGrattan ***@***.***
> wrote:
> Your case is too complicated to sort out these fundamental issues. Do
> this: create a very, very simple input file with a horizontal tunnel with
> approximately the same dimensions and shape as your real tunnel. Blow air
> through the tunnel and let's see if the model achieves a pressure drop that
> is comparable to empirical correlations.
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <#6738 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AENrwUe59Asl47v7sFIb8tkMPMO9UH-kks5uMxbpgaJpZM4VsdNy>
> .
>
|
Hello Kevin, I shall do this. |
Where is this input file? I do not see it in the zip. |
Regardless, I've already explained why the DEVC will not work for giving pressure loss when you use a mean force. |
180720PressLossNoSlip5.zip |
Like I just said, DEVC for pressure will not work for this. Study the Matlab scripts that are used to post-process the Moody chart cases. You have to do an integral momentum balance based on the specified FORCE_VECTOR. https://github.com/firemodels/fds/blob/master/Utilities/Matlab/scripts/fds_moody_chart.m https://github.com/firemodels/fds/blob/master/Utilities/Matlab/scripts/friction_factor_calc.m |
Hello Randy, I do not want to use WIND. The previously studied wind influence on the tunnel is negligible. On the other hand, the measure of the dynamic pressure is direction dependent and strictly positive. |
Then do not use WIND. Model your tunnel using specified values of VEL at boundaries. |
Hello again Randy, The “.m” files are clear and I suppose that these are the results used in the Technical Note 1640. However, my problem persists because the dpdx [Pa/m] was imposed as input, but in my case, I have to measure it in order to compute “f”.
|
I created a simple test case with a long tunnel, specifying the inlet velocity and using the sand-grain roughness you specified in your example. I added a line of DEVC for pressure. I compare the friction factors from FDS and the Colebrook equation and they are 0.0090 and 0.0093, respectively. The input file, output files, and Matlab scripts to process the case are attached in the zip. Things to be careful about:
|
Do not set FREE_SLIP or NO_SLIP. The effect of these parameters is explained in the guides. Your near wall grid resolution should put you at about y+ of 100 or less. You can monitor this with BNDF of 'VISCOUS WALL UNITS'. |
Actually, the upper range on y+ can be much higher. In my example, I get about 5000. But that is because Re is 6.6e6, which is very high. |
Also, the VISCOSITY that FDS outputs is the turbulent + molecular. This is not the value you should use the compute the Re for the friction factor. To get Re you only use the molecular viscosity. Either look in the .out file or use an output of 'MOLECULAR VISCOSITY'. |
Hello Randy,
Thanks for your patience and help and I wish you a great weekend. |
|
0.02876 * 101325 / (8.314472 * 293.15) = 1.196 |
Hello, gentlemen, And thanks for the answers. Florin |
The .out file is created by FDS for every run. You have it in your working directory. |
Sorry, I forgot I have run the simulation myself. |
I am continuing to work on this and today noticed something interesting that was not obvious to me at first. By pushing flow in from the inlet we get different behavior for the PRESSURE DEVC output than if we suck the flow from the outlet side. The reason for this is that the two boundary conditions for H are different. By specifying the velocity on the outlet side, we pin down the velocity, but allow the pressure to float to satisfy momentum, and the value of H gets pinned to a constant at the inlet. If you do not do this, the magnitude of H fluctuates in time and this leads to erroneous output for the PRESSURE DEVC. We need to work this on our side, since the natural way to specify the flow is via the inlet. I've now verified that by sucking the flow from the outlet I can get the same correct friction factor for both coarse and finer resolution, but I need to get the plots put together. Hopefully have something tomorrow. |
Hello, I followed Kevin's recommendations and I built one simple model, with one mesh and with 24 meshes (for 24 cores), blowing air through one supply vent. Alongside with the pressure_line _devc, I "installed" a number of statistics pressure planes.
|
@florinmtl I am still working on this, preparing a systematic verification case. I have learned a few things:
|
OK, I have to revise my conclusions somewhat. The good news is that I think we are fine to push the flow through the tunnel with DEVC for pressure. The problem I was seeing before was mainly due to erratic behavior caused by the CFL velocity norm resulting in a time step that was not truly stable. So, the keys are:
With these settings I get f_10 = 0.0088 and f_20=0.0085 and f_Colebrook = 0.0093, where 10 represents 10 cells across the height the tunnel, etc. |
I said you need to use the GLMAT solver and set CFL_VELOCITY_NORM=1. Here is a sample input file. tunnel_pressure_drop_10.fds.txt And, no, there is only one "f" for the tunnel. |
|
I've finished writing up the section for the FDS User Guide. It will be available after tonights Firebot run. Here is section of the guide. |
Thank you very much. |
Hello gentlemen, I performed 2 simulations with 10 mm roughness (instead of 0.1 mm used in your examples), 1390(L)x12.8(W)x5(H) m tunnel, only one mesh of 1x0.512x0.5m and 0,5x0.512x0.5m. I used all the setup given in FDS_User_Guide_tunnel_pressure_drop.pdf and in the previous exchanges.
|
Post the input file and I'll look at it when I get time. But if you think that CFD is going to give you a real-world tunnel pressure inside of 13% error, I think you are being unrealistic. |
180810PressLoss10-NIST1MESH05.fds.txt |
I don't know what you mean by "normal range" for roughness in a tunnel. The correlations we use for friction factor were developed for pipes and pipelines. I've never been in a tunnel that I thought could be described with exactly the same correlation as a pipe. You have to use some engineering judgement. |
The results are extremely sensitive to how you choose to define the length scale in the Reynolds number. The hydraulic diameter for the case you sent me is about 7.2 m. However, the D of an equivalent area circle is about 9.0 m. An almost perfect match with the friction factor is achieved using 8.2 m. I leave the rest to you. I cannot keep spending time on this problem, as I do not see an error in FDS. tunnel_pressure_drop_e_DH7p2.pdf |
I tried one more thing, I set the near wall eddy viscosity model to WALE.
Here is the result using DH=7.2, an error 2.3% relative to Colebrook. I also tracked down this paper, which is worth reading, in that it shows some of the scatter one can expect in the friction factor data. WALE model will be under consideration for the default for next version. But we first have to run through all validation tests, which will take some time. |
Hello all,
I am presently in the situation of validating the design of the ventilation system for a road tunnel. The use of FDS has been challenged by one of our international consultant concerning the computing of the linear pressure losses, i.e. the correlation between the wall roughness and Darcy’s friction factor “f”?
So, in order to clarify the correlation between the roughness of the walls and Darcy’s friction factor value, I performed several simulations without fire, in the empty tunnel, and could not reach any conclusion (see 180720PressLossNoSlip5_devcLambda.fds).
Model’s input and simulation parameters:
Tunnels geometry and characteristics:
Here it is the description of the surface:
&SURF ID='WallConc',
BACKING='INSULATED',
MATL_ID(1,1)='CONCRETE',
MATL_MASS_FRACTION(1,1)=1.0,
THICKNESS(1)=0.25,
NO_SLIP=.TRUE.,
ROUGHNESS=5.0E-3/
(The use of NO_SLIP=.TRUE. seems to be an error; if so, my understanding of the user guide was erroneous)
Standard ambient conditions:
a. temperature 20 deg C;
b. density rho=1.206 kg/m3;
c. atmospheric pressure p= 1325E5 Pa,
d. kinematic viscosity of the air nu = 1.506*10^-5 m2/s
Pressure sensors all over the tunnel, at 0.1 m from the wall and 2.5 m high spaced at 100 m, with the following generic description:
&DEVC ID='PresNi', QUANTITY='PRESSURE', XYZ=50.0,0.1,2.5, ORIENTATION=0.0,1.0,0.0
FDS results:
The mean values of the pressure calculated in a stabilized regime, have been used to compute the “f” factor:
f=2deltaPressure_i,i+1Dh /(2rhodeltaLength_i, i+1).
The values are (see 180720PressLossNoSlip5_devcLambda.xlsx):
Upstream (velocity 2.6 m/s):
“f” calculated with FDS results : 0.09400 ; 0.10904 ; 0.11788 ; 0.118980 ; 0.118578 ; 0.118098 ; 0.118413 ; 0.117669 for Re = 1251025
Downstream (velocity of 4.92 m/s):
“f” calculated with FDS results : 0.13456 ; 0.11691for Re : 2349254
These values have been compared with those calculated with the Colebrook equation:
f = {-2log10[e/(D3.7)+2.51/(Re*f^1/2)]}^-2
Computed values:
upstream: Re=1 251 025; f=0.01833564
downstream: Re=2 349 254; f=0.01818287
The differences are huge and the values of « f » computed from FDS results are way too big.
On the other hand, if there is no fire, the values of the static pressure measured by sensors must always be in my opinion negative because I assume that the devices are measuring gauge pressure, so inferior to the atmospheric pressure (In the simulation whose results are presented above the values were negative). This happens in some simulations but not in all.
I studied the examples given for the Moody validation, and I ran some of them.
For example in “z0=p0001_dpdx=-1_N8-press.fds” I modified the length of the mesh to 20m and I added some pressure devices.
In this case, I also find the pressure increases along the tunnel (so “f” results negative).
Thus being said, will you please help me to get in the good direction?
The examples given in the validation guide are all using WIND parameters, but pressure devices do not give the same pressure gradient (Pa/m).
Should I use “Statistic” cross-sections instead of devices?
On the other hand, if the fire is present, the friction factor varies downstream because of the Re and viscosity, so the constant pressure gradient hypothesis does not function anymore.
Also, the dimensions of a real tunnel are not comparable with those used in the simulations, the air/gases are flowing in both directions, etc.
So, for a road tunnel with mechanical ventilation (exhaust fans, jet fans, Saccardos, etc) I would like you to indicate the best practice to correlate the roughness and the linear pressure losses.
Also, if I have to compare the values of “f” calculated from Colebrooke and Darcy, which is the best way to measure the mean values of the pressure in different cross sections?
I thank in advance for your precious help.
Best regards,
Florin
180720PressLossNoSlip5.zip
The text was updated successfully, but these errors were encountered: