non constant PDE toolbox coefficients with second order derivatives.
Mostrar comentarios más antiguos
I need to specify coefficients in PDE tool box. My coefficients are related to the second derivatives not first derivatives. Can I use state.uyy and state.uxx and state.uxy as second derivatives? You can see the code here. Thank you so much.
function amatrix = acoefminsurf(region,state)
n1 = 16;
nr = numel(region.x);
amatrix = zeros(n1,nr);
normrev=-(sqrt( state.uyy(4,:).^2+state.uxx(4,:).^2-2*state.uxy(4,:).^2 ) );
amatrix(2,:) = normrev;
amatrix(7,:) = normrev;
amatrix(12,:) = normrev;
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Boundary Conditions en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!