|
[Sponsors] |
January 8, 2018, 06:38 |
Rp() , Ru() in fvdom files
|
#1 |
Member
Jung da yoon
Join Date: Nov 2017
Posts: 53
Rep Power: 8 |
I have tried to check the codes of fvdom.C
(src/thermophysicalModels/radiation/radiationModels/fvDOM) I found this codes. But I don't know why Rp(),Ru() declares in fvdom.C Code:
Foam::tmp<Foam::volScalarField> Foam::radiation::fvDOM::Rp() const { return tmp<volScalarField> ( new volScalarField ( IOobject ( "Rp", mesh_.time().timeName(), mesh_, IOobject::NO_READ, IOobject::NO_WRITE, false ), // Only include continuous phase emission 4*absorptionEmission_->aCont()*physicoChemical::sigma ) ); } Foam::tmp<Foam::DimensionedField<Foam::scalar, Foam::volMesh>> Foam::radiation::fvDOM::Ru() const { const volScalarField::Internal& G = G_(); const volScalarField::Internal E = absorptionEmission_->ECont()()(); // Only include continuous phase absorption const volScalarField::Internal a = absorptionEmission_->aCont()()(); return a*G - E; } |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
problem compiling with header files | jreiter164 | Fluent UDF and Scheme Programming | 2 | August 14, 2015 17:31 |
attaching trn files | hossein_sml | CFX | 1 | August 5, 2015 19:17 |
How to call FORTRAN files as UDF? | Ehsan-F | Fluent UDF and Scheme Programming | 6 | September 11, 2012 11:03 |
Writing Case and Data Files Using Journal/Scheme Files | svp | Fluent UDF and Scheme Programming | 0 | April 5, 2011 11:04 |
Problems with result files | Kasper | CFX | 5 | December 14, 2006 02:41 |