SUBMODULE: added adios submodule (ADIOS2) and control files
This commit is contained in:
parent
e95ab402fd
commit
b0eb74c142
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -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
|
||||
|
||||
|
34
etc/caseDicts/annotated/adiosWriteDict
Normal file
34
etc/caseDicts/annotated/adiosWriteDict
Normal file
@ -0,0 +1,34 @@
|
||||
/*--------------------------------*- 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 ();
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
19
etc/caseDicts/insitu/adios/adiosWrite.cfg
Normal file
19
etc/caseDicts/insitu/adios/adiosWrite.cfg
Normal file
@ -0,0 +1,19 @@
|
||||
/*--------------------------------*- 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;
|
||||
|
||||
// ************************************************************************* //
|
1
modules/adios
Submodule
1
modules/adios
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 64b82ebbe119287434b2d52d042d598d2899ad6b
|
Loading…
Reference in New Issue
Block a user