|
[Sponsors] |
Large difference between Reaction and Advection Timescales |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 23, 2014, 12:06 |
Large difference between Reaction and Advection Timescales
|
#1 | |
New Member
Join Date: Jun 2014
Posts: 8
Rep Power: 12 |
Hello everyone,
I'd like to thank you in advance for taking the time to read my post, I've worked on this problem for some time now and am in great need of assistance. I am trying to model steady state ionic reactions (rate constants ~1e-10 [s^(-1)]) in a T-mixer under laminar flow conditions (average residence time ~0.5 [s]). The simulation is stable when I use a physical timescale of around 1e-6 [s] but instabilities in the source terms arise when I increase this. I have tried using a local timescale factor of 2, this stabilises the source terms and leads to convergence, but when switching back to a physical timescale to finish off the run the maximum physical timescale which is stable is once again of the order of 1e-6 [s]. It is clear that I cannot run the whole simulation to convergence using such a small timescale. I came across the following in FLUENT documentation and wondered whether CFX had similar capabilities: Quote:
Once again thank you very much for your time! Jamie Edit: If CFX has no in-built function to reduce the stiffness of the reaction source terms, do you think it is possible, through expressions, to implement the following into CFX: SOURCE: http://aerojet.engr.ucdavis.edu/flue...chem-seg-rrate Last edited by J_Keel; August 23, 2014 at 12:36. Reason: Additional query |
||
August 23, 2014, 19:55 |
|
#2 |
Senior Member
Join Date: Jun 2009
Posts: 1,880
Rep Power: 33 |
There is a mechanism for dealing with stiff chemical reactions in ANSYS CFX, but it is an expert setting. You should contact ANSYS support for more information.
In the meantime, have you tried relaxing the material component (species in FLUENT speak) that may be causing the problem ? You can do that by adding a dummy source term, i.e. zero source and non-zero source coefficient. |
|
August 23, 2014, 20:14 |
|
#3 | ||
New Member
Join Date: Jun 2014
Posts: 8
Rep Power: 12 |
Hi Opaque,
Thank you very much for your response. Quote:
Quote:
(1) A + B -> R (2) D + E + B -> S (3) S + D <=> Q The main reaction causing the stiffness is reaction (3). In a sub-domain, I have written the source terms for all components by summing them across all reactions; and the source coefficients as the component source term's partial derivatives. Where exactly will I place this dummy source? Will I need to create an additional sub-domain? Or would multiplying the source coefficient's for S, Q and D by a factor be the equivalent? Thank you for your time! Jamie |
|||
August 23, 2014, 21:09 |
|
#4 |
Senior Member
Join Date: Jun 2009
Posts: 1,880
Rep Power: 33 |
You are creating the source terms manually ? How come ? can you not use the provided functionality to describe the reactions rate you are trying to model ? Then, the software deals with them directly.
If you are adding the source terms manually, you must also deal with the numerical details of robust source term linearization and mass fraction bounding, i.e. never allow the mass fraction to get out of bounds w/o clipping the solution values. Have you check the Combustion Source Term Linerization section of the documentation. On the subdoman approach earlier, you do not need another sub-domain but only scale the existing source term coefficient. |
|
August 24, 2014, 12:19 |
|
#5 | |||
New Member
Join Date: Jun 2014
Posts: 8
Rep Power: 12 |
Quote:
When I started this project I was completely new to CFX and hence I inputted the source terms manually with expressions as I was sure of their mathematical formulation as opposed to using a 'black box' I wasn't confident with. I have tried using the reaction function and noticed no difference in rate of convergence or stability, so I assumed the source terms from the reaction function are treated with the same algorithm as sources created from a sub-domain - is this not the case? Quote:
-------------------------------------------------------------------- (These are not issues I'm facing, I just thought they'd be interesting discussion.) Quote:
SOURCE: http://www.arc.vt.edu/ansys_help/cfx_thry/i1309497.html |
||||
Tags |
cfx, laminar, reaction, steady state, timescale |
|
|