View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
MSH (fluent mesh) reader

Be the first to rate this file! 19 Downloads (last 30 days) File Size: 2.75 KB File ID: #44337 Version: 1.0
image thumbnail

MSH (fluent mesh) reader

by

Wouter (view profile)

 

This function loads a fluent mesh (*.msh file) into an matlab struct.

| Watch this File

File Information
Description

mshread loads a Fluent mesh file (*.msh).
 
USAGE: (Loading files)
[ msh_file_contents ] = mshread( file )
[ msh_file_contents ] = mshread( directory ); % asks for file

OPTIONAL - show loading progress
[ msh_file_contents ] = mshread( filelocation , 1);
[ msh_file_contents ] = mshread( '' , 1);
 
msh_file_contents is a struct containing the vertices and the different faces from your mesh file

VISUALISATION EXAMPLE
See help mshread

Suggestion or question, please let me know via email!

Required Products MATLAB
MATLAB release MATLAB 8.1 (R2013a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (1)
16 Feb 2017 Rojan

Rojan (view profile)

Hi

I have a .msh file and I tried to use mshread.m to read my mesh but something goes wrong and it gives me "abort" message. I tried to understand the problem, it seems that in the code line74 you have put an if condition ( if niter>10, error('abort'); end ) which I cannot understand why. I tried to comment this condition and ran the code again but other error came up. Maybe if I could send my .msh file someone could help me with it. Is there any way to send my mesh file?

Thanks

Comment only

Contact us