CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   TUI command to access reaction arrhenuis rate (https://www.cfd-online.com/Forums/fluent/238541-tui-command-access-reaction-arrhenuis-rate.html)

Brad_rawl September 19, 2021 10:27

TUI command to access reaction arrhenuis rate
 
Hi

I would like to know the TUI commands top access a mixtures reaction arrhenuis rates. I am modelling a pulverisied coal power plant, and need to run the simulation on a computing cluster, thus a TUI journal file is required.

I am running a parametric study thus need to change the arrhenuis rate from the default for each run.

I can access the materials Reaction section using the following code:

/define/materials> change-create

material-name> coal-volatiles-air
material name [coal-volatiles-air]
coal-volatiles-air is a mixture
change Mixture Species? [no]
change Reaction? [no] yes

Reaction
method is finite-rate/eddy-dissipation
number of reactions [2]
reaction name: reaction-1 ["reaction-1"]

reaction-1
surface reaction? [no]
particle surface reaction? [no]
electrochemical surface reaction? [no]
specify 3rd body efficiencies? [no]

number of reactants [2]
available species: (vol o2 co2 h2o co so2 n2)
reactant-1 [vol]
stoich coeff of vol [1]
rate exponent of vol [0.2]
available species: (vol o2 co2 h2o co so2 n2)
reactant-2 [o2]
stoich coeff of o2 [1.033506260368654]
rate exponent of o2 [1.3]

number of products [4]
available species: (vol o2 co2 h2o co so2 n2)
product-1 [co]
stoich coeff of co [1.002010447481314]
rate exponent of co [0]
available species: (vol o2 co2 h2o co so2 n2)
product-2 [h2o]
stoich coeff of h2o [1.757696823475719]
rate exponent of h2o [0]
available species: (vol o2 co2 h2o co so2 n2)
product-3 [n2]
stoich coeff of n2 [0.05530562227250216]
rate exponent of n2 [0]
available species: (vol o2 co2 h2o co so2 n2)
product-4 [so2]
stoich coeff of so2 [0.04669296337005573]
rate exponent of so2 [0]

reaction-1

Error: GENERAL-CAR-CDR: invalid argument [1]: improper list
Error Object: ()

But I get the above error, when the next part should be the arrhenuis rate expression inputs. Any help as to how to access this will be greatly appreciated.

Regards

AlexanderZ September 22, 2021 23:35

shouldn't it be
Code:

"reaction-1"
not just
Code:

reaction-1
???


All times are GMT -4. The time now is 16:34.