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