CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Solar collector using viewFactor radiation model (https://www.cfd-online.com/Forums/openfoam/255857-solar-collector-using-viewfactor-radiation-model.html)

udique May 3, 2024 10:01

Solar collector using viewFactor radiation model
 
1 Attachment(s)
Hey, everyone. I'm relatively new to OpenFOAM and I'm currently trying to simulate a solar collector, which is similar to a box using buoyantFoam. It has an inlet and an outlet of air and a radiation flux focusing on the upper wall. So basically, air comes inside the box and is heated due to radiation and comes out hotter. Knowing that I`m using the viewFactors model, I wanted to ask what are the best conditions I could use on the T, U and qr file. I've been using the externalWallHeatFluxTemperature for the T file and greyDiffusiveRadiationViewFactor for the qr file. I`m also uploading an image of the mesh I`m using and if anyone could help me with it, I would be grateful. I was also trying to simulate it and getting the following message:

#0 Foam::error::printStack(Foam::Ostream&) at ??:?
#1 Foam::sigSegv::sigHandler(int) at ??:?
#2 ? in "/lib/x86_64-linux-gnu/libc.so.6"
#3 Foam::tmp<Foam::Field<Foam::typeOfSum<double, double>::type> > Foam::operator+<double, double>(Foam::tmp<Foam::Field<double> > const&, Foam::tmp<Foam::Field<double> > const&) at ??:?
#4 Foam::externalWallHeatFluxTemperatureFvPatchScalar Field::updateCoeffs() at ??:?
#5 Foam::mixedFvPatchField<double>::evaluate(Foam::UP stream::commsTypes) at ??:?
#6 Foam::mixedEnergyFvPatchScalarField::updateCoeffs( ) at ??:?
#7 Foam::fvMatrix<double>::fvMatrix(Foam::GeometricFi eld<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::dimensionSet const&) in "/home/workstation1/OpenFOAM-10/OpenFOAM-10/platforms/linux64GccDPInt32Opt/bin/buoyantFoam"
#8 Foam::tmp<Foam::fvMatrix<double> > Foam::fvModels::source<double, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> >(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::word const&, Foam::dimensionSet const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) const in "/home/workstation1/OpenFOAM-10/OpenFOAM-10/platforms/linux64GccDPInt32Opt/bin/buoyantFoam"
#9 Foam::tmp<Foam::fvMatrix<double> > Foam::fvModels::source<double>(Foam::GeometricFiel d<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::word const&) const in "/home/workstation1/OpenFOAM-10/OpenFOAM-10/platforms/linux64GccDPInt32Opt/bin/buoyantFoam"
#10 ? in "/home/workstation1/OpenFOAM-10/OpenFOAM-10/platforms/linux64GccDPInt32Opt/bin/buoyantFoam"
#11 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#12 ? in "/home/workstation1/OpenFOAM-10/OpenFOAM-10/platforms/linux64GccDPInt32Opt/bin/buoyantFoam"
Segmentation fault (core dumped)


All times are GMT -4. The time now is 13:43.