CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   variation properties in openfoam (https://www.cfd-online.com/Forums/openfoam/96582-variation-properties-openfoam.html)

tahmineh January 26, 2012 08:56

variation properties in openfoam
 
Hi.

I want to use variation property ( thermal conductivity, viscosity,...)in openfoam. I have udf code and use it in fluent but i dont know what shoud I do in openfoam.


thanks.

elvis January 26, 2012 14:58

Hi,

maybe you should have a look at pyfoam http://openfoamwiki.net/index.php/Co...eter_Variation

nimasam January 27, 2012 07:01

Quote:

Originally Posted by tahmineh (Post 341289)
Hi.

I want to use variation property ( thermal conductivity, viscosity,...)in openfoam. I have udf code and use it in fluent but i dont know what shoud I do in openfoam.


thanks.

How much Are you familiar with OpenFOAM?
it seems you are newbie, so you should first of all read user guide
as similar as udf in fluent, you should write your pieces of code here! so
for example you choose your solver! in that solver for example conductivity is constant! so it reads a scalar value from dictionary, but you have a varying conductivity, if you have a function for it,
you should add this function to your solver, so you need to know how to implement a function in OpenFOAM and then compile your solver

tahmineh March 18, 2012 10:40

thanks my friends.


All times are GMT -4. The time now is 18:15.