Skip to content
Snippets Groups Projects
Commit b0eb74c1 authored by Mark OLESEN's avatar Mark OLESEN Committed by Andrew Heather
Browse files

SUBMODULE: added adios submodule (ADIOS2) and control files

parent e95ab402
No related merge requests found
......@@ -7,3 +7,6 @@
[submodule "catalyst"]
path = modules/catalyst
url = https://develop.openfoam.com/Community/catalyst.git
[submodule "adios"]
path = modules/adios
url = https://develop.openfoam.com/Community/adiosfoam.git
......@@ -37,6 +37,15 @@ cleanTimeDirectories()
}
cleanAdiosOutput()
{
if [ -d adiosData ] && [ -d system ]
then
rm -rf adiosData > /dev/null 2>&1
fi
}
cleanDynamicCode()
{
if [ -d dynamicCode ] && [ -d system ]
......@@ -93,6 +102,7 @@ cleanCase()
{
cleanTimeDirectories
cleanPostProcessing
cleanAdiosOutput
cleanDynamicCode
cleanOptimisation
......
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1906 |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
// Embed output with ADIOS2
type adiosWrite;
libs ("libadiosFunctionObjects.so");
// Additional items to write, or items to write (when explicit)
write
{
// Only use explicitly named fields/clouds.
// Otherwise select all fields/clouds that have AUTO_WRITE on.
explicit false;
// Volume fields
fields ();
// Parcel clouds
clouds ();
}
// Items to suppress from writing
ignore
{
fields ();
clouds ();
}
// ************************************************************************* //
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1906 |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
// Embed output with ADIOS2
type adiosWrite;
libs ("libadiosFunctionObjects.so");
executeControl none;
writeControl writeTime;
writeInterval 1;
// ************************************************************************* //
Subproject commit 64b82ebbe119287434b2d52d042d598d2899ad6b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment