|
[Sponsors] |
UDS:Why does the scalar do not flow with the flow field?? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 19, 2018, 08:48 |
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 |
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~
|
|
March 19, 2018, 09:18 |
|
#2 |
Member
ehsan
Join Date: Sep 2014
Posts: 38
Rep Power: 12 |
did you define the diffusion coefficient of the scalar in the fluid properly?
|
|
March 19, 2018, 22:09 |
|
#3 |
New Member
Huo
Join Date: Mar 2018
Posts: 8
Rep Power: 8 |
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; } |
|
March 19, 2018, 22:10 |
|
#4 | |
New Member
Huo
Join Date: Mar 2018
Posts: 8
Rep Power: 8 |
Quote:
#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; } |
||
March 20, 2018, 03:57 |
|
#5 |
Member
ehsan
Join Date: Sep 2014
Posts: 38
Rep Power: 12 |
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. |
|
Tags |
uds |
Thread Tools | Search this Thread |
Display Modes | |
|
|
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 |