|
[Sponsors] |
January 17, 2020, 14:42 |
Calculating averages within OpenFOAM
|
#1 |
Member
Ben Simpson
Join Date: Dec 2019
Location: UK
Posts: 32
Rep Power: 7 |
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 |
Frequently Asked Questions about Installing OpenFOAM | wyldckat | OpenFOAM Installation | 3 | November 14, 2023 12:58 |
OpenFOAM Training Jan-Jul 2017, Virtual, London, Houston, Berlin | CFDFoundation | OpenFOAM Announcements from Other Sources | 0 | January 4, 2017 07:15 |
OpenFOAM v3.0.1 Training, London, Houston, Berlin, Jan-Mar 2016 | cfd.direct | OpenFOAM Announcements from Other Sources | 0 | January 5, 2016 04:18 |
OpenFOAM Foundation releases OpenFOAM 2.2.2 | opencfd | OpenFOAM Announcements from ESI-OpenCFD | 0 | October 14, 2013 08:18 |
[swak4Foam] Difference in calculating div(U*U) swak4FOAM vs. OpenFOAM codedFunctionObject | polo | OpenFOAM Community Contributions | 7 | October 1, 2013 11:22 |