CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

UDS:Why does the scalar do not flow with the flow field??

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 19, 2018, 08:48
Default UDS:Why does the scalar do not flow with the flow field??
  #1
New Member
 
Huo
Join Date: Mar 2018
Posts: 8
Rep Power: 8
Huo zero is on a distinguished road
The scalar equation does not flow with the flow field and presents the form of diffusion. The value of the monitored point has been increasing, and there is no trend to be unhange.why does this problem arise? I can't insert image, if you are interated in it , please contact me . Please~
Huo zero is offline   Reply With Quote

Old   March 19, 2018, 09:18
Default
  #2
Member
 
ehsan
Join Date: Sep 2014
Posts: 38
Rep Power: 11
e_cfd is on a distinguished road
did you define the diffusion coefficient of the scalar in the fluid properly?
e_cfd is offline   Reply With Quote

Old   March 19, 2018, 22:09
Default
  #3
New Member
 
Huo
Join Date: Mar 2018
Posts: 8
Rep Power: 8
Huo zero is on a distinguished road
Yes!I think I have done the right thing. And this is my UDS code. Would this be other problem?? Thanks for your reply.


#include "udf.h"

DEFINE_DIFFUSIVITY(cell_scalar_diffu, cell, thread,i)
{
real scalar_diffu; /*coefficient of scalar diffusion*/
real sigma_scalar=1.0; /*Schmidt number*/
real mu_eff; /*effecitive viscosity*/

mu_eff=C_MU_T(cell,thread);

scalar_diffu=mu_eff/sigma_scalar;

return scalar_diffu;
}
Huo zero is offline   Reply With Quote

Old   March 19, 2018, 22:10
Default
  #4
New Member
 
Huo
Join Date: Mar 2018
Posts: 8
Rep Power: 8
Huo zero is on a distinguished road
Quote:
Originally Posted by e_cfd View Post
did you define the diffusion coefficient of the scalar in the fluid properly?
Yes!I think I have done the right thing. And this is my UDS code.Thanks for your reply.


#include "udf.h"

DEFINE_DIFFUSIVITY(cell_scalar_diffu, cell, thread,i)
{
real scalar_diffu; /*coefficient of scalar diffusion*/
real sigma_scalar=1.0; /*Schmidt number*/
real mu_eff; /*effecitive viscosity*/

mu_eff=C_MU_T(cell,thread);

scalar_diffu=mu_eff/sigma_scalar;

return scalar_diffu;
}
Huo zero is offline   Reply With Quote

Old   March 20, 2018, 03:57
Default
  #5
Member
 
ehsan
Join Date: Sep 2014
Posts: 38
Rep Power: 11
e_cfd is on a distinguished road
Even though I am not familiar with this definition for the diffusivity coefficient, it seems that the diffusion is dominant (diffusion coefficient is very high).

Moreover, pay attention that in uds rho*D is applied.
e_cfd is offline   Reply With Quote

Reply

Tags
uds


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
using a Fortran library of thermodynamics inside sutherland transport model Mehdi3031 OpenFOAM Programming & Development 0 April 7, 2016 09:34
access to member function variable Rahand OpenFOAM Programming & Development 3 March 29, 2016 15:46
compressible flow in turbocharger riesotto OpenFOAM 50 May 26, 2014 01:47
Question on 3D potential flow Adrin Gharakhani Main CFD Forum 13 June 21, 1999 05:18
computation about flow around a yawed cone Tylor Xie Main CFD Forum 0 June 9, 1999 07:33


All times are GMT -4. The time now is 10:29.