mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Packaged function objects to plug into OpenFOAM cases
See $FOAM_ETC/caseDicts/postProcessing/README for details
This commit is contained in:
52
etc/caseDicts/postProcessing/README
Normal file
52
etc/caseDicts/postProcessing/README
Normal file
@ -0,0 +1,52 @@
|
||||
Overview
|
||||
========
|
||||
- This directory contains files to help post-processing of OpenFOAM cases
|
||||
- It primariy "packages" functionObject functionality in a convenient form for
|
||||
users to plug into their OpenFOAM cases
|
||||
- While some tools are quite generic, e.g. minMax, others are more application-
|
||||
oriented, e.g. flowRate.
|
||||
|
||||
How the tools work
|
||||
==================
|
||||
- The configuration of functionObjects includes both required input data and
|
||||
control parameters for the functionObject
|
||||
- This creates a lot of input that can be confusing to users
|
||||
- The tools here are packaged so that the user input is separated from control
|
||||
parameters
|
||||
- Control parameters are pre-configured in .cfg files - users can ignore these
|
||||
files
|
||||
- For each tool, required user input is all in one file, for the users to copy
|
||||
into their case and set accordingly
|
||||
|
||||
Example of how to use the tools
|
||||
===============================
|
||||
Task: monitor flow rate at an outlet patch named "outlet" for a case
|
||||
Solution:
|
||||
- locate the flowRatePatch tool in the flowRate directory
|
||||
- copy the flowRatePatch file into the case system directory (not
|
||||
flowRatePatch.cfg)
|
||||
- edit system/flowRatePatch to set the patch name
|
||||
replace "patch <patchName>;"
|
||||
with "patch outlet;"
|
||||
- activate the function object by including the flowRatePatch file in functions
|
||||
sub-dictionary in the case controlDict file, e.g.
|
||||
functions
|
||||
{
|
||||
#include "flowRatePatch"
|
||||
... other function objects here ...
|
||||
}
|
||||
|
||||
Current tools
|
||||
=============
|
||||
- fields calculate specific fields, e.g. Q
|
||||
- flowRate tools to calculate flow rate
|
||||
- forces forces and forceCoeffs for incompressible/compressible flows
|
||||
- graphs simple sampling for graph plotting, e.g. singleGraph
|
||||
- minMax range of minimum and maximum field monitoring, e.g. cellMax
|
||||
- numerical outputs information relating to numerics, e.g. residuals
|
||||
- pressure calculates different forms of pressure, pressure drop, etc
|
||||
- probes options for probing data
|
||||
- scalarTransport for plugin scalar transport calculations
|
||||
- visualization post-processing VTK files for cutting planes, streamlines,...
|
||||
|
||||
- faceSource configuration for some of the tools above
|
||||
27
etc/caseDicts/postProcessing/faceSource/faceSource.cfg
Normal file
27
etc/caseDicts/postProcessing/faceSource/faceSource.cfg
Normal file
@ -0,0 +1,27 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object faceSource.cfg;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
type faceSource;
|
||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
||||
|
||||
enabled true;
|
||||
outputControl timeStep;
|
||||
writeInterval 1;
|
||||
|
||||
valueOutput false;
|
||||
log false;
|
||||
|
||||
// ************************************************************************* //
|
||||
21
etc/caseDicts/postProcessing/faceSource/faceZoneSource.cfg
Normal file
21
etc/caseDicts/postProcessing/faceSource/faceZoneSource.cfg
Normal file
@ -0,0 +1,21 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object faceZoneSource.cfg;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#includeEtc "caseDicts/postProcessing/faceSource/faceSource.cfg"
|
||||
|
||||
source faceZone;
|
||||
|
||||
// ************************************************************************* //
|
||||
22
etc/caseDicts/postProcessing/faceSource/patchSource.cfg
Normal file
22
etc/caseDicts/postProcessing/faceSource/patchSource.cfg
Normal file
@ -0,0 +1,22 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object patchSource.cfg;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#includeEtc "caseDicts/postProcessing/faceSource/faceSource.cfg"
|
||||
|
||||
source patch;
|
||||
sourceName $patch;
|
||||
|
||||
// ************************************************************************* //
|
||||
29
etc/caseDicts/postProcessing/faceSource/surfaceSource.cfg
Normal file
29
etc/caseDicts/postProcessing/faceSource/surfaceSource.cfg
Normal file
@ -0,0 +1,29 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object surfaceSource.cfg;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#includeEtc "caseDicts/postProcessing/faceSource/faceSource.cfg"
|
||||
|
||||
source sampledSurface;
|
||||
|
||||
sampledSurfaceDict
|
||||
{
|
||||
type sampledTriSurfaceMesh;
|
||||
surface $triSurface;
|
||||
source cells;
|
||||
interpolate true;
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
22
etc/caseDicts/postProcessing/fields/Lambda2
Normal file
22
etc/caseDicts/postProcessing/fields/Lambda2
Normal file
@ -0,0 +1,22 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object Lambda2.cfg;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
Lambda2
|
||||
{
|
||||
#includeEtc "caseDicts/postProcessing/fields/Lambda2.cfg"
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
23
etc/caseDicts/postProcessing/fields/Lambda2.cfg
Normal file
23
etc/caseDicts/postProcessing/fields/Lambda2.cfg
Normal file
@ -0,0 +1,23 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object Lambda2.cfg;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
type Lambda2;
|
||||
functionObjectLibs ("libutilityFunctionObjects.so");
|
||||
|
||||
enabled true;
|
||||
outputControl outputTime;
|
||||
|
||||
// ************************************************************************* //
|
||||
22
etc/caseDicts/postProcessing/fields/Q
Normal file
22
etc/caseDicts/postProcessing/fields/Q
Normal file
@ -0,0 +1,22 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object Q.cfg;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
Q
|
||||
{
|
||||
#includeEtc "caseDicts/postProcessing/fields/Q.cfg"
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
23
etc/caseDicts/postProcessing/fields/Q.cfg
Normal file
23
etc/caseDicts/postProcessing/fields/Q.cfg
Normal file
@ -0,0 +1,23 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object Q.cfg;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
type Q;
|
||||
functionObjectLibs ("libutilityFunctionObjects.so");
|
||||
|
||||
enabled true;
|
||||
outputControl outputTime;
|
||||
|
||||
// ************************************************************************* //
|
||||
28
etc/caseDicts/postProcessing/flowRate/flowRatePatch
Normal file
28
etc/caseDicts/postProcessing/flowRate/flowRatePatch
Normal file
@ -0,0 +1,28 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object flowRatePatch;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
// This packaged function object sums the flux phi on patch faces so the
|
||||
// calculated volume flow rate for solvers where phi = volumetric flux, and
|
||||
// mass flow rate for solvers where phi = mass flux.
|
||||
|
||||
flowRatePatch
|
||||
{
|
||||
patch <patchName>;
|
||||
|
||||
#includeEtc "caseDicts/postProcessing/flowRate/flowRatePatch.cfg"
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
22
etc/caseDicts/postProcessing/flowRate/flowRatePatch.cfg
Normal file
22
etc/caseDicts/postProcessing/flowRate/flowRatePatch.cfg
Normal file
@ -0,0 +1,22 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object flowRatePatch.cfg;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#includeEtc "caseDicts/postProcessing/faceSource/patchSource.cfg"
|
||||
|
||||
fields (phi);
|
||||
operation sum;
|
||||
|
||||
// ************************************************************************* //
|
||||
28
etc/caseDicts/postProcessing/flowRate/volFlowRateSurface
Normal file
28
etc/caseDicts/postProcessing/flowRate/volFlowRateSurface
Normal file
@ -0,0 +1,28 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object volFlowRateSurface;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
// This packaged function object interpolates velocity U onto triangles in
|
||||
// triSurface file and integrates over the surface area. Triangles need to
|
||||
// be small (<= cell size) for an accurate integration.
|
||||
|
||||
volFlowRateSurface
|
||||
{
|
||||
triSurface <triSurfaceFile>;
|
||||
|
||||
#includeEtc "caseDicts/postProcessing/flowRate/volFlowRateSurface.cfg"
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
22
etc/caseDicts/postProcessing/flowRate/volFlowRateSurface.cfg
Normal file
22
etc/caseDicts/postProcessing/flowRate/volFlowRateSurface.cfg
Normal file
@ -0,0 +1,22 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object volFlowRateSurface.cfg;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#includeEtc "caseDicts/postProcessing/faceSource/surfaceSource.cfg"
|
||||
|
||||
fields (U);
|
||||
operation areaNormalIntegrate;
|
||||
|
||||
// ************************************************************************* //
|
||||
22
etc/caseDicts/postProcessing/forces/forceCoeffs.cfg
Normal file
22
etc/caseDicts/postProcessing/forces/forceCoeffs.cfg
Normal file
@ -0,0 +1,22 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object forceCoeffs.cfg;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#includeEtc "caseDicts/postProcessing/forces/forces.cfg"
|
||||
|
||||
type forceCoeffs;
|
||||
rhoInf 1; // Redundant for incompressible
|
||||
|
||||
// ************************************************************************* //
|
||||
35
etc/caseDicts/postProcessing/forces/forceCoeffsCompressible
Normal file
35
etc/caseDicts/postProcessing/forces/forceCoeffsCompressible
Normal file
@ -0,0 +1,35 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object forceCoeffsCompressible;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
forceCoeffs
|
||||
{
|
||||
patches ( patch1 patch2 );
|
||||
|
||||
magUInf 20;
|
||||
rhoInf 1.225;
|
||||
lRef 1;
|
||||
Aref 1;
|
||||
|
||||
liftDir (0 0 1);
|
||||
dragDir (1 0 0);
|
||||
|
||||
CofR (0 0 0);
|
||||
pitchAxis (0 1 0);
|
||||
|
||||
#includeEtc "caseDicts/postProcessing/forces/forceCoeffsCompressible.cfg"
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,20 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object forceCoeffsCompressible.cfg;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#includeEtc "caseDicts/postProcessing/forces/forceCoeffs.cfg"
|
||||
rhoName rho;
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,34 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object forceCoeffsIncompressible;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
forceCoeffs
|
||||
{
|
||||
patches ( patch1 patch2 );
|
||||
|
||||
magUInf 20;
|
||||
lRef 1;
|
||||
Aref 1;
|
||||
|
||||
liftDir (0 0 1);
|
||||
dragDir (1 0 0);
|
||||
|
||||
CofR (0 0 0);
|
||||
pitchAxis (0 1 0);
|
||||
|
||||
#includeEtc "caseDicts/postProcessing/forces/forceCoeffs.cfg"
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
29
etc/caseDicts/postProcessing/forces/forces.cfg
Normal file
29
etc/caseDicts/postProcessing/forces/forces.cfg
Normal file
@ -0,0 +1,29 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object forces.cfg;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
type forces;
|
||||
functionObjectLibs ( "libforces.so" );
|
||||
|
||||
enabled true;
|
||||
outputControl timeStep;
|
||||
outputInterval 1;
|
||||
|
||||
pName p;
|
||||
UName U;
|
||||
rhoName rhoInf; // Incompressible solver
|
||||
log off;
|
||||
|
||||
// ************************************************************************* //
|
||||
27
etc/caseDicts/postProcessing/forces/forcesCompressible
Normal file
27
etc/caseDicts/postProcessing/forces/forcesCompressible
Normal file
@ -0,0 +1,27 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object forcesCompressible;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
forces
|
||||
{
|
||||
patches ( patch1 patch2 );
|
||||
|
||||
CofR (0 0 0);
|
||||
pitchAxis (0 1 0);
|
||||
|
||||
#includeEtc "caseDicts/postProcessing/forces/forcesCompressible.cfg"
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
21
etc/caseDicts/postProcessing/forces/forcesCompressible.cfg
Normal file
21
etc/caseDicts/postProcessing/forces/forcesCompressible.cfg
Normal file
@ -0,0 +1,21 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object forcesCompressible.cfg;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#includeEtc "caseDicts/postProcessing/forces/forces.cfg"
|
||||
rhoName rho;
|
||||
rhoInf 1; // Redundant
|
||||
|
||||
// ************************************************************************* //
|
||||
28
etc/caseDicts/postProcessing/forces/forcesIncompressible
Normal file
28
etc/caseDicts/postProcessing/forces/forcesIncompressible
Normal file
@ -0,0 +1,28 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object forcesIncompressible;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
forces
|
||||
{
|
||||
rhoInf 1.225; // Fluid density
|
||||
patches ( patch1 patch2 );
|
||||
|
||||
CofR (0 0 0);
|
||||
pitchAxis (0 1 0);
|
||||
|
||||
#includeEtc "caseDicts/postProcessing/forces/forces.cfg"
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
33
etc/caseDicts/postProcessing/graphs/graph.cfg
Normal file
33
etc/caseDicts/postProcessing/graphs/graph.cfg
Normal file
@ -0,0 +1,33 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object graph.cfg;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
type sets;
|
||||
functionObjectLibs ("libsampling.so");
|
||||
|
||||
enabled true;
|
||||
outputControl outputTime;
|
||||
|
||||
sets
|
||||
(
|
||||
line
|
||||
{
|
||||
$setConfig;
|
||||
start $start;
|
||||
end $end;
|
||||
}
|
||||
);
|
||||
|
||||
// ************************************************************************* //
|
||||
31
etc/caseDicts/postProcessing/graphs/sampleDict
Normal file
31
etc/caseDicts/postProcessing/graphs/sampleDict
Normal file
@ -0,0 +1,31 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object sampleDict;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#includeEtc "caseDicts/postProcessing/graphs/sampleDict.cfg"
|
||||
|
||||
sets
|
||||
(
|
||||
graph
|
||||
{
|
||||
$:setConfig;
|
||||
start (0 1e-6 0);
|
||||
end (1 1e-6 0);
|
||||
}
|
||||
);
|
||||
|
||||
fields ( U p );
|
||||
|
||||
// ************************************************************************* //
|
||||
28
etc/caseDicts/postProcessing/graphs/sampleDict.cfg
Normal file
28
etc/caseDicts/postProcessing/graphs/sampleDict.cfg
Normal file
@ -0,0 +1,28 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object sampleDict.cfg;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
interpolationScheme cellPoint;
|
||||
|
||||
setFormat raw;
|
||||
|
||||
setConfig
|
||||
{
|
||||
type uniform;
|
||||
axis distance;
|
||||
nPoints 100;
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
29
etc/caseDicts/postProcessing/graphs/singleGraph
Normal file
29
etc/caseDicts/postProcessing/graphs/singleGraph
Normal file
@ -0,0 +1,29 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object graph;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
graph
|
||||
{
|
||||
start (0 1e-06 0);
|
||||
end (1 1e-06 0);
|
||||
fields ( U p );
|
||||
|
||||
#includeEtc "caseDicts/postProcessing/graphs/sampleDict.cfg"
|
||||
|
||||
// Must be last entry
|
||||
#includeEtc "caseDicts/postProcessing/graphs/graph.cfg"
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
24
etc/caseDicts/postProcessing/minMax/cellMax
Normal file
24
etc/caseDicts/postProcessing/minMax/cellMax
Normal file
@ -0,0 +1,24 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object cellMax;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
cellMax
|
||||
{
|
||||
fields ( U p );
|
||||
|
||||
#includeEtc "caseDicts/postProcessing/minMax/cellMinMax.cfg"
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
24
etc/caseDicts/postProcessing/minMax/cellMin
Normal file
24
etc/caseDicts/postProcessing/minMax/cellMin
Normal file
@ -0,0 +1,24 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object cellMin;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
cellMin
|
||||
{
|
||||
fields ( U p );
|
||||
|
||||
#includeEtc "caseDicts/postProcessing/minMax/cellMin.cfg"
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
20
etc/caseDicts/postProcessing/minMax/cellMin.cfg
Normal file
20
etc/caseDicts/postProcessing/minMax/cellMin.cfg
Normal file
@ -0,0 +1,20 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object cellMin.cfg;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#includeEtc "caseDicts/postProcessing/minMax/cellMinMax.cfg"
|
||||
operation min;
|
||||
|
||||
// ************************************************************************* //
|
||||
30
etc/caseDicts/postProcessing/minMax/cellMinMax.cfg
Normal file
30
etc/caseDicts/postProcessing/minMax/cellMinMax.cfg
Normal file
@ -0,0 +1,30 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object cellMinMax.cfg;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
type cellSource;
|
||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
||||
|
||||
enabled true;
|
||||
outputControl timeStep;
|
||||
writeInterval 1;
|
||||
|
||||
valueOutput false;
|
||||
log false;
|
||||
|
||||
source all;
|
||||
operation max;
|
||||
|
||||
// ************************************************************************* //
|
||||
24
etc/caseDicts/postProcessing/minMax/faceMax
Normal file
24
etc/caseDicts/postProcessing/minMax/faceMax
Normal file
@ -0,0 +1,24 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object faceMax;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
faceMax
|
||||
{
|
||||
fields ( U p );
|
||||
|
||||
#includeEtc "caseDicts/postProcessing/minMax/faceMinMax.cfg"
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
24
etc/caseDicts/postProcessing/minMax/faceMin
Normal file
24
etc/caseDicts/postProcessing/minMax/faceMin
Normal file
@ -0,0 +1,24 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object faceMin;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
faceMin
|
||||
{
|
||||
fields ( U p );
|
||||
|
||||
#includeEtc "caseDicts/postProcessing/minMax/faceMin.cfg"
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
20
etc/caseDicts/postProcessing/minMax/faceMin.cfg
Normal file
20
etc/caseDicts/postProcessing/minMax/faceMin.cfg
Normal file
@ -0,0 +1,20 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object faceMin.cfg;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#includeEtc "caseDicts/postProcessing/minMax/faceMinMax.cfg"
|
||||
operation min;
|
||||
|
||||
// ************************************************************************* //
|
||||
30
etc/caseDicts/postProcessing/minMax/faceMinMax.cfg
Normal file
30
etc/caseDicts/postProcessing/minMax/faceMinMax.cfg
Normal file
@ -0,0 +1,30 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object faceMinMax.cfg;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
type faceSource;
|
||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
||||
|
||||
enabled true;
|
||||
outputControl timeStep;
|
||||
writeInterval 1;
|
||||
|
||||
valueOutput false;
|
||||
log false;
|
||||
|
||||
source all;
|
||||
operation max;
|
||||
|
||||
// ************************************************************************* //
|
||||
29
etc/caseDicts/postProcessing/minMax/fieldMinMax.cfg
Normal file
29
etc/caseDicts/postProcessing/minMax/fieldMinMax.cfg
Normal file
@ -0,0 +1,29 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object fieldMinMax.cfg;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
type fieldMinMax;
|
||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
||||
|
||||
enabled true;
|
||||
outputControl timeStep;
|
||||
writeInterval 1;
|
||||
|
||||
write true;
|
||||
log false;
|
||||
|
||||
mode magnitude;
|
||||
|
||||
// ************************************************************************* //
|
||||
24
etc/caseDicts/postProcessing/minMax/minMaxComponents
Normal file
24
etc/caseDicts/postProcessing/minMax/minMaxComponents
Normal file
@ -0,0 +1,24 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object minMaxComponents;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
minMaxComponents
|
||||
{
|
||||
mode components;
|
||||
|
||||
#includeEtc "caseDicts/postProcessing/minMax/minMaxComponents.cfg"
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
20
etc/caseDicts/postProcessing/minMax/minMaxComponents.cfg
Normal file
20
etc/caseDicts/postProcessing/minMax/minMaxComponents.cfg
Normal file
@ -0,0 +1,20 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object minMaxComponents.cfg;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#includeEtc "caseDicts/postProcessing/minMax/fieldMinMax.cfg"
|
||||
mode components;
|
||||
|
||||
// ************************************************************************* //
|
||||
24
etc/caseDicts/postProcessing/minMax/minMaxMagnitude
Normal file
24
etc/caseDicts/postProcessing/minMax/minMaxMagnitude
Normal file
@ -0,0 +1,24 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object minMaxMagnitude;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
minMaxMagnitude
|
||||
{
|
||||
fields ( U p );
|
||||
|
||||
#includeEtc "caseDicts/postProcessing/minMax/fieldMinMax.cfg"
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
24
etc/caseDicts/postProcessing/numerical/residuals
Normal file
24
etc/caseDicts/postProcessing/numerical/residuals
Normal file
@ -0,0 +1,24 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object residuals;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
residuals
|
||||
{
|
||||
fields ( p U );
|
||||
|
||||
#includeEtc "caseDicts/postProcessing/numerical/residuals.cfg"
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
24
etc/caseDicts/postProcessing/numerical/residuals.cfg
Normal file
24
etc/caseDicts/postProcessing/numerical/residuals.cfg
Normal file
@ -0,0 +1,24 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object residuals.cfg;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
type residuals;
|
||||
functionObjectLibs ("libutilityFunctionObjects.so");
|
||||
|
||||
enabled true;
|
||||
outputControl timeStep;
|
||||
outputInterval 1;
|
||||
|
||||
// ************************************************************************* //
|
||||
40
etc/caseDicts/postProcessing/pressure/pressureDifference.cfg
Normal file
40
etc/caseDicts/postProcessing/pressure/pressureDifference.cfg
Normal file
@ -0,0 +1,40 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object pressureDifference.cfg;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
type fieldValueDelta;
|
||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
||||
|
||||
operation subtract;
|
||||
|
||||
enabled true;
|
||||
outputControl timeStep;
|
||||
writeInterval 1
|
||||
log false;
|
||||
|
||||
source1
|
||||
{
|
||||
#includeEtc "caseDicts/postProcessing/faceSource/faceSource.cfg"
|
||||
operation areaAverage;
|
||||
fields ( p );
|
||||
}
|
||||
source2
|
||||
{
|
||||
#includeEtc "caseDicts/postProcessing/faceSource/faceSource.cfg"
|
||||
operation areaAverage;
|
||||
fields ( p );
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,25 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object pressureDifferencePatch;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
pressureDifferencePatch
|
||||
{
|
||||
patch1 <patch1>;
|
||||
patch2 <patch2>;
|
||||
|
||||
#includeEtc "caseDicts/postProcessing/pressure/pressureDifferencePatch.cfg"
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,30 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object pressureDifferencePatch.cfg;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#includeEtc "caseDicts/postProcessing/pressure/pressureDifference.cfg"
|
||||
|
||||
source1
|
||||
{
|
||||
source patch;
|
||||
sourceName $patch1;
|
||||
}
|
||||
source2
|
||||
{
|
||||
source patch;
|
||||
sourceName $patch2;
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,26 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object pressureDifferenceSurface;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
pressureDifferenceSurface
|
||||
{
|
||||
triSurface1 <triSurface1>;
|
||||
triSurface2 <triSurface2>;
|
||||
|
||||
#includeEtc
|
||||
"caseDicts/postProcessing/pressure/pressureDifferenceSurface.cfg"
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,41 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object pressureDifferenceSurface.cfg;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#includeEtc "caseDicts/postProcessing/pressure/pressureDifference.cfg"
|
||||
|
||||
source1
|
||||
{
|
||||
source sampledSurface;
|
||||
|
||||
sampledSurfaceDict
|
||||
{
|
||||
type sampledTriSurfaceMesh;
|
||||
source cells;
|
||||
interpolate true;
|
||||
surface $triSurface1;
|
||||
}
|
||||
}
|
||||
|
||||
source2
|
||||
{
|
||||
$source1;
|
||||
sampledSurfaceDict
|
||||
{
|
||||
surface $triSurface2;
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
24
etc/caseDicts/postProcessing/pressure/pressureTools.cfg
Normal file
24
etc/caseDicts/postProcessing/pressure/pressureTools.cfg
Normal file
@ -0,0 +1,24 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object pressureTools.cfg;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
type pressureTools;
|
||||
functionObjectLibs ("libutilityFunctionObjects.so");
|
||||
|
||||
enabled true;
|
||||
outputControl outputTime;
|
||||
log false;
|
||||
|
||||
// ************************************************************************* //
|
||||
24
etc/caseDicts/postProcessing/pressure/staticPressure
Normal file
24
etc/caseDicts/postProcessing/pressure/staticPressure
Normal file
@ -0,0 +1,24 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object staticPressure;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
staticPressure
|
||||
{
|
||||
rho 1.2; // Density to scale
|
||||
|
||||
#includeEtc "caseDicts/postProcessing/pressure/staticPressure.cfg"
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
24
etc/caseDicts/postProcessing/pressure/staticPressure.cfg
Normal file
24
etc/caseDicts/postProcessing/pressure/staticPressure.cfg
Normal file
@ -0,0 +1,24 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object staticPressure.cfg;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#includeEtc "caseDicts/postProcessing/pressure/pressureTools.cfg"
|
||||
|
||||
calcTotal no;
|
||||
calcCoeff no;
|
||||
rhoName rhoInf;
|
||||
rhoInf $rho;
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,25 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object totalPressureCompressible;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
totalPressure
|
||||
{
|
||||
pRef 0.0;
|
||||
|
||||
#includeEtc
|
||||
"caseDicts/postProcessing/pressure/totalPressureCompressible.cfg"
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,23 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object totalPressureCompressible.cfg;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#includeEtc "caseDicts/postProcessing/pressure/pressureTools.cfg"
|
||||
|
||||
calcTotal no;
|
||||
calcCoeff no;
|
||||
rhoName rho;
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,26 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object totalPressureIncompressible;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
totalPressure
|
||||
{
|
||||
pRef 0.0;
|
||||
rho 1.2;
|
||||
|
||||
#includeEtc
|
||||
"caseDicts/postProcessing/pressure/totalPressureIncompressible.cfg"
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,24 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object totalPressureIncompressible.cfg;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#includeEtc "caseDicts/postProcessing/pressure/pressureTools.cfg"
|
||||
|
||||
calcTotal yes;
|
||||
calcCoeff no;
|
||||
rhoName rhoInf;
|
||||
rhoInf $rho;
|
||||
|
||||
// ************************************************************************* //
|
||||
33
etc/caseDicts/postProcessing/probes/boundaryCloud
Normal file
33
etc/caseDicts/postProcessing/probes/boundaryCloud
Normal file
@ -0,0 +1,33 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object boundaryCloud;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
boundaryCloud
|
||||
{
|
||||
fields ( p U );
|
||||
|
||||
points
|
||||
(
|
||||
(0 0 0)
|
||||
);
|
||||
|
||||
maxDistance 0.1;
|
||||
|
||||
patches (".*");
|
||||
|
||||
#includeEtc "caseDicts/postProcessing/probes/boundaryCloud.cfg"
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
31
etc/caseDicts/postProcessing/probes/boundaryCloud.cfg
Normal file
31
etc/caseDicts/postProcessing/probes/boundaryCloud.cfg
Normal file
@ -0,0 +1,31 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object boundaryCloud.cfg;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#includeEtc "caseDicts/postProcessing/probes/cloud.cfg"
|
||||
|
||||
sets
|
||||
(
|
||||
cloud
|
||||
{
|
||||
type patchCloud;
|
||||
axis xyz;
|
||||
points $points;
|
||||
maxDistance $maxDistance;
|
||||
patches $patches;
|
||||
}
|
||||
);
|
||||
|
||||
// ************************************************************************* //
|
||||
23
etc/caseDicts/postProcessing/probes/cloud.cfg
Normal file
23
etc/caseDicts/postProcessing/probes/cloud.cfg
Normal file
@ -0,0 +1,23 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object cloud.cfg;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
type sets;
|
||||
functionObjectLibs ("libsampling.so");
|
||||
|
||||
enabled true;
|
||||
outputControl outputTime;
|
||||
|
||||
// ************************************************************************* //
|
||||
28
etc/caseDicts/postProcessing/probes/internalCloud
Normal file
28
etc/caseDicts/postProcessing/probes/internalCloud
Normal file
@ -0,0 +1,28 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object internalCloud;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
internalCloud
|
||||
{
|
||||
fields ( p U );
|
||||
points
|
||||
(
|
||||
(0 0 0)
|
||||
);
|
||||
|
||||
#includeEtc "caseDicts/postProcessing/probes/internalCloud.cfg"
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
29
etc/caseDicts/postProcessing/probes/internalCloud.cfg
Normal file
29
etc/caseDicts/postProcessing/probes/internalCloud.cfg
Normal file
@ -0,0 +1,29 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object internalCloud.cfg;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#includeEtc "caseDicts/postProcessing/probes/cloud.cfg"
|
||||
|
||||
sets
|
||||
(
|
||||
cloud
|
||||
{
|
||||
type cloud;
|
||||
axis xyz;
|
||||
points $points;
|
||||
}
|
||||
);
|
||||
|
||||
// ************************************************************************* //
|
||||
28
etc/caseDicts/postProcessing/probes/probes
Normal file
28
etc/caseDicts/postProcessing/probes/probes
Normal file
@ -0,0 +1,28 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object probes;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
probes
|
||||
{
|
||||
fields ( p U );
|
||||
probeLocations
|
||||
(
|
||||
(0 0 0)
|
||||
);
|
||||
|
||||
#includeEtc "caseDicts/postProcessing/probes/probes.cfg"
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
24
etc/caseDicts/postProcessing/probes/probes.cfg
Normal file
24
etc/caseDicts/postProcessing/probes/probes.cfg
Normal file
@ -0,0 +1,24 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object probes.cfg;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
type probes;
|
||||
functionObjectLibs ("libsampling.so");
|
||||
|
||||
enabled true;
|
||||
outputControl timeStep;
|
||||
outputInterval 1;
|
||||
|
||||
// ************************************************************************* //
|
||||
40
etc/caseDicts/postProcessing/scalarTransport/T
Normal file
40
etc/caseDicts/postProcessing/scalarTransport/T
Normal file
@ -0,0 +1,40 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
object T;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
Tinlet 1;
|
||||
|
||||
dimensions [0 0 0 0 0 0 0]; // T can represent any scalar
|
||||
// with any dimensional units
|
||||
internalField uniform 0;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
inlet
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform $Tinlet;
|
||||
}
|
||||
|
||||
".*"
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
|
||||
#includeEtc "caseDicts/setConstraintTypes"
|
||||
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
25
etc/caseDicts/postProcessing/scalarTransport/scalarTransport
Normal file
25
etc/caseDicts/postProcessing/scalarTransport/scalarTransport
Normal file
@ -0,0 +1,25 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object scalarTransport.cfg;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
T
|
||||
{
|
||||
#includeEtc "caseDicts/postProcessing/scalarTransport/scalarTransport.cfg"
|
||||
|
||||
userDT true;
|
||||
DT 1e-09;
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,31 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object scalarTransport.cfg;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
type scalarTransport;
|
||||
functionObjectLibs ("libutilityFunctionObjects.so");
|
||||
|
||||
enabled true;
|
||||
outputControl timeStep;
|
||||
writeInterval 1;
|
||||
|
||||
write true;
|
||||
log false;
|
||||
|
||||
resetOnStartUp false;
|
||||
autoSchemes true;
|
||||
fvOptions {};
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,33 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object scalarTransportDict;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
// controlDict settings
|
||||
startTime 0;
|
||||
|
||||
stopAt endTime;
|
||||
endTime 1;
|
||||
|
||||
deltaT 1e-4;
|
||||
|
||||
writeControl runTime;
|
||||
writeInterval 1e-2;
|
||||
|
||||
// transportProperties settings
|
||||
DT DT [ 0 2 -1 0 0 0 0 ] 1e-9;
|
||||
|
||||
#includeEtc "caseDicts/postProcessing/scalarTransport/scalarTransportDict.cfg"
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,49 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object scalarTransportDict.cfg;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
// fvSchemes settings
|
||||
ddtSchemes
|
||||
{
|
||||
default Euler;
|
||||
}
|
||||
divSchemes
|
||||
{
|
||||
div(phi,T) Gauss limitedLinear 1;
|
||||
}
|
||||
|
||||
// fvSolution settings
|
||||
solvers
|
||||
{
|
||||
T
|
||||
{
|
||||
solver smoothSolver;
|
||||
smoother symGaussSeidel;
|
||||
tolerance 1e-6;
|
||||
relTol 0;
|
||||
}
|
||||
}
|
||||
|
||||
relaxationFactors
|
||||
{
|
||||
fields
|
||||
{
|
||||
}
|
||||
equations
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
28
etc/caseDicts/postProcessing/visualization/streamlines
Normal file
28
etc/caseDicts/postProcessing/visualization/streamlines
Normal file
@ -0,0 +1,28 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object streamlines.cfg;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
streamlines
|
||||
{
|
||||
nLines 20;
|
||||
start (0 -4 1e-06); // Ensure that points do not coincide with
|
||||
end (0 4 1e-06); // mesh faces, but instead lie inside cells
|
||||
fields ( U p );
|
||||
|
||||
// Must be last entry
|
||||
#includeEtc "caseDicts/postProcessing/visualization/streamlines.cfg"
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
40
etc/caseDicts/postProcessing/visualization/streamlines.cfg
Normal file
40
etc/caseDicts/postProcessing/visualization/streamlines.cfg
Normal file
@ -0,0 +1,40 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object streamlines.cfg;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
type streamLine;
|
||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
||||
|
||||
outputControl outputTime;
|
||||
|
||||
setFormat vtk;
|
||||
UName U;
|
||||
trackForward true;
|
||||
|
||||
lifeTime 10000;
|
||||
nSubCycle 5;
|
||||
|
||||
cloudName particleTracks;
|
||||
seedSampleSet uniform;
|
||||
uniformCoeffs
|
||||
{
|
||||
type uniform;
|
||||
axis x;
|
||||
start $start;
|
||||
end $end;
|
||||
nPoints $nLines;
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
64
etc/caseDicts/postProcessing/visualization/surfaces
Normal file
64
etc/caseDicts/postProcessing/visualization/surfaces
Normal file
@ -0,0 +1,64 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object surfaces.cfg;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
surfaces
|
||||
{
|
||||
#includeEtc "caseDicts/postProcessing/visualization/surfaces.cfg"
|
||||
|
||||
fields ( p U );
|
||||
|
||||
surfaces
|
||||
(
|
||||
xNormal
|
||||
{
|
||||
$cuttingPlane;
|
||||
}
|
||||
|
||||
yNormal
|
||||
{
|
||||
$cuttingPlane;
|
||||
pointAndNormalDict
|
||||
{
|
||||
normalVector $y; // Overrides default normalVector (1 0 0)
|
||||
} // $y: macro for (0 1 0)
|
||||
}
|
||||
|
||||
zNormal
|
||||
{
|
||||
$cuttingPlane;
|
||||
pointAndNormalDict
|
||||
{
|
||||
basePoint (0 0 2); // Overrides default basePoint (0 0 0)
|
||||
normalVector $z; // $y: macro for (0 0 1)
|
||||
}
|
||||
}
|
||||
|
||||
p100
|
||||
{
|
||||
$isosurface;
|
||||
isoField p;
|
||||
isoValue 100;
|
||||
}
|
||||
|
||||
CAD
|
||||
{
|
||||
$patchSurface;
|
||||
patches ( CAD );
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
55
etc/caseDicts/postProcessing/visualization/surfaces.cfg
Normal file
55
etc/caseDicts/postProcessing/visualization/surfaces.cfg
Normal file
@ -0,0 +1,55 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object surfaces.cfg;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
type surfaces;
|
||||
functionObjectLibs ("libsampling.so");
|
||||
|
||||
enabled true;
|
||||
outputControl outputTime;
|
||||
|
||||
surfaceFormat vtk;
|
||||
interpolationScheme cellPoint;
|
||||
|
||||
x (1 0 0);
|
||||
y (0 1 0);
|
||||
z (0 0 1);
|
||||
origin (0 0 0);
|
||||
|
||||
cuttingPlane
|
||||
{
|
||||
type cuttingPlane;
|
||||
planeType pointAndNormal;
|
||||
pointAndNormalDict
|
||||
{
|
||||
basePoint $origin;
|
||||
normalVector $x;
|
||||
}
|
||||
interpolate true;
|
||||
}
|
||||
|
||||
isosurface
|
||||
{
|
||||
type isoSurface;
|
||||
interpolate true;
|
||||
}
|
||||
|
||||
patchSurface
|
||||
{
|
||||
type patch;
|
||||
interpolate true;
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
Reference in New Issue
Block a user