|
[Sponsors] |
Defining a piecewise mass fraction in named expressions |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 12, 2022, 00:53 |
Defining a piecewise mass fraction in named expressions
|
#1 |
New Member
Join Date: Aug 2022
Posts: 1
Rep Power: 0 |
Dear community members,
I aim to define a piecewise constant mass fraction in a species transport simulation (ANSYS Fluent). I created a new "Named Expression" and in the definition field, I defined Code:
IF(0[s] <= t <= 1[s], 0, IF(1.1[s] <= t <= 2[s], 1, 0) ) I have tried both "mf" and "MassFraction" in "Variables" section, but I have no clues how to proceed. Any help is appreciated. Thank you. |
|
Tags |
mass fraction (y), species transport model |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
multiphaseEulerFoam FOAM FATAL IO ERROR | qutadah.r | OpenFOAM Running, Solving & CFD | 11 | December 10, 2021 21:18 |
Simulation crashes when turbulence is on (reactingMultiphaseEulerFoam) | remidemol | OpenFOAM Running, Solving & CFD | 3 | May 26, 2020 06:47 |
multiphaseEulerFoam (OF2.3.0) : Courant number explodes when running in parallel | Mehrez | OpenFOAM Running, Solving & CFD | 10 | May 18, 2016 12:44 |
To calculate area averaged species mass fraction from PDF | Bharadwaj B S | Fluent UDF and Scheme Programming | 3 | March 8, 2016 03:22 |
Wrong flow in ratating domain problem | Sanyo | CFX | 17 | August 15, 2015 07:20 |