Calculating Gaussian Wave packet Wave speed and Wave length
Show older comments
Hey All,
I am trying to simulate fluid flow in a channel where the inlet volumetric flux is prescribed as a gaussian functin with a specfic frequency (f) and wavelength (λ) but am confused on how to do this exactly. I am using the equation for a gaussian wrapped onto a unit circle (below), but I dont know how to calcualte λ or f from the equation. any help is greatly appreciated!
Q_Inlet = @(theta) amp*exp(-(theta-mu).^2/(2*sd^2)) + q0; % [cm^3/s] Gaussian In-Flux BC condition
where
mu => mean
sd => standard deviation
q0 => vertical offset
amp => max amplitude
theta => the period of the wave (-pi to pi)
Answers (0)
Categories
Find more on General Applications in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!