|
[Sponsors] |
List of chemical species from a boundary condition |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 30, 2018, 07:06 |
List of chemical species from a boundary condition
|
#1 |
Member
benoit favier
Join Date: Jun 2017
Posts: 64
Rep Power: 8 |
Hello,
I am coding a new boundary condition in OpenFoam 6. This boundary condition is to be used with the "reactingFoam" solver. I want to acces the list of chemical species defined from this boundary condition. I can access the mass fraction of a single specie using : Code:
const Foam::fvPatchField<scalar>& W_N2 = this->patch().lookupPatchField<volScalarField, scalar>("N2"); Code:
const PtrList<volScalarField>& Y = thermo.composition().Y(); Is there anyway to get access to it from the boundary condition ? Last edited by Benben; August 31, 2018 at 05:35. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Wind turbine simulation | Saturn | CFX | 58 | July 3, 2020 01:13 |
Centrifugal fan-reverse flow in outlet lesds to a mass in flow field | xiexing | CFX | 3 | March 29, 2017 10:00 |
Error finding variable "THERMX" | sunilpatil | CFX | 8 | April 26, 2013 07:00 |
External Radiation Boundary Condition (Two sided wall), Grid Interface | CFD XUE | FLUENT | 0 | July 8, 2010 06:49 |
OpenFOAM on MinGW crosscompiler hosted on Linux | allenzhao | OpenFOAM Installation | 127 | January 30, 2009 19:08 |