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

additional subdomain source term

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 13, 2010, 11:56
Default additional subdomain source term
  #1
YJZ
New Member
 
Join Date: Feb 2010
Posts: 2
Rep Power: 0
YJZ is on a distinguished road
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/DOMAINefault 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/DOMAINefault 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??
YJZ is offline   Reply With Quote

Old   July 13, 2010, 19:02
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
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.
ghorrocks is offline   Reply With Quote

Reply


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
momentum source term zwdi FLUENT 14 June 27, 2017 15:40
DxFoam reader update hjasak OpenFOAM Post-Processing 69 April 24, 2008 01:24
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51
UDF Scalar Code: HT 1 Greg Perkins FLUENT 8 October 20, 2000 12:40
UDFs for Scalar Eqn - Fluid/Solid HT Greg Perkins FLUENT 0 October 13, 2000 23:03


All times are GMT -4. The time now is 22:05.