Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
(5.1 acoustics) Error Division by zero. - Function: /
Posted 27 janv. 2016, 00:50 UTC−5 MEMS & Nanotechnology, MEMS & Piezoelectric Devices, Mesh, Modeling Tools & Definitions, Parameters, Variables, & Functions Version 5.2 1 Reply
Please login with a confirmed email address before reporting spam
I try to use pressure acoustics and thermoacoustics for no mean flow muffler simulation. No matter in 2D or 3D, comsol 5.1 always gives the error:
[in 3D case]
Division by zero.
- Function: /
Failed to evaluate expression.
- Expression: d(((-comp1.acpr.pwr1.keq*i*comp1.p*test(comp1.p)+(comp1.acpr.nx*mean(d(comp1.acpr.p_b,x))+comp1.acpr.ny*mean(d(comp1.acpr.p_b,y))+comp1.acpr.nz*mean(d(comp1.acpr.p_b,z)))*test(comp1.p)+0.5*(comp1.pTx*test(comp1.pTx)+comp1.pTy*test(comp1.pTy)+comp1.pTz*test(comp1.pTz))*i/comp1.acpr.pwr1.keq)*comp1.acpr.delta/comp1.acpr.rho_c)*(dvol),{test@18})
[in 2D case]
Division by zero.
- Function: /
Failed to evaluate expression.
- Expression:
d((2*(-comp1.acpr.pwr1.keq*i*comp1.p*test(comp1.p)+(comp1.acpr.nr*mean(d(comp1.acpr.p_b,r))+comp1.acpr.nz*mean(d(comp1.acpr.p_b,z)))*test(comp1.p)+0.5*(comp1.pTr*test(comp1.pTr)+comp1.pTz*test(comp1.pTz))*i/comp1.acpr.pwr1.keq)*comp1.acpr.delta*pi*r/comp1.acpr.rho_c)*(dvol),{test@15})
- Feature: Stationary Solver 1 (sol1/s1)
Could anyone give some hints on those error information?
Thank you!
Hello Fuxi Zhang
Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.
If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.