|
[Sponsors] |
August 16, 2017, 07:31 |
radiation source term
|
#1 |
New Member
Xu Huang
Join Date: Apr 2015
Location: Netherlands
Posts: 23
Rep Power: 10 |
Hi foamers,
I hope you are doing well. I have a doubt about the calculation of radiation source term in openfoam. The source term is calculated in radiationModel.C using the function Sh(fluidThermo& thermo). My confusion is about the term Ru(). It is calculated in radiation models, e.g. fvDOM, P1. Code:
Foam::tmp<Foam::DimensionedField<Foam::scalar, Foam::volMesh> > Foam::radiation::fvDOM(or P1)::Ru() const { const DimensionedField<scalar, volMesh>& G = G_.dimensionedInternalField(); const DimensionedField<scalar, volMesh> E = absorptionEmission_->ECont()().dimensionedInternalField(); const DimensionedField<scalar, volMesh> a = a_.dimensionedInternalField(); return a*G - E; } Any ideas? Thank you in advance. Cheers, Xu |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Custom Thermophysical Properties | wsmith02 | OpenFOAM | 4 | June 1, 2023 15:30 |
writing radiation source term in fireFoam | Marshak | OpenFOAM Programming & Development | 9 | March 23, 2019 07:23 |
[swak4Foam] Swak4FOAM 0.2.3 / OF2.2.x installation error | FerdiFuchs | OpenFOAM Community Contributions | 27 | April 16, 2014 16:14 |
[swak4Foam] build problem swak4Foam OF 2.2.0 | mcathela | OpenFOAM Community Contributions | 14 | April 23, 2013 14:59 |
DxFoam reader update | hjasak | OpenFOAM Post-Processing | 69 | April 24, 2008 02:24 |