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

How to engineFoam?

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 2, 2015, 13:08
Default How to engineFoam?
  #1
Senior Member
 
sheaker's Avatar
 
Oskar
Join Date: Nov 2015
Location: Poland
Posts: 184
Rep Power: 11
sheaker is on a distinguished road
Hello. I would like use engineFoam solver for my own case.

Additional info:
CAELinux 2013 64bit
I uninstall openfoam211 and install openfoam221 because kivaTest and entire engineFoam solver doesn't work due to well known bug.
Salome-meca 6.6

At first I create my own geometry of combustion chamber. Then I mesh it structurally. Centre part is divided cylinder.

http://zapodaj.net/images/54bdd39b9c647.png
http://zapodaj.net/images/2a97c79365298.png
http://zapodaj.net/cda0c3d8f0eef.png.html

Dimensions of geometry:
Diameter = 38mm
Heigh = c.a. 55mm

I create groups of faces for liner, piston and cylinderHead and export mesh to unv. (Also I create group of volumes containing all 76500hexahedrons. I don't know if this is necessary? Or maybe I shouldn't create it? )

Then I create my own case folder tree.
I run ideasUnvToFoam.
Because my geometry is in millimetre I run
transformPoints -scale '(0.001 0.001 0.001)'

I'm not really sure if I run checkMesh and engineCompRatio as next step. Is it important to solver?

Anyway I run them in one of my others attempts. Results:
ideasUnvToFoam: http://wklejto.pl/238890
transformPoints: http://wklejto.pl/238891
checkMesh: http://wklejto.pl/238893
engineCompRatio: http://wklejto.pl/238892

Are those results really ok?


Ok, Now I edit a little bit files from kivaTest (I based my case on kivaTest).
In file engineGeometry I set parameters of conRodLenght, bore, stroke, rpm. I remove clearance because I can't find what it is but it looks like this settings is optional? Anyway I would like to know what it is...
In file combustionProperties I set location ignition inside my geometry.
In file controlDict I set deltaT to 0.0625.
In file boundaries I set type as wall instead of patch.

I run engineFoam.
It solve my case to -25 CA and then temperature blows up (randomly for example from -3e27 to 3e54). (core dumped)

So I decide to edit my case again and start from -25 CA:
In file controlDict I set deltaT to 0.001 and startTime -25
In file fvSolution I set nCorrectors to 6 and nonOrthogonalCorrectors to 3

I run engneFoam.
It solve my case to -20 CA and then termperature and pressure blows up. Here is end of logfile:

http://wklejto.pl/238894

At the end I run checkMesh for -20 geometry:
http://wklejto.pl/238895


I wonder if
Max aspect ratio = 109.998

is really ok?

I hope that somebody could help me a little bit with this. I would like to became openFoam expert some day.

Greetings and thanks for reading!

sheaker
sheaker is offline   Reply With Quote

Old   December 4, 2015, 11:35
Default
  #2
Senior Member
 
sheaker's Avatar
 
Oskar
Join Date: Nov 2015
Location: Poland
Posts: 184
Rep Power: 11
sheaker is on a distinguished road
Hello again.
I have learned how to create property mesh and run simulation.
Unfortunately there is something wrong with chemistry properties or something like that but it cause in big ignition delay.
EGINE:
V=500cm3
CR=11.5
ConrodLength=150mm
bore=86mm
stroke=86mm
2000 RPM
spark ignition = -17C.A.
isooctane
simulation starts from -75C.A with 1bar, 373.15K inlet temperature.


Just look at plots of pressure:
http://zapodaj.net/images/bc650ada0d3dc.png
and temperature:
http://zapodaj.net/images/ff5efea252c7f.png

What could I do wrong or what can I do to fix it?
sheaker is offline   Reply With Quote

Old   March 13, 2024, 23:35
Default
  #3
Member
 
Guy
Join Date: Jun 2019
Posts: 44
Rep Power: 7
linuxguy123 is on a distinguished road
Did you ever get this working ?
linuxguy123 is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Change turbulence model on engineFoam Chapelle OpenFOAM Running, Solving & CFD 4 January 26, 2018 12:14
Weller combustion model - engineFoam solver. ghindi OpenFOAM Running, Solving & CFD 1 May 6, 2016 06:56
[Other] engineFoam new mesh problem ayhan515 OpenFOAM Meshing & Mesh Conversion 5 August 10, 2015 09:45
Parallel run with engineFoam francesco OpenFOAM Running, Solving & CFD 4 October 5, 2014 16:49
Need some help getting the engineFoam demo to work MrDomino OpenFOAM 4 July 22, 2011 14:50


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