mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
SUBMODULE: added adios submodule (ADIOS2) and control files
This commit is contained in:
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -7,3 +7,6 @@
|
|||||||
[submodule "catalyst"]
|
[submodule "catalyst"]
|
||||||
path = modules/catalyst
|
path = modules/catalyst
|
||||||
url = https://develop.openfoam.com/Community/catalyst.git
|
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()
|
cleanDynamicCode()
|
||||||
{
|
{
|
||||||
if [ -d dynamicCode ] && [ -d system ]
|
if [ -d dynamicCode ] && [ -d system ]
|
||||||
@ -93,6 +102,7 @@ cleanCase()
|
|||||||
{
|
{
|
||||||
cleanTimeDirectories
|
cleanTimeDirectories
|
||||||
cleanPostProcessing
|
cleanPostProcessing
|
||||||
|
cleanAdiosOutput
|
||||||
cleanDynamicCode
|
cleanDynamicCode
|
||||||
cleanOptimisation
|
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
Submodule modules/adios added at 64b82ebbe1
Reference in New Issue
Block a user