Turn off reactions for a specific region #700
-
Hello, Is there a way to turn off reactions for a specifc region of interest? I tried modifying |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 16 replies
-
If you aren't scared of a total hack (sounds like you are not), I would put something around here: https://github.com/AMReX-Combustion/PeleC/blob/development/Source/React.cpp#L202 and just test i/j/k for the region where you don't want to call |
Beta Was this translation helpful? Give feedback.
-
I am wondering if you can hack the mask variable passed to react call.
…On Thu, Oct 5, 2023 at 11:35 AM Marc T. Henry de Frahan < ***@***.***> wrote:
If you aren't scared of a total hack (sounds like you are not), I would
put something around here:
https://github.com/AMReX-Combustion/PeleC/blob/development/Source/React.cpp#L202
and just test i/j/k for the region where you don't want to call
reactor->react.
—
Reply to this email directly, view it on GitHub
<#700 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABYOQMYHZGUIGB6OGT7QBTTX53VWNAVCNFSM6AAAAAA5USB3ACVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TEMBRGQZTA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
Unfortunately, I see the mask is used only in cvode right now. we may need to update the other react solvers for completeness |
Beta Was this translation helpful? Give feedback.
-
@hsitaram I am looking for something similar to what you did for the RDE case here: https://www.nrel.gov/docs/fy22osti/82891.pdf |
Beta Was this translation helpful? Give feedback.
Hello @RSuryaNarayan, Can you please try this? (https://github.com/SreejithNREL/PeleC/tree/Reaction_Mask_Implementation)
You can specify the box in which chemical mask is activated using the inputs
pelec.chem_mask=1
pelec.lo_chemmask= lo_x lo_y lo_z
pelec.hi_chemmask= hi_x hi_y hi_z.
Also, here is the link to the RDE setup for reference. (https://github.com/SreejithNREL/2D_RDE/tree/withinletplenum)
-Sree