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

GGI function ggiCheck in OF 15dev

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 3, 2009, 14:50
Default Dear All, I am simulating a
  #1
Senior Member
 
louisgag's Avatar
 
Louis Gagnon
Join Date: Mar 2009
Location: Stuttgart, Germany
Posts: 338
Rep Power: 18
louisgag is on a distinguished road
Send a message via ICQ to louisgag
Dear All,

I am simulating a mixer type of problem using the 1.5-dev GGI mesh and while testing the different values for phi within the ggiCheck function in controlDict I realised that I could remove the whole ggiCheck function and would get the exact same results.

I am using the 1.5-dev build of Jan. 6.

Am I missing something about the ggiCheck function?

Here is what I have used so far:

functions
(
ggiCheck
{
// Type of functionObject
type ggiCheck;
phi phi;
// Where to load it from (if not already in solver)
functionObjectLibs ("libsampling.so");
}
...
)

thanks for any clarification!

-Louis
louisgag is offline   Reply With Quote

Old   February 3, 2009, 15:12
Default To answer myself, these are on
  #2
Senior Member
 
louisgag's Avatar
 
Louis Gagnon
Join Date: Mar 2009
Location: Stuttgart, Germany
Posts: 338
Rep Power: 18
louisgag is on a distinguished road
Send a message via ICQ to louisgag
To answer myself, these are only checks that report differences to the commandline. Thus, the results are not affected.

I was able to have all 4 differences given as output during runtime with



functions
(
ggiCheck
{
// Type of functionObject
type ggiCheck;
phi weightingFactors;

// Where to load it from (if not already in solver)
functionObjectLibs ("libsampling.so");
}

ggiCheck2
{
// Type of functionObject
type ggiCheck;

phi differenceFactors_;
// Where to load it from (if not already in solver)
functionObjectLibs ("libsampling.so");
}
ggiCheck3
{
// Type of functionObject
type ggiCheck;
phi phi;

// Where to load it from (if not already in solver)
functionObjectLibs ("libsampling.so");
}

ggiCheck4
{
// Type of functionObject
type ggiCheck;

phi meshPhi;
// Where to load it from (if not already in solver)
functionObjectLibs ("libsampling.so");
}
...
)


which yields


Courant Number mean: 0.0112644452679 max: 0.502069123018
deltaT = 4.44282049584e-06
GGI pair (insideSlider, outsideSlider) : 40.5709869507 35.4281942396 Diff = 75.9991811903 or 187.323964494 %
GGI pair (insideSlider, outsideSlider) : 60408.2865474 60409.0436563 Diff = 120817.330204 or 200.00125332 %
GGI pair (insideSlider, outsideSlider) : 0.0665444451388 0.0664723050084 Diff = -6.22481027305e-06 or 0.00935436498128 %
GGI pair (insideSlider, outsideSlider) : 4.03433199548e-05 0 Diff = -1.32764702777e-14 or 3.2908720186e-08 %
Time = 0.000124117


Should I be worried about a 200% difference of weighting and difference factors?


my apologies for the double-post.

-Louis
louisgag is offline   Reply With Quote

Old   February 3, 2009, 19:44
Default Hello Louis, The ggiCheck f
  #3
Senior Member
 
Martin Beaudoin
Join Date: Mar 2009
Posts: 332
Rep Power: 22
mbeaudoin will become famous soon enough
Hello Louis,

The ggiCheck functionObject was developped for the purpose of evaluating if the GGI is conservative or not. And from your results, we can see that the phi unbalance is quite acceptable.

The surface fields differenceFactors_ and weightingFactors evaluated from the class surfaceInterpolation have nothing to do with the GGI or the GGI weighting factors.

So using ggiCheck with those 2 surfaceFields basically generates useless information.

Martin
mbeaudoin is offline   Reply With Quote

Old   February 3, 2009, 20:08
Default Thank you very much for your c
  #4
Senior Member
 
louisgag's Avatar
 
Louis Gagnon
Join Date: Mar 2009
Location: Stuttgart, Germany
Posts: 338
Rep Power: 18
louisgag is on a distinguished road
Send a message via ICQ to louisgag
Thank you very much for your clarification Martin.

Regards,

-Louis
louisgag 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
Ggi 15dev bastil OpenFOAM Bugs 7 June 10, 2009 09:43
OF 15dev 1094 wmake calculatedPointPatchField s H obraun OpenFOAM Installation 2 March 5, 2009 03:19
InterDyMFoam in 15dev keyword agglomerator is undefined in dictionary eberberovic OpenFOAM Running, Solving & CFD 0 February 16, 2009 10:17
Compiling 15dev and 15x in single precision bastil OpenFOAM Installation 0 February 5, 2009 04:34
Compiling 15dev and 15x in single precision bastil OpenFOAM Installation 0 February 5, 2009 04:03


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