|
[Sponsors] |
May 9, 2018, 05:56 |
Reaction + DEFINE_PROFILE
|
#1 |
New Member
Join Date: May 2018
Posts: 29
Rep Power: 8 |
Hello everybody,
I have the following problem: I have a surface reaction on my boundaries. That's working. But now I want to add another species and change it's mass fraction according to a simple equation. To do so, I started using the DEFINE_PROFILE macro and set the mass_fraction of this species on the corresponding boundary wall. But that means I had to turn off the reaction. However, the new species is not involved in this reaction and is neither my balancing component. My workaround till now is to export the profiles on the wall and interior, load them into the case, and use the DEFINE_PROFILE macro. But obviously some interaction/data is lost an this solution using this method. So now is my question is there any possible way to define the profile (i.e. mass fraction) of a component beside a surface reaction on the same boundary. I had thought about using the DEFINE_ADJUST/DEFINE_EXECUTE_AT_END and looping through the boundary faces setting F_YI. But when I activate the reaction the new component isn't considered anymore in this case. Another thing I thought about (but could not manage to implement yet) is to call the F_PROFILE within one of these macros. But I'm not sure which int i I would have to pass in this case. Thanks in advance, CFDJonas! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
PaSR + infinite reaction rate in reactingFoam --> no reactions occurring | tatu | OpenFOAM Running, Solving & CFD | 3 | June 2, 2024 11:04 |
Having problems setting up surface reaction, catalyst, adsorption and desorption | Juun | FLUENT | 12 | February 8, 2017 12:03 |
Defining reaction rate with multiple surface reaction | Fred Marias | FLUENT | 1 | September 12, 2013 05:56 |
Segmentation fault in running alternateSteadyReactingFoam,why? | NewKid | OpenFOAM | 18 | January 20, 2011 17:55 |
chemical reaction - decompostition | La S. Hyuck | CFX | 1 | May 23, 2001 01:07 |