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

[blockMesh] Created a python package for generating blockMeshDict

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 13, 2018, 16:21
Talking Created a python package for generating blockMeshDict
  #1
New Member
 
Vi Kumar
Join Date: Sep 2017
Posts: 3
Rep Power: 4
grokkingStuff is on a distinguished road
I've always hated writing blockMesh dictionaries manually or with m4 so I made a python package for it!
It's called pyblockmesh and it's up (like 10 minutes ago when this was posted)


Still very much in alpha stage and lots of progress to be made but it has basic functionality.


I'd love feedback, whether it's suggestions or pull requests. Thanks!


Link: https://pypi.org/project/pyblockMesh/
Github Link: https://github.com/grokkingStuff/pyblockmesh
grokkingStuff is offline   Reply With Quote

Old   December 4, 2018, 05:36
Default
  #2
Senior Member
 
Robert Castilla
Join Date: Apr 2009
Location: Spain
Posts: 106
Rep Power: 13
rcastilla is on a distinguished road
Hi, Vi,
It is good that you had this initiative. Actually, I use to use another similar package, which is being in development since 4 years ago. Maybe you can take a look at
https://github.com/takaakiaoki/ofblockmeshdicthelper
Best regards
Robert
rcastilla is offline   Reply With Quote

Old   March 31, 2020, 06:09
Default
  #3
Member
 
Philipp Conen
Join Date: Apr 2019
Location: GER, NRW
Posts: 35
Blog Entries: 2
Rep Power: 3
pconen is on a distinguished road
Dear Foamers,

I just tried out this nice tool, but it does not work for me. There was some trouble in syntax for newer Python versions. So I worked out a version that workes for Python 2.7.10 and Python 3.8. You can try out under:

https://github.com/CFDGuy/blockMeshDictHelper_Py27
https://github.com/CFDGuy/blockMeshDictHelper_Py38

I hope this would help someone.
__________________
Greetings

Philipp Conen

Last edited by pconen; March 31, 2020 at 09:13.
pconen is offline   Reply With Quote

Reply

Tags
blockmesh, python, python module

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to get Python Shell into ParaView 3.8.1? blaise OpenFOAM Installation 3 July 24, 2012 04:58
OpenFoam 1.6-ext - RPM build errors preibie OpenFOAM 12 September 8, 2011 03:12
1.6-ext compilation flowris OpenFOAM 18 March 21, 2011 12:01
OpenFOAM 1.5.x package - CentOS 5.3 x86_64 linnemann OpenFOAM Installation 7 July 30, 2009 03:14
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug unoder OpenFOAM Installation 11 January 30, 2008 20:30


All times are GMT -4. The time now is 23:24.