CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   how to find laminar viscosity? (https://www.cfd-online.com/Forums/fluent/151254-how-find-laminar-viscosity.html)

shivakumar April 7, 2015 12:58

how to find laminar viscosity?
 
hi,

From the solution data it is easy to obtain turbulent viscosity at each cell center or node.. In similar fashion, is there any other way to find the laminar viscosity?

Thanks
shivakumar

CeesH April 7, 2015 14:13

The laminar viscosity is an input parameter which you provide under materials.
you can plot it in FLUENT if you want, bu for newtonian fluids it's a constant which you added yourself.

shivakumar April 8, 2015 00:15

can u tell me how to plot it?

`e` April 8, 2015 00:34

The laminar viscosity doesn't appear to be available to plot within Fluent directly. You could save the laminar viscosity of each cell with User-Defined Memory and then plot this UDM (holding the laminar viscosity values). I'm puzzled as to why you'd want to plot a uniform field of values... filling the domain in CFD-Post with a colour would be a quicker method.

CeesH April 8, 2015 03:23

I can see how it might be useful to do make effective viscosity plots for non-newtonian fluids; for newtonian it doesn't make sense indeed.

shivakumar April 9, 2015 00:06

Thanks for the reply

From udf it possible find the laminar viscosity at each....('e')


Yes indeed. for Newtonian flows it does not make sense..For example, when it comes to the viscous sensor algorithm given by Tognaccini, Laminar viscosity does make sense in the region of boundary layer.

D=1+(mu_t/mu_l)

CeesH April 9, 2015 03:05

You could write a simple user defined function that stores the viscosity in a user defined memory. I think this should work:

Code:

#include udf.h

DEFINE_ADJUST(my_adjust,d)
 {
    Thread *t;

    cell_t c;

    thread_loop_c(t,d)
    {
    begin_c_loop(c,t)
C_UDMI(c,t,0) = C_MU_L(c,t)
    end_c_loop(c,t)
    }

 }

This stores the laminar viscosity in a user defined memory (don't forget to declare upfront), and user defined memory values can be plotted.

shivakumar April 9, 2015 03:08

Thanks for the reply.. I got it.


All times are GMT -4. The time now is 13:57.