|
[Sponsors] |
December 26, 2014, 11:37 |
Problems with power variable
|
#1 |
Senior Member
Rick
Join Date: Oct 2010
Posts: 1,016
Rep Power: 27 |
Hi!
I have a problem with plotting a 2d chart of absorbed power vs time. I have done my analysis in fluent and I have 200 time steps, time from 0 to 0,1 s. The simulation is a rotor stator machine, and I want to plot in ensight (10.1.2(a)) the absorbed power of the rotor due to pressure forces. Here is what I did: 1- Exported absolute pressure from existing fluent files to Ensight format; 2- Placed the point to calculate y moment in 0,0,0 with the tool position; 3- With the calculator, calculated Force(absolute_pressure) on the rotor part: this creates a new Force vector variable; 4- With the calculator, calculated Moment(Force,[Y]); axis of rotation of my rotor is Y; this creates a new constant variable; 5- With the calculator, creation of a new custom variable "Power": Expression is -Moment*Analysis_Time*3036.8729 Power is 2*PI*N*M, where: N = revolutions/s M = Y moment, N*m N in my simulation is a function of time: N (in revolution/minute) = 3036.8729*Analysis_Time/2/PI*60 So, Power is 2*PI*M*(3036.8729*Analysis_Time/2/PI*60)/60 = M*3036.8729*Analysis_Time The strange thing is that if I add an annotation for power I can read a value at step 200 (for example) of -24083.26, then if I change to 100 I read power 15369.40 and if I return to step 200 I read 1387.10 (??????). Values keep changing! Can you please verify if: a- My steps to calculate power are correct b- If there are some bugs in ensight Thank you and happy holidays!!!!!!!! Daniele
__________________
Google is your friend and the same for the search button! Last edited by ghost82; December 27, 2014 at 05:44. |
|
December 27, 2014, 07:05 |
|
#2 |
Senior Member
Rick
Join Date: Oct 2010
Posts: 1,016
Rep Power: 27 |
I tried to export a few time steps, 10-15, and all seems to work ok..I realized that I had 3 different exported time steps, 197 were 0.0005 s and 3 were 0.0001 s; now I'm re-exporting the files without that 3 time steps, maybe the problems came from there.
__________________
Google is your friend and the same for the search button! |
|
December 28, 2014, 01:21 |
|
#3 |
Senior Member
Kevin Colburn
Join Date: Mar 2009
Location: The Woodlands, TX
Posts: 131
Rep Power: 17 |
Taking a look at the values in the .encas file might yield more information. As you have noticed, there looks to be something odd with the time values (which come from the small ascii .encas file). Double check that the times reported in there are correct, and differ. Time values should always increase, and there should be no duplicates.
If need be, a quick editing of the .encas file may be all that is needed to correct the time values exported out. -Kevin
__________________
Kevin Colburn Computational Engineering International, Inc. www.ceisoftware.com kevin@ensight.com |
|
January 1, 2015, 16:06 |
|
#4 |
Senior Member
Rick
Join Date: Oct 2010
Posts: 1,016
Rep Power: 27 |
I don't know why, but a reboot fixed my problem and everything it's ok.
If you have some time, can you explain how can I calculate viscous moment to be added to the calculated pressure moment? Thank you for your prompt support!
__________________
Google is your friend and the same for the search button! |
|
January 2, 2015, 10:52 |
|
#5 |
Senior Member
Kevin Colburn
Join Date: Mar 2009
Location: The Woodlands, TX
Posts: 131
Rep Power: 17 |
There is some information here on calculating the contribution from the viscous side of things, if you are unable to export those values from Fluent. It is an approximation though... so beware.
https://support.ceisoftware.com/hc/e...ons-in-EnSight
__________________
Kevin Colburn Computational Engineering International, Inc. www.ceisoftware.com kevin@ensight.com |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Fire and smoke modeling | CFDST | CFX | 84 | April 30, 2019 08:01 |
[Other] OpenFOAM Installation for navalFoam | sachinlb | OpenFOAM Community Contributions | 22 | July 28, 2017 06:26 |
The problems of power number calculation in turbulent rushton turbine stirring tank | Eakarach | FLUENT | 15 | May 22, 2014 11:15 |
Problems compiling OF 141 on Edubuntu 71 | david_flo1 | OpenFOAM Installation | 16 | January 22, 2008 00:16 |
Installation problems | shellbell1999 | OpenFOAM Installation | 9 | April 6, 2006 14:29 |