Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/CPU_inferencce_validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
cmake -B build
cmake --build build
cd build
ctest
ctest --output-on-failure



Expand Down
1 change: 1 addition & 0 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ file(COPY ./dfLowMachFoam/twoD_reactingTGV/H2/cvodeSolver/postProcessing/sample/

file(COPY ./dfLowMachFoam/twoD_SandiaD_flareFGM/postProcessing/sample/1.1/data_T.xy DESTINATION 2DSandia)
file(COPY ./Tu500K-Phi1/fs DESTINATION flameSpeed)
file(COPY ./aachenBomb_2D/postProcessing/sample/0.0023/data_T.xy DESTINATION aachenBomb2D)

enable_testing()

Expand Down
33 changes: 33 additions & 0 deletions test/aachenBomb_2D/0/N2
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 7
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object N2;
}
// ************************************************************************* //

dimensions [0 0 0 0 0 0 0];

internalField uniform 0.766;

boundaryField
{
walls
{
type zeroGradient;
}
empty
{
type empty;
}
}

// ************************************************************************* //
33 changes: 33 additions & 0 deletions test/aachenBomb_2D/0/O2
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 7
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object O2;
}
// ************************************************************************* //

dimensions [0 0 0 0 0 0 0];

internalField uniform 0.234;

boundaryField
{
walls
{
type zeroGradient;
}
empty
{
type empty;
}
}

// ************************************************************************* //
33 changes: 33 additions & 0 deletions test/aachenBomb_2D/0/T
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 7
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object T;
}
// ************************************************************************* //

dimensions [0 0 0 1 0 0 0];

internalField uniform 800;

boundaryField
{
walls
{
type zeroGradient;
}
empty
{
type empty;
}
}

// ************************************************************************* //
34 changes: 34 additions & 0 deletions test/aachenBomb_2D/0/U
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 7
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volVectorField;
object U;
}
// ************************************************************************* //

dimensions [0 1 -1 0 0 0 0];

internalField uniform (0 0 0);

boundaryField
{
walls
{
type fixedValue;
value uniform (0 0 0);
}
empty
{
type empty;
}
}

// ************************************************************************* //
33 changes: 33 additions & 0 deletions test/aachenBomb_2D/0/Ydefault
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 7
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object Ydefault;
}
// ************************************************************************* //

dimensions [0 0 0 0 0 0 0];

internalField uniform 0;

boundaryField
{
walls
{
type zeroGradient;
}
empty
{
type empty;
}
}

// ************************************************************************* //
36 changes: 36 additions & 0 deletions test/aachenBomb_2D/0/alphat
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 7
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format binary;
class volScalarField;
location "0";
object alphat;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [1 -1 -1 0 0 0 0];

internalField uniform 0;

boundaryField
{
walls
{
type compressible::alphatWallFunction;
value uniform 0;
}
empty
{
type empty;
}
}


// ************************************************************************* //
36 changes: 36 additions & 0 deletions test/aachenBomb_2D/0/epsilon
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 7
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format binary;
class volScalarField;
location "0";
object epsilon;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [0 2 -3 0 0 0 0];

internalField uniform 90;

boundaryField
{
walls
{
type epsilonWallFunction;
value uniform 90;
}
empty
{
type empty;
}
}


// ************************************************************************* //
36 changes: 36 additions & 0 deletions test/aachenBomb_2D/0/k
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 7
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format binary;
class volScalarField;
location "0";
object k;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [0 2 -2 0 0 0 0];

internalField uniform 1;

boundaryField
{
walls
{
type kqRWallFunction;
value uniform 1;
}
empty
{
type empty;
}
}


// ************************************************************************* //
36 changes: 36 additions & 0 deletions test/aachenBomb_2D/0/nut
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 7
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format binary;
class volScalarField;
location "0";
object nut;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [0 2 -1 0 0 0 0];

internalField uniform 0;

boundaryField
{
walls
{
type nutkWallFunction;
value uniform 0;
}
empty
{
type empty;
}
}


// ************************************************************************* //
33 changes: 33 additions & 0 deletions test/aachenBomb_2D/0/p
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 7
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object p;
}
// ************************************************************************* //

dimensions [1 -1 -2 0 0 0 0];

internalField uniform 5e+06;

boundaryField
{
walls
{
type zeroGradient;
}
empty
{
type empty;
}
}

// ************************************************************************* //
13 changes: 13 additions & 0 deletions test/aachenBomb_2D/Allclean
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/sh
cd ${0%/*} || exit 1 # Run from this directory

echo "Cleaning log.*"
rm log.* log*
echo "Cleaning processor*"
rm -r processor*
echo "Cleaning polyMesh/"
rm -r constant/polyMesh
echo "Cleaning time steps"
rm -r 0.00*
echo "Cleaning postProcessing"
rm -r postProcessing/
14 changes: 14 additions & 0 deletions test/aachenBomb_2D/Allrun
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/sh
cd ${0%/*} || exit 1 # Run from this directory

# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions

application=dfLowMachFoam

runApplication blockMesh
runApplication decomposePar
runApplication mpirun -np 2 --allow-run-as-root $application -parallel

runApplication reconstructPar
runApplication postProcess -func sample
Loading