|
[Sponsors] |
Accessing Mass fraction (Y) in compressibleMultiphaseInterFoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 24, 2018, 16:40 |
Accessing Mass fraction (Y) in compressibleMultiphaseInterFoam
|
#1 |
Member
Join Date: May 2017
Posts: 44
Rep Power: 9 |
Dear Foamers,
I need to access mass fractions (Y) in compressibeMultiphaseInterFoam and change them through some equation for multi-component mixture. I am wondering how I can access and change this parameter through my customized solver. Many thanks |
|
March 2, 2018, 01:14 |
|
#2 |
Member
Join Date: May 2017
Posts: 44
Rep Power: 9 |
Dear Foamers,
I tried to solve this problem using following commands for compressibleMultiphaseInterFoam: forAllConstIter(PtrDictionary<phaseModel>,mixture. phases(),phasei) { phaseModel& alpha =phasei(); PtrList<volScalarFIeld>& Y=alpha.Y(); } I receive the error that 'const class Foam:: phaseModel' has no member named 'Y'. Any idea how I should solve this error? Thanks |
|
Tags |
mass fraction (y), multicomponent mixture, multiphaseinterfoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
gradient of species mass fraction | zhou | FLUENT | 1 | March 14, 2020 08:55 |
Fuel Mass Fraction visualization | Manigandan.R | FLUENT | 0 | September 11, 2017 07:24 |
multiphase turbulance case floating error | harsha_kulkarni | OpenFOAM Running, Solving & CFD | 3 | February 18, 2016 06:06 |
Conversion of mass fraction to mole fraction in FLUENT | prince_pahariaa | FLUENT | 0 | August 26, 2014 09:08 |
Water subcooled boiling | Attesz | CFX | 7 | January 5, 2013 04:32 |