|
[Sponsors] |
July 13, 2010, 12:56 |
additional subdomain source term
|
#1 |
New Member
Join Date: Feb 2010
Posts: 2
Rep Power: 0 |
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?? |
|
July 13, 2010, 20:02 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,871
Rep Power: 144 |
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. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
momentum source term | zwdi | FLUENT | 14 | June 27, 2017 16:40 |
DxFoam reader update | hjasak | OpenFOAM Post-Processing | 69 | April 24, 2008 02:24 |
DecomposePar links against liblamso0 with OpenMPI | jens_klostermann | OpenFOAM Bugs | 11 | June 28, 2007 18:51 |
UDF Scalar Code: HT 1 | Greg Perkins | FLUENT | 8 | October 20, 2000 13:40 |
UDFs for Scalar Eqn - Fluid/Solid HT | Greg Perkins | FLUENT | 0 | October 14, 2000 00:03 |