[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4752: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4754: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4755: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4756: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
FMS Forum • View topic - fms8 par JAVA script - need help to create this script

fms8 par JAVA script - need help to create this script

Postby nestofdragons » Fri Jun 25, 2004 6:55 am

Hallo all,

I think we all can use some tool to create the more complex FMS8 par files. I hope to be able to work as a FMS-FORUM group on that tool. I need YOUR help.

What is the basic idea? Well, I will make a special page that will be both a tutoral and a place for a JAVA script. The tutoral will explain what the consequences are of the changing of the parameters. The JAVA script will have a lot of blancos to fill in and will generate a text that can be copied into the par files. Just copy (ctrl+C) and paste (ctrl+V). Can it be easier?

I have seen and heard that the airfoil part is the most difficult one. OK, why not try to use other tools on the net to help us? I know of a other JAVA script that generates a coefficient list of lift, drag and moment if you put in the airfoil and the Reynoldsnumber. If we could use that list to fill in the blancs of our own JAVA script on the section "airfoil", we could have good data.

Now, first a few questions.

1) Is there a JAVA wizards out there?
2) Who wants to help creating the tutoral or checking my own version?

I surely hope we can do it. Man, it would be a good tool for all of us. :D
Keep that brain spawning wings,

Koen Van de Kerckhove
http://www.youtube.com/nestofdragons
User avatar
nestofdragons
 
Posts: 70
Joined: Mon Jun 14, 2004 8:58 pm

Postby nestofdragons » Mon Jun 28, 2004 7:18 pm

Hallo again,

I think I found the solution to my problem. I will make the program in Access. I know myself that program a bit and a few friends of me will be capable to help me where I am too unexperienced for.
I hopet o be able to work some system out that you are able to choose out of a list of profile. Of course you will be able to fill in your own profiles.

But I need a bit of translation help. Can anyone help me to translate those comments at the end of each line. I have them in French and in German, but I want to use English. Can anybody help me with that list, please.
Keep that brain spawning wings,

Koen Van de Kerckhove
http://www.youtube.com/nestofdragons
User avatar
nestofdragons
 
Posts: 70
Joined: Mon Jun 14, 2004 8:58 pm

Postby Roman Moeller » Mon Jun 28, 2004 8:50 pm

Hello,

for a translation of most of the parameters see the following topic: :)

Roman
Roman Moeller
Site Admin
 
Posts: 40
Joined: Tue Jan 09, 2001 3:51 pm

Postby nestofdragons » Mon Jun 28, 2004 9:05 pm

Hallo Mr. Moeller,

many thanks for your quick answer. And ... especially ... many thanks for creating FMS.

I just hope I can help you with this tool. I am not a expert. But ... I will work something out that others will be pleased to use.
Keep that brain spawning wings,

Koen Van de Kerckhove
http://www.youtube.com/nestofdragons
User avatar
nestofdragons
 
Posts: 70
Joined: Mon Jun 14, 2004 8:58 pm

Postby nestofdragons » Wed Jun 30, 2004 6:05 pm

Hallo Mr. Moeller,

I am still working on the basis of the ACCESS-file. I need to give all data parts a name. Could you help me giving short names to all parts. Like you did with Ixx. How do you do that with consumption and so ... and all the rest.

Seems like I can make mutiple languages in ONE access-file. I can change the text around the blancs in the fill-in-sheets. But I need a good name so we can use the short name when discusing data in forums and so. I want to use the name you want to use. You are the creator, right. You give the names ... hopefully (if you find the time).
Keep that brain spawning wings,

Koen Van de Kerckhove
http://www.youtube.com/nestofdragons
User avatar
nestofdragons
 
Posts: 70
Joined: Mon Jun 14, 2004 8:58 pm

Postby nestofdragons » Thu Jul 01, 2004 6:39 pm

Tha basis of a access file makes it user-friendly ... or not. To make that mine does not belong to the last kind, I need some conformation that I think right. Can anybody confirm, please?

1) the engine data can be used by other models. But the x,y and z of the thrust line position (probably center of prop) and direction still is personal to the new model. That part is best not copied to the new model.
2) a model can have 1 or many airfoils.
3) the airfoils can be used by other models (after checking that they use the same Reynoldsnumber). So I suggest to ad the Reynoldsnumber in the name of the airfoil. This airfoil name will not change the par-file, but will help archiving the airfoils in your list.
4) the amount of wing surfaces is 5 or 7.
5) What are the possible types for engine type? Combustion and ....?????

That will be a first list of questions. Sure others will follow. I hope you can help me. ???

Also, guys (and girls if any), I saw that I lost a bit of my knowledge of Access. How can I create a button selection for the engine types? Lets say there are three possible answers, so three buttons. Only one can be selected and that one fills his data in the proper listplace. Can you help me ... step by step, please.

