|
[Sponsors] |
Mass diffusivity is missing in icoReactingMultiphaseInterFoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 11, 2021, 19:37 |
Mass diffusivity is missing in icoReactingMultiphaseInterFoam
|
#1 |
New Member
Ejaz Ahmed
Join Date: May 2021
Posts: 7
Rep Power: 5 |
I was working on the icoReactingMultiphaseInterFoam solver & figured out that there is no mass diffusivity term in the species transport equation. I was trying to prescribe mass diffusivity similar to the YEqn.H file in the reactingFoam solver. The governing equation of species transport is not present in the main solver directory, rather it is declared in the src directory: OpenFOAM-v2012/src/phaseSystemModels/multiphaseInter/phasesSystem/phaseModel/MultiComponentPhaseModel.
Original implementation of the governing equation is: fvScalarMatrix YiEqn ( fv::EulerDdtScheme<scalar>(mesh).fvmDdt(Yi) + fv::gaussConvectionScheme<scalar> ( mesh, phi, upwind<scalar>(mesh, phi) ).fvmDiv(phi, Yi) == Su[i] + fvm::Sp(Sp[i], Yi) ); YiEqn.solve(); I tried to put modification in order to include mass diffusivity similar to the way it is included in the YEqn.H of reactingFoam solver: fvScalarMatrix YiEqn ( fv::EulerDdtScheme<scalar>(mesh).fvmDdt(Yi) + fv::gaussConvectionScheme<scalar> ( mesh, phi, upwind<scalar>(mesh, phi) ).fvmDiv(phi, Yi) - fvm::laplacian(turbulence->muEff(),Yi) //ADDED == Su[i] + fvm::Sp(Sp[i], Yi) ); YiEqn.solve(); After hitting the wmake command, following error is showing: lnInclude/MultiComponentPhaseModel.C:407:32: error: ‘turbulence’ was not declared in this scope - fvm::laplacian(turbulence->muEff(),Yi) Can anyone help me, how can I declare this 'turbulence' function? I would also appreciate if anyone can suggest any better approach to include mass diffusivity in species transport equation. |
|
Tags |
diffusivity, species transport |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Table bounds warnings at: END OF TIME STEP | CFXer | CFX | 4 | July 17, 2020 00:44 |
Kinetic Theory for mass diffusivity | Diger | FLUENT | 2 | December 5, 2018 18:04 |
Mass diffusivity Error(zero mass diffusivity) | Nishant_Sharma | FLUENT | 5 | November 28, 2018 13:35 |
mass flow in is not equal to mass flow out | saii | CFX | 12 | March 19, 2018 06:21 |
Disable Mass Diffusivity and Enable UDS Diffusivity | antoinel | FLUENT | 0 | July 26, 2017 18:27 |