CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [Other] One dimensional meshes as they pertain to engine simulation (https://www.cfd-online.com/Forums/openfoam-meshing/104437-one-dimensional-meshes-they-pertain-engine-simulation.html)

burdickjp July 9, 2012 15:21

One dimensional meshes as they pertain to engine simulation
 
I'm working my way through Gordon P. Blair's "Design and Simulation of Four-Stroke Engines" as an exercise. Using it and a few more references I am building engine modeling tools, and posting as an open-source project here:
https://sourceforge.net/p/openenginesim/wiki/Home/
I'm mainly working in Python, and have been looking into PyFOAM and/or PyFlu to interface with OpenFOAM.

Chapter 2 of Prof. Blair's work deals with gas flow as single-dimensional cylindrical meshes. I was wondering if anyone could help me with what would be involved in translating this into OpenFOAM, PyFoam, or PyFlu terms.
I'm sure one-dimensional cylindrical meshes are stupidly trivial, the OpenFOAM documentation dives so quickly into the more advanced cases that I can't seem to razor this thing down to simpler methods.
If someone has a copy of the book and is willing to help me through the process of getting OpenFOAM tied in to what I'm trying to accomplish via PyFlu and/or PyFOAM I'd appreciate the instruction.

Thank you!

burdickjp July 18, 2012 13:14

Can anyone point me in the right direction to be able to accomplish this?


All times are GMT -4. The time now is 18:59.