How can i extract the coordinates for a specified node for a fem model in matlab?
    조회 수: 4 (최근 30일)
  
       이전 댓글 표시
    
I have generated a mesh in which i extracted a specified node by using findNodes option and i like to extract the that node coordinates and i dont know how.The example code is shared below in which i like to extract the nf2 node coordinates.So, please help me to solve this problem.
 clc
 clf
 model = createpde(1);
importGeometry(model,'BracketTwoHoles.stl');
mesh = generateMesh(model)
[p,e,t] = meshToPet(model.Mesh)
nf2 = findNodes(mesh,'region','Face',1)
댓글 수: 0
답변 (1개)
  KSSV
      
      
 2020년 4월 30일
        If you nave node numbers nd in hand and point of coorsinates p, you can get the points you want using: 
iwant = p(nd,:)
댓글 수: 2
참고 항목
카테고리
				Help Center 및 File Exchange에서 Geometry and Mesh에 대해 자세히 알아보기
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

