|
[Sponsors] |
Addition of enthalpy diffusion terms in energy equation |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Mihir
Join Date: Dec 2021
Posts: 2
Rep Power: 0 ![]() |
I am trying to make a solver for binary species. I need to add enthalpy diffusion terms in the energy equation. I am using rhoSimpleFoam. Energy equation for rhoSimpleFoam is
Code:
volScalarField& he = thermo.he(); fvScalarMatrix EEqn ( fvm::ddt(rho, he) + fvm::div(phi, he) + fvc::ddt(rho, K) + fvc::div(phi, K) + ( he.name() == "e" ? fvc::div ( fvc::absolute(phi/fvc::interpolate(rho), U), p, "div(phiv,p)" ) : -dpdt ) - fvm::laplacian(turbulence->alphaEff(), he) == fvOptions(rho, he) ); ![]() Ca, Cb are the mass fraction of the two species. Dab is the ordinary diffusion while DT is the thermal diffusion coefficient. Cao is the initial mass fraction of specie A. I have already added specie transport equation and the solver is working but could not figure out how to add these terms. |
|
![]() |
![]() |
![]() |
Tags |
binary diffusion, openfoam, rhosimplefoam |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Energy equation terms for reacting flows | pavaninguva | Main CFD Forum | 3 | December 27, 2019 02:35 |
buoyantPimpleFoam General Assumptions (thermophysical model, energy equation, etc) | AMK53 | OpenFOAM Running, Solving & CFD | 1 | October 23, 2018 05:30 |
Problem about sensible enthalpy in Fluent energy equation | Echo | FLUENT | 0 | January 5, 2015 03:50 |
K-Epsilon model? | Brindaban Ghosh | Main CFD Forum | 2 | June 24, 2000 04:22 |
Why FVM for high-Re flows? | Zhong Lei | Main CFD Forum | 23 | May 14, 1999 13:22 |