|
[Sponsors] |
|
January 24, 2006, 06:14 |
Use custmer defined function to calculate Re
|
#1 |
Guest
Posts: n/a
|
I used a pressure inlet and pressure outlet bc for inlet and outlet respectively in a 2d case, i want to use the simulated velocity at inlet to calculate the Reynolds number, so i use coustmer defined function panel, and I chose "select operand field function from (VELOCITY->Velocity Magnitude )*(GRID->Y coordinates)/(PROPERTIES->Molecular viscosity), this means U*D(pipe width)/viscosity, but the results seems not right. any one who konw how to do this? or anyother easier method? thanks you very much
|
|
January 24, 2006, 08:39 |
Re: Use custmer defined function to calculate Re
|
#2 |
Guest
Posts: n/a
|
Try the following definition: Re = U*D*density/viscosity
I think you have mixed up dynamic and kinematic viscosity. In your equation "viscosity" represents the kinematic viscosity but Fluent provides the dynamic viscosity. kinematic visc = dynamic visc / density |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Compile problem | ivanyao | OpenFOAM Running, Solving & CFD | 1 | October 12, 2012 09:31 |
Version 15 on Mac OS X | gschaider | OpenFOAM Installation | 113 | December 2, 2009 10:23 |
Error with Wmake | skabilan | OpenFOAM Installation | 3 | July 28, 2009 00:35 |
User defined function | hari | FLUENT | 0 | October 9, 2007 03:24 |
How to create an user defined function? | Cagdas | FLUENT | 1 | September 5, 2007 20:02 |