Google Groups Home
Help | Sign in
Changing reaction rate model
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  Messages 1 - 25 of 43 - Collapse all   Newer >
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Gary Sharpe  
View profile
 More options Jul 2, 4:13 am
From: Gary Sharpe <men...@leeds.ac.uk>
Date: Wed, 2 Jul 2008 01:13:45 -0700 (PDT)
Local: Wed, Jul 2 2008 4:13 am
Subject: Changing reaction rate model
Carlos, I am starting a new thread for this as the old
one is getting a bit longer and off the original topic.

Re: your email:

>Yeah, I have the changed the ReactiveEulerEquations.amr. I haven't made
>any modifications since you last looked at it, but it may be a good idea
>to cut the induction zone Q term out of the equation set now

Yes, as I first stab I would keep it simple. You will have to modify
the
specific ReactiveEulerEquations.amr I sent in a similar way you did
before.

>I think a good place to start would be to modify the ComputeZndProfile
>procedure.

Actually, this is probably the last piece of the jigsaw to consider -
all ComputeZNDprofile
is really needed for is to set up  special initial conditions - it is
not worth
getting this right if we can't get the BCG/ReactiveEulerEquations
working
in the first place - other simple initial conditions can be used to
test this such as a top-hat
pressure profile (the standard 'direct ignition' startup).
I suggest starting by looking at the different files in the cloned bcg
directory
folder I sent and look at what would need to be changed in going from
the
3step to the 2step model.

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Carlos  
View profile
 More options Jul 2, 4:06 pm
From: Carlos <cleun...@uottawa.ca>
Date: Wed, 2 Jul 2008 13:06:01 -0700 (PDT)
Local: Wed, Jul 2 2008 4:06 pm
Subject: Re: Changing reaction rate model
Gary,

I have modified the ReactiveEulerEquations.amr file and dealt away
with the Qi term, and now I simply have a Q term associated with the
second mass fraction.

My first question involves the SourceTerms.amr file. In this file I
modified P, T, DfDt and DyDt. My DfDt and DyDt read something like:
DfDt  = -Ki*EXP(-E/T)
DyDt  = -Ke*(1-y)**(ETA)

For our model of interest, would it be necessary to include a
switch? , for example:
If WW(5) < 1, then DfDt = as above
else DfDt = 0
If WW(5) < 1, then DyDt = 0
else DyDt = as above

My second question is about the Startup.amr file. I've noticed a
parameter, NU that's listed twice:
WRITE(AMR::LOGFILE(),*) 'NU      = ',NU
WRITE(AMR::LOGFILE(),*) 'NU      = ',NU
Is there any need for this to be listed twice or is it an extra line
that can be deleted?

Thanks,
Carlos

On Jul 2, 4:13 am, Gary Sharpe <men...@leeds.ac.uk> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Eric Marineau  
View profile
 More options Jul 3, 11:26 am
From: "Eric Marineau" <ericm...@caltech.edu>
Date: Thu, 3 Jul 2008 15:26:07 +0000
Local: Thurs, Jul 3 2008 11:26 am
Subject: Re: Changing reaction rate model
Thanks, I will look at the data next week
-Eric
---
Eric C. Marineau, Ph.D.
Postdoctoral Scholar in Aeronautics
T5 Hypervelocity Shock Tunnel
California Institute of Technology
MC 105-50  
1200 East California Blvd
Pasadena CA 91125
(626) 395-8311 Fax: (626) 449-2677


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Gary Sharpe  
View profile
 More options Jul 3, 11:46 am
From: Gary Sharpe <men...@leeds.ac.uk>
Date: Thu, 3 Jul 2008 08:46:04 -0700 (PDT)
Local: Thurs, Jul 3 2008 11:46 am
Subject: Re: Changing reaction rate model

> My first question involves the SourceTerms.amr file. In this file I
> modified P, T, DfDt and DyDt. My DfDt and DyDt read something like:
> DfDt  = -Ki*EXP(-E/T)
> DyDt  = -Ke*(1-y)**(ETA)

> For our model of interest, would it be necessary to include a
> switch? , for example:
> If WW(5) < 1, then DfDt = as above
> else DfDt = 0
> If WW(5) < 1, then DyDt = 0
> else DyDt = as above

Looking at it, it should be something like

IF (f.GE.1.D0) THEN
    DfDt=0.0
    DyDt=...as above
ELSE
    DfDt=...as above
    DyDt=0.0
ENDIF

Note it appears to be doing a simple
two step integration so you will
have to do the same again, but
this time based on the half time
step value fs.

Note also keeping the activation
pressure Pact in is important to
prevent reaction in the initial quiescent
state.
Also, take care to get the expression
for T correct.

> My second question is about the Startup.amr file. I've noticed a
> parameter, NU that's listed twice:
> WRITE(AMR::LOGFILE(),*) 'NU      = ',NU
> WRITE(AMR::LOGFILE(),*) 'NU      = ',NU
> Is there any need for this to be listed twice or is it an extra line
> that can be deleted?

Yes, this looks like an duplication.
However, it isn't too important as
this just writes to a logfile.

