CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Different diffusivities (http://www.cfd-online.com/Forums/openfoam-solving/60308-different-diffusivities.html)

alberto September 29, 2005 14:29

Is it possible to set differen
 
Is it possible to set different diffusivities per each direction? I have to solve a scalar transport equation with a non-zero diffusion term in the X direction only.

Thanks in advance,
Alberto

hjasak September 29, 2005 15:46

That would be called tensorial
 
That would be called tensorial diffucivity (viscosity), right - have a search. You will need to define the diffusivity (field) as a tensor.

Enjoy,

Hrv

ankgupta8um February 27, 2006 18:56

Hi, I am solving for a pas
 
Hi,

I am solving for a passive scalar in the channelOodles case set-up. I would like to set the diffusivity of the passive scalar as some function of the passive scalar i.e. diffusivity will vary through out my computational domain. How can I specify that sort of diffusivity ?? It seems that this must be pretty straight forward but I am not able to figure out how??
Any help would be highly appreciated.

Thanks,
Ankur

hjasak February 27, 2006 19:15

Yes. Specify the viscosity as
 
Yes. Specify the viscosity as a volScalarField, set it to what you want and... that's it!

Enjoy,

Hrv

ankgupta8um February 28, 2006 02:47

Thanks Hrv..I was thinking on
 
Thanks Hrv..I was thinking on the same lines..
I looked at couple other postings on this board on the related issues and got a decent idea about it..

Thanks again.
-Ankur


All times are GMT -4. The time now is 23:04.