THANKS IN ADVANCE.

I will use my own short names for the data parts. I hope I will get close to the names that Mr. Moeller would have choosen.
Keep that brain spawning wings,

Koen Van de Kerckhove
http://www.youtube.com/nestofdragons
User avatar
nestofdragons
 
Posts: 70
Joined: Mon Jun 14, 2004 8:58 pm

Postby nestofdragons » Thu Jul 01, 2004 8:49 pm

Already the next questions.

Is it always that in the data of the polars, the negative angles have the same values as the positive angles. OK, sometimes it is the oposite (- instead of +). For instance, the Ca (probably Cl in english) gets the oposite. Was it negative for the negative angles, then it gets positive in the positive angles.
Same for the data at Cm. Data of Cw (Cd for English, I guess) stays the same for the positive and the negative angles.

Is this always??? If yes, than I only need to make you enter one set of angles, the other canbe generated automaticly ... I hope (still have to find out how :p )

Anyway, I am Thinking positive about this Access-file. I guess I can do it. But I will need some help at the end to make some things run automaticly. And ... my Access-expert friend is on holiday. Grrrrrr. Any other Access experts around?
Keep that brain spawning wings,

Koen Van de Kerckhove
http://www.youtube.com/nestofdragons
User avatar
nestofdragons
 
Posts: 70
Joined: Mon Jun 14, 2004 8:58 pm

Postby ggunners » Sat Jul 03, 2004 11:41 pm

nestofdragons,

No, the negative angle in the .par file is NOT always the negative value for the positive angle-of-attack.

There are slight differences for all but symmetrical wings.



-- ggunners
User avatar
ggunners
 
Posts: 1480
Joined: Tue Aug 26, 2003 3:47 pm
Location: Chantilly, VA USA

Postby nestofdragons » Sun Jul 04, 2004 8:36 pm

Many thanks for the quick answer. I thought already this, but I was not sure how they did it in FMS. Had to be sure.
Keep that brain spawning wings,

Koen Van de Kerckhove
http://www.youtube.com/nestofdragons
User avatar
nestofdragons
 
Posts: 70
Joined: Mon Jun 14, 2004 8:58 pm

Postby nestofdragons » Sun Jul 04, 2004 8:44 pm

I am very close to a first possible preview. But ... I just found out that I have no translation of the ELEKTRO data names. I used the text i could find for the Transall. Can anybody translate, please. I was never a elektro-guy. So I have no clue what they are.

I hope to update a possible preview in my site tonight. If not, probably tomorrow evening. Euh ... with preview I do mean: several forms are ready to be filled in. But ... the buttons still don't work. All forms are not connected to each other. So, you still have to open form by form. Still working on that. So, just open the access-file and go see "FORMS". Open one and see if you would like to work with such a tool. I hope that I am close to what you hope to have. It is still a work in progress. So, the more comments, the better I understand what you are looking for. As long as it fits within my possibilities (and that one of my friend Bart) I will try to fix it.
Keep that brain spawning wings,

Koen Van de Kerckhove
http://www.youtube.com/nestofdragons
User avatar
nestofdragons
 
Posts: 70
Joined: Mon Jun 14, 2004 8:58 pm

Postby ggunners » Mon Jul 05, 2004 5:36 pm

nestofdragons,

ELECTRO //Motortyp = Verbrennungsmotor (motor type = COMBUSTION/ELECTRO)
7.2 //Nennspannung des Motors [V] (motor voltage)
8000 //Leerlaufdrehzahl (idling speed)
1 //Leerlaufstrom [A] (idling current)
10 //Blockierstrom [A] (blocking current)
1 //Übersetzung des Getriebes (typischerweise > 1) [-] (translation of transmission, typical > 1)
1 //Getriebewirkungsgrad [-] (transmission efficiency)
8 //Anzahl Zellen des Akkus (jeder Motor hat seinen eigenen Akku) [-] (number of batt cells, each cell 1.2 volts)
750 //Kapazität des Akkus (0=Akku nie leer) [mAh] (capacity of batts, 0 = never empty)
5 //Innenwiderstand des Akkus [mOhm] (internal battery resistance)

-- ggunners
User avatar
ggunners
 
Posts: 1480
Joined: Tue Aug 26, 2003 3:47 pm
Location: Chantilly, VA USA

Postby nestofdragons » Mon Jul 05, 2004 8:22 pm

Hallo ggunners,

Many thanks for the reply. I added the data today. I made a upload to my site of the result so far. DON'T EXPECT IT WILL RUN ALLREADY! I just want to check if I am working in the right direction. Hope somebody (or many) can approve or tell me where I went wrong.

WHere to find the database? Go see (sorry for the looong URL).

