|August 26, 2010, 07:03||
Join Date: Apr 2009
Posts: 19Rep Power: 10
I have been working with a CFD code that requires Blottner coefficients as an input. These are not easy to come by, but I've written a simple program in Scilab that calculates the coefficients for you.
The user inputs required are three temperatures and their corresponding viscosities, which are available on the NIST website.
The output is given in the x vector as the Blottner Coefficients A,B and C. (x(1)=A, x(2)=B etc.)
As an example I have included data for Helium at 1bar.
//Calculating Blottner viscosity coefficients for He at 1bar
A=[(log(T1))^2 log(T1) 1 ; (log(T2))^2 log(T2) 1; (log(T3))^2 log(T3) 1];
u=[log(u1)-log(0.1); log(u2)-log(0.1); log(u3)-log(0.1)];
//Calculating Sutherland Viscosity
eta = ((mu0*(T0+C)).*((T./T0)^(3/2)))./(T+C);
//Import Helium data from NIST file
The attached .txt file was taken from the NIST site by simply copying the html output option into excel, deleting not needed columns, and saving as .txt.
Matlab users will need to exchange the lusolve function for the gaussian elimination equivalent in Matlab.
I hope it helps someone!
|Thread||Thread Starter||Forum||Replies||Last Post|
|Calculate aerodynamic coefficients with openfoam using only opensource programs||Xwang||OpenFOAM||20||May 20, 2016 11:26|
|how to calculate the viscous and inertial resistance coefficients?||omurakbayir||FLUENT||1||November 22, 2010 23:36|
|Computing aerodynamic coefficients on bidimensional sections in 3D problems||Aragon||FLUENT||0||July 22, 2009 04:07|
|tube bank inertial resistance coefficients||Brian||FLUENT||0||September 8, 2004 09:04|
|closure coefficients in 2-eq. turb. models||Michael||Main CFD Forum||2||December 8, 2003 13:15|