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

Age of Air and Source Conflict

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 17, 2014, 19:56
Default Age of Air and Source Conflict
  #1
New Member
 
Michael Smith
Join Date: Dec 2013
Location: Canberra, Australia
Posts: 17
Rep Power: 12
msmith is on a distinguished road
Hi all,

I am doing an analysis in a carpark, and want to calculate age of air and CO concentration.

When I run the sim with both setup, I get the CO concentration but age of air doesn't seem to increase (or calcualate) and remains at essentially zero.

If I don't add the source term age of air calculates fine.

Ideas why the source prevents age of air?

Cheers,
Mike
msmith is offline   Reply With Quote

Old   August 18, 2014, 06:27
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
Can you post your CCL?
ghorrocks is offline   Reply With Quote

Old   August 18, 2014, 20:58
Default
  #3
New Member
 
Michael Smith
Join Date: Dec 2013
Location: Canberra, Australia
Posts: 17
Rep Power: 12
msmith is on a distinguished road
See attached.

Thanks!
Attached Files
File Type: zip S141289_Basement AltSol_20140819.zip (7.6 KB, 15 views)
msmith is offline   Reply With Quote

Old   August 18, 2014, 22:05
Default
  #4
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
It looks like you have not set a source term properly. You have set the source term to "Density", this should be set to 1.0.

Code:
    SUBDOMAIN: AoA
      Coord Frame = Coord 0
      Location = B2519
      SOURCES:
        EQUATION SOURCE: AoA
          Option = Source
          Source = Density
        END
      END
    END
This post is useful: http://www.cfd-online.com/Forums/cfx...e-age-air.html
It worked for me on the benchmark example.
ghorrocks is offline   Reply With Quote

Old   August 18, 2014, 22:46
Default
  #5
New Member
 
Michael Smith
Join Date: Dec 2013
Location: Canberra, Australia
Posts: 17
Rep Power: 12
msmith is on a distinguished road
Hi Glenn,

Thanks for the advice. So the source term has to be constant (ie, 1) rather than density? Density is the input I got told to use by Leap (Ansys provider). Hmm.

On another note, what did you use to assess the CCL?

Cheers,
Mike
msmith is offline   Reply With Quote

Old   August 18, 2014, 23:01
Default
  #6
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
Are you sure you are referencing the Density correctly? In fact that is probably your problem - if the Density function is zero then nothing will happen.

I suspect that if you have an incompressible simulation then the density variable is not present. I am not sure about that, but I think that is the case.

The ANSYS guy is probably right, you probably do need to integrate density rather than a constant.

So write a CEL expression which defines the density for the material properties, and then use that variable for the source term.
ghorrocks is offline   Reply With Quote

Old   August 19, 2014, 02:15
Default
  #7
New Member
 
Michael Smith
Join Date: Dec 2013
Location: Canberra, Australia
Posts: 17
Rep Power: 12
msmith is on a distinguished road
That will be exactly it. I'm assuming the Source "Density" is for air at 25degC, but I have set a custom fluid to allow calculation of CO.

Ok... so how do I specify density for my material to use as a source term?
msmith is offline   Reply With Quote

Old   August 19, 2014, 03:07
Default
  #8
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
I've just tried a few things and what you have done works fine for me. I used the simple benchmark simulation with a variable composition mixture with both Density and a constant (1) as the source term factor. Both worked fine.

So I recommend you do the same and try to get the benchmark simulation working, as I can confirm it definitely does work for me. Then you can start debugging your simulation.
ghorrocks is offline   Reply With Quote

Old   August 20, 2014, 22:41
Default
  #9
New Member
 
Michael Smith
Join Date: Dec 2013
Location: Canberra, Australia
Posts: 17
Rep Power: 12
msmith is on a distinguished road
Yip, you're right. A simplified model worked for me with Density as well.

Well that's good, now at least I know it can work, and I've just got something muddled elsewhere!

Thanks Glenn!
Mike
msmith 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
irregular model simulation with chtMultiregionFoam lg88 OpenFOAM 59 July 28, 2016 11:44
Forced Convection: 2D fan (forced air flow source) acdc_cfd FLUENT 0 March 17, 2014 08:34
mean age of air calculations eric Siemens 4 December 10, 2011 09:39
age of air calculations tom Siemens 2 October 28, 2007 06:26
Age of Air In Star-CD Ted Crilly Siemens 1 February 19, 2005 19:50


All times are GMT -4. The time now is 19:13.