CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

Problems Calculating Residence Time [trace]

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 19, 2010, 22:19
Default Problems Calculating Residence Time [trace]
  #1
New Member
 
Vitor de Miranda Henrique
Join Date: Sep 2010
Posts: 6
Rep Power: 16
vitormhenrique is on a distinguished road
Hello,

I'm trying to calculate the residence time of a Plug Flow reactor, this is my steps:

1: Create a Variable: Tracer, Specific, with no units;
2: Enable the variable in the reactor domain;
3: Create a TracerInjection with the units kg/s
My equation is step((t - 1[s])/1[s])*1[kg s^-1]*step((2[s] - t)/1[s]) this equation give a step between the times of 1 to 2 seconds;
4: Create a monitor equation TracerOut = areaAve(Tracer)@outlet;
5: Put all inicial conditions;

The problem is when I solve the simulation, the CFX-solver give me a wrong chart of de DTR (including up to negative times)
I am attaching a picture of the graph i get.
The green curve is the step, and the others are of the DRT.

http://img403.imageshack.us/i/tracer.jpg/


I do not know what I'm doing wrong.

I would be grateful if someone could help me

Vitor Henrique

Last edited by wyldckat; September 3, 2015 at 19:01. Reason: disabled embedded images
vitormhenrique is offline   Reply With Quote

Old   October 19, 2010, 23:13
Default
  #2
Senior Member
 
Michael P. Owen
Join Date: Mar 2009
Posts: 196
Rep Power: 17
michael_owen is on a distinguished road
How is this supposed to calculate the residence time?

There are two methods you could use. Either use an additional variable with dimensions of time initialized to 0[s] and with the inlet boundary value set to zero and use an AV source to increment it at a rate of 1s/s, or skip the source and set the inlet value equal to the current simulation time, so each parcel of fluid knows when it was "born."
michael_owen is offline   Reply With Quote

Old   October 20, 2010, 00:25
Default
  #3
New Member
 
Vitor de Miranda Henrique
Join Date: Sep 2010
Posts: 6
Rep Power: 16
vitormhenrique is on a distinguished road
Quote:
Originally Posted by michael_owen View Post
How is this supposed to calculate the residence time?

There are two methods you could use. Either use an additional variable with dimensions of time initialized to 0[s] and with the inlet boundary value set to zero and use an AV source to increment it at a rate of 1s/s, or skip the source and set the inlet value equal to the current simulation time, so each parcel of fluid knows when it was "born."
Hello Michael,

I followed this "tutorial": http://www.cfd-online.com/Forums/cfx...lysis-cfx.html

how can I do this other method? i create a variable, with unitis of [s] then I set transport equation?
How can i create this AV source?

Sorry about the questions, but i'm new in CFD.

Tanks,

Vitor Henrique
vitormhenrique is offline   Reply With Quote

Old   October 21, 2010, 11:28
Default
  #4
Senior Member
 
Michael P. Owen
Join Date: Mar 2009
Posts: 196
Rep Power: 17
michael_owen is on a distinguished road
Vitor,

That thread is about injecting a tracer into the flow. That isn't what you want to do; you're trying to calculate residence time. Essentially that thread has absolutely nothing to do with what you want, as far as I can tell.

You should use one of the two methods I described. You could also just plot the time on streamlines in Post, but for transient simulations the interpretation of this is tricky and may not yield what you want.
michael_owen is offline   Reply With Quote

Old   October 21, 2010, 16:57
Default
  #5
New Member
 
Vitor de Miranda Henrique
Join Date: Sep 2010
Posts: 6
Rep Power: 16
vitormhenrique is on a distinguished road
Quote:
Originally Posted by michael_owen View Post
Vitor,

That thread is about injecting a tracer into the flow. That isn't what you want to do; you're trying to calculate residence time. Essentially that thread has absolutely nothing to do with what you want, as far as I can tell.

You should use one of the two methods I described. You could also just plot the time on streamlines in Post, but for transient simulations the interpretation of this is tricky and may not yield what you want.

Michael

I know how to create a variable, and how to set the units.But how can i use an AV source to increment it at a rate of 1s/s ? What is a AV source?


Thank you

Vitor Henrique
vitormhenrique is offline   Reply With Quote

Old   October 21, 2010, 17:39
Default
  #6
Senior Member
 
Michael P. Owen
Join Date: Mar 2009
Posts: 196
Rep Power: 17
michael_owen is on a distinguished road
Insert a subdomain scoped to the entire domain. On the Sources tab, check sources, and then input a source for your additional variable.

All of this is in the documentation.
michael_owen is offline   Reply With Quote

Old   June 24, 2012, 02:49
Default
  #7
New Member
 
sepideh
Join Date: Jul 2011
Posts: 21
Rep Power: 15
sepidecent is on a distinguished road
Hi

If the situation is steady state can I still use streamline and plot time?because I dont have time variable!
I have a rectagular box with a slot at the top of the box,that is inlet,I dont have any outlet and the approach is E-E.

Regards,
Sepi
sepidecent is offline   Reply With Quote

Old   June 24, 2012, 08:13
Default
  #8
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Time is a variabel on streamlines, not a general simulation variable.
ghorrocks is offline   Reply With Quote

Old   June 24, 2012, 19:39
Default
  #9
New Member
 
sepideh
Join Date: Jul 2011
Posts: 21
Rep Power: 15
sepidecent is on a distinguished road
Thank you so much for reply.
sepidecent is offline   Reply With Quote

Old   November 8, 2014, 23:46
Default
  #10
Senior Member
 
Ashkan Javadzadegan
Join Date: Sep 2010
Posts: 255
Rep Power: 17
ashtonJ is on a distinguished road
Dear all,
I am trying to use the suggested method for calculating residance time. The only problem is the unit of source term for AV. the unit is kg/m^3; however, as it is mentioned here, the unit of source term should be [s/s].
Does any body know how to make the unit of source term [s/s]?
Thanks
ashtonJ is offline   Reply With Quote

Old   September 27, 2016, 12:13
Default
  #11
New Member
 
Prashanth
Join Date: Jun 2016
Posts: 20
Rep Power: 10
pachi is on a distinguished road
Quote:
Originally Posted by michael_owen View Post
Insert a subdomain scoped to the entire domain. On the Sources tab, check sources, and then input a source for your additional variable.

All of this is in the documentation.
Hii,

i have to calculate particle residence time and mass concentration in the cell.

am feeding steady particles in the transient flow using DPM method.

How can i come up with this.

Thank you
pachi is offline   Reply With Quote

Reply

Tags
problem, residence, rtd, time, tracer


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pathline colored by time = residence time pkleb FLUENT 1 February 26, 2021 09:00
Residence Time Distribution with Periodic Boundary Conditions sanjose FLUENT 1 September 7, 2016 05:13
directMapped problem panda60 OpenFOAM Bugs 4 July 8, 2010 11:23
Particle residence time Eric1 FLUENT 0 May 2, 2010 23:13
Computational time sunnysun OpenFOAM Running, Solving & CFD 5 March 16, 2009 04:32


All times are GMT -4. The time now is 21:15.