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

3D engine simulation & error

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 4, 2013, 11:40
Default
  #41
Member
 
Martin Novák
Join Date: Dec 2012
Location: Prague
Posts: 70
Rep Power: 14
novakm is on a distinguished road
The crash is caused by the big time step. It shoudn't be greater than 0.1 DEG. Therefore you might lower it to 0.05 to be safe. I think that this error is caused by turbulence::correct. When you look at the velocity magnitude, it is seen that the calculation is unstable (too high velocity magnitude).

I am not familiarized with pointMotionUz but it might be similar to MotionU, therefore I recommend to try using the componentMixed like in the Jasak's simpleCase in order to force the piston to move.

Did you tried slip for valveStem?

-M

PS: Try to have at least five layers of mesh between valve poppet and valve seat. This is the area of interest in ICEs.
sasanghomi likes this.
novakm is offline   Reply With Quote

Old   July 4, 2013, 12:35
Default
  #42
Senior Member
 
mturcios777's Avatar
 
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28
mturcios777 will become famous soon enough
Quote:
Originally Posted by sasanghomi View Post
Hi Dear Marco,

I have some questions about using fvmotion solver . Please guide me.
1) you said to me that I should set the pointMotionUz for piston uniform 0 . But by doing this action the piston doesn't move .Any idea ?? I think I should set a time varying boundary condition for piston (an equation between velocity of piston and Time ). I want to know that is it possible to define a time varying boundary condition in pointMotionUz file ??
[...]
I appreciate any help from you.
Thanks and best regards,
Sasan.
Are you using fvMotionSolver from dynamicMeshDict or fvMotionSolverEngineMesh from engineMesh? The first one does not move the piston automatically based on engineGeometry, but the second one does.
mturcios777 is offline   Reply With Quote

Old   July 4, 2013, 12:43
Default
  #43
Senior Member
 
Sasan Ghomi
Join Date: Sep 2012
Location: Denmark
Posts: 292
Rep Power: 15
sasanghomi is on a distinguished road
@martin : thanks for your reply dear martin. I think slip is a good choice for valveStem .

@marco :thanks for your reply dear marco . the dynamicmeshDict and engineGeometry are as below :

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;
    location    "constant";
    object      engineGeometry;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

 engineMesh        fvMotionSolver;
 motionSolver        z ;
conRodLength    conRodLength [0 1 0 0 0 0 0] 132.56459;

bore            bore [0 1 0 0 0 0 0] 100;

stroke          stroke [0 1 0 0 0 0 0] 92;

clearance       clearance [0 1 0 0 0 0 0] 10;

rpm             rpm [0 0 -1 0 0 0 0] 1500;


// ************************************************************************* //
Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  1.5                                   |
|   \\  /    A nd           | Web:      http://www.OpenFOAM.org               |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    object      motionProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

solver velocityLaplacian;

diffusivity  uniform;

// ************************************************************************* //
sasanghomi is offline   Reply With Quote

Old   July 4, 2013, 14:23
Default
  #44
Senior Member
 
Sasan Ghomi
Join Date: Sep 2012
Location: Denmark
Posts: 292
Rep Power: 15
sasanghomi is on a distinguished road
I don't know about boundary condition for piston in pointMotionUz file !!
Please guide me ....
by using uniform 0 the piston doesn't move .

best regards
sasanghomi is offline   Reply With Quote

Old   July 4, 2013, 14:58
Default
  #45
Member
 
Martin Novák
Join Date: Dec 2012
Location: Prague
Posts: 70
Rep Power: 14
novakm is on a distinguished road
This should be in meters.
Quote:
conRodLength conRodLength [0 1 0 0 0 0 0] 132.56459;

bore bore [0 1 0 0 0 0 0] 100;

stroke stroke [0 1 0 0 0 0 0] 92;

clearance clearance [0 1 0 0 0 0 0] 10;

rpm rpm [0 0 -1 0 0 0 0] 1500;
Please check, if it corresponds to the mesh.

Again, I am not familiarized with pointMotionUz but I think, that the boundary condition describes the velocity of the motion of the patch. If you have uniform (constant) 0 then the displacement of piston, which is velocity * time step is also 0, therefore the piston is not moving.

Try to check the mesh and try to set the velocity to 5. With this velocity, the displacement of the piston in 1DEG shall be 0.5 mm.
novakm is offline   Reply With Quote

Old   June 17, 2014, 23:45
Default
  #46
New Member
 
Join Date: Mar 2013
Posts: 24
Rep Power: 13
Slanth is on a distinguished road
I am using foam-extend-3.0 and want to simulate 3D engine. I choose verticalValves in engineTopoChangerMesh for mesh topo change. but there are many cellzones and pointzones such as
valveTopPointsV1
valveBottomPointsV1
movingCellsTopV1
movingCellsBotV1
I don't know how to define. can anyone give me a hand?
Slanth is offline   Reply With Quote

Reply


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
[OpenFOAM] Native ParaView Reader Bugs tj22 ParaView 270 January 4, 2016 12:39
Ansys Fluent 13.0 UDF compilation problem in Window XP (32 bit) Yogini Fluent UDF and Scheme Programming 7 October 3, 2012 08:24
CGNS lib and Fortran compiler manaliac Main CFD Forum 2 November 29, 2010 07:25
[Netgen] Installation of Netgen in SuSE Linux 92 edvardsenpriv OpenFOAM Meshing & Mesh Conversion 23 January 16, 2009 07:12
How to get the max value of the whole field waynezw0618 OpenFOAM Running, Solving & CFD 4 June 17, 2008 06:07


All times are GMT -4. The time now is 01:17.