CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[OpenFOAM] Paraview does not display objects (functionObjects)

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 16, 2017, 08:26
Default Paraview does not display objects (functionObjects)
  #1
New Member
 
P. H.
Join Date: Jul 2017
Posts: 5
Rep Power: 8
Proportion is on a distinguished road
Hello Foamers,

I'm working on a case in OpenFoam 4.1 for which I wanted to have additional output; accordingly I used the "writeObjects" utility which writes out a specified object and stores it in the results (found in $FOAM_ETC/caseDicts/postProcessing/fields).

This is how I adjusted writeObjects:
Code:
/*--------------------------------*- C++ -*----------------------------------*\
  =========                 |
  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
   \\    /   O peration     |
    \\  /    A nd           | Web:      www.OpenFOAM.org
     \\/     M anipulation  |
-------------------------------------------------------------------------------
Description
    Writes out specified objects, e.g. fields, stored on the case database.

\*---------------------------------------------------------------------------*/

type            writeObjects;
libs            ("libutilityFunctionObjects.so");

objects         (phi);

writeControl    writeTime;

// ************************************************************************* //
Additionally I added this to my controlDict:
Code:
functions
{
    #includeFunc writeObjects(phi)
}
It seems to work fine (I get an additional output file in my time folders) but somehow I can't select and view the results for files in Paraview (they simply don't appear in the list).

Thanks in advance!
Proportion is offline   Reply With Quote

Reply

Tags
writeobjects


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
[OpenFOAM.org] Paraview 5.4 in shell environment of5x - Segmentation fault (core dumped) dslbkxd OpenFOAM Installation 1 February 3, 2018 00:56
[OpenFOAM] Paraview display problem jiejie ParaView 4 October 13, 2013 21:29
[OpenFOAM] Xlib: extension "GLX" missing on display goldbeard ParaView 5 March 24, 2013 13:12
errors when installing openfoam2.1 on ubuntu12.o4 hewei OpenFOAM Installation 5 May 29, 2012 07:43
paraFoam reader for OpenFOAM 1.6 smart OpenFOAM Installation 13 November 16, 2009 21:41


All times are GMT -4. The time now is 07:17.