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

pimpleFoam Vs pimpleDyMFoam -- Different Results

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 16, 2016, 07:48
Default pimpleFoam Vs pimpleDyMFoam -- Different Results
  #1
New Member
 
Aditya
Join Date: May 2013
Location: Munich Germany
Posts: 29
Rep Power: 13
kingmaker is on a distinguished road
I am trying to simulate a cylinder in flow problem (2D).

Case 1 :

Code:
Flow around a cylinder 
Turbulence Model : LES (all default values)
Wall Function : nutUSpaldingWallFunction (for nuSgs)
solver : pimpleFoam
Case 2 :

Code:
All physics same as Case 1. 
No Displacement on the mesh
solver : pimpleDyMFoam
Code:
OpenFOAM version 2.2.1
I know the Turbulence models LES should not have any effect in 2D case, I setup a generic 3D case.

Now when I plot the forces(Lift and Drag) on the cylinder they are completely different.
Here I am posting the plots. I am totally confused. I am doing this because I want to use the pimpleDyMFoam for FSI simulations (because of mesh motion possibility). So I want to make sure that pimpleDyMFoam, with mesh motion set to 0 on relevant patches, gives same result as pimpleFoam . But apparently this is not the case.

Any hints to as what is happening is really helpful.
Attached Images
File Type: png Fy_plot.png (40.1 KB, 11 views)
File Type: png Fx_plot.png (43.5 KB, 8 views)
kingmaker is offline   Reply With Quote

Old   December 16, 2016, 08:09
Default
  #2
Senior Member
 
floquation's Avatar
 
Kevin van As
Join Date: Sep 2014
Location: TU Delft, The Netherlands
Posts: 252
Rep Power: 21
floquation will become famous soon enough
Is there any particular reason for using v2.2.1?
Much newer versions are available, including many bug fixes. Perhaps that will resolve your issue.

Otherwise, you'll have to open the two solvers and compare them.
For instance, I noted the following difference in OF v4.0 in interFoam vs interDyMFoam yesterday:
Code:
interDyMFoam:
    if (p_rgh.needReference()) // Statement irrelevant for mesh motion??
    {
        fvc::makeRelative(phiHbyA, U);
        adjustPhi(phiHbyA, U, p_rgh);
        fvc::makeAbsolute(phiHbyA, U);
    }
Code:
interFoam:
    adjustPhi(phiHbyA, U, p_rgh);
You can play with such differences (edit them) and see if it resolves your issue. Especially in the old version you're using, there could very well be a bug somewhere.
(P.S.: Your bug might disappear if you set a non-zero very small mesh motion. Perhaps the fact that it is precisely zero is the reason you see this happening.)
floquation 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 - Validation of Results Ahmed OpenFOAM Running, Solving & CFD 10 May 13, 2018 19:28
lid driven cavity varying results yasmil OpenFOAM Running, Solving & CFD 2 October 6, 2016 22:42
CFD results not close to experimental results cider STAR-CCM+ 0 July 8, 2013 08:53
Creating a tool to interpolate results Luis Batista OpenFOAM Running, Solving & CFD 2 April 11, 2013 09:15
CFX cylinder or sphere benchmark results Mel CFX 1 August 8, 2005 19:47


All times are GMT -4. The time now is 16:11.