|January 25, 2012, 08:02||
How to call inhomogeneousMixture.func() in XiFoam solver?
Join Date: Jul 2009
Location: Gothenburg, Sweden
Posts: 9Rep Power: 9
I am currently working on the turbulent combustion (premixed and stratified) modelling, and I have some difficulties in openFOAM language programming.
I created a member function e.g. internalPhi() (which calculates the local equivalence ratio field) in the inhomogeneousMixture class. I need to visualize the Phi field in my solver (which is based on XiFoam or engineFoam), but I could not figure out how to call the inhomogeneousMixture class in XiFoam.
There are some hints in calling the member functions for turbulence model, e.g. in the createField.H
Then we can use "turbulence->k()" in the solver.
Another example is in createField.H
hhuCombustionThermo& thermo = pThermo();
Then we can use "thermo.rho()" in the solver.
But I couldn't find any example of creating a MixtureType (inhomogeneousMixture). Does anyone have idea about how to call inhomogeneousMixture.func() in XiFoam solver? Thanks!
|March 19, 2015, 06:02||
Join Date: Mar 2015
Posts: 53Rep Power: 4
|Thread||Thread Starter||Forum||Replies||Last Post|
|A New Solver for Supersonic Combustion||nakul||OpenFOAM Announcements from Other Sources||18||February 19, 2013 08:48|
|Quarter Burner mesh with periosic condition||SamCanuck||FLUENT||2||August 31, 2011 11:34|
|Working directory via command line||Luiz||CFX||4||March 6, 2011 21:02|
|why the solver reject it? Anyone with experience?||bearcat||CFX||6||April 28, 2008 14:08|
|2D CFD code using SIMPLE algorithm||bfan||Main CFD Forum||3||June 22, 2002 22:01|