|
[Sponsors] |
functions (fieldAverage, residuals) installation |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 12, 2024, 11:16 |
functions (fieldAverage, residuals) installation
|
#1 |
New Member
Christoforos Lefkiou
Join Date: Oct 2024
Posts: 23
Rep Power: 2 |
Hello everyone,
I try to use fieldAverage and residuals functions in controlDict. While it calculates them during the run, it doesnt save them in postProcessing. Please note that when I use forceCoeffs and yPlus functions, it calulates and saves them normally in the postProcessing folder. When I use the command postProcess -list, it doesnt contain fieldAverage and residuals. This is what I get: " Available configured functionObjects: 64 ( AMIWeights CourantNo LambVector Lambda2 MachNo ObukhovLength PecletNo Q R XiReactionRate add boundaryCloud cellMax cellMin components ddt div dsmcFields energySpectrum enstrophy faceMax faceMin fieldMinMax flowRateFaceZone flowRatePatch flowType forceCoeffsCompressible forceCoeffsIncompressible forcesCompressible forcesIncompressible grad heatTransferCoeff internalCloud log mag magSqr minMaxComponents minMaxMagnitude patchAverage patchIntegrate pressureDifferencePatch pressureDifferenceSurface probes processorField randomise scalarTransport singleGraph solverInfo staticPressure streamFunction streamlines subtract surfaces totalPressureCompressible totalPressureIncompressible turbulenceFields volFlowRateSurface vorticity wallHeatFlux wallShearStress writeCellCentres writeCellVolumes writeObjects yPlus ) " I tried to compile the fieldAverage, but I did not manage to complete it. I use OpenFOAM 2406. Any ideas? Thank you, |
|
November 13, 2024, 07:00 |
|
#2 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,236
Rep Power: 29 |
Hello Christoforos,
For the residuals you need to use the solverInfo function object. The list of functions you get with postProcess -list are not all function objects, but some pre-configured functions defined in $FOAM_ETC/caseDicts/postProcessing You can define a fieldAverage function directly in your controlDict, have a look at the documentation: https://doc.openfoam.com/2306/tools/.../fieldAverage/ Regards, Yann |
|
Tags |
compile, fieldaverage, functions, openfoam, residuals |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Why did the residuals increase after flattened out as I continued the iteration? | pchoopanya | ANSYS | 2 | April 24, 2024 22:34 |
Cannot find functionObject file residuals | vava10 | OpenFOAM Pre-Processing | 2 | November 14, 2020 13:21 |
Export cell residuals to .dat file | Syn | FLUENT | 4 | July 1, 2020 05:49 |
plot residuals | pigna | OpenFOAM Running, Solving & CFD | 2 | December 19, 2014 03:32 |
motorBike Residuals for SST k-omega... and mine | JR22 | OpenFOAM Running, Solving & CFD | 6 | August 1, 2013 10:08 |