A tool for JSBsim Airfoil Modelling

123apple
Posts: 180
Joined: Fri Jul 15, 2016 1:17 pm

Re: A tool for JSBsim Airfoil Modelling

Postby 123apple » Sat Jun 20, 2020 3:23 pm

Not too sure, really. Maybe it needs an initial value?

User avatar
IAHM-COL
Posts: 6413
Joined: Sat Sep 12, 2015 3:43 pm
Location: Homey, NV (KXTA) - U.S.A
Contact:

Re: A tool for JSBsim Airfoil Modelling

Postby IAHM-COL » Sat Jun 20, 2020 3:28 pm

that works. The init value is Centigrades or Farenheit or doesnt matter?
https://raw.githubusercontent.com/IAHM-COL/gpg-pubkey/master/pubkey.asc

R.M.S.
If we gave everybody in the World free software today, but we failed to teach them about the four freedoms, five years from now, would they still have it?

bomber
Posts: 1379
Joined: Mon Nov 30, 2015 3:40 pm

Re: A tool for JSBsim Airfoil Modelling

Postby bomber » Sat Jun 20, 2020 3:43 pm

It's in degrees F

Fuel Temperature:
Fuel temperature is calculated using the following assumptions:

Fuel temperature will only be calculated for tanks which have an initial fuel
temperature specified in the configuration file.
The surface area of the tank is estimated from the capacity in pounds. It
is assumed that the tank is a wing tank with dimensions h by 4h by 10h. The
volume of the tank is then 40(h)(h)(h). The area of the upper or lower
surface is then 40(h)(h). The volume is also equal to the capacity divided
by 49.368 lbs/cu-ft, for jet fuel. The surface area of one side can then be
derived from the tank's capacity.
The heat capacity of jet fuel is assumed to be 900 Joules/lbm/K, and the
heat transfer factor of the tank is 1.115 Watts/sq-ft/K.
Fuel temperature is currently not written to the property tree.


This last sentence might be important I'm thinking
"If anyone ever tells you anything about an aeroplane which is so bloody complicated you can't understand it, take it from me - it's all balls" - R J Mitchell

123apple
Posts: 180
Joined: Fri Jul 15, 2016 1:17 pm

Re: A tool for JSBsim Airfoil Modelling

Postby 123apple » Sat Jun 20, 2020 3:53 pm

I can assure you it is... I use that property. :)

bomber
Posts: 1379
Joined: Mon Nov 30, 2015 3:40 pm

Re: A tool for JSBsim Airfoil Modelling

Postby bomber » Sat Jun 20, 2020 4:00 pm

"If anyone ever tells you anything about an aeroplane which is so bloody complicated you can't understand it, take it from me - it's all balls" - R J Mitchell

bomber
Posts: 1379
Joined: Mon Nov 30, 2015 3:40 pm

Re: A tool for JSBsim Airfoil Modelling

Postby bomber » Sat Jun 20, 2020 4:44 pm

IAHM-COL wrote:
Would some of these differences raise an immediate flag for you, or is more like test on perfomance and see?


On the Ask13 it changed the Lift2Drag from 27.5:1 to 25:1.... adjusting the front fuselage drag down from 0.15 to 0.095 brought it back to 27.5:1
"If anyone ever tells you anything about an aeroplane which is so bloody complicated you can't understand it, take it from me - it's all balls" - R J Mitchell

User avatar
IAHM-COL
Posts: 6413
Joined: Sat Sep 12, 2015 3:43 pm
Location: Homey, NV (KXTA) - U.S.A
Contact:

Re: A tool for JSBsim Airfoil Modelling

Postby IAHM-COL » Sat Jun 20, 2020 4:56 pm

were you able to execute the airfoil code?
https://raw.githubusercontent.com/IAHM-COL/gpg-pubkey/master/pubkey.asc

R.M.S.
If we gave everybody in the World free software today, but we failed to teach them about the four freedoms, five years from now, would they still have it?

User avatar
IAHM-COL
Posts: 6413
Joined: Sat Sep 12, 2015 3:43 pm
Location: Homey, NV (KXTA) - U.S.A
Contact:

Re: A tool for JSBsim Airfoil Modelling

Postby IAHM-COL » Sun Jun 21, 2020 7:41 am

123apple wrote:I can assure you it is... I use that property. :)


@123apple

Thanks for the pointers.
I tried using that property, and it works to set up the temperature of fuel, but it has some problems I couldn t figure out how to work around, and were prohibitive for my intentions.

Firstly, the initial value. JSBsim only accepted a numeric value, and not, per example a property.
The problem? well, can someone explain me how the fuel temperature begins at 50F if the plane is parked on Siberia in Christmass?
I tried setting the environment temperature property for initial parameter. JSBsim laughed at me.

Secondly, the property generated there by JSBsim is completely internal. ie, I can't modify the value obtained dynamically on execution. Clearly, not only I can't set my environment temperature after initialization, but even more critical, it forbade my trying what I really want to do with the fuel temperature, and that is implementing a FCOC for my fuel's systems. In such system, the oil temperature heats the fuel simmultaneous as thermo diffusion chills the fuel through environment transfer on the tanks. At the same time, off course, thermotransfers are bilateral, which lead to oil cooling via the fuel transition throught the coils.

To do so, I needed to be able to implement changes on fuel temperature. A property that JSBsim completely hog wasn't going to help me


I thus, implemented functions of heat transfer given

Code: Select all

deltaQ/delta-t = -KA deltaT / delta distance
and tried estimating values that give me logical temperature balance at the begining. I'll need to test how it behaves as temperatures change (like cold high alt and stuff).


Anyhow, thanks for your input and help,

Best,
Ih-COL
https://raw.githubusercontent.com/IAHM-COL/gpg-pubkey/master/pubkey.asc

R.M.S.
If we gave everybody in the World free software today, but we failed to teach them about the four freedoms, five years from now, would they still have it?

bomber
Posts: 1379
Joined: Mon Nov 30, 2015 3:40 pm

Re: A tool for JSBsim Airfoil Modelling

Postby bomber » Sun Jun 21, 2020 9:42 am

IAHM-COL wrote:were you able to execute the airfoil code?


Not at present, I'm trying to not get too distracted from what I'm doing right now..

I started this thread in 2007 which Thorsten trashed in his own unique way. Nothings been done in FG in the 12 years since (even tho people understood Thorstens method) and I'm just finishing off my code to resolve it as it's needed for the Spitfire to perform correctly.

https://forum.flightgear.org/viewtopic. ... h&start=30

Once I've nailed this I'll get back to this tool and use it to look at any differences in my original method with regards the Spitfire wings.

regards

Simon
"If anyone ever tells you anything about an aeroplane which is so bloody complicated you can't understand it, take it from me - it's all balls" - R J Mitchell

User avatar
IAHM-COL
Posts: 6413
Joined: Sat Sep 12, 2015 3:43 pm
Location: Homey, NV (KXTA) - U.S.A
Contact:

Re: A tool for JSBsim Airfoil Modelling

Postby IAHM-COL » Sun Jun 21, 2020 3:04 pm

bomber wrote:
IAHM-COL wrote:Not at present, I'm trying to not get too distracted from what I'm doing right now..

copy that.

Anyhow, Thorsten?! He should get back to the clouds!! (hahah)
https://raw.githubusercontent.com/IAHM-COL/gpg-pubkey/master/pubkey.asc

R.M.S.
If we gave everybody in the World free software today, but we failed to teach them about the four freedoms, five years from now, would they still have it?


Return to “JSBsim”

Who is online

Users browsing this forum: No registered users and 10 guests