필터 지우기
필터 지우기

Gradient with not rectangular domain

조회 수: 1 (최근 30일)
ENRICO SILVESTRI
ENRICO SILVESTRI 2023년 1월 20일
답변: Muskan 2023년 3월 21일
Hey guys,
I've used the finite elments method to solve a boundary value problem, specifically the transverse potential of a coaxial cable . I've used pdetool to get the mesh and than I solved the problem by myself. Now I want to plot the gradient of the solution and the problem is that the domain is not rectangular so I can't put the vector solution into a matrix form...what should i do ?
  댓글 수: 1
Jiri Hajek
Jiri Hajek 2023년 1월 20일
Since you have pde toolbox, you have access to native MATLAB plotting, which uses the same mesh used for solution: https://www.mathworks.com/help/pde/ug/pdeplot.html

댓글을 달려면 로그인하십시오.

답변 (1개)

Muskan
Muskan 2023년 3월 21일
Hi Enricho,
As per my understanding you can use the “pdeplot(mesh)” function to plot the gradient since you already have got a mesh from the pde toolbox.
Create a PDE model. Include the geometry of the built-in function lshapeg. Mesh the geometry and plot the mesh.
You can refer to the following documentation:
I hope the above solution helps to resolve your query.
Thanks,

카테고리

Help CenterFile Exchange에서 Geometry and Mesh에 대해 자세히 알아보기

제품


릴리스

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by