|
[Sponsors] |
UDF for accessing reaction rate of face of cells in a thread |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 10, 2020, 17:10 |
UDF for accessing reaction rate of face of cells in a thread
|
#1 |
New Member
Khan
Join Date: Sep 2019
Location: India
Posts: 25
Rep Power: 7 |
I would like to access kinetic reaction rates for various reactions happening on the wall surface of a solid boundary, so I could give a condition that, "IF heat of reaction of all the reactions on any face of a cell (looping this condition over all cells in the thread) is >0, then reaction rates of a particular reaction = 0, ELSE reaction rate of that particular reaction = default reaction rate."
But, I did not find any macro for accessing kinetic rate of a reaction on a face of a cell in a thread. Please suggest. Thank you. ------------------- edit: got the answer, kinetic rate can be calculated from other values which can be accessed. Last edited by Khan_CFD; June 11, 2020 at 08:09. |
|
June 15, 2020, 04:09 |
Reaction Rates
|
#2 |
Senior Member
|
Reaction are defined as structures and their rates are members of the structure. You can access those using r->rate, if r is a reaction.
https://ansyshelp.ansys.com/account/...e_sr_rate.html
__________________
Regards, Vinerm PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority. |
|
June 15, 2020, 08:56 |
|
#3 |
New Member
Khan
Join Date: Sep 2019
Location: India
Posts: 25
Rep Power: 7 |
if there are three reactions, how can each of them be identified?
Thank you. |
|
June 15, 2020, 09:01 |
Reactions Names
|
#4 |
Senior Member
|
The name of each reaction is a member of the structure. So, you can check for their names. That's given in the link I shared.
__________________
Regards, Vinerm PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority. |
|
June 15, 2020, 09:34 |
|
#5 |
New Member
Khan
Join Date: Sep 2019
Location: India
Posts: 25
Rep Power: 7 |
Thanks a lot..
But, I am unable to access the information in the shared link as it asks for user account and password. |
|
June 15, 2020, 10:04 |
Link
|
#6 |
Senior Member
|
__________________
Regards, Vinerm PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
SimpleFoam & Theater | jipai | OpenFOAM Running, Solving & CFD | 3 | June 18, 2019 10:11 |
[snappyHexMesh] Error snappyhexmesh - Multiple outside loops | avinashjagdale | OpenFOAM Meshing & Mesh Conversion | 53 | March 8, 2019 09:42 |
[snappyHexMesh] No layers in a small gap | bobburnquist | OpenFOAM Meshing & Mesh Conversion | 6 | August 26, 2015 09:38 |
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! | sc298 | OpenFOAM Meshing & Mesh Conversion | 2 | March 27, 2011 21:11 |
[snappyHexMesh] external flow with snappyHexMesh | chelvistero | OpenFOAM Meshing & Mesh Conversion | 11 | January 15, 2010 19:43 |