|
[Sponsors] |
is there a post processing keyword for obtaining mass flow rate and total mass? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 10, 2013, 17:47 |
|
#21 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
I'll try to look into it this weekend.
__________________
|
|
April 12, 2013, 14:30 |
|
#22 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27 |
dear Bruno its the begining of weekend in your place!
please see how can modifying calcMassFlow.thanks. |
|
April 14, 2013, 07:48 |
|
#23 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
FYI: I've updated the post #18: http://www.cfd-online.com/Forums/ope...tml#post418748
__________________
|
|
April 14, 2013, 08:14 |
|
#24 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27 |
thank you so much dear Bruno.
I'll test it a tell you. Why rho is there in comment? My case is compressible.its not necessary for me,is it? |
|
April 14, 2013, 08:22 |
|
#25 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Quote:
Code:
// Factor to multiply the results with (for symmetric or axial cases) // scaleFactor 72.; // Density for incompressible cases // rho rho [1 -3 0 0 0 0 0] 0.41;
__________________
|
||
April 14, 2013, 12:56 |
|
#26 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27 |
it works nice.the output is like what swak4Foam run time function gives.
but how can increase time step decimal numbers? and if it can be done that a summation on phi's multiply to time step is outputted then total mass on each patch is obtained in the whole time (like: Total Mass = SUM(mass_flow_rate * time_step_size) ) and it is not required to external softwares. could you please have a look into this work? and it will be fully completed thanks. |
|
April 14, 2013, 14:08 |
|
#27 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Unfortunately I'm not 100% certain if I understand your request correctly.
If the time step is now of fixed size, then you only need to define "scaleFactor" accordingly. If the time step varies... it depends on whether you've saved all of the iterations or not... because with only a few iterations, it will lead to a non-measurable error... ... wait... you want the summation of all results... and place it were?.. I guess at the bottom of the file... If the time step is fixed, you'll be the one assuming the resulting error isn't relevant. Otherwise, you should have calculated this while the solver is running, not after it's finished. I'll try to see if I can still implement this today. Otherwise, it will have to wait till next weekend.
__________________
|
|
April 20, 2013, 09:05 |
|
#28 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27 |
I use adjustableRunTime.I think it could be possible to multiply each value in column right to difference of value of column left(time)and its before time(upper value) to program.
yes at the end of file or better at a time that user specifies when execute calcMassFlow in terminal in seconds (like:calcMassFlow .002) |
|
July 4, 2013, 17:49 |
|
#29 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27 |
Hi Bruno
I executed calcMassFlow on a case but this showed: Code:
Create time fileName::stripInvalid() called for invalid fileName UntitledFolder For debug level (= 2) > 1 this is considered fatal Aborted
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King. To Be or Not To Be,Thats the Question! The Only Stupid Question Is the One that Goes Unasked. |
|
July 6, 2013, 02:08 |
|
#30 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27 |
it resolved.an untitled folder had been created accidently in the case folder.
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King. To Be or Not To Be,Thats the Question! The Only Stupid Question Is the One that Goes Unasked. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Target Mass Flow Rate | Nitin | FLUENT | 9 | June 17, 2017 11:30 |
how to set BC for compressible flow target mass flow rate | foolboy007 | FLUENT | 1 | April 4, 2012 04:24 |
Mass flow rate through each cell | Babakjingo | Main CFD Forum | 0 | August 21, 2011 04:18 |
particle, parcel and mass flow rate balance | flybird | FLUENT | 0 | May 24, 2007 11:44 |
mass flow inlet | Denis Tschumperle | FLUENT | 7 | August 9, 2000 03:19 |