CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Native Meshers: blockMesh

Matlab-script for BlockMesh for beginners

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   February 9, 2014, 15:39
Default Matlab-script for BlockMesh for beginners
  #1
New Member
 
Amin
Join Date: Feb 2014
Posts: 3
Rep Power: 3
OF-User is on a distinguished road
Dear Foamers

I would like to write a matlab-script for creating a blockMesh, in order to automatize the meshing.

My problem is, that i donīt have any scripting-experience, so that I donīt really know how to start writing the script, but i understand, how BlockMesh is working and i can simple codes using matlab.

It will be great, if someone could give some tips, post a code or a link for a tutorial to beginners.


Thanks a lot !
OF-User is offline   Reply With Quote

Old   February 10, 2014, 03:00
Default
  #2
Senior Member
 
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 12
Bernhard is on a distinguished road
I would recommend you to use m4, instead of Matlab to create a dynamic blockMeshDict. In the tutorials folder, search do

$ find -name "*.m4"

to find some examples.
Bernhard is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linking with Matlab?? LostinSpace Phoenics 0 March 25, 2013 06:39
Export/Import data contour plots with Matlab meangreen FLUENT 3 August 21, 2012 01:28
Live connection Matlab VS OF levka OpenFOAM Running, Solving & CFD 0 July 10, 2012 04:15
CentFOAM Python Script Installation: Error socon009 OpenFOAM Installation 2 May 26, 2012 09:36
Running Matlab script from Scheme code dhimans Fluent UDF and Scheme Programming 0 July 28, 2009 15:13


All times are GMT -4. The time now is 17:53.