|
[Sponsors] |
October 19, 2018, 07:53 |
Valve movement using engineFoam
|
#1 |
Member
Ashish Magar
Join Date: Jul 2016
Location: Mumbai, India
Posts: 81
Rep Power: 10 |
Hello all.
I am trying to simulate an IC engine with valve movements. I got started by looking at kivaTest tutorial, however, it does not has any info about what/how to specify valve and their movement. I found some tutorials on the forum, but they were for a much older version of OF. 1. What things are actually needed for valve attachment/detachment simulations? 2. what are maxBottomLayer, minBottomLayer same for topLayer? I guess this is much needed because there is not a single thread about the implementation of valve movements (at least on the forum, I have spent days searching for help here). If there is such please help with a link. Thanks Last edited by ashishmagar600; October 20, 2018 at 04:31. |
|
October 20, 2018, 05:05 |
|
#2 |
Member
Ashish Magar
Join Date: Jul 2016
Location: Mumbai, India
Posts: 81
Rep Power: 10 |
Okay. So I could make helping me easier.
I edited the engineGeometry file as: Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 5 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; location "constant"; object engineGeometry; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // engineMesh layered; conRodLength conRodLength [0 1 0 0 0 0 0] 0.1443; bore bore [0 1 0 0 0 0 0] 0.084; stroke stroke [0 1 0 0 0 0 0] 0.008423; clearance clearance [0 1 0 0 0 0 0] 0.00115; rpm rpm [0 0 -1 0 0 0 0] 1500; valves ( intakeValve { // Valve coordinate system coordinateSystem { type cartesian; origin (0 0 0); axis (0 -0.242535625036333 0.970142500145332); direction (0 -0.242535625036333 0.970142500145332); } // Patch and zone names bottomPatch invalve1-ch; poppetPatch invalve1-ob; //combi stemPatch stem1; curtainInPortPatch C_in_port; curtainInCylinderPatch C_in_cyl; detachInPortPatch D_in_port; detachInCylinderPatch D_in_cyl; // Vertex on edge of the step. For the converter stemEdge (-0.00975122959887842 -0.00484416245428456 0.00859814038560595); // Valve diameter diameter 0.028; // Minimum valve lift minLift 0.0001; // Layer thickness /* minTopLayer 0.0001; maxTopLayer 0.009; minBottomLayer 0.0005; maxBottomLayer 0.001; */ // Lift Profile liftProfilefile "in_prof"; } ); I don't know if I am missing something. Thanks. |
|
November 1, 2018, 17:52 |
|
#3 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answer: I received the PM you sent me, although I'm not very familiar with how to add/remove layers. But as far as I know:
__________________
|
|
August 21, 2022, 15:45 |
|
#4 |
Senior Member
Join Date: Oct 2015
Location: Germany
Posts: 100
Rep Power: 11 |
Hi everyone,
this thread is a bit old but in fact in names pretty much my current problem, so I decided to hijack it.... I created my own bash environment in which I can pretty effectively simulate moving-engine flows using engineFoam etc (important: OpenCFD's version, www.openfoam.com, i.e. OpenFOAM v2006 through 2206). However, until now, I am limitted to engines with vertical valves while using the fvMotionSolver mesh mover in engineGeometry because this one seems to only support unidirectional deformation, that is bound either completely to x, y or z axis, so canted valves don't seem to be possible to simulate. Or am I wrong?!... My problem is that I definitely want to stick to the most recent cfMesh (as integrated into OpenCFD's OF version) because it is by far the most suitable for my cases. Hence, switching to The OpenFOAM Foundation's version (openfoam.org) which recently adopted a more general engine simulation approach (based on reactingFoam) that actually does allow to simulate canted valves quite easily, is no option either. So here's my question: Does anyone of you have a good idea on how to circumvent the problem of unidirectional deformation in OpenCFD's engine solvers? I figured a) adaptation the fvMotionSolver in a way that it allows for multidirectional deformation or b) incorporation of the dynamicMeshDict. I thought this was possible naturally, but when I try, the engineFoam solver does not seem to care, meaning, dynamicMeshDict has absolutely no effect... Unfortunately, my OpenFOAM programming skills are pretty limited. I tried approach a), but no success so far. Any help is appreciated... so thanks in advance Last edited by NablaDyn; August 22, 2022 at 12:28. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
udf for valve closing a pipe using dynamic mesh | chem engineer | Fluent UDF and Scheme Programming | 2 | May 13, 2017 10:39 |
Gate valve flow simulations... | nikesh | FloEFD, FloWorks & FloTHERM | 5 | January 28, 2014 02:31 |
Set up one valve and no piston on engineFoam | Chapelle | OpenFOAM | 1 | October 8, 2013 19:09 |
Expression for valve movement | Elaya | STAR-CCM+ | 0 | May 27, 2010 01:04 |
Modeling movement of compressor valve | Marco Müller | CFX | 0 | October 15, 2008 03:39 |