Skip to content

Commit

Permalink
build based on 2433989
Browse files Browse the repository at this point in the history
  • Loading branch information
Documenter.jl committed Sep 4, 2024
1 parent 44ed94a commit 0f5bd4e
Show file tree
Hide file tree
Showing 14 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion dev/.documenter-siteinfo.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"documenter":{"julia_version":"1.10.5","generation_timestamp":"2024-09-04T14:12:20","documenter_version":"1.7.0"}}
{"documenter":{"julia_version":"1.10.5","generation_timestamp":"2024-09-04T14:56:08","documenter_version":"1.7.0"}}
18 changes: 9 additions & 9 deletions dev/api/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dev/bpm_tests1/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -450,4 +450,4 @@
xlims!(ax1, 0.0, 25.0)
ylims!(ax1, -20, 20)
axislegend(ax1, position=:lt)
save(&quot;19890016302-figure82.png&quot;, fig)</code></pre><p><img src="../19890016302-figure82.png" alt/></p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../sqa/">« Software Quality Assurance</a><a class="docs-footer-nextpage" href="../bpm_tests2/">BPM Airfoil Self-Noise Tests, Cont. »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="catppuccin-latte">catppuccin-latte</option><option value="catppuccin-frappe">catppuccin-frappe</option><option value="catppuccin-macchiato">catppuccin-macchiato</option><option value="catppuccin-mocha">catppuccin-mocha</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.7.0 on <span class="colophon-date" title="Wednesday 4 September 2024 14:12">Wednesday 4 September 2024</span>. Using Julia version 1.10.5.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
save(&quot;19890016302-figure82.png&quot;, fig)</code></pre><p><img src="../19890016302-figure82.png" alt/></p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../sqa/">« Software Quality Assurance</a><a class="docs-footer-nextpage" href="../bpm_tests2/">BPM Airfoil Self-Noise Tests, Cont. »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="catppuccin-latte">catppuccin-latte</option><option value="catppuccin-frappe">catppuccin-frappe</option><option value="catppuccin-macchiato">catppuccin-macchiato</option><option value="catppuccin-mocha">catppuccin-mocha</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.7.0 on <span class="colophon-date" title="Wednesday 4 September 2024 14:56">Wednesday 4 September 2024</span>. Using Julia version 1.10.5.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
2 changes: 1 addition & 1 deletion dev/bpm_tests2/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -414,4 +414,4 @@
xlims!(ax1, 0.1, 10.0)
ylims!(ax1, -30, 10)
axislegend(ax1, position=:rt)
save(&quot;19890016302-figure97b.png&quot;, fig)</code></pre><p><img src="../19890016302-figure97b.png" alt/></p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../bpm_tests1/">« BPM Airfoil Self-Noise Tests</a><a class="docs-footer-nextpage" href="../bpm_tests3/">BPM Airfoil Self-Noise Tests, Cont. »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="catppuccin-latte">catppuccin-latte</option><option value="catppuccin-frappe">catppuccin-frappe</option><option value="catppuccin-macchiato">catppuccin-macchiato</option><option value="catppuccin-mocha">catppuccin-mocha</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.7.0 on <span class="colophon-date" title="Wednesday 4 September 2024 14:12">Wednesday 4 September 2024</span>. Using Julia version 1.10.5.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
save(&quot;19890016302-figure97b.png&quot;, fig)</code></pre><p><img src="../19890016302-figure97b.png" alt/></p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../bpm_tests1/">« BPM Airfoil Self-Noise Tests</a><a class="docs-footer-nextpage" href="../bpm_tests3/">BPM Airfoil Self-Noise Tests, Cont. »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="catppuccin-latte">catppuccin-latte</option><option value="catppuccin-frappe">catppuccin-frappe</option><option value="catppuccin-macchiato">catppuccin-macchiato</option><option value="catppuccin-mocha">catppuccin-mocha</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.7.0 on <span class="colophon-date" title="Wednesday 4 September 2024 14:56">Wednesday 4 September 2024</span>. Using Julia version 1.10.5.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
2 changes: 1 addition & 1 deletion dev/bpm_tests3/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1720,4 +1720,4 @@
xlims!(ax1, 0.2, 20.0)
ylims!(ax1, 30, 70)
axislegend(ax1, position=:rt)
save(&quot;19890016302-figure99-d.png&quot;, fig)</code></pre><p><img src="../19890016302-figure99-d.png" alt/></p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../bpm_tests2/">« BPM Airfoil Self-Noise Tests, Cont.</a><a class="docs-footer-nextpage" href="../itr_tests1/">Ideally Twisted Rotor Tests »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="catppuccin-latte">catppuccin-latte</option><option value="catppuccin-frappe">catppuccin-frappe</option><option value="catppuccin-macchiato">catppuccin-macchiato</option><option value="catppuccin-mocha">catppuccin-mocha</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.7.0 on <span class="colophon-date" title="Wednesday 4 September 2024 14:12">Wednesday 4 September 2024</span>. Using Julia version 1.10.5.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
save(&quot;19890016302-figure99-d.png&quot;, fig)</code></pre><p><img src="../19890016302-figure99-d.png" alt/></p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../bpm_tests2/">« BPM Airfoil Self-Noise Tests, Cont.</a><a class="docs-footer-nextpage" href="../itr_tests1/">Ideally Twisted Rotor Tests »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="catppuccin-latte">catppuccin-latte</option><option value="catppuccin-frappe">catppuccin-frappe</option><option value="catppuccin-macchiato">catppuccin-macchiato</option><option value="catppuccin-mocha">catppuccin-mocha</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.7.0 on <span class="colophon-date" title="Wednesday 4 September 2024 14:56">Wednesday 4 September 2024</span>. Using Julia version 1.10.5.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
4 changes: 2 additions & 2 deletions dev/ccblade_example/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
lines!(ax1_1, radii./Rtip, getproperty.(outs, :Np))
lines!(ax1_2, radii./Rtip, getproperty.(outs, :Tp))
hidexdecorations!(ax1_1, grid=false)
save(&quot;ccblade_example-ccblade_loads.png&quot;, fig1)</code></pre><p><img src="../ccblade_example-ccblade_loads.png" alt/></p><p>Now we can use the CCBlade.jl <code>structs</code> to create AcousticAnalogies.jl source elements. The key function is <a href="#AcousticAnalogies.f1a_source_elements_ccblade"><code>f1a_source_elements_ccblade</code></a>:</p><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" id="AcousticAnalogies.f1a_source_elements_ccblade" href="#AcousticAnalogies.f1a_source_elements_ccblade"><code>AcousticAnalogies.f1a_source_elements_ccblade</code></a><span class="docstring-category">Function</span><span class="is-flex-grow-1 docstring-article-toggle-button" title="Collapse docstring"></span></header><section><div><pre><code class="language-julia hljs">f1a_source_elements_ccblade(rotor::CCBlade.Rotor, sections::Vector{CCBlade.Section}, ops::Vector{CCBlade.OperatingPoint}, outputs::Vector{CCBlade.Outputs}, area_per_chord2::Vector{AbstractFloat}, period, num_src_times, positive_x_rotation)</code></pre><p>Construct and return an array of CompactF1ASourceElement objects from CCBlade structs.</p><p><strong>Arguments</strong></p><ul><li><code>rotor</code>: CCBlade rotor object.</li><li><code>sections</code>: <code>Vector</code> of CCBlade section object.</li><li><code>ops</code>: <code>Vector</code> of CCBlade operating point.</li><li><code>outputs</code>::<code>Vector</code> of CCBlade output objects.</li><li><code>area_per_chord2</code>: cross-sectional area divided by the chord squared of the element at each CCBlade.section. Should be a Vector{AbstractFloat}, same length as <code>sections</code>, <code>ops</code>, <code>outputs</code>.</li><li><code>period</code>: length of the source time over which the returned source elements will evaluated.</li><li><code>num_src_times</code>: number of source times.</li><li><code>positive_x_rotation</code>: rotate blade around the positive-x axis if <code>true</code>, negative-x axis otherwise.</li></ul></div><a class="docs-sourcelink" target="_blank" href="https://github.com/OpenMDAO/AcousticAnalogies.jl/blob/3b2206b4b1b05b178474aa528ddb152545fcd42e/src/ccblade_helpers.jl#L170-L184">source</a></section></article><p>So let&#39;s try that:</p><pre><code class="language-julia hljs">using AcousticAnalogies: f1a_source_elements_ccblade, ConstVelocityAcousticObserver, noise, combine, pressure_monopole, pressure_dipole
save(&quot;ccblade_example-ccblade_loads.png&quot;, fig1)</code></pre><p><img src="../ccblade_example-ccblade_loads.png" alt/></p><p>Now we can use the CCBlade.jl <code>structs</code> to create AcousticAnalogies.jl source elements. The key function is <a href="#AcousticAnalogies.f1a_source_elements_ccblade"><code>f1a_source_elements_ccblade</code></a>:</p><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" id="AcousticAnalogies.f1a_source_elements_ccblade" href="#AcousticAnalogies.f1a_source_elements_ccblade"><code>AcousticAnalogies.f1a_source_elements_ccblade</code></a><span class="docstring-category">Function</span><span class="is-flex-grow-1 docstring-article-toggle-button" title="Collapse docstring"></span></header><section><div><pre><code class="language-julia hljs">f1a_source_elements_ccblade(rotor::CCBlade.Rotor, sections::Vector{CCBlade.Section}, ops::Vector{CCBlade.OperatingPoint}, outputs::Vector{CCBlade.Outputs}, area_per_chord2::Vector{AbstractFloat}, period, num_src_times, positive_x_rotation)</code></pre><p>Construct and return an array of CompactF1ASourceElement objects from CCBlade structs.</p><p><strong>Arguments</strong></p><ul><li><code>rotor</code>: CCBlade rotor object.</li><li><code>sections</code>: <code>Vector</code> of CCBlade section object.</li><li><code>ops</code>: <code>Vector</code> of CCBlade operating point.</li><li><code>outputs</code>::<code>Vector</code> of CCBlade output objects.</li><li><code>area_per_chord2</code>: cross-sectional area divided by the chord squared of the element at each CCBlade.section. Should be a Vector{AbstractFloat}, same length as <code>sections</code>, <code>ops</code>, <code>outputs</code>.</li><li><code>period</code>: length of the source time over which the returned source elements will evaluated.</li><li><code>num_src_times</code>: number of source times.</li><li><code>positive_x_rotation</code>: rotate blade around the positive-x axis if <code>true</code>, negative-x axis otherwise.</li></ul></div><a class="docs-sourcelink" target="_blank" href="https://github.com/OpenMDAO/AcousticAnalogies.jl/blob/24339898e2e52be6b867334fa0c15a1de1ce0c0b/src/ccblade_helpers.jl#L170-L184">source</a></section></article><p>So let&#39;s try that:</p><pre><code class="language-julia hljs">using AcousticAnalogies: f1a_source_elements_ccblade, ConstVelocityAcousticObserver, noise, combine, pressure_monopole, pressure_dipole
bpp = 2*pi/omega/num_blades # blade passing period
positive_x_rotation = true
ses = f1a_source_elements_ccblade(rotor, sections, ops, outs, [area_over_chord_squared], 4*bpp, 64, positive_x_rotation)</code></pre><p>Now we can use the source elements to perform an acoustic prediction, after we decide on an acoustic observer location.</p><pre><code class="language-julia hljs">using AcousticMetrics
Expand All @@ -67,4 +67,4 @@
lines!(ax2_3, t_nondim, AcousticMetrics.pressure(apth_total))
hidexdecorations!(ax2_1, grid=false)
hidexdecorations!(ax2_2, grid=false)
save(&quot;ccblade_example-apth.png&quot;, fig2)</code></pre><p><img src="../ccblade_example-apth.png" alt/></p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../guided_example/">« Guided Example</a><a class="docs-footer-nextpage" href="../writevtk_support/">WriteVTK.jl Support »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="catppuccin-latte">catppuccin-latte</option><option value="catppuccin-frappe">catppuccin-frappe</option><option value="catppuccin-macchiato">catppuccin-macchiato</option><option value="catppuccin-mocha">catppuccin-mocha</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.7.0 on <span class="colophon-date" title="Wednesday 4 September 2024 14:12">Wednesday 4 September 2024</span>. Using Julia version 1.10.5.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
save(&quot;ccblade_example-apth.png&quot;, fig2)</code></pre><p><img src="../ccblade_example-apth.png" alt/></p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../guided_example/">« Guided Example</a><a class="docs-footer-nextpage" href="../writevtk_support/">WriteVTK.jl Support »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="catppuccin-latte">catppuccin-latte</option><option value="catppuccin-frappe">catppuccin-frappe</option><option value="catppuccin-macchiato">catppuccin-macchiato</option><option value="catppuccin-mocha">catppuccin-mocha</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.7.0 on <span class="colophon-date" title="Wednesday 4 September 2024 14:56">Wednesday 4 September 2024</span>. Using Julia version 1.10.5.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
Binary file modified dev/combine_test.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 0f5bd4e

Please sign in to comment.