CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

inhomogeneous XiFoam, problems with "ft" phase inlet

Register Blogs Community New Posts Updated Threads Search

Like Tree4Likes
  • 2 Post By Uyan
  • 2 Post By Pier84

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 8, 2012, 06:10
Default inhomogeneous XiFoam, problems with "ft" phase inlet
  #1
New Member
 
roberto putzu
Join Date: Mar 2012
Posts: 9
Rep Power: 14
roby is on a distinguished road
Dear Foamers,

I am simulating the dispersion of a "pollutant" phase in air by using the inhomogeneous mixture of the XiFoam solver (some forums suggest similar approaches). Of course I turned off the reaction.

The case is very simple. I have:
  • A flow-field with inlet (velocity) and outlet (pressure)
  • An external wall that I declared as a symmetry plane
  • A wall body in the field
  • Finally a small injection area on the body, where I impose a velocity inlet (zeroGradient pressure) and an "ft" concentration of 1.
Here is the bizarre behavior:
  • For the case here above described, the velocity and pressure field solution behave approximately as expected. A vector field coming out of the injection area reflects the velocity magnitude I imposed. Nevertheless, no "ft" phase is observed in all the field BUT at the very entry of the injection boundary condition (jump from 1 to zero in the framework of one cell)
  • I once tried and put "ft=1" at the inlet and I let run. Just to see whether I got right the use of the routine. In this second case, not only ft came out of the inlet BC. Even the injection BC started to spit out the second phase.
I first thought I was using an old version of OpenFOAM (1.6.0) and then I installe a brand new one (2.1.0) but still... the same behavior


has anyone encounter similar behaviors? is it just a bug of the software?

Thank you in advance
roby is offline   Reply With Quote

Old   June 14, 2016, 09:36
Default ft does not decrease after combustion (b=0)
  #2
New Member
 
Pierluigi Olmati
Join Date: Apr 2016
Location: Tokyo
Posts: 21
Rep Power: 10
Pier84 is on a distinguished road
Hi,

In my case ft does not decrease after that combustion occurs (b-->0).
It diffuses and spreads coherently and also the combustion occurs properly but when b-->0 in a cell ft remains with a nonzero value. I expect that ft decreases during combustion and after it becomes --> 0.

Below are my key settings. Modify for inhomogeneous mixtures: fvSolution, thermophysicalProperties and setting initial condition for ft should be enough... but ft does not go to 0 after combustion.

Thanks,
PO

fvSolution
"(U|b|Su|Xi|ft|ha|hau|k|epsilon)"
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0.1;
}

"(U|b|Su|Xi|ft|ha|hau|k|epsilon)Final"
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;



thermophysicalProperties
{
type heheuPsiThermo;
mixture inhomogeneousMixture;
transport sutherland;
thermo janaf;
equationOfState perfectGas;
specie specie;
energy absoluteEnthalpy;
}

stoichiometricAirFuelMassRatio stoichiometricAirFuelMassRatio [0 0 0 0 0 0 0] 34.074;

fuel // Hydrogen H2

oxidant // Air

burntProducts // Water vapor + N2
Pier84 is offline   Reply With Quote

Old   June 29, 2016, 07:26
Default XiFoam : thermophysical properties : inhomogeneous mixture
  #3
Member
 
Join Date: Feb 2014
Posts: 63
Rep Power: 12
Uyan is on a distinguished road
Hi Pierluigi,

I am trying to use XiFoam for a simulation with two inlets of fuel supplies with same gas but different concentrations. Hope you can help me a little in this situation.

I need to modify the thermophysicalProperties file. However, I can't figure out how to do this for a situation where I have two different equivalence ratios as inlets.

Can you please let me know how did you change the thermophysicalProperties dictionary entries for a new fuel and burntProducts?

Thanks in advance
dguleryuz and Kuangzhishuyun like this.
Uyan is offline   Reply With Quote

Old   July 3, 2016, 09:38
Default RE: XiFoam : thermophysical properties : inhomogeneous mixture
  #4
New Member
 
Pierluigi Olmati
Join Date: Apr 2016
Location: Tokyo
Posts: 21
Rep Power: 10
Pier84 is on a distinguished road
Hi Roby,

You may want to use ft and inhomogeneous mixture instead of ER and homogeneous mixture.
In the thermophysical properties file there is not distinction within two or oo mixtures with different ft thus just setup for one mixture (e.g. the stoichiometric one):

e.g.

fuel // Hydrogen H2
oxidant // Air
burntProducts // Water vapor + N2

Pierluigi
Uyan and casseer15 like this.
Pier84 is offline   Reply With Quote

Old   April 16, 2022, 08:15
Default
  #5
New Member
 
shengnan li
Join Date: Oct 2021
Posts: 6
Rep Power: 4
leeseungnan@163.com is on a distinguished road
May I ask how to add chemical reaction to XiFOAM? Do you have any suggestions on the chemical reaction of methane combustion? Please feel free to contact me at leeseungnan@163.com
leeseungnan@163.com is offline   Reply With Quote

Old   August 29, 2022, 23:16
Default
  #6
New Member
 
Dilshan Casseer
Join Date: Jan 2018
Posts: 15
Rep Power: 8
casseer15 is on a distinguished road
Quote:
Originally Posted by leeseungnan@163.com View Post
May I ask how to add chemical reaction to XiFOAM? Do you have any suggestions on the chemical reaction of methane combustion? Please feel free to contact me at leeseungnan@163.com
Don't think that is possible. at least easily. XiFoam is based on a Flamelets assumption, which assumes flame as a surface. No reactions are involved. The flame propagation is based on LaminarFlameSpeed.



someone please correct me if i'm wrong.
casseer15 is offline   Reply With Quote

Old   June 9, 2023, 10:39
Default
  #7
New Member
 
Dilay
Join Date: Jan 2021
Posts: 3
Rep Power: 5
dguleryuz is on a distinguished road
Quote:
Originally Posted by Uyan View Post
Hi Pierluigi,

I am trying to use XiFoam for a simulation with two inlets of fuel supplies with same gas but different concentrations. Hope you can help me a little in this situation.

I need to modify the thermophysicalProperties file. However, I can't figure out how to do this for a situation where I have two different equivalence ratios as inlets.

Can you please let me know how did you change the thermophysicalProperties dictionary entries for a new fuel and burntProducts?

Thanks in advance
Hi Uyan,

Did you find an answer for that?

Thanks in advance.
dguleryuz is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
alphaEqn.H in twoPhaseEulerFoam cheng1988sjtu OpenFOAM Bugs 15 May 1, 2016 16:12
Multiple Inlet Problems Neetin Lad Main CFD Forum 0 September 20, 2007 13:40
what the result is negatif pressure at inlet chong chee nan FLUENT 0 December 29, 2001 05:13
help needed about phase change Yanhu Guo Main CFD Forum 4 January 23, 2001 23:16
liquid/solide phase change problems mehdi fteity Main CFD Forum 3 September 14, 2000 21:44


All times are GMT -4. The time now is 09:24.