|
[Sponsors] |
March 6, 2013, 20:53 |
Problem with source cfx
|
#1 |
Senior Member
Talles Caio
Join Date: Oct 2012
Location: Brazil
Posts: 101
Rep Power: 14 |
The problem below is informed:
Expression resolves to invalid units ('kg m^-3 s^-1') in value set for parameter 'Total Source' in object '/FLOW:Flow Analysi1/DOMAIN:serpentina/BOUNDARYut serpentina/BOUNDARY SOURCE/SOURCES/EQUATION SOURCE:C2H3Cl mvc.mf'. Expected units: 'kg s^-1'. how could resolved this problem?? |
|
March 6, 2013, 22:57 |
|
#2 |
Senior Member
Erik
Join Date: Feb 2011
Location: Earth (Land portion)
Posts: 1,188
Rep Power: 23 |
Um . . . divide by m^-3 . . . . really?
|
|
March 6, 2013, 23:10 |
|
#3 |
Senior Member
Talles Caio
Join Date: Oct 2012
Location: Brazil
Posts: 101
Rep Power: 14 |
I did not, how exactly do I do this?
|
|
March 7, 2013, 05:29 |
|
#4 |
Senior Member
Erik
Join Date: Feb 2011
Location: Earth (Land portion)
Posts: 1,188
Rep Power: 23 |
Your expression has the wrong units. You are giving it a concentration per second, and it is expecting a mass per second. Fix your expression so that it gives the expected units.
|
|
March 7, 2013, 05:41 |
|
#5 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144 |
barney=1[kg s^-1]
fred=barney/1[m^3] Now fred is in kg m^-3 s^-1 But even better - Erik's suggestion is that this means the expression calculating it is probably wrong. If the units do not check out the numbers have no hope of being right so dividing by m^-3 is not going to fix the real error. |
|
March 7, 2013, 08:51 |
|
#6 |
Senior Member
Talles Caio
Join Date: Oct 2012
Location: Brazil
Posts: 101
Rep Power: 14 |
Problem i'm creating a subdomain...before a try ina a boundary...thanks a lot!!1
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
pisoFoam compiling error with OF 1.7.1 on MAC OSX | Greg Givogue | OpenFOAM Programming & Development | 3 | March 4, 2011 18:18 |
Problem with Mass source, Momentum source theory | diffo | Fluent UDF and Scheme Programming | 0 | August 20, 2009 07:10 |
[Gmsh] Compiling gmshFoam with OpenFOAM-1.5 | BlGene | OpenFOAM Meshing & Mesh Conversion | 10 | August 6, 2009 05:26 |
DxFoam reader update | hjasak | OpenFOAM Post-Processing | 69 | April 24, 2008 02:24 |
UDF Scalar Code: HT 1 | Greg Perkins | FLUENT | 8 | October 20, 2000 13:40 |