tutorials: "readFields" is no longer needed to post-process functionObjects

Use the solver '-postProcess' command-line option instead of execFlowFunctionObjects
This commit is contained in:
Henry Weller
2016-05-09 17:03:15 +01:00
parent 3be1d14af8
commit 06dd7cd8d3
7 changed files with 0 additions and 72 deletions

View File

@ -54,7 +54,6 @@ maxCo 2;
functions functions
{ {
#include "readFields"
#include "Q" #include "Q"
#include "surfaces" #include "surfaces"
#include "forces" #include "forces"

View File

@ -1,21 +0,0 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
// Make sure all fields for functionObjects are loaded. Prevents any
// problems running with execFlowFunctionObjects.
readFields
{
// Where to load it from (if not already in solver)
functionObjectLibs ("libfieldFunctionObjects.so");
type readFields;
fields (p U k);
}
// ************************************************************************* //

View File

@ -49,7 +49,6 @@ runTimeModifiable true;
functions functions
{ {
#include "readFields"
#include "cuttingPlane" #include "cuttingPlane"
#include "streamLines" #include "streamLines"
#include "forceCoeffs" #include "forceCoeffs"

View File

@ -49,12 +49,6 @@ runTimeModifiable true;
functions functions
{ {
readFields
{
functionObjectLibs ( "libfieldFunctionObjects.so" );
type readFields;
fields (p U);
}
streamLines streamLines
{ {
type streamLine; type streamLine;

View File

@ -1,21 +0,0 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
// Make sure all fields for functionObjects are loaded. Prevents any
// problems running with execFlowFunctionObjects.
readFields
{
// Where to load it from (if not already in solver)
functionObjectLibs ("libfieldFunctionObjects.so");
type readFields;
fields (p U);
}
// ************************************************************************* //

View File

@ -53,7 +53,6 @@ runTimeModifiable true;
functions functions
{ {
#include "readFields"
#include "streamLines" #include "streamLines"
#include "wallBoundedStreamLines" #include "wallBoundedStreamLines"
#include "cuttingPlane" #include "cuttingPlane"

View File

@ -1,21 +0,0 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
// Make sure all fields for functionObjects are loaded. Prevents any
// problems running with execFlowFunctionObjects.
readFields
{
// Where to load it from (if not already in solver)
functionObjectLibs ("libfieldFunctionObjects.so");
type readFields;
fields (p U k);
}
// ************************************************************************* //