{ "info": { "author": "Vishakh Kumar", "author_email": "grokkingStuff@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4" ], "description": "#+TITLE: pyblockmesh\n#+AUTHOR: Vishakh Pradeep Kumar\n#+EMAIL: grokkingStuff@gmail.com\n\nPython Library \n\n#+BEGIN_SRC sh :exports results\n.\n\u251c\u2500\u2500 CHANGELOG.md\n\u251c\u2500\u2500 CONTRIBUTING.md\n\u251c\u2500\u2500 index.org\n\u251c\u2500\u2500 LICENSE\n\u251c\u2500\u2500 pyblockmesh\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 edge.py\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 face.py\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 hexahedron.py\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 __init__.py\n\u2502\u00a0\u00a0 \u2514\u2500\u2500 vertex.py\n\u251c\u2500\u2500 pytest.ini\n\u251c\u2500\u2500 README.md\n\u251c\u2500\u2500 README.org\n\u251c\u2500\u2500 requirements.txt\n\u251c\u2500\u2500 script\n\u2502\u00a0\u00a0 \u2514\u2500\u2500 test\n\u251c\u2500\u2500 setup.py\n\u2514\u2500\u2500 tests\n \u251c\u2500\u2500 helpers\n \u2502\u00a0\u00a0 \u251c\u2500\u2500 __init__.py\n \u2502\u00a0\u00a0 \u2514\u2500\u2500 my_helper.py\n \u251c\u2500\u2500 __init__.py\n \u251c\u2500\u2500 tests_helper.py\n \u2514\u2500\u2500 unit\n \u251c\u2500\u2500 __init__.py\n \u251c\u2500\u2500 test_example.py\n \u2514\u2500\u2500 test_version.py\n\n5 directories, 22 files\n#+END_SRC\n\n* Example\n\n\n#+BEGIN_SRC python\nimport pyblockmesh as pbm\n\n\nv0 = pbm.Vertex(-1,-1,-1)\nv1 = pbm.Vertex( 1,-1,-1)\nv2 = pbm.Vertex( 1, 1,-1)\nv3 = pbm.Vertex(-1, 1,-1)\nv4 = pbm.Vertex(-1,-1, 1)\nv5 = pbm.Vertex( 1,-1, 1)\nv6 = pbm.Vertex( 1, 1, 1)\nv7 = pbm.Vertex(-1, 1, 1)\n\nh1 = pbm.Hexahedron([v0,v1,v2,v3,v4,v5,v6,v7],numberOfCells=[3,3,3])\nh1.add_edge(v0,v1,'line')\nh1.add_face([v0,v1,v2,v3],name='inlet',patchType='wall')\n\nstring = pbm.buildBlockMesh()\n\nprint(string)\nblockMeshDict = open(\"blockmeshdict.txt\", \"w\")\nblockMeshDict.write(string) \nblockMeshDict.close()\n#+END_SRC\n\n#+RESULTS:\n: None\n\n#+BEGIN_EXAMPLE\nvertices\n(\n (-1 -1 -1)\n (1 -1 -1)\n (1 1 -1)\n (-1 1 -1)\n (-1 -1 1)\n (1 -1 1)\n (1 1 1)\n (-1 1 1)\n)\n\nblocks\n(\n hex 0 1 2 3 4 5 6 7 ( 3 3 3 )\n)\n\nedges\n(\n line 0 1 \n)\n\nboundary\n(\ninlet\n{\n type wall;\n faces\n (\n ( 0 3 2 1 ) \n );\n}\n)\n#+END_EXAMPLE\n\n\n\n* Requirements\n\nPackage requirements are handled using pip. To install them do\n\n#+BEGIN_SRC sh\npip install -r requirements.txt\n#+END_SRC", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/grokkingStuff/pyblockmesh", "keywords": "blockmesh blockmeshdict openfoam pyfoam", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "pyblockMesh", "package_url": "https://pypi.org/project/pyblockMesh/", "platform": "", "project_url": "https://pypi.org/project/pyblockMesh/", "project_urls": { "Homepage": "https://github.com/grokkingStuff/pyblockmesh" }, "release_url": "https://pypi.org/project/pyblockMesh/0.0.3/", "requires_dist": null, "requires_python": ">=3", "summary": "Python wrapper around blockMeshDict creation", "version": "0.0.3" }, "last_serial": 4273369, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "845b9d429f14bc2a1498f0a7c23d31fc", "sha256": "0764e68e69e254fa87acdcad5f7a1fc481dcd7daf5f0ee0616887d350dff1850" }, "downloads": -1, "filename": "pyblockMesh-0.0.1.tar.gz", "has_sig": false, "md5_digest": "845b9d429f14bc2a1498f0a7c23d31fc", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 5112, "upload_time": "2018-09-13T20:05:43", "url": "https://files.pythonhosted.org/packages/6f/88/3ea1d33d82671e946bef84e603ab3863dbcd736c702ef00610e4a4b0005b/pyblockMesh-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "bf81cdaa1fc7bfc97cab6c18f515fa9a", "sha256": "8054cab93efb2658e74476ed9dad4f0756cedd84ebfaed460be12891b3bf0441" }, "downloads": -1, "filename": "pyblockMesh-0.0.2.tar.gz", "has_sig": false, "md5_digest": "bf81cdaa1fc7bfc97cab6c18f515fa9a", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 5275, "upload_time": "2018-09-14T13:52:10", "url": "https://files.pythonhosted.org/packages/6d/2d/a7712700c006f1d1d58736acad894a3881104a98862726f2941a17fbd3b7/pyblockMesh-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "e282f1f54d04d0be091668b3928e34f3", "sha256": "a1f03cf1b5c662e88c5c1cb9c5b61b030ca70018b8b3b6b9a6f0b26115e0f76c" }, "downloads": -1, "filename": "pyblockMesh-0.0.3.tar.gz", "has_sig": false, "md5_digest": "e282f1f54d04d0be091668b3928e34f3", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 5449, "upload_time": "2018-09-14T18:56:04", "url": "https://files.pythonhosted.org/packages/bc/12/affac98a41e4df4400932028ee50e7b522d9080e1040babc7d65a5d972f7/pyblockMesh-0.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e282f1f54d04d0be091668b3928e34f3", "sha256": "a1f03cf1b5c662e88c5c1cb9c5b61b030ca70018b8b3b6b9a6f0b26115e0f76c" }, "downloads": -1, "filename": "pyblockMesh-0.0.3.tar.gz", "has_sig": false, "md5_digest": "e282f1f54d04d0be091668b3928e34f3", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 5449, "upload_time": "2018-09-14T18:56:04", "url": "https://files.pythonhosted.org/packages/bc/12/affac98a41e4df4400932028ee50e7b522d9080e1040babc7d65a5d972f7/pyblockMesh-0.0.3.tar.gz" } ] }