# Piecewise Polynomial of Function

 Register Blogs Members List Search Today's Posts Mark Forums Read

 December 13, 2015, 07:09 Piecewise Polynomial of Function #1 Member   Onur Join Date: Sep 2015 Posts: 42 Rep Power: 4 Hi, I was using serial value in piecewise polynomial in fluent. But couldnt understand a photo shown below. What does places where I have selected in photos stand for? https://imageshack.com/i/hl1Xdkgbp Range 1 and Ranges 2 defined in photos what exactly does it mean? Kind Regards,

 December 14, 2015, 01:03 #2 Senior Member   Lucky Tran Join Date: Apr 2011 Location: Orlando, FL USA Posts: 1,886 Rep Power: 26 In the upper right: Ranges specifies the number of ranges (number of pieces of your piecewise polynomial) On the left: Range # lets you specify the coefficients for a particular range, the range is specified via minimum and maxmimum value for the range. Last edited by LuckyTran; December 15, 2015 at 00:58.

December 14, 2015, 03:41
#3
Member

Onur
Join Date: Sep 2015
Posts: 42
Rep Power: 4
Quote:
 Originally Posted by LuckyTran In the upper right: Ranges specifies the number of ranges (number of pieces of your piecewise polynomial) On the left: Range # lets you specify the coefficients for a particular range, the range is specified via minnimum and maxmimum value for the range.
Hi LuckyTran,

In upper right ranges, if ranges is exceeded, the better result is,

But on the left range is still complicated because I couldnt understand exactly.I have given coefficients of what I should calculate,If the range is changed by up ( or exceeded),what does it happen or give an result?

Kind Regards,

December 15, 2015, 00:57
#4
Senior Member

Lucky Tran
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 1,886
Rep Power: 26
Quote:
 Originally Posted by Onurozcan Hi LuckyTran, In upper right ranges, if ranges is exceeded, the better result is, But on the left range is still complicated because I couldnt understand exactly.I have given coefficients of what I should calculate,If the range is changed by up ( or exceeded),what does it happen or give an result? Kind Regards,
Sorry I can't understand what you're asking.

The upper right specifies the number of pieces (number of ranges) to the polynomial. In the picture, you have specified that there are two ranges (two different polynomials to your problem).

Now on the left, you are selecting a particular range and specifying the coefficients for that range. In the image, you have selected Range 1. You then specify the minimum (300), maximum (1000) for Range 1. You also specify the number of polynomial coefficients (5). Then you have to specify these five polynomial coefficients.

Now you need to also do the same procedure for Range 2 by clicking that up arrow next to Range 1.

December 15, 2015, 16:10
#5
Member

Onur
Join Date: Sep 2015
Posts: 42
Rep Power: 4
Quote:
 Originally Posted by LuckyTran Sorry I can't understand what you're asking. The upper right specifies the number of pieces (number of ranges) to the polynomial. In the picture, you have specified that there are two ranges (two different polynomials to your problem). Now on the left, you are selecting a particular range and specifying the coefficients for that range. In the image, you have selected Range 1. You then specify the minimum (300), maximum (1000) for Range 1. You also specify the number of polynomial coefficients (5). Then you have to specify these five polynomial coefficients. Now you need to also do the same procedure for Range 2 by clicking that up arrow next to Range 1.

Hi LuckyTran,

What I mean is shown below:

for ex.

Cp(T) 0<T<300 Cp= 1.52T+0.51
300<T<900 Cp = 0.88T2(square) - 1.6T +0.82

in upper right range is 2

in left right, range 1 and 2 will be separetly specified what coefficients are needed.

But I have just one equation for one range (278.15 K and 1093.15 K )

That's why I need to choose ''1'' in upper right field as well as left right when I put all coef.

Kind Regards,

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post Madeleine P. Vincent OpenFOAM Native Meshers: blockMesh 51 May 30, 2016 10:51 nennbs OpenFOAM Native Meshers: blockMesh 7 April 17, 2013 05:42 anand_30 OpenFOAM Meshing & Mesh Conversion 12 December 12, 2011 05:16 phsieh2005 OpenFOAM Bugs 25 February 9, 2010 05:37 gschaider OpenFOAM Installation 120 December 2, 2009 11:23

All times are GMT -4. The time now is 07:10.