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

Problem with source cfx

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   March 6, 2013, 20:53
Default Problem with source cfx
  #1
Member
 
Talles Caio
Join Date: Oct 2012
Posts: 84
Rep Power: 4
TallesC is on a distinguished road
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??
TallesC is offline   Reply With Quote

Old   March 6, 2013, 22:57
Default
  #2
Senior Member
 
Erik
Join Date: Feb 2011
Location: Earth (Land portion)
Posts: 486
Rep Power: 9
evcelica is on a distinguished road
Um . . . divide by m^-3 . . . . really?
evcelica is offline   Reply With Quote

Old   March 6, 2013, 23:10
Default
  #3
Member
 
Talles Caio
Join Date: Oct 2012
Posts: 84
Rep Power: 4
TallesC is on a distinguished road
I did not, how exactly do I do this?
TallesC is offline   Reply With Quote

Old   March 7, 2013, 05:29
Default
  #4
Senior Member
 
Erik
Join Date: Feb 2011
Location: Earth (Land portion)
Posts: 486
Rep Power: 9
evcelica is on a distinguished road
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.
evcelica is offline   Reply With Quote

Old   March 7, 2013, 05:41
Default
  #5
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 10,825
Rep Power: 85
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
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.
ghorrocks is offline   Reply With Quote

Old   March 7, 2013, 08:51
Default
  #6
Member
 
Talles Caio
Join Date: Oct 2012
Posts: 84
Rep Power: 4
TallesC is on a distinguished road
Problem i'm creating a subdomain...before a try ina a boundary...thanks a lot!!1
TallesC is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


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 06:10
Compiling gmshFoam with OpenFOAM-1.5 BlGene Open Source Meshers: Gmsh, Netgen, CGNS, ... 10 August 6, 2009 04:26
DxFoam reader update hjasak OpenFOAM Post-Processing 69 April 24, 2008 01:24
UDF Scalar Code: HT 1 Greg Perkins FLUENT 8 October 20, 2000 12:40


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