CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[blockMesh] Matlab-script for BlockMesh for beginners

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 9, 2014, 14:39
Default Matlab-script for BlockMesh for beginners
  #1
New Member
 
Amin
Join Date: Feb 2014
Posts: 3
Rep Power: 12
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, 02:00
Default
  #2
Senior Member
 
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 21
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


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Split connectors at their intersection FOUAD12 Pointwise & Gridgen 3 October 8, 2018 10:42
Very small Matlab job: post-processing OpenFOAM (.CSV) results RbBb CFD Freelancers 1 July 11, 2016 09:00
Use a Matlab script at each time step jpina FLUENT 0 November 14, 2015 06:31
[OpenFOAM] matlab call a pvpython script, ecountering error dalianwei ParaView 0 July 11, 2015 12:09
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 11:00.