|
[Sponsors] |
February 4, 2020, 13:57 |
Calculating averages using cellZoneSet
|
#1 |
Member
Ben Simpson
Join Date: Dec 2019
Location: UK
Posts: 32
Rep Power: 6 |
Hi CFD Experts,
I am quite new to OpenFOAM. I am trying to run a simple natural ventilation simulation of a simple box model building. I am running buoyantBoussinesqSimpleFoam on OpenFOAM V1812. I am wanting to calculate average values of certain fields for specific areas of the model. For example, I am simulating CO2 and I want to get an averaged CO2 concentration within a pre-defined area inside my building and I also want to calculate the total CO2 concentration entering and leaving my building through the two window openings. I am not sure how this is suppose to be accomplished in OpenFOAM. My current attempt involves using topoSet to generate cellZoneSets which I then want to use the fieldAverage on from the controlDict. I have two main questions regarding this task: 1. Is this approach, that I am trying to get working, the correct/best method for calculating these sorts of averages? 2. I am currently getting a fatal error when I run buoyantBoussinesqSimpleFoam saying that Entry 'Type' not found in dictionary "IOstream.zone1". Providing that the answer to question 1 is that this is the best method, what 'Type' should I use in the constant/fvOptions file? I have looked through the available 'Type' choices but I am unsure which one, if any, are correct for this situation. For information I have attached screen shots of my error message, controlDict, topoSetDict and fvOptions. Any support on this issue would be much appreciated. Regards, Ben |
|
Tags |
average field, buoyantboussinesqsimple, openfoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calculating averages within OpenFOAM | b.simpson | OpenFOAM Running, Solving & CFD | 0 | January 17, 2020 14:42 |
Questions on dynamicTopoFvMesh | danvica | OpenFOAM Running, Solving & CFD | 80 | April 16, 2019 17:58 |
Long output in terminal. | ssa_cfd | OpenFOAM Running, Solving & CFD | 1 | March 18, 2019 06:25 |
[swak4Foam] Calculating a sequence of zone averages with swak4Foam | K62 | OpenFOAM Community Contributions | 0 | November 6, 2015 06:49 |
How to update polyPatchbs localPoints | liu | OpenFOAM Running, Solving & CFD | 6 | December 30, 2005 18:27 |