Skip to content
Snippets Groups Projects
Commit f0b118cf authored by Mark OLESEN's avatar Mark OLESEN
Browse files

TUT: provide example using timeStart to delay starting of catalyst

- note that the timeEnd keyword does stop the execution of the
  function object, but does not close the connection or free up
  resources

- restructured/renamed the various cfg files in anticipation of
  relocating them to the main OpenFOAM etc/caseDicts directory in the
  future.
parent 5bd81cab
No related branches found
No related tags found
No related merge requests found
Showing
with 63 additions and 51 deletions
Collection of scripts and setups.
- Some bits may need to migrate to the main OpenFOAM directories
......@@ -5,16 +5,12 @@
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object catalystArea.cfg;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
// Insitu processing of finiteArea fields with ParaView Catalyst
#include "catalyst.cfg"
type catalyst::area;
libs ("libcatalystFoam.so");
executeControl timeStep;
writeControl none;
// ************************************************************************* //
......@@ -5,16 +5,12 @@
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object catalystCloud.cfg;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
// Insitu processing of lagrangian clouds with ParaView Catalyst
#include "catalyst.cfg"
type catalyst::cloud;
libs ("libcatalystFoam.so");
executeControl timeStep;
writeControl none;
// ************************************************************************* //
......@@ -5,20 +5,12 @@
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object catalyst.cfg;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
// Insitu processing of finiteVolume fields with ParaView Catalyst
type catalyst;
libs ("libcatalystFoam.so");
executeControl timeStep;
// Fallback script(s)
/// scripts ( );
executeControl timeStep;
writeControl none;
// ************************************************************************* //
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: plus |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
// Insitu processing of finiteArea fields with ParaView Catalyst
type catalyst::area;
libs ("libcatalystFoam.so");
executeControl timeStep;
writeControl none;
// ************************************************************************* //
......@@ -4,7 +4,8 @@ functions
{
catalystArea
{
#include "catalystArea.cfg";
#include "area.cfg";
// FUTURE: #includeEtc "caseDicts/postProcessing/catalyst/area.cfg"
// Selected fields (words or regex)
fields ( ".*" );
......
......@@ -5,6 +5,7 @@ functions
catalyst
{
#include "catalyst.cfg";
// FUTURE: #includeEtc "caseDicts/postProcessing/catalyst/default.cfg"
// All regions
regions (".*");
......
......@@ -5,17 +5,12 @@
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object catalyst.cfg;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
// Insitu processing of finiteVolume fields with ParaView Catalyst
type catalyst;
libs ("libcatalystFoam.so");
executeControl timeStep;
writeControl none;
// ************************************************************************* //
......@@ -5,6 +5,7 @@ functions
catalyst
{
#include "catalyst.cfg";
// FUTURE: #includeEtc "caseDicts/postProcessing/catalyst/default.cfg"
// Regions
// regions ( );
......@@ -17,6 +18,10 @@ functions
"$FOAM_CASE/system/scripts/slice1.py"
"$FOAM_CASE/system/scripts/writeVtm.py"
);
// Calculate a few iterations before starting processing
timeStart 0.05;
// timeEnd 0.40
}
}
......
......@@ -5,21 +5,12 @@
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object catalyst.cfg;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
// Insitu processing of finiteVolume fields with ParaView Catalyst
type catalyst;
libs ("libcatalystFoam.so");
log false;
executeControl timeStep;
// Fallback scripts
// scripts ( );
executeControl timeStep;
writeControl none;
// ************************************************************************* //
......@@ -4,7 +4,8 @@ functions
{
catalystCloud1
{
#include "catalystCloud.cfg";
#includeEtc "cloud.cfg";
// FUTURE: #includeEtc "caseDicts/postProcessing/catalyst/cloud.cfg"
// Selected clouds (words or regex)
clouds ( coalCloud1 limestoneCloud1 );
......
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: plus |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
// Insitu processing of lagrangian clouds with ParaView Catalyst
type catalyst::cloud;
libs ("libcatalystFoam.so");
executeControl timeStep;
writeControl none;
// ************************************************************************* //
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment