CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   additional subdomain source term (https://www.cfd-online.com/Forums/cfx/78118-additional-subdomain-source-term.html)

YJZ July 13, 2010 11:56

additional subdomain source term
 
Hey, I'm trying to add a additional source term for the low Reynolds k-epsilon model. I specified the C2New as : p, li { white-space: pre-wrap; } (1.92-C2)*eps^2/k and CmiuNew as: p, li { white-space: preMiuWater+Cmiu*DenWater*(k^2)/eps. However, when I add these two sources in the subdomain as addition source term, it give me two errors :
Expression resolves to invalid units ('kg m^-1 s^-1') in value set for parameter 'Total Source' in object '/FLOW:Flow Analysis 1/DOMAIN:Default Domain/SUBDOMAIN:Subdomain 1/SOURCES/EQUATION SOURCE
:ed'. Expected units: 'kg m^2 s^-4'.
Expression resolves to invalid units ('m^2 s^-4') in value set for parameter 'Source' in object '/FLOW:Flow Analysis 1/DOMAIN:Default Domain/SUBDOMAIN:Subdomain 1/SOURCES/EQUATION SOURCE:ke'.
Expected units: 'W m^-3'.

Could someone provide advice on this please? Besides, What should I put under total source??

ghorrocks July 13, 2010 19:02

As the message says, you need to check the units of your calculation. It is wrong.

A work around is to just multiply by 1 [units], where [units] does the conversion into the correct units. But this is nothing but a dodgy fix - if your units are wrong you should fix them.


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