MATLAB Answers

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

3 views (last 30 days)
Tamour Zubair
Tamour Zubair on 4 Dec 2019
Commented: Walter Roberson on 24 Dec 2020
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
Undefined function or variable 'MeshStructure'.
Error in createMesh1D (line 42)
MS=MeshStructure(1, [Nx,1], CellSize, CellLocation,
FaceLocation, [1], [1]);
Tamour Zubair
Tamour Zubair on 4 Dec 2019
Thanks for your answer. Can you tell me where i can find this class or directory.?

Sign in to comment.

Answers (1)

Arpit Bhatia
Arpit Bhatia on 24 Dec 2020
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:

Community Treasure Hunt

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

Start Hunting!