|
[Sponsors] |
April 14, 2018, 13:07 |
Age of air with function object
|
#1 |
Member
Ruggiero Guida
Join Date: Apr 2013
Location: World
Posts: 46
Rep Power: 13 |
Hi,
I have added a function object to calculate the Age Of Air in OF4.1. SimpleFoam converges, but I have some doubt about the interpretation of the results. I have based the implementation on this thread Mean Age of Air In my controlDict I have added the following function Code:
AoA { type scalarTransport; functionObjectLibs ("libutilityFunctionObjects.so"); enabled true; writeControl outputTime; log yes; nCorr 1; field AoA; active true; autoSchemes false; resetOnStartUp false; DT 1e-5; fvOptions { IncrementTime { type scalarSemiImplicitSource; active true; scalarSemiImplicitSourceCoeffs { selectionMode all; volumeMode specific; injectionRateSuSp { AoA (1 0); } } } } } Code:
dimensions [ 0 0 1 0 0 0 0 ]; internalField uniform 0.0; boundaryField { inlet { type fixedValue; value uniform 0; } outlet { type zeroGradient; } ..... Code:
div(phi,AoA) bounded Gauss upwind; Code:
AoA { solver smoothSolver; smoother GaussSeidel; tolerance 1e-08; relTol 0.1; nsweep 1; }
Is this correct? What does IncrementTime actually do? Why AoA has unit of Time? Why we inject 1 of tracer? |
|
February 7, 2021, 14:49 |
|
#2 |
Senior Member
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 931
Rep Power: 13 |
It took me three years to reflect on these questions (kidding)
(maybe not) Age of Air Function Object
__________________
The OpenFOAM community is the biggest contributor to OpenFOAM: User guide/Wiki-1/Wiki-2/Code guide/Code Wiki/Journal Nilsson/Guerrero/Holzinger/Holzmann/Nagy/Santos/Nozaki/Jasak/Primer Governance Bugs/Features: OpenFOAM (ESI-OpenCFD-Trademark) Bugs/Features: FOAM-Extend (Wikki-FSB) Bugs: OpenFOAM.org How to create a MWE New: Forkable OpenFOAM mirror |
|
November 8, 2022, 09:24 |
|
#3 |
New Member
gabriel rodrigues
Join Date: Jan 2022
Posts: 10
Rep Power: 4 |
Hello,
Have you found out the answer for these questions?I've been facing the same problem. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[mesh manipulation] RefineMesh Error and Foam warning | jiahui_93 | OpenFOAM Meshing & Mesh Conversion | 4 | March 3, 2018 12:32 |
[mesh manipulation] refineMesh Error | mohsen.boojari | OpenFOAM Meshing & Mesh Conversion | 3 | March 1, 2018 23:07 |
coded function object and field average | matthias | OpenFOAM Post-Processing | 3 | June 30, 2014 05:52 |
Compile problem | ivanyao | OpenFOAM Running, Solving & CFD | 1 | October 12, 2012 10:31 |
[blockMesh] Axisymmetrical mesh | Rasmus Gjesing (Gjesing) | OpenFOAM Meshing & Mesh Conversion | 10 | April 2, 2007 15:00 |