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

Problem with source cfx

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 6, 2013, 20:53
Default Problem with source cfx
  #1
Senior Member
 
Talles Caio
Join Date: Oct 2012
Location: Brazil
Posts: 101
Rep Power: 13
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: 1,166
Rep Power: 23
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
Senior Member
 
Talles Caio
Join Date: Oct 2012
Location: Brazil
Posts: 101
Rep Power: 13
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: 1,166
Rep Power: 23
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: 17,665
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
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
Senior Member
 
Talles Caio
Join Date: Oct 2012
Location: Brazil
Posts: 101
Rep Power: 13
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 Search this Thread
Search this Thread:

Advanced Search
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 Off
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 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


All times are GMT -4. The time now is 18:30.