|
[Sponsors] |
August 19, 2017, 11:24 |
Create residual field with postProcess
|
#1 |
Member
Ruggiero Guida
Join Date: Apr 2013
Location: World
Posts: 46
Rep Power: 12 |
I am trying to out the residuals field with postProcess in OF4.1. I have created a residual file in system
Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 4.x | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ residuals { // Where to load it from libs ("libutilityFunctionObjects.so"); type residuals; writeControl timeStep; writeInterval 1; enabled true; // Names of fields to sample. Should contain above velocity field! fields (p U k); } I have then tried the following Code:
postProcess -func residuals -latestTime Code:
simpleFoam -postProcess -func residuals Code:
# Residuals # Time p Ux Uy Uz k 1212 1212 Last edited by Rojj; September 2, 2017 at 04:04. |
|
September 2, 2017, 13:17 |
|
#2 |
Senior Member
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
chtMultiRegionSimpleFoam: maximum number of iterations excedeed. | Nkl | OpenFOAM Running, Solving & CFD | 19 | October 10, 2019 02:42 |
Extrusion with OpenFoam problem No. Iterations 0 | Lord Kelvin | OpenFOAM Running, Solving & CFD | 8 | March 28, 2016 11:08 |
pimpleFoam: turbulence->correct(); is not executed when using residualControl | hfs | OpenFOAM Running, Solving & CFD | 3 | October 29, 2013 08:35 |
pisoFoam with k-epsilon turb blows up - Some questions | Heroic | OpenFOAM Running, Solving & CFD | 26 | December 17, 2012 03:34 |
Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 | bookie56 | OpenFOAM Installation | 8 | August 13, 2011 04:03 |