What can you see when opening this file in Access (part of MS OFFICE)? OK, two forms are working for 90% (engine list and polar-general data). I still haven't figured out how to make those buttons (previous and next) work right. I hope my friend Bart will do so when he is back from his holidays. I am very proud about the polar form (Airfoil). I have found out how to show the details (cl,cm and so) when you change the record of the aifoil you look at (click those little arrows at the bottom of the form). Those are two forms combined. Never done before ... and it works. YAHOOOOO. :p

In the tables you can see that I worked on their content. Just see if I grouped logically the data. Remember, I grouped them so you call choose the general data of a part and change the specific data for your model. For instance: You can choose a engine-prop combination which is already been used, but you can change the psition of the prop and the direction of the thrustline. those things are "personal" for each model. Those "personal" data are placed in the table "model_general data".

I hope you can still follow.

I will continue to work on this database. I hope you can guide me to a Access-wizard who wants to help as long as Bart is on holidays (two weeks, I guess). I could use his advise.

The filling of the lists, that part is a job for the FMS-fans. I hope they will be able to make a good list of engine-prop combinations. Use a single mark to begin with (OS Max for instance). Use their oficial data to make it reliable. Contact them if you cannot find the data. They sure will be happy to see THEIR engines in such a program. I think to recall that there is a graph being used to choose the right prop for a engine. Can somebody guide me to that graph? It has the seize and pitch on it in relation to ... I guess ... speed??? It might be a good tool to make reliable engine-prop combinations.

Sorry, haven't found out a way to copy the data from one combination to another. it will be a lot of typing at the beginning. Sorry. ???

Well, this is it for today. I hope ... hope ... I will have time to work further on this database tomorrow. We will see.

Keep that brain spawning wings,

Koen

PS. Now I go see the "Lord of the Rings" DVD I got for my birthday. Yep, 38 years old ... and still likes elves, dwarfs, dragons and so. :D
Keep that brain spawning wings,

Koen Van de Kerckhove
http://www.youtube.com/nestofdragons
User avatar
nestofdragons
 
Posts: 70
Joined: Mon Jun 14, 2004 8:58 pm

Postby ggunners » Fri Jul 09, 2004 8:17 pm

nestofdragons,

On your engine form, some planes will have more than one engine which means there could be multiple motor/prop combinations.

You should have one report that combines all the components to a complete .par file so you'll need additional tables like:

INFO, add to "general data_model" table as a text field.

Don't forget tables for "collision points", "wheels" and "v-mix", since there'll only be one vmixer entry, you may be able to add that to the "general data_model" table too.

Haven't used VBA yet. Anyone know the syntax for linking an action to an object. i.e. "on-click button1 do" etc.

-- ggunners
User avatar
ggunners
 
Posts: 1480
Joined: Tue Aug 26, 2003 3:47 pm
Location: Chantilly, VA USA

Postby nestofdragons » Sat Jul 10, 2004 2:13 pm

Many thanks for the reply.

Yep, totally forgot that some models have two or more engines. I will add a table like I did for the airfoils. That way you can place as much engines as you like. Still need to find out how to place the personal data of those engines (position and thrustline direction).

Ok, the tables were still not complete. Indeed,, I need to make a table for wingareas, collision points, wheels, but that vmixer. What is that? What does it control? Never seen it before. Or ... did I not look good enough or does my memory performs badly again.

I will work on the database to get more tables done. I will make a central page where you can see all the general data and have links to the other pages (forms).

Still a lot of work. But I like to do it. I am learning myself. Great challenge.
Keep that brain spawning wings,

Koen Van de Kerckhove
http://www.youtube.com/nestofdragons
User avatar
nestofdragons
 
Posts: 70
Joined: Mon Jun 14, 2004 8:58 pm

Postby nestofdragons » Sun Jul 11, 2004 8:54 pm

Hallo,

I changed a few stuff in general built-up of the database. Go see: http://users.skynet.be/nestofdragons/im ... editor.mdb

Open the database with MS Access and open the form named "main". The rest will be explained in the pages that follow, ... I hope. For the moment only general data and the engine part. Still working on the wings.

Guys, how does one install dihidral and sweep of wings into the par? It is not so clear to me.

When all forms are made ... like they should, I will work on the main target. THE RAPPORT which contains ALL data for the par. At the end we will be able to export that rapport into a txt file. That one can easily be transformed into a par-file. Not sure if that can be done automaticly. Bart, the Acces-wizard, will guide me when he is back from holiday.

Any reply is welcome. Even to say you don't like it. ???
Keep that brain spawning wings,

Koen Van de Kerckhove
http://www.youtube.com/nestofdragons
User avatar
nestofdragons
 
Posts: 70
Joined: Mon Jun 14, 2004 8:58 pm

Next

Return to Models

Who is online

Users browsing this forum: No registered users and 7 guests