|
[Sponsors] |
January 30, 2015, 03:32 |
Cumulative variable
|
#1 |
New Member
Join Date: Mar 2013
Posts: 6
Rep Power: 13 |
Hi!
Someone knows how can I create a cumultaive variable in a transient problem? I want to see, at the end of the transient, an isovolume related to the sumatory of each time, for one of the variables. Is it possible? Thanks a lot! |
|
January 30, 2015, 05:07 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,864
Rep Power: 144 |
Can you explain what you are trying to do? What is the equation you are trying to implement? Integration of what, with respect to what, over what domain, and what averaging/normalising?
|
|
January 30, 2015, 05:59 |
|
#3 | |
New Member
Join Date: Mar 2013
Posts: 6
Rep Power: 13 |
Quote:
I'm making a transient analysis of a tank. The tank is full of water and I'm introducing particles in it (particle tracking). In the post I can see the particle tracks perfectly. I can also see an isovolume with the averaged volume fraction variable in each step, but I want the cumulative value of it (an isovolume of the sumatory of all the averaged volume frations). Is it possible? Can I create some expression for that? |
||
January 30, 2015, 06:04 |
|
#4 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,864
Rep Power: 144 |
Please define "an isovolume of the sumatory of all the averaged volume frations"
Do you mean an isovolume of the average VF at all points over the time of the simulation? (You can do this with transient statistics) Do you mean an isovolume of the sum over time of the average VF over the domain? (I do not understand what this would mean) Or something else? |
|
January 30, 2015, 06:25 |
|
#5 |
New Member
Join Date: Mar 2013
Posts: 6
Rep Power: 13 |
Example:
For each time I can draw the next: Volume 1: Domains: All Domains Method: Isovolume Variable: PT Averaged volume fraction Mode: At value 1 I want to see, at the end of the simulation (time = 90s) the summatory of all these volumes (An isovolume of Averaged VF in time 1s + Averaged VF in time 2s + Averaged VF in time 3s....). I hope you could understand me... Thanks |
|
January 30, 2015, 06:59 |
|
#6 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,864
Rep Power: 144 |
Do you mean the isovolumes of all time steps in one image? So an image with lots of isovolumes in it with each isovolume representing a time step?
|
|
January 30, 2015, 07:09 |
|
#7 |
New Member
Join Date: Mar 2013
Posts: 6
Rep Power: 13 |
||
January 30, 2015, 07:19 |
|
#8 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,864
Rep Power: 144 |
Try loading your output file, then loading it again with "append" selected. Hopefully that will give you two instances of your simulation which you can set to different time steps to show simultaneously. If that works then you should be able to load all the time steps, and you can generate the isovolumes.
|
|
January 30, 2015, 07:56 |
|
#9 | |
New Member
Join Date: Mar 2013
Posts: 6
Rep Power: 13 |
Quote:
This works perfectly. The problem is that I have to load the output file 90 times. One for each time step. |
||
January 31, 2015, 05:37 |
|
#10 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,864
Rep Power: 144 |
Record a session file of you doing it for the first few times. Then edit the session file to do them all. If you are feeling really clever you can put in a perl command to do the looping.
|
|
Tags |
cumulative, sumatory, transient, variable |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to write k and epsilon before the abnormal end | xiuying | OpenFOAM Running, Solving & CFD | 8 | August 27, 2013 16:33 |
Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 | bookie56 | OpenFOAM Installation | 8 | August 13, 2011 05:03 |
IcoFoam parallel woes | msrinath80 | OpenFOAM Running, Solving & CFD | 9 | July 22, 2007 03:58 |
Could anybody help me see this error and give help | liugx212 | OpenFOAM Running, Solving & CFD | 3 | January 4, 2006 19:07 |
Replace periodic by inlet-outlet pair | lego | CFX | 3 | November 5, 2002 21:09 |