|
[Sponsors] |
Skin friction coefficient over surface |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
Member
Michael Kruger
Join Date: Jul 2014
Location: South Africa
Posts: 38
Rep Power: 12 ![]() |
Is there a way to obtain the skin friction coefficient over a surface, or am I going to have to calculate it manually?
Thanks in advance
__________________
------------------------------------------------------- Michael |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
|
If you use the wallShearStress utility you have the wall shear stress (tauw). You can than use ParaView to calculate the skin friction coefficient (2*tauw/(rho*V^2))
Regards, Tom |
|
![]() |
![]() |
![]() |
![]() |
#3 |
Member
Michael Kruger
Join Date: Jul 2014
Location: South Africa
Posts: 38
Rep Power: 12 ![]() |
Thanks Tom.
I have only used openFOAM for a few days now and cannot find any documentation on the actual implementation of the Standard Utilities. Can you perhaps explain its use to me? In what file and how do I implement the wallShearStress utility? Also, how do I do such types of calculations in paraView? Thanks in advance.
__________________
------------------------------------------------------- Michael |
|
![]() |
![]() |
![]() |
![]() |
#4 |
Senior Member
|
Hi, just type "wallShearStress" in the terminal and it will calculate this after your normal run. It is a standard postProcessing OpenFOAM utility. In ParaView you can load the wall patches (not the internalField) and use the calculator filter on it.
I bet you can find a lot of information on both of these by searching the forum. Regards, Tom |
|
![]() |
![]() |
![]() |
![]() |
#5 |
Member
Michael Kruger
Join Date: Jul 2014
Location: South Africa
Posts: 38
Rep Power: 12 ![]() |
Thank you very much Tom.
I did indeed try and search for something, but didn't find anything. I think in the beginning there are a few things that are so basic that no one really talks about it, such as this. Thanks again, cheers.
__________________
------------------------------------------------------- Michael |
|
![]() |
![]() |
![]() |
![]() |
#6 | |
Senior Member
Huang Xianbei
Join Date: Sep 2013
Location: Yangzhou,China
Posts: 303
Rep Power: 14 ![]() |
Quote:
Can we calculate the wallShearStress using tau_wall=rho*nu*gradU? Two different values are obtained in the two ways, which one would be correct? Should we just use wallShearStress utility? Xianbei |
||
![]() |
![]() |
![]() |
![]() |
#7 |
Senior Member
|
Hi Xianbei,
I think it depends a lot on the type of system that you are analyzing. The wallShearStress utility also takes turbulence into account. I guess that the results should be the same if you have a laminar case. Also if you have an incompressible case I think the wallShearStress is actually the wallShearStress divided by rho! In version 2.3.x you can actually also use the utility as a function object (at least the source code indicates this) Regards, Tom |
|
![]() |
![]() |
![]() |
![]() |
#8 | |
Senior Member
Huang Xianbei
Join Date: Sep 2013
Location: Yangzhou,China
Posts: 303
Rep Power: 14 ![]() |
Quote:
Thank you for your reply. In fact, my case is not laminar, but I don't think wallShearStress is just written for laminar only. I agree with you that the wallShearStress is actually the wallShearStress divided by rho, however, the results are not the same ![]() Does it related to the Beff in LES, in my opinion, i_normal&Beff seems not equal to wallShearStress, what's your opinion? Xianbei |
||
![]() |
![]() |
![]() |
![]() |
#9 |
Senior Member
|
Hi Xianbei,
Maybe I needed to clarify my statement, wallShearStress is not only for laminar indeed, but also for turbulent flow (using nuEff instead of nu), but if you calculate wall shear stress by nu*rho*gradU than there is a difference in the values between both approaches. You would have to use nuEff in the second approach as well. I am not sure how things would change for LES, but still I would expect a difference since even with LES you will have a shear stress from the unresolved eddies, depending on LES model, grid refinement, wall model etcetera. I have not studied LES simulations enough to give you any guidance. Best way would probably be to take a simple flat plate flow and look at the results from different methods. Good luck, Tom |
|
![]() |
![]() |
![]() |
![]() |
#10 | |
Senior Member
Huang Xianbei
Join Date: Sep 2013
Location: Yangzhou,China
Posts: 303
Rep Power: 14 ![]() |
Quote:
Thank you for your advice. In fact, in LES, nuEff=nu+nuSgs, however, nuSgs on the wall is 0, so when we calculate wallShearStress, we can just ignore nuSgs. Additionally, the grid near the wall is refined enough with average y+=3, so it should be enough. I performed another case, a straight duct, however, the results still differs between 2 methods ![]() Xianbei |
||
![]() |
![]() |
![]() |
![]() |
#11 |
Senior Member
|
Hi Xianbei,
I guess the next step would be to compare with the pressure loss for your duct flow, which should be related to the shear stress, at least you would know if one of both methods is correct. Regards, Tom |
|
![]() |
![]() |
![]() |
![]() |
#12 | |
Senior Member
Huang Xianbei
Join Date: Sep 2013
Location: Yangzhou,China
Posts: 303
Rep Power: 14 ![]() |
Quote:
Sorry for forgotting metioning that I compare both results with the experimental data, the rho*nu*gradU is at the same order with the experiment's, however, the wallShearStress returns a much more larger value, about 70 times. That's why I doubt about the wallShearStressLES. Xianbei |
||
![]() |
![]() |
![]() |
![]() |
#13 |
Senior Member
|
Hi Xianbei,
Ok I did not realize the difference was that big! In the source code of the utility (not the functionObject) it is explicitly stated that a RAS type turbulence model is expected however, maybe something goes wrong because of that? Other than that I would not know what might be causing this error, I guess the best thing may be to file a bug report if you can make a simple (small enough) test case. Regards, Tom |
|
![]() |
![]() |
![]() |
![]() |
#14 | |
Senior Member
Huang Xianbei
Join Date: Sep 2013
Location: Yangzhou,China
Posts: 303
Rep Power: 14 ![]() |
Quote:
Thank you for your patient explaination. Although it's not solved yet, I learn more from the communication. Thank you again ![]() Xianbei |
||
![]() |
![]() |
![]() |
![]() |
#15 | |
Member
Join Date: Nov 2013
Posts: 35
Rep Power: 13 ![]() |
Quote:
seems like the wallShearStress utility uses tau_wall = nu * gradU since the dimension is mē/sē (see dimesions [0 2 -2 0 0 0 0]; ) So the kinematic visc. is used instead of dynamic visc.... Last edited by beatlejuice; July 5, 2017 at 11:05. |
||
![]() |
![]() |
![]() |
![]() |
#16 | |
Member
Abhijit
Join Date: Aug 2020
Location: India
Posts: 31
Rep Power: 6 ![]() |
Quote:
|
||
![]() |
![]() |
![]() |
![]() |
#17 |
Senior Member
|
Hi,
I do not think you were rude, but there is an option to have laminar wallShearStress: I just ran a laminar pimpleFoam with the wallShearStress functionObject. Its just a simple rectangular channel with some viscous fluid. Code:
wallShearStress { type wallShearStress; libs ("libfieldFunctionObjects.so"); executeControl timeStep; writeControl writeTime; } Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v2312 | | \\ / A nd | Website: www.openfoam.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object turbulenceProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // simulationType laminar; // ************************************************************************* // It may not work with icoFoam, but laminar is not a problem. Regards, Tom |
|
![]() |
![]() |
![]() |
Tags |
post, post procesing, skin friction coefficient |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
the skin friction coefficient error from Fluent | sutthinan | Main CFD Forum | 2 | November 28, 2012 13:03 |
Openfoam friction coefficient differences. | Peter88 | OpenFOAM Post-Processing | 0 | February 8, 2011 10:07 |
Macro for skin friction and pressure coefficient | DoHander | Fluent UDF and Scheme Programming | 0 | January 9, 2010 10:18 |
Compute Skin friction coef by hand | Francois | FLUENT | 1 | February 10, 2006 06:21 |
drawing curved line,plotting skin friction lines | Alex | Main CFD Forum | 0 | November 16, 2005 20:52 |