|
[Sponsors] |
![]() |
![]() |
#1 |
Member
Ruggiero Guida
Join Date: Apr 2013
Location: World
Posts: 41
Rep Power: 9 ![]() |
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? |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 758
Rep Power: 8 ![]() |
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 Nilsson/Guerrero/Holzinger/Holzmann/Nagy/Santos/Nozaki/Jasak-FSB OpenFOAM Governance and Technical Committees Report bugs/Request features: OpenFOAM (ESI-OpenCFD-Trademark) Report bugs/Request features: FOAM-Extend (Wikki-FSB) Report bugs: OpenFOAM.org How to create a MWE. OpenFOAM Journal |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
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 |