metalfox |
January 12, 2022 04:49 |
buoyantReactingFoam: writing the total radiative heat flux field
Hi
I'm running a simulation with buoyantReactingFoam (openfoam 9) using fvDOM as the radiation model.
I would like to print the total radiative heat flux qr at each write time.
qr is defined as:
Code:
qr_
(
IOobject
(
"qr",
mesh_.time().timeName(),
mesh_,
IOobject::READ_IF_PRESENT,
IOobject::AUTO_WRITE
),
mesh_,
dimensionedScalar(dimMass/pow3(dimTime), 0)
),
in fvDOM.c.
I tried to request writing it by defining the following function object in my controlDict:
Code:
functions
{
writeQr
{
type writeObjects;
functionObjectLibs ( "libutilityFunctionObjects.so" );
objects ("qr");
writeControl writeTime;
}
}
However, when I run buoyantReactingFoam, I get:
Code:
--> FOAM Warning : writeObjects: object qr not found in database. Available objects:
75
(
CH4
CH4Mean
CH4_0
CO2
CO2_0
Cp
Cv
GAMGAgglomeration
H2O
H2OMean
H2O_0
K
K_0
MRFProperties
N2
O2
O2Mean
O2_0
Residuals<scalar>
Residuals<vector>
T
TMean
U
UMean
U_0
alphat
boundary
cellZones
combustionProperties
data
delta
dpdt
faceZones
faces
fres_CH4
fres_CO2
fres_H2O
fres_N2
fres_O2
fvConstraints
fvModels
fvSchemes
fvSolution
g
gh
ghf
h
hRef
h_0
k
k_0
momentumTransport
neighbour
nut
owner
p
pRef
p_0
p_rgh
p_rgh_0
ph_rgh
phi
phi_0
pointZones
points
rho
rho_0
solutionControl
thermo:alpha
thermo:mu
thermo:psi
thermo:psi_0
thermophysicalProperties
thermophysicalTransport
wFuel
)
How could I write qr?
Thanks so much
|