the hunt for an easier way …

Moderator: Mike Everman

WebPilot
Posts: 3716
Joined: Tue Dec 07, 2004 6:51 pm
Antipspambot question: 0
Location: 41d 1' N 80d 22' W

Re: the hunt for an easier way …

Post by WebPilot » Mon Nov 02, 2009 5:57 am

Well, has anyone gotten this program to work up to this point?
Image

PyroJoe
Posts: 1743
Joined: Wed Aug 29, 2007 5:44 pm
Antipspambot question: 125
Location: Texas

Re: the hunt for an easier way …

Post by PyroJoe » Mon Nov 02, 2009 2:37 pm

Getting warning flags and anit-virus blocking stuff for now, will try with other machine this evening. Apologize for not trying it sooner, has been a busy weekend.
Joe

Rossco
Posts: 589
Joined: Fri Nov 28, 2003 12:16 pm
Antipspambot question: 0
Location: Australia, Brisbane
Contact:

Re: the hunt for an easier way …

Post by Rossco » Mon Nov 02, 2009 2:43 pm

Code works. Looking further into the rest.

Rossco

Ah,

Edits:
1) in^4 ...
Attachments
WPFcalc-sc1.PNG
Big, fast, broke, fix it, bigger, better, faster...
[url=callto://aussierossco]Image[/url]

WebPilot
Posts: 3716
Joined: Tue Dec 07, 2004 6:51 pm
Antipspambot question: 0
Location: 41d 1' N 80d 22' W

Re: the hunt for an easier way …

Post by WebPilot » Tue Nov 03, 2009 1:55 am

Joe, I hope you PM Rossco if you cannot resolve this yourself.

I am little help when it comes to resolving µSoft issues, but I would suggest trying another browser instead of Internet Explorer (e.g. Firefox, Opera, etc.) for this project. That way, you can still work on your normal machine.
Image

WebPilot
Posts: 3716
Joined: Tue Dec 07, 2004 6:51 pm
Antipspambot question: 0
Location: 41d 1' N 80d 22' W

Re: the hunt for an easier way …

Post by WebPilot » Tue Nov 03, 2009 5:40 am

\n

This program requires 5 inputs from the user:
  1. what is the length of CAD rectangle 1?
  2. what is the width of CAD rectangle 1?
  3. what is the thickness of petal valve?
  4. What is the longitudinal distance to CM of a side lobe?
  5. What is the area of one side lobe?
Image

WebPilot
Posts: 3716
Joined: Tue Dec 07, 2004 6:51 pm
Antipspambot question: 0
Location: 41d 1' N 80d 22' W

Re: the hunt for an easier way …

Post by WebPilot » Tue Nov 03, 2009 3:28 pm

The answer to the first two questions can be answered with a drawing.

Here's mine again:

Figure 1. CAD drawing of DynaJet petal valve
Image
Image

WebPilot
Posts: 3716
Joined: Tue Dec 07, 2004 6:51 pm
Antipspambot question: 0
Location: 41d 1' N 80d 22' W

Re: the hunt for an easier way …

Post by WebPilot » Wed Nov 04, 2009 12:30 am

The thickness, 0.006 in, is given on the CURTIS DYNAFOG® Ltd plan.
Image

WebPilot
Posts: 3716
Joined: Tue Dec 07, 2004 6:51 pm
Antipspambot question: 0
Location: 41d 1' N 80d 22' W

Re: the hunt for an easier way …

Post by WebPilot » Wed Nov 04, 2009 5:59 am

The answer to question #4 can be determined by using what I had calculated
& posted earlier, namely the value for the yCM co-ordinate.

It cannot be used 'as is' since that distance is relative to the origin, 0, and not
from point, ß, as required. So, subtract 0.625/2 from it before using.

Image

NOTE: these values were not in error; the ones on my spreadsheet
calc were.
Image

WebPilot
Posts: 3716
Joined: Tue Dec 07, 2004 6:51 pm
Antipspambot question: 0
Location: 41d 1' N 80d 22' W

Re: the hunt for an easier way …

Post by WebPilot » Wed Nov 04, 2009 3:11 pm

Finally, a value for the area of one side lobe, 0.0567 in², is provided on the last ' tally' sheet.
Image

WebPilot
Posts: 3716
Joined: Tue Dec 07, 2004 6:51 pm
Antipspambot question: 0
Location: 41d 1' N 80d 22' W

Re: the hunt for an easier way …

Post by WebPilot » Thu Nov 05, 2009 12:49 am

You should now get something resembling this in your browser window:

Image
Image

WebPilot
Posts: 3716
Joined: Tue Dec 07, 2004 6:51 pm
Antipspambot question: 0
Location: 41d 1' N 80d 22' W

Re: the hunt for an easier way …

Post by WebPilot » Thu Nov 05, 2009 3:28 pm

Returning to the work I did in my Mode 1/0 thread, you will find this image:

Image

where I found the converged, fundamental frequency for a dynajet petal
valve to be 247.0 Hz.
Image

WebPilot
Posts: 3716
Joined: Tue Dec 07, 2004 6:51 pm
Antipspambot question: 0
Location: 41d 1' N 80d 22' W

Re: the hunt for an easier way …

Post by WebPilot » Fri Nov 06, 2009 3:58 am

So, the % deviation using my approximate method with the number obtained using the finite element method is a mere

Image

Not shabby, eh?
Image

WebPilot
Posts: 3716
Joined: Tue Dec 07, 2004 6:51 pm
Antipspambot question: 0
Location: 41d 1' N 80d 22' W

Re: the hunt for an easier way …

Post by WebPilot » Fri Nov 06, 2009 5:26 pm

The previous is a 'proof of concept', and it works. While I was writing code to eliminate the need for a spreadsheet, I began to wonder if a Cad program was absolutely required. It's not.

Two evenings ago and anxious to use bc, I started writing a script to determine the frequency of a dynajet petal valve.

The algorithm requires four dimensions, taken from the original plan of the engine. Additionally, it needs two material properties. These are for steel in this case.

The algorithm is not interactive. The required inputs are hard coded in the script, but can be quickly changed with an editor.

I finished the code yesterday evening. Here is a session log from a terminal window.

Image

The code runs and is accurate. Image
Image

WebPilot
Posts: 3716
Joined: Tue Dec 07, 2004 6:51 pm
Antipspambot question: 0
Location: 41d 1' N 80d 22' W

Re: the hunt for an easier way …

Post by WebPilot » Sun Nov 08, 2009 4:36 pm

First, I'll use this code to investigate how the pv's fundamental frequency varies with thickness.
Image

WebPilot
Posts: 3716
Joined: Tue Dec 07, 2004 6:51 pm
Antipspambot question: 0
Location: 41d 1' N 80d 22' W

Re: the hunt for an easier way …

Post by WebPilot » Mon Nov 09, 2009 4:35 am

Image

Here, the geometry of a dynaJet petal valve is kept constant, but the thickness is varied.

The result is frequency varies linearly with thickness or

f = a × t + b

values for 'a' and 'b' are determined above.
Image

Post Reply