Facing Error in "A Simple Finite Volume Solver for Matlab"
Show older comments
@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 Comments
Walter Roberson
on 4 Dec 2019
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
on 4 Dec 2019
Answers (1)
Arpit Bhatia
on 24 Dec 2020
0 votes
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
1 Comment
Walter Roberson
on 24 Dec 2020
Or use the Add-On Explorer to install it.
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!