CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Mean age of air

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By tian

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 8, 2018, 09:42
Default Mean age of air
  #1
New Member
 
Sarah Leenknegt
Join Date: Aug 2015
Posts: 14
Rep Power: 11
SarahLee is on a distinguished road
Hi

I am trying to run a steady state simulation the wind flow around a building with a courtyard. The goal is to assess how well ventilated the courtyard is. We would like to check this with the mean age of air concept.

I have looked into the previous discussion on this topic, but don't find an answer. My simulation is running stable, the flow field is developing well, but the mean age of air is not plausible: increase from the inlet at 0 s, around the building appr. 100 s and at the outlet about 200 s. Inside the courtyard, the Age of air stays around 0-30 s, which is physical nonsense. There must be a problem with my boundary conditions, though they couldn't be much simpler.

solver: buoyantboussinesqsimplefoam

AoA:
walls, top, outlet = zeroGradient
inlet (wind) = fixedValue, value uniform 0


controlDict:

Code:
/*---------------------------------------------------------------------------*\
|=========                 |                                                  |
|\\      /   F ield        | OpenFOAM: The Open Source CFD Toolbox            |
| \\    /    O peration    | Version:  3.0.0                                  |
|  \\  /     A nd          | Web:      www.OpenFOAM.org                       |
|   \\/      M anipulation |                                                  |
\*---------------------------------------------------------------------------*/
// Exported by BIM HVACTool Version 2.0.0.200//

FoamFile
{
    version         3.0;
    format          ascii;
    class           dictionary;
    location        "system";
    object          controlDict;
}

application     buoyantBoussinesqSimpleFoam;

startFrom       startTime;

startTime       0;

stopAt          endTime;

endTime         4000;

deltaT          1;

writeControl    timeStep;

writeInterval   250;

purgeWrite      0;

writeFormat     ascii;

writePrecision  6;

writeCompression compressed;

timeFormat      general;

timePrecision   6;

runTimeModifiable true;

functions
{
    AoA
    {
        type            scalarTransport;
        functionObjectLibs
        (
            "libutilityFunctionObjects.dll"
        );

        outputControl   outputTime;
        active          true;
        autoSchemes     true;
        nCorr           0;
        D               0;
        resetOnStartUp  false;
        fvOptions
        {
            IncrementTime
            {
                type            scalarSemiImplicitSource;
                active          true;
                cellZone        Layers;
                scalarSemiImplicitSourceCoeffs
                {
                    volumeMode      specific;
                    selectionMode   all;
                    injectionRateSuSp
                    {
                        AoA             (1 0);
                    }

                }

            }

        }

    }

}

Any feedback is much appreciated!
SarahLee is offline   Reply With Quote

Old   November 22, 2018, 02:28
Default Mean age of air
  #2
Senior Member
 
tian's Avatar
 
Tian
Join Date: Mar 2009
Location: Berlin, germany
Posts: 122
Rep Power: 17
tian is on a distinguished road
Hi,



try out the solver: AoAFoam. Use the AoA file and the latest steady state results. Run the unsteady for 3600 seconds. Then check out AoA again.



Bye

Tian
Attached Files
File Type: zip AoAFoam.zip (2.5 KB, 78 views)
Geon-Hong likes this.
__________________
BIM HVACTool, The Green Building Simulation Tool for OpenFOAM, Energy Plus and Radiance.
tian is offline   Reply With Quote

Old   February 7, 2021, 14:42
Default
  #3
HPE
Senior Member
 
HPE's Avatar
 
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 931
Rep Power: 13
HPE is on a distinguished road
hope the following link can be helpful as well: Age of Air Function Object
HPE is offline   Reply With Quote

Reply

Tags
age of air, openfoam, scalar transport


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
Natural Convection Air Temperature Problem theBerNii FLUENT 1 November 28, 2016 14:30
Air entrainment model setup for spillway oajor FLOW-3D 4 November 17, 2016 13:02
CFD analysis on wind turbine rotor Ken (Wind Turbine CFD Super Rookie) Main CFD Forum 45 February 9, 2016 15:07
air bubble is disappear increasing time using vof xujjun CFX 9 June 9, 2009 08:59
[Indoor Air Quality]How do I calcauate "Age of Air Young CFX 6 April 29, 2008 00:14


All times are GMT -4. The time now is 16:20.