CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

Create residual field with postProcess

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 19, 2017, 11:24
Default Create residual field with postProcess
  #1
Member
 
Ruggiero Guida
Join Date: Apr 2013
Location: World
Posts: 46
Rep Power: 12
Rojj is on a distinguished road
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
and

Code:
simpleFoam -postProcess -func residuals
However the generated file in postProcessing/residual is empty

Code:
# Residuals
# Time       	p            	Ux           	Uy           	Uz           	k
1212
1212
Any idea of what I am doing wrong? Thanks!

Last edited by Rojj; September 2, 2017 at 04:04.
Rojj is offline   Reply With Quote

Old   September 2, 2017, 13:17
Default
  #2
Senior Member
 
M. C.
Join Date: May 2013
Location: Italy
Posts: 286
Blog Entries: 6
Rep Power: 16
student666 is on a distinguished road
edited:

buoyantSimpleFoam - not plotting residuals

look here if it can be of help.

Regards
student666 is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 10:35.