Demo entry 6346650

adsa

   

Submitted by anonymous on Feb 10, 2017 at 22:25
Language: C++. Code size: 401 Bytes.

   Foam::tmp<Foam::fvScalarMatrix> Foam::radiation::radiationModel::Sh
   (
       fluidThermo& thermo
   ) const
   {
       volScalarField& he = thermo.he();
       const volScalarField Cpv(thermo.Cpv());
       const volScalarField T3(pow3(T_));
  
       return
       (
           Ru()
         - fvm::Sp(4.0*Rp()*T3/Cpv, he)
         - Rp()*T3*(T_ - 4.0*he/Cpv)
       );
   }

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).