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:
@ -54,7 +54,6 @@ maxCo 2;
|
|||||||
|
|
||||||
functions
|
functions
|
||||||
{
|
{
|
||||||
#include "readFields"
|
|
||||||
#include "Q"
|
#include "Q"
|
||||||
#include "surfaces"
|
#include "surfaces"
|
||||||
#include "forces"
|
#include "forces"
|
||||||
|
|||||||
@ -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);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
@ -49,7 +49,6 @@ runTimeModifiable true;
|
|||||||
|
|
||||||
functions
|
functions
|
||||||
{
|
{
|
||||||
#include "readFields"
|
|
||||||
#include "cuttingPlane"
|
#include "cuttingPlane"
|
||||||
#include "streamLines"
|
#include "streamLines"
|
||||||
#include "forceCoeffs"
|
#include "forceCoeffs"
|
||||||
|
|||||||
@ -49,12 +49,6 @@ runTimeModifiable true;
|
|||||||
|
|
||||||
functions
|
functions
|
||||||
{
|
{
|
||||||
readFields
|
|
||||||
{
|
|
||||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
|
||||||
type readFields;
|
|
||||||
fields (p U);
|
|
||||||
}
|
|
||||||
streamLines
|
streamLines
|
||||||
{
|
{
|
||||||
type streamLine;
|
type streamLine;
|
||||||
|
|||||||
@ -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);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
@ -53,7 +53,6 @@ runTimeModifiable true;
|
|||||||
|
|
||||||
functions
|
functions
|
||||||
{
|
{
|
||||||
#include "readFields"
|
|
||||||
#include "streamLines"
|
#include "streamLines"
|
||||||
#include "wallBoundedStreamLines"
|
#include "wallBoundedStreamLines"
|
||||||
#include "cuttingPlane"
|
#include "cuttingPlane"
|
||||||
|
|||||||
@ -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);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
Reference in New Issue
Block a user