Facing Error in "A Simple Finite Volume Solver for Matlab"

조회 수: 1 (최근 30일)
Tamour Zubair
Tamour Zubair 2019년 12월 4일
댓글: Walter Roberson 2020년 12월 24일
@All
anyone please help me i am quite new in matlab. In very start, i am facing the following error in 1D meshing. Thanks in advance
Error:
Undefined function or variable 'MeshStructure'.
Error in createMesh1D (line 42)
MS=MeshStructure(1, [Nx,1], CellSize, CellLocation,
FaceLocation, [1], [1]);
  댓글 수: 2
Walter Roberson
Walter Roberson 2019년 12월 4일
MeshStructure is a class defined by https://www.mathworks.com/matlabcentral/fileexchange/46637-a-simple-finite-volume-solver-for-matlab . You have to make sure that the class directory is on your MATLAB path.
Tamour Zubair
Tamour Zubair 2019년 12월 4일
Thanks for your answer. Can you tell me where i can find this class or directory.?

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

답변 (1개)

Arpit Bhatia
Arpit Bhatia 2020년 12월 24일
Hi Tamour,
As Walter pointed out, MeshStructure is a class defined by "FVTool: Finite volume toolbox for Matlab". You can find the installation instructions on the GitHub page: https://github.com/simulkade/FVTool

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by