Quote from: aero on 08/11/2015 07:28 pmQuote from: Rodal on 08/11/2015 05:15 pmQuote from: aero on 08/11/2015 05:09 pmHere are the two png sets scaled to the maximum range of the E and H fields for the t=0 time slice. The ranges are from field components as follows:# ez all data range from -0.000245405 to 0.000245405. E field big end# hx all data range from -0.000538633 to 0.000538633. H field big end# ez all data range from -4.04811e-05 to 4.04811e-05. E field small end# hy all data range from -0.000287974 to 0.000287974. H field small endPlease look these png's over closely to be sure that this is what you want to see as it will be considerable effort to scale the png files in this way for the general case.Or do you need to see the side views for this t = 0 case?Thank you for going through the trouble to do this.1) Assuming that the longitudinal axis is the z axis, this looks indeed like a TE mode (transverse electric) as the Hz mode (magnetic field in the longitudinal direction) is strong and the Ez (electric field in the longitudinal direction) is weakhowever...2) The blue areas in the fields: they look like the magnitude has been clipped. They look like ContourPlots in Mathematica when I use PlotRange with a range smaller than the full magnitude, so the contours get cliped. I would double check whether magnitudes have not been clipped. 3) Is there some means to control the number of contour values in the contour plots? It looks to me like there are more contour levels than the number of colors available, as a result colors keep repeating themselves. What one wants is to have blue represent the lowest magnitude and red the highest magnitude, instead of red/green/blue/yellow patterns being repeated cyclically.ex all data range from -3.67269e-05 to 3.67269e-05.ey all data range from -1.42517e-05 to 1.42517e-05.ez all data range from -0.000245405 to 0.000245405.Of course they have been clipped. Look at the data ranges for the three E field components. Anything below the data range (or above, but that won't happen) are well ....from the manual: "Data values below or above this range will be treated as if they were min or max respectively." I suppose I could use the range from the minimum of the field to the maximum. Not minimum/ maximum of the most energetic component. To do so would be only a little more difficult, but would that be better? I can't guess without looking.I have a silly question. If the data values are clipped why am I still seeing artifacts on the side walls? shell
Quote from: Rodal on 08/11/2015 05:15 pmQuote from: aero on 08/11/2015 05:09 pmHere are the two png sets scaled to the maximum range of the E and H fields for the t=0 time slice. The ranges are from field components as follows:# ez all data range from -0.000245405 to 0.000245405. E field big end# hx all data range from -0.000538633 to 0.000538633. H field big end# ez all data range from -4.04811e-05 to 4.04811e-05. E field small end# hy all data range from -0.000287974 to 0.000287974. H field small endPlease look these png's over closely to be sure that this is what you want to see as it will be considerable effort to scale the png files in this way for the general case.Or do you need to see the side views for this t = 0 case?Thank you for going through the trouble to do this.1) Assuming that the longitudinal axis is the z axis, this looks indeed like a TE mode (transverse electric) as the Hz mode (magnetic field in the longitudinal direction) is strong and the Ez (electric field in the longitudinal direction) is weakhowever...2) The blue areas in the fields: they look like the magnitude has been clipped. They look like ContourPlots in Mathematica when I use PlotRange with a range smaller than the full magnitude, so the contours get cliped. I would double check whether magnitudes have not been clipped. 3) Is there some means to control the number of contour values in the contour plots? It looks to me like there are more contour levels than the number of colors available, as a result colors keep repeating themselves. What one wants is to have blue represent the lowest magnitude and red the highest magnitude, instead of red/green/blue/yellow patterns being repeated cyclically.ex all data range from -3.67269e-05 to 3.67269e-05.ey all data range from -1.42517e-05 to 1.42517e-05.ez all data range from -0.000245405 to 0.000245405.Of course they have been clipped. Look at the data ranges for the three E field components. Anything below the data range (or above, but that won't happen) are well ....from the manual: "Data values below or above this range will be treated as if they were min or max respectively." I suppose I could use the range from the minimum of the field to the maximum. Not minimum/ maximum of the most energetic component. To do so would be only a little more difficult, but would that be better? I can't guess without looking.
Quote from: aero on 08/11/2015 05:09 pmHere are the two png sets scaled to the maximum range of the E and H fields for the t=0 time slice. The ranges are from field components as follows:# ez all data range from -0.000245405 to 0.000245405. E field big end# hx all data range from -0.000538633 to 0.000538633. H field big end# ez all data range from -4.04811e-05 to 4.04811e-05. E field small end# hy all data range from -0.000287974 to 0.000287974. H field small endPlease look these png's over closely to be sure that this is what you want to see as it will be considerable effort to scale the png files in this way for the general case.Or do you need to see the side views for this t = 0 case?Thank you for going through the trouble to do this.1) Assuming that the longitudinal axis is the z axis, this looks indeed like a TE mode (transverse electric) as the Hz mode (magnetic field in the longitudinal direction) is strong and the Ez (electric field in the longitudinal direction) is weakhowever...2) The blue areas in the fields: they look like the magnitude has been clipped. They look like ContourPlots in Mathematica when I use PlotRange with a range smaller than the full magnitude, so the contours get cliped. I would double check whether magnitudes have not been clipped. 3) Is there some means to control the number of contour values in the contour plots? It looks to me like there are more contour levels than the number of colors available, as a result colors keep repeating themselves. What one wants is to have blue represent the lowest magnitude and red the highest magnitude, instead of red/green/blue/yellow patterns being repeated cyclically.
Here are the two png sets scaled to the maximum range of the E and H fields for the t=0 time slice. The ranges are from field components as follows:# ez all data range from -0.000245405 to 0.000245405. E field big end# hx all data range from -0.000538633 to 0.000538633. H field big end# ez all data range from -4.04811e-05 to 4.04811e-05. E field small end# hy all data range from -0.000287974 to 0.000287974. H field small endPlease look these png's over closely to be sure that this is what you want to see as it will be considerable effort to scale the png files in this way for the general case.Or do you need to see the side views for this t = 0 case?
Dr. Rodal,I was trying to figure out a way to communicate what I thought was going on, but I think I was wrong. It's simple - Draw 3 sine waves on a sheet of paper, x-y axis, each symmetric about the x axis, but with different amplitudes. Then draw horizontal lines tangent to the extreme positive and negative values of each sine wave. I used the y value of the top and bottom horizontal line.So the weaker sign waves are not clipped, they just don't have enough power to show up on the scale of the strongest.I'll see about using a different color map.
Quote from: aero on 08/11/2015 08:37 pmDr. Rodal,I was trying to figure out a way to communicate what I thought was going on, but I think I was wrong. It's simple - Draw 3 sine waves on a sheet of paper, x-y axis, each symmetric about the x axis, but with different amplitudes. Then draw horizontal lines tangent to the extreme positive and negative values of each sine wave. I used the y value of the top and bottom horizontal line.So the weaker sign waves are not clipped, they just don't have enough power to show up on the scale of the strongest.I'll see about using a different color map.Today (morning) someone pointed out that it may be helpful to use a logarithmic scale, did you try that in the actual case? (one try to compare with the mag. scale?)Other color map for the mag. scale like you sad could be also helpful i think.BTW: great work, thanks for spend your time!
....bluered (opaque blue to transparent white to opaque red). I have several color maps available, this is just the first try. I personally don't like it very much.
Quote from: X_RaY on 08/11/2015 08:45 pmQuote from: aero on 08/11/2015 08:37 pmDr. Rodal,I was trying to figure out a way to communicate what I thought was going on, but I think I was wrong. It's simple - Draw 3 sine waves on a sheet of paper, x-y axis, each symmetric about the x axis, but with different amplitudes. Then draw horizontal lines tangent to the extreme positive and negative values of each sine wave. I used the y value of the top and bottom horizontal line.So the weaker sign waves are not clipped, they just don't have enough power to show up on the scale of the strongest.I'll see about using a different color map.Today (morning) someone pointed out that it may be helpful to use a logarithmic scale, did you try that in the actual case? (one try to compare with the mag. scale?)Other color map for the mag. scale like you sad could be also helpful i think.BTW: great work, thanks for spend your time!I saw that and frankly it gave me a nice chuckle. Two points on a log scale? See: http://ab-initio.mit.edu/h5utils/h5topng-man.html Look really, really closely for the log scale output, then tell me what you find. Or maybe it would be more fruitful to look here: http://www.hdfgroup.org/products/java/hdfview/UsersGuide/ug05spreadsheet.html#ug05subset_transposeMy point is that logarithmic seems to be an alien concept to meep and it's support software.
A logarithmic scale is a nonlinear scale used when there is a large range of quantities. Common uses include the earthquake strength, sound loudness, light intensity, and pH of solutions.It is based on orders of magnitude, rather than a standard linear scale, so each mark on the scale is the previous mark multiplied by a value.
Quote from: aero on 08/11/2015 09:05 pmQuote from: X_RaY on 08/11/2015 08:45 pmQuote from: aero on 08/11/2015 08:37 pmDr. Rodal,I was trying to figure out a way to communicate what I thought was going on, but I think I was wrong. It's simple - Draw 3 sine waves on a sheet of paper, x-y axis, each symmetric about the x axis, but with different amplitudes. Then draw horizontal lines tangent to the extreme positive and negative values of each sine wave. I used the y value of the top and bottom horizontal line.So the weaker sign waves are not clipped, they just don't have enough power to show up on the scale of the strongest.I'll see about using a different color map.Today (morning) someone pointed out that it may be helpful to use a logarithmic scale, did you try that in the actual case? (one try to compare with the mag. scale?)Other color map for the mag. scale like you sad could be also helpful i think.BTW: great work, thanks for spend your time!I saw that and frankly it gave me a nice chuckle. Two points on a log scale? See: http://ab-initio.mit.edu/h5utils/h5topng-man.html Look really, really closely for the log scale output, then tell me what you find. Or maybe it would be more fruitful to look here: http://www.hdfgroup.org/products/java/hdfview/UsersGuide/ug05spreadsheet.html#ug05subset_transposeMy point is that logarithmic seems to be an alien concept to meep and it's support software.For very good reasons: a logarithmic scale is the opposite of what one wants to do to display mode shapes for these purposes: it will increase the number of contours in the low range and it will decreased them in the high range.QuoteA logarithmic scale is a nonlinear scale used when there is a large range of quantities. Common uses include the earthquake strength, sound loudness, light intensity, and pH of solutions.It is based on orders of magnitude, rather than a standard linear scale, so each mark on the scale is the previous mark multiplied by a value.It will distort all the shapes. Logarithmic scales are suitable when you have an exponential increasing behavior. Not suitable for the fields.May be suitable to plot attenuation, not for the fields
...OK i can follow your explanation (high vs. low field strength), but i am not sure in view of the resulting pictures. It would be soften the edges we look since the rescaling.You are the expert here, if you think i isn't helpful then forget it, no problem with that.And yes it's much better with the new color map!!
Quote from: X_RaY on 08/11/2015 09:18 pm...OK i can follow your explanation (high vs. low field strength), but i am not sure in view of the resulting pictures. It would be soften the edges we look since the rescaling.You are the expert here, if you think i isn't helpful then forget it, no problem with that.And yes it's much better with the new color map!!Well it is just my opinion of course. Let's clarify it with an example: a logarithmic scale is eminently suited to rank earthquakes because each level changes by an order of magnitude. The difference between an earthquake with a level of 9 from a level of 8 is much greater than the difference between an earthquake between a level of 5 and a level of 4.Ditto for sound.Both for sound and earthquakes it makes sense to have a scale that has more levels at low magnitude and less levels at high magnitude.Now, for the electromagnetic fields, we do not have a scale of electromagnetism where we want to minimize the number of levels at high magnitude and maximize the number of levels at low magnitude.A linear scale for the mode shapes in EM Drive cavities is fine because we don't have singularities.A logarithmic scale would make sense for this kind of shape: see the attachment for attenuation where the attenuation goes to Infinity at each end, the plot is clipped at the ends because a linear scale cannot show the singularities at each end.
Ok since the photons inside the cavity are traveling in a medium at a group velocity <c, we can technically define a frame where the photon is at rest relative to the cavity walls. I can't justify a reason to not treat them as massive particles in calculations. This is a special case since we're not dealing with photons in vacuum. Does this sound controversial to anyone? That means switching to relativistic momentum. http://hyperphysics.phy-astr.gsu.edu/hbase/relativ/relmom.htmlThis ref was shared by someone else recently and I think it is significant. http://arxiv.org/abs/0708.3519
Quote from: TheTraveller on 08/11/2015 02:14 pmQuote from: X_RaY on 08/11/2015 02:11 pmMy limited experience with the comsol EM module is it works fine! Without calculations it is difficult(not possible) to say a specific peak in the S-parameter plot is the target resonance.Sure understand that. But if you do a scan on a cavity and the predicted resonance is not there, then what?As far as I know, there were no scans to back up all the mode and freq calculations that EW did.I have a simple VNA I plan to use to find resonance frequencies and it's simply a verification to the calculations....Even NASA should have used VNAs in air and vacuum just to check and I'm not sure they did. ...
Quote from: X_RaY on 08/11/2015 02:11 pmMy limited experience with the comsol EM module is it works fine! Without calculations it is difficult(not possible) to say a specific peak in the S-parameter plot is the target resonance.Sure understand that. But if you do a scan on a cavity and the predicted resonance is not there, then what?As far as I know, there were no scans to back up all the mode and freq calculations that EW did.
My limited experience with the comsol EM module is it works fine! Without calculations it is difficult(not possible) to say a specific peak in the S-parameter plot is the target resonance.
Quote from: Rodal on 08/11/2015 01:28 pmQuote from: deltaMass on 08/11/2015 01:25 pmI'm still confused. Are we looking at a single impulsive event, or a steady-state force?The unraveling of the EM Drive "force measurement" this is what is great about replications. The South African experiment does not show a constant steady-state force.His fulcrum is undamped and will oscillate for some time before settling at the final value. You know that so why the comment?
Quote from: deltaMass on 08/11/2015 01:25 pmI'm still confused. Are we looking at a single impulsive event, or a steady-state force?The unraveling of the EM Drive "force measurement" this is what is great about replications. The South African experiment does not show a constant steady-state force.
I'm still confused. Are we looking at a single impulsive event, or a steady-state force?
Quote from: X_RaY on 08/11/2015 07:11 pmQuote from: deltaMass on 08/11/2015 07:04 pmAbout PaulTheSwag's experiment:1. What differentiates the thrust profile from one where only an initial impulse was produced?2. What is a "double knife-edge fulcrum"? It makes no sense to me.3. Do we know the power value?2. Did you saw the pictures? http://imgur.com/a/iO7erOK. I now understand the double knife edge (actually triple).
Quote from: deltaMass on 08/11/2015 07:04 pmAbout PaulTheSwag's experiment:1. What differentiates the thrust profile from one where only an initial impulse was produced?2. What is a "double knife-edge fulcrum"? It makes no sense to me.3. Do we know the power value?2. Did you saw the pictures? http://imgur.com/a/iO7er
About PaulTheSwag's experiment:1. What differentiates the thrust profile from one where only an initial impulse was produced?2. What is a "double knife-edge fulcrum"? It makes no sense to me.3. Do we know the power value?
Quote from: deltaMass on 08/11/2015 07:15 pmQuote from: X_RaY on 08/11/2015 07:11 pmQuote from: deltaMass on 08/11/2015 07:04 pmAbout PaulTheSwag's experiment:1. What differentiates the thrust profile from one where only an initial impulse was produced?2. What is a "double knife-edge fulcrum"? It makes no sense to me.3. Do we know the power value?2. Did you saw the pictures? http://imgur.com/a/iO7erOK. I now understand the double knife edge (actually triple).Same as mine, 3 blades, 2 balance points.
How about my other two questions - the power? and why not just an impulse?
Quote from: rfmwguy on 08/11/2015 10:57 pmQuote from: deltaMass on 08/11/2015 07:15 pmQuote from: X_RaY on 08/11/2015 07:11 pmQuote from: deltaMass on 08/11/2015 07:04 pmAbout PaulTheSwag's experiment:1. What differentiates the thrust profile from one where only an initial impulse was produced?2. What is a "double knife-edge fulcrum"? It makes no sense to me.3. Do we know the power value?2. Did you saw the pictures? http://imgur.com/a/iO7erOK. I now understand the double knife edge (actually triple).Same as mine, 3 blades, 2 balance points.
That looks very promising. No, the -t is what it is, the -x -y and -z are parameters, (one set per png file). But it looks like the shell file will need to undergo major changes. I've attached my shell file (change the extension to .sh). It works for what I have been doing but I am forced by h5topng to copy the .png files into the sub-folders from the -out folder. The new desire to set min/max for each value of t, x, y, z will force us to discard this approach and adopt a naming convention something like I use for the csv files. That shell file is also attached (changed extension) but h5totxt handles the sub-directory correctly so no file moving is needed. As for running it in bash? Not necessary until the h5topng commands are fully formulated and written to a shell file. You can do all of that in Python if that is your language of choice. Then run that shell file in bash.You will likely need to create a set of h5 files to run your tests against. Don't go to to much work until you do that because I'm not sure that the single case of data that I generated and posted is representative of what h5topng outputs when multiple files are generated. It's sure not what the attached shell file logs, but then, the attached is probably not representative of the ultimate design, either.and see the manual, it's short:http://ab-initio.mit.edu/h5utils/h5topng-man.html