Convergence and mechanism files #618
-
Hi, I have a couple of questions: 1). It doesn't appear that PeleC tracks the solution residuals. If I am looking to obtain a steady state solution is there a way to see how much the solution changes each iteration? 2). Right now, I am trying to access some of the functions defined in LiDryer/mechanism.cpp. These are declared in mechanism.H, but it doesn't look like the mechanism.cpp file is linked. My code compiles, but fails to link. Specifically, I want the CKINU function, or some other way to get access to the stoichiometric coefficients in a reaction-independent manner- where should I look? 3). The PMF case takes in a dat file when phi is negative. The dat file specifies a 1-D solution to the problem which is then perturbed for the initial value of the PMF case. I was wondering how this file is generated. If I wanted to create a different phi or a different mechanism, how would I go about generating the dat file? Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
For 1) you can look at the integrated quantities, either logged to stdout :
or to a specific file such as |
Beta Was this translation helpful? Give feedback.
-
for 3), the PMF is generated from Cantera. You can add the following to your Cantera script (assuming
|
Beta Was this translation helpful? Give feedback.
For 1) you can look at the integrated quantities, either logged to stdout :
or to a specific file such as
datlog
, controlled viaamr.data_log = datlog
, see TG input files for example.