CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Running, Solving & CFD

Temp. difference in cold flow compression/expansion SprayEngineFoam with layered A/R

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

LinkBack Thread Tools Display Modes
Old   April 29, 2014, 15:26
Default Temp. difference in compression/expansion SprayEngineFoam with layered A/R
New Member
Join Date: Apr 2014
Location: Zurich, Switzerland
Posts: 5
Rep Power: 3
lucasal is on a distinguished road
Hello all,

I am currently running a simulation with sprayEngineFoam by using a simple box with layered addition removal as described by Marco in the post "engineMesh with layered addition removal".

First, I would like to mention that there is a bug in the pEqn.H used by sprayEngineFoam. There is a mismatch of unity of measures when operating surfaceScalarField phiHbyA, so line 55 of pEqn.H should be modified as

(fvc::interpolate(rho*HbyA) & mesh.Sf())

At the moment, I am simulating only compression/expansion, starting from -180°CA (BDC) to +180°CA (next BDC).
What I noticed is that temperature and pressure are not specular respect to TDC, e.g. at -50°CA during compression temperature(640K) and pressure are substantially higher than at +50°CA during expansion (T=285K!!).
From theory they should be the same, since neither combustion nor fuel injection occur.

I attach the thermophysicalProperties and fvSolution files.

Has anybody noticed these P and T behaviours with layered A/R and engineMesh motion?
I was wondering if there could be an issue in the meshPhi flux that is not correctly computed expecially when new cells are added during expansion.

Can anybody help me? Thanks a lot!

Attached Files
File Type: txt thermophysicalProperties.txt (1.4 KB, 3 views)
File Type: txt fvSolution.txt (2.5 KB, 2 views)

Last edited by lucasal; May 4, 2014 at 09:24.
lucasal is offline   Reply With Quote


layereda/r, sprayenginefoam, temperature difference

Thread Tools
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Inviscid Drag at subsonic, subcritical Mach # Axel Rohde Main CFD Forum 1 November 19, 2001 13:19
fluid flow fundas ram Main CFD Forum 5 June 17, 2000 21:31
Flow visualization vs. Calculated flow patterns Francisco Saldarriaga Main CFD Forum 1 August 2, 1999 23:18
Question on 3D potential flow Adrin Gharakhani Main CFD Forum 13 June 21, 1999 05:18
computation about flow around a yawed cone Tylor Xie Main CFD Forum 0 June 9, 1999 07:33

All times are GMT -4. The time now is 03:48.