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

CO2 boundary conditions

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   August 21, 2023, 08:20
Default CO2 boundary conditions
  #1
Member
 
Ben Simpson
Join Date: Dec 2019
Location: UK
Posts: 32
Rep Power: 6
b.simpson is on a distinguished road
Hey

I am using OpenFOAMv8. I have a natural ventilation setup where I want to model the concentrations of CO2. I am unsure whether I have correctly setup the CO2 boundary condition file.

I have an inlet sources that represent people breathing. I want the CO2 source at this inlet to be 5% of the air entering into the model. I also want their to be a background CO2 concentration of 400ppm. As the CO2 BC file has no dimensions I tried to set the CO2 sources as a proportion hence why i have put a value of 0.05 for the inlet and 0.0004 for the internalField.

Does anyone know if my current CO2 BC file is correct?

Regards

Code:
FoamFile
{
    version     2.0;
    format      ascii;
    class       volScalarField;
    location    "0";
    object      inback_CO2;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions      [0 0 0 0 0 0 0];

internalField   uniform 0.0004;

boundaryField
{
    "xmin|xmax|ymin|ymax|zmax"
    {
        type            inletOutlet;
        inletValue      $internalField;
        value           $internalField;
    }
	Inlet
    {
        type            inletOutlet;
        inletValue      uniform 0.05;
        value           uniform 0.05;
    }
    "zmin|Ceiling|Floor|East_Wall|North_Wall|South_Wall|West_Wall|Computer01|Person01|Computer02|Person02"
    {
        type            zeroGradient;
    }
	
	#includeEtc "caseDicts/setConstraintTypes"
}


// ************************************************************************* //
b.simpson is offline   Reply With Quote

 

Tags
boundaries condition, co2 concentration, inlet and outlet


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
Question about different kinds of Boundaries and Boundary Conditions granzer Main CFD Forum 17 April 12, 2022 17:27
sliding mesh problem in CFX Saima CFX 46 September 11, 2021 07:38
Radiation in semi-transparent media with surface-to-surface model? mpeppels CFX 11 August 22, 2019 07:30
Basic Nozzle-Expander Design karmavatar CFX 20 March 20, 2016 08:44
Question about heat transfer coefficient setting for CFX Anna Tian CFX 1 June 16, 2013 06:28


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