|
[Sponsors] | |||||
|
|
|
#1 |
|
New Member
McV
Join Date: Oct 2022
Posts: 22
Rep Power: 5 ![]() |
Hi there,I am new to OpenFoam and i am struggling to figure out why my residuals function isn't creating a residuals files in postProcessing. Any guidance on this matter will be appreciated. Below is a copy of the functions in my controlDict: Thank you in advance
![]() libs ("libOpenFOAM.so" "libforces.so"); functions { forces { type forces; libs ("libforces.so"); patches (cylinder); p p; U U; rho rhoInf; rhoInf 1.225; pRef 0; porosity no; writeFields yes; writeControl timeStep; writeInterval 10; log true; CofR (0 0 0); pitchAxis (0 1 0); } forceCoeffs { type forceCoeffs; libs ("libforces.so"); patches (cylinder); p p; U U; rho rhoInf; rhoInf 1.225; pRef 0; porosity no; writeFields yes; writeControl timeStep; writeInterval 10; log true; CofR (0 0 0); liftDir (0 1 0); dragDir (1 0 0); pitchAxis (0 1 0); magUInf 12.26925; // $../0/U!Uinlet; lRef 0.16 ; // $../system/blockMeshDict!diameter Aref 0.16; // $../system/blockMeshDict!projArea; } residuals { type residuals; libs ("libutilityFunctionObjects.so"); writeControl timeStep; writeInterval 10; log true; fields ( p U k epsilon ); } streamlinesLine { type streamlines; libs ("libfieldFunctionObjects.so"); name streamlines; start (-24 -24 0); end (-24 24 0); nPoints 100; fields (U); writeControl timeStep; writeInterval 10; } } // ************************************************** *********************** // Last edited by technoB; October 25, 2025 at 16:20. Reason: wrong thread |
|
|
|
|
|
|
|
|
#2 |
|
Senior Member
|
||
|
|
|
|
![]() |
| Tags |
| residuals. openfoam |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| New residuals function type in OF 2.4.0 not known | Babis | OpenFOAM Post-Processing | 2 | June 11, 2015 14:27 |
| [swak4Foam] installation problem with version 0.2.3 | Claudio87 | OpenFOAM Community Contributions | 9 | May 8, 2013 11:20 |
| latest OpenFOAM-1.6.x from git failed to compile | phsieh2005 | OpenFOAM Bugs | 25 | February 9, 2010 05:37 |
| Compilation errors in ThirdPartymallochoard | feng_w | OpenFOAM Installation | 1 | January 25, 2009 07:59 |
| Problem with compile the setParabolicInlet | ivanyao | OpenFOAM Running, Solving & CFD | 6 | September 5, 2008 21:50 |