|
[Sponsors] |
March 4, 2013, 11:20 |
engine geometry file
|
#1 |
Senior Member
Sasan Ghomi
Join Date: Sep 2012
Location: Denmark
Posts: 292
Rep Power: 15 |
Dear Foamers ,
I have a question about engine geometry file for sonicTurbDyMEngineFoam solver , What are these boundaries? curtainInPortPatch ? curtainInCylinderPatch ? detachInCylinderPatch ? detachInPortPatch ? Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM Extend Project: Open Source CFD | | \\ / O peration | Version: 1.6-ext | | \\ / A nd | Web: www.extend-project.de | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object engineGeometry; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // conRodLength conRodLength [0 1 0 0 0 0 0] 0.147; bore bore [0 1 0 0 0 0 0] 0.092; stroke stroke [0 1 0 0 0 0 0] 0.075; clearance clearance [0 1 0 0 0 0 0] 0.015; rpm rpm [0 0 -1 0 0 0 0] 1500; engineTopoChangerMesh simpleEngineTopoFvMesh; // Between -deformAngle and deformAngle the piston motion is done // using deformation and not layering deformAngle 10; valvePosTol 1e-4; layeredMesh yes; checkMesh yes; piston { patch piston; coordinateSystem { type cartesian; origin (0 0 0); axis (0 0 1); direction (0 1 0); } minLayer 0.0005; maxLayer 0.001; } valveSplitPoint (0.003 0 0); // For the converter // Two-valve engine valves are split on x // Four valve engines are split into 4 quadrants in the x-y plane valves ( intakeValve { // Valve coordinate system coordinateSystem { type cylindrical; origin (-0.025 0 0); axis (0 0 1); direction (0 1 0); } // Patch and zone names bottomPatch valve1; poppetPatch valve2; stemPatch valveStem1; curtainInPortPatch valveCurtainPort1; curtainInCylinderPatch valveCurtainCyl1; detachInCylinderPatch valveDetachCyl1; detachInPortPatch valveDetachPort1; detachFaces ( ); // Vertex on edge of the step. For the converter stemEdge (-0.04 0 -0.0075); // Valve diameter diameter 0.03; // Minimum valve lift minLift 0.00025; // Layer thickness minTopLayer 0.0005; maxTopLayer 0.001; minBottomLayer 0.0005; maxBottomLayer 0.001; // Lift Profile liftProfileFile "intakeLiftProfileFile"; } exhaustValve { // Valve coordinate system coordinateSystem { type cylindrical; origin (0.025 0 0); axis (0 0 1); direction (0 1 0); } // Patch and zone names bottomPatch valve3; poppetPatch valve4; stemPatch valveStem2; curtainInPortPatch valveCurtainPort2; curtainInCylinderPatch valveCurtainCyl2; detachInCylinderPatch valveDetachCyl2; detachInPortPatch valveDetachPort2; detachFaces ( ); // Vertex on edge of the step. For the converter stemEdge (0.04 0 -0.0075); // Valve diameter diameter 0.03; // Minimum valve lift minLift 0.00025; // Layer thickness minTopLayer 0.0005; maxTopLayer 0.001; minBottomLayer 0.0005; maxBottomLayer 0.001; // Lift Profile liftProfileFile "exhaustLiftProfileFile"; } ); // ************************************************************************* // Can anyone explain about these boundaries? where are they in my case? How can I creat them? Thanks and best regards , Sasan. |
|
March 4, 2013, 13:29 |
|
#2 |
Senior Member
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28 |
You'll have to use setSet (since I assume you are using 1.6-ext) to select faces and turn them into faceZones. From then you can create the patches with createPatch.
|
|
March 4, 2013, 13:45 |
|
#3 |
Senior Member
Sasan Ghomi
Join Date: Sep 2012
Location: Denmark
Posts: 292
Rep Power: 15 |
Dear Marco ,
Thanks for your reply I am using Gambit for 3D simulation I think that I must split my geometry with a face to creat these boundaries. But my problem is that I dont know where are these boundaries in my 3D geometry...Can you explain these boundaries?where are they exactly? Thanks, Sasan |
|
March 4, 2013, 13:50 |
|
#4 |
Senior Member
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28 |
You should look at the code for the particular type of engine mesh you are using (I think its an engineTopoChangeMesh), in $FOAM_SRC/engine/engineTopoChangeMesh/.
There is also a pdf presentation from PoliTecnico De Milano that explains a lot, since they developed a lot of them. That and lots of other stuff at: http://openfoam-extend.sourceforge.n...tion_and_Spray |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] mesh airfoil NACA0012 | anand_30 | OpenFOAM Meshing & Mesh Conversion | 13 | March 7, 2022 18:22 |
[swak4Foam] groovyBC in openFOAM-2.0 for parabolic velocity bc | ofslcm | OpenFOAM Community Contributions | 25 | March 6, 2017 11:03 |
[swak4Foam] swak4foam building problem | GGerber | OpenFOAM Community Contributions | 54 | April 24, 2015 17:02 |
pisoFoam compiling error with OF 1.7.1 on MAC OSX | Greg Givogue | OpenFOAM Programming & Development | 3 | March 4, 2011 18:18 |
[Gmsh] Compiling gmshFoam with OpenFOAM-1.5 | BlGene | OpenFOAM Meshing & Mesh Conversion | 10 | August 6, 2009 05:26 |