How do I damp a membrane subject to a time-dependent force with PDE Toolbox
Afficher commentaires plus anciens
I have a membrane wave equation simulation using PDE toolbox functions with time-independent but spatially constant or varying m and c. I can excite it with a a time dependent edge boundary or with a time and space dependent f. WIthout f, I can Rayleigh damp an initial state using the M and K matrix for in the documentation (I cannot set d= constant, consarnit, nor is it at all clear how to make the damping expressed in terms of node space dependent.) Anyway, when I during on damping with a nonvanishing f I receive the following error: after the followign code. Any advice/help resolving this would be appreciated as I can't find in the documentation any example or advice.
if damping==1
fem = assembleFEMatrices(model);
alpha_damp = 1/tau;
beta_damp = 0.01;
dampmat = alpha_damp*fem.M + beta_damp*fem.K;
CA=specifyCoefficients(model,"m",m,"d",dampmat,"c",c,"a",a,"f",f);
end
For a time-dependent model, the last argument must be a structure array with the time data as its 'time' field.
FEMatricesOut = assembleFEMatricesInternal(pdem,BCEnforcementOption,matrix,state);
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur General PDEs dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!