|
[Sponsors] |
Question about the species equation in icoreactingMultiphaseInterFoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 9, 2023, 01:35 |
Question about the species equation in icoreactingMultiphaseInterFoam
|
#1 |
New Member
Join Date: Nov 2022
Posts: 3
Rep Power: 3 |
Hi,
I am currently using the icoreactingMultiphaseInterFoam solver for my research. However, while examining the source code, I noticed that the species equation is using instead of .I'm curious why,According to conservation of mass, Would anyone be able to provide some information or resources to help me understand this issue? I would greatly appreciate any suggestions or guidance that can help me resolve this question. Thank you. Code:
forAll(X_, i) { if (inertIndex_ != i) { volScalarField& Yi = X_[i]; phiYiCorrs.set ( i, new surfaceScalarField ( "phi" + Yi.name() + "Corr", fvc::flux ( phi, Yi, "div(phi," + Yi.name() + ')' ) ) ); surfaceScalarField& phiYiCorr = phiYiCorrs[i]; forAllConstIter ( multiphaseInterSystem::phaseModelTable, this->fluid().phases(), iter2 ) { //const volScalarField& alpha2 = iter2()().oldTime(); const volScalarField& alpha2 = iter2()(); if (&alpha2 == &alpha1) { continue; } phiYiCorr += fvc::flux ( -fvc::flux(-phir, alpha2, phirScheme), Yi, phirScheme ); } |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Direct numerical simulation of species transport equation with phase change | Pmaroul | Main CFD Forum | 2 | October 12, 2018 17:02 |
Reaction Source Term in Steady Species transport equation | cfdvenkatesh | Main CFD Forum | 0 | August 19, 2010 10:28 |
Constant velocity of the material | Sas | CFX | 15 | July 13, 2010 09:56 |
species equation | zhou | FLUENT | 0 | July 23, 2005 15:26 |
Species Transfport Model - Question | Lior | FLUENT | 3 | September 2, 2004 16:57 |