define probes directly in controlDict

test harness is not yet prepared to handle '#include' properly or read
probes from probesDict
This commit is contained in:
danielque
2019-09-24 17:50:44 +02:00
parent f4b62ab0e0
commit 4c25d64af6
5 changed files with 173 additions and 10 deletions

View File

@ -65,13 +65,50 @@ functions
type rhoReactionThermoMoleFractions;
}
probes1
probes
{
type probes;
functionObjectLibs ("libsampling.so");
#include "probesDict";
// Name of the directory for probe data
name probes;
// Locations to be probed.
probeLocations
(
(0.03 0.025 0.03)
(0.03 0.05 0.03)
(0.03 0.075 0.03)
(0.03 0.09 0.03)
(0.03 0.12 0.03)
);
fields
(
rho
p
T
Cpv
N2
CO2
CO
H2
H2O
ModSpeciesMassField_N2
ModSpeciesMassField_CO2
ModSpeciesMassField_CO
ModSpeciesMassField_H2
ModSpeciesMassField_H2O
X_CO
X_CO2
X_H2
X_N2
X_H2O
);
writeControl timeStep;
writeInterval 10000;
}

View File

@ -65,13 +65,48 @@ functions
type rhoReactionThermoMoleFractions;
}
probes1
probes
{
type probes;
functionObjectLibs ("libsampling.so");
#include "probesDict";
// Name of the directory for probe data
name probes;
// Locations to be probed.
probeLocations
(
(7.0 2.5 2.5)
(8.0 2.5 2.5)
(1.0 2.5 2.5)
);
fields
(
rho
p
T
Cpv
N2
CO2
CO
H2
H2O
ModSpeciesMassField_N2
ModSpeciesMassField_CO2
ModSpeciesMassField_CO
ModSpeciesMassField_H2
ModSpeciesMassField_H2O
X_CO
X_CO2
X_H2
X_N2
X_H2O
);
writeControl timeStep;
writeInterval 50;
}

View File

@ -64,13 +64,48 @@ functions
type rhoReactionThermoMoleFractions;
}
probes1
probes
{
type probes;
functionObjectLibs ("libsampling.so");
#include "probesDict";
// Name of the directory for probe data
name probes;
// Locations to be probed.
probeLocations
(
(7.0 2.5 2.5)
(8.0 2.5 2.5)
(1.0 2.5 2.5)
);
fields
(
rho
p
T
Cpv
N2
CO2
CO
H2
H2O
ModSpeciesMassField_N2
ModSpeciesMassField_CO2
ModSpeciesMassField_CO
ModSpeciesMassField_H2
ModSpeciesMassField_H2O
X_CO
X_CO2
X_H2
X_N2
X_H2O
);
writeControl timeStep;
writeInterval 50;
}

View File

@ -65,13 +65,41 @@ functions
type rhoReactionThermoMoleFractions;
}
probes1
probes
{
type probes;
functionObjectLibs ("libsampling.so");
#include "probesDict";
// Name of the directory for probe data
name probes;
// Locations to be probed.
probeLocations
(
(7.0 2.5 2.5)
(8.0 2.5 2.5)
(1.0 2.5 2.5)
);
fields
(
rho
p
T
Cpv
N2
CO2
CO
ModSpeciesMassField_N2
ModSpeciesMassField_CO2
ModSpeciesMassField_CO
X_CO
X_CO2
);
writeControl timeStep;
writeInterval 50;
}

View File

@ -65,13 +65,41 @@ functions
type rhoReactionThermoMoleFractions;
}
probes1
probes
{
type probes;
functionObjectLibs ("libsampling.so");
#include "probesDict";
// Name of the directory for probe data
name probes;
// Locations to be probed.
probeLocations
(
(7.0 2.5 2.5)
(8.0 2.5 2.5)
(1.0 2.5 2.5)
);
fields
(
rho
p
T
Cpv
N2
CO2
CO
ModSpeciesMassField_N2
ModSpeciesMassField_CO2
ModSpeciesMassField_CO
X_CO
X_CO2
);
writeControl timeStep;
writeInterval 50;
}