|
[Sponsors] |
Prandtl number in compressible laminar boundary layer |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 15, 2014, 12:16 |
Prandtl number in compressible laminar boundary layer
|
#1 |
Senior Member
Gonzalo
Join Date: Mar 2011
Location: Argentina
Posts: 122
Rep Power: 16 |
Hi everybody:
I want to simulate the compressible flow over a flat plate in FLUENT setting the Prandtl number of the air as 1. So, using the equation =*Cp/Pr, with = Thermal Conductivity Cp= Specific Heat = Dynamic Viscosity In order to do that I'm trying to use a variable using a UDF: Code:
#include "udf.h" DEFINE_PROPERTY(thermal_conductivity,c,t) { real k_air; real tempt = C_T(c,t); /*Using the Sutherland's law for viscosity*/ k_air= pow(1.716E-5*(273.11+110.56)/(tempt+110.56)*(tempt/273.11),1.5)*1006.43; return k_air; } Gonzalo PS: If someone wants the solution settings I'm using, please ask me for that. But first, I want to know if I'm doing things well with my UDF. Last edited by gfoam; October 2, 2014 at 09:03. |
|
September 19, 2014, 12:08 |
|
#2 |
Senior Member
Gonzalo
Join Date: Mar 2011
Location: Argentina
Posts: 122
Rep Power: 16 |
I found an error in the thermal conductivity formula, instead of:
Code:
k_air= pow(1.716E-5*(273.11+110.56)/(tempt+110.56)*(tempt/273.11),1.5)*1006.43; Code:
k_air= 1.716E-5*(273.11+110.56)/(tempt+110.56)*pow((tempt/273.11),1.5)*1006.43; Gonzalo |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Foam::error::PrintStack | almir | OpenFOAM Running, Solving & CFD | 91 | December 21, 2022 04:50 |
Cluster ID's not contiguous in compute-nodes domain. ??? | Shogan | FLUENT | 1 | May 28, 2014 15:03 |
An error has occurred in cfx5solve: | volo87 | CFX | 5 | June 14, 2013 17:44 |
Unaligned accesses on IA64 | andre | OpenFOAM | 5 | June 23, 2008 10:37 |
Compressible laminar boundary layer | Pierre Ricco | Main CFD Forum | 0 | July 21, 2003 13:55 |