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

controlDict and sampleDict giving different results

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 13, 2014, 09:36
Default controlDict and sampleDict giving different results
  #1
New Member
 
Shenan
Join Date: Nov 2014
Posts: 5
Rep Power: 11
Shenan is on a distinguished road
Hi, this is my first post so please let me know if I've missed something or should post something different.

I'm using probes in controlDict to access fields at probeLocations and sets in sampleDict to access fields at points. The fields are the same in both dictionaries (U and p) and the probeLocations in controlDict are the same as the points in sampleDict. The field values at the end of the simulation using controlDict are different from the field values at the end of the simulation using sampleDict. Is this right? I would have thought they should be the same. I'm running the simulations on different meshes and getting different results (using controlDict and sampleDict) on all the meshes, so it's not an isolated incidence.

It's difficult to know what to post in the way of data, because this is not a test case. Please could someone advise me what to post or point me in the direction of a test case, which I could run, to see if I still get different results?

I'm using OpenFOAM-2.2.1.

Thank you.

Last edited by Shenan; November 13, 2014 at 09:37. Reason: OpenFOAM version
Shenan is offline   Reply With Quote

Old   November 15, 2014, 10:03
Default
  #2
Senior Member
 
musaddeque hossein
Join Date: Mar 2009
Posts: 309
Rep Power: 18
musahossein is on a distinguished road
Quote:
Originally Posted by Shenan View Post
Hi, this is my first post so please let me know if I've missed something or should post something different.

I'm using probes in controlDict to access fields at probeLocations and sets in sampleDict to access fields at points. The fields are the same in both dictionaries (U and p) and the probeLocations in controlDict are the same as the points in sampleDict. The field values at the end of the simulation using controlDict are different from the field values at the end of the simulation using sampleDict. Is this right? I would have thought they should be the same. I'm running the simulations on different meshes and getting different results (using controlDict and sampleDict) on all the meshes, so it's not an isolated incidence.

It's difficult to know what to post in the way of data, because this is not a test case. Please could someone advise me what to post or point me in the direction of a test case, which I could run, to see if I still get different results?

I'm using OpenFOAM-2.2.1.

Thank you.
Are you using 2.2.X version of OpenFOAM? One problem I found in the 2.2.X version of OpenFOam (I am using 2.2.1) is that if you are using moving mesh, the probe points do not move with the mesh, as a result you get different results. I believe a patch was introduced at a later time to address (you might have to do a search to locate the patch for the 2.2.x version of OpenFoam). The later version of openfoam has it fixed.
musahossein is offline   Reply With Quote

Old   November 15, 2014, 10:15
Default
  #3
New Member
 
Shenan
Join Date: Nov 2014
Posts: 5
Rep Power: 11
Shenan is on a distinguished road
Thank you, Musaddeque. I am not using moving mesh.
Shenan is offline   Reply With Quote

Reply

Tags
controldict, sampledict


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
sampleDict and controlDict musahossein OpenFOAM Post-Processing 39 July 17, 2016 10:00


All times are GMT -4. The time now is 22:05.