Gary.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Carlos  
View profile
 More options Jul 3, 2:40 pm
From: Carlos <cleun...@uottawa.ca>
Date: Thu, 3 Jul 2008 11:40:39 -0700 (PDT)
Local: Thurs, Jul 3 2008 2:40 pm
Subject: Re: Changing reaction rate model
That is for both progress variables going from 0 to 1, right? If I set
it up in a similar way as the 3cb model (f goes from 1 to 0, y goes
from 0 to 1), it should be something like

 IF (f.LE.0.D0) THEN
    DfDt  = 0
    DyDt  = Ke*(1-y)**(ETA)
ELSE
    DfDt  = -Ki*EXP(-E/T)
    DyDt  = 0
END IF

ie. LE 0 instead of GE 1

On Jul 3, 11:46 am, Gary Sharpe <men...@leeds.ac.uk> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Carlos  
View profile
 More options Jul 4, 3:10 pm
From: Carlos <cleun...@uottawa.ca>
Date: Fri, 4 Jul 2008 12:10:11 -0700 (PDT)
Local: Fri, Jul 4 2008 3:10 pm
Subject: Re: Changing reaction rate model
I've gone back and ran the old pulsate file using the 3cb model, but
the simulation seems to get stuck when it tries to march in time, even
after changing the node spacing and letting it run for a whole day. It
seems to be able to build the znd code and the solver code fine. I
simply took one part of the code and modified it to look like:

   plugin amr_sol
   utilize 2step::Machinery
   ReactiveEulerEquations {
      space = 1D
      model = 3cb
   }

I was wondering whether I didn't implement the model properly, or
whether the 3cb model is really that much more expensive than the 1a
model

On Jul 3, 2:40 pm, Carlos <cleun...@uottawa.ca> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
James Quirk  
View profile
 More options Jul 4, 4:25 pm
From: James Quirk <j...@galcit.caltech.edu>
Date: Fri, 4 Jul 2008 13:25:19 -0700 (PDT)
Local: Fri, Jul 4 2008 4:25 pm
Subject: Re: Changing reaction rate model
Carlos,

There is clearly a problem with your implementation.
Post a mailit and I'll take a look at it.

James


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
cleun...@uottawa.ca  
View profile
 More options Jul 6, 12:36 pm
From: cleun...@uottawa.ca
Date: Sun, 6 Jul 2008 12:36:08 -0400 (EDT)
Local: Sun, Jul 6 2008 12:36 pm
Subject: Re: Changing reaction rate model

When I try to make the mailit, I get the same problem. The process freezes
and the mailit can't get created. I've attached my script.

In the directory where the script is contained, I have the sub-directory
/3step/Machinery, where the cloned solver/znd/equation set files are
stored, as well as a AmritaUtilize.amr

Thanks,
Carlos

  pulsate1
12K Download

  AmritaUtilize.amr
< 1K Download

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
James Quirk  
View profile
 More options Jul 6, 3:34 pm
From: James Quirk <j...@galcit.caltech.edu>
Date: Sun, 6 Jul 2008 12:34:46 -0700 (PDT)
Local: Sun, Jul 6 2008 3:34 pm
Subject: Re: Changing reaction rate model
Carlos,

On Sun, 6 Jul 2008, cleun...@uottawa.ca wrote:
> When I try to make the mailit, I get the same problem. The process freezes
> and the mailit can't get created. I've attached my script.

You could have made a mailit of your directory tree
without actually running the script. That way I'd have
a complete record of what you're doing.

> In the directory where the script is contained, I have the sub-directory
> /3step/Machinery, where the cloned solver/znd/equation set files are
> stored, as well as a AmritaUtilize.amr

AMRITA is a system that helps those who help themselves.
Here you've sent me your driver script but the details
I need to look at are in 3step/Machinery directory
and the AmritaUtilize.amr procedure, both of which
are missing.

Have another go. But this time, copy all the relevant
file to a directory xyz, preserving whatever directory
structure you're using then run:

     amrita -mailit xyz

You could simply run amrita -mailit on the directory
tree where you're working, but that would pack binary
files as well as text files and so, depending on
what you've done, may result in a file that is
too big to mail.

James


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Gary Sharpe  
View profile
 More options Jul 7, 5:56 am
From: Gary Sharpe <men...@leeds.ac.uk>
Date: Mon, 7 Jul 2008 02:56:13 -0700 (PDT)
Local: Mon, Jul 7 2008 5:56 am
Subject: Re: Changing reaction rate model
Carlos,
I am a bit surprised you are ready to run the script already.
Have you modified all the files already then? I was hoping you were
going to
post each one in turn here, so we could discuss (and if necessary,
iterate) them - so that there would be a record for the next person.

Have you already re-done the ComputeZNDwave file too?
If so have you plotted out what your initiation actually gives
using the along command for P, RHO, U, Zi, Ze
- i.e. after setting up the ZND wave on the grid but
BEFORE trying to march - this may illuminate whether
something is wrong?

Gary

On Jul 4, 8:10 pm, Carlos <cleun...@uottawa.ca> wrote: