CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Bugs

Ggi 15dev

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 12, 2009, 07:06
Default I did a slight modification to
  #1
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 462
Rep Power: 10
bastil is on a distinguished road
I did a slight modification to

src/OpenFOAM/interpolations/GGIInterpolation/GGIInterpolationWeights.C

This is to get an idea which ggi is making troubles:

Line 88: Info << "Evaluation of GGI weighting factors, Master size: " << masterPatch_.size() <<" Slave size: " << slavePatch_.size() << endl;

This help me to get a idea which of my ggis is currently worked on. I would prefer tho have patch names instead of size in there but could not manage this so far.

Regards.
bastil is offline   Reply With Quote

Old   March 12, 2009, 17:56
Default Sorry, no names at this stage:
  #2
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,746
Rep Power: 20
hjasak will become famous soon enough
Sorry, no names at this stage: GGI is a general interpolation stencil so it does not know if you are using it in patches or not. It may be better to have a message somewhere in ggiPolyPatch and similar. Would that help?

Hrv
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak is offline   Reply With Quote

Old   March 12, 2009, 18:10
Default In my eyes every message that
  #3
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 462
Rep Power: 10
bastil is on a distinguished road
In my eyes every message that gives some feedback which patch is currently worked on will help. I have lots of patches and it is exteemly difficult to find out which patch causes troubles without output.

Regards
bastil is offline   Reply With Quote

Old   June 9, 2009, 09:09
Default
  #4
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 462
Rep Power: 10
bastil is on a distinguished road
I still have the same problem with the latest svn-Version. we still get no feedback which of the multiple ggis has warnings and which are ok. Would be fine to get some patch or zone info.

Regards.
bastil is offline   Reply With Quote

Old   June 9, 2009, 22:41
Default
  #5
Senior Member
 
Martin Beaudoin
Join Date: Mar 2009
Posts: 328
Rep Power: 12
mbeaudoin will become famous soon enough
Hello BastiL,

Could you post a short sample of the Warning messages you get, so I can see them in context.

Martin

Quote:
Originally Posted by bastil View Post
I still have the same problem with the latest svn-Version. we still get no feedback which of the multiple ggis has warnings and which are ok. Would be fine to get some patch or zone info.

Regards.
mbeaudoin is offline   Reply With Quote

Old   June 10, 2009, 04:15
Default
  #6
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 462
Rep Power: 10
bastil is on a distinguished road
Yes, I get something like that:

Evaluation of GGI weighting factors:

From function void GGIInterpolation<MasterPatch, SlavePatch>::rescaleWeightingFactors() const
in file /opt/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/GGIInterpolationWeights.C at line 533
Uncovered faces found. On master: 6 on slave: 293
Largest slave weighting factor correction : 0.902866 average: 0.00883992
Largest master weighting factor correction: 0.999958 average: 0.0312591

And I would like to have:

Evaluation of GGI weighting factors of <FACE ZONE OR PATCH NAME>:

From function void GGIInterpolation<MasterPatch, SlavePatch>::rescaleWeightingFactors() const
in file /opt/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/GGIInterpolationWeights.C at line 533
Uncovered faces found. On master: 6 on slave: 293
Largest slave weighting factor correction : 0.902866 average: 0.00883992
Largest master weighting factor correction: 0.999958 average: 0.0312591

This is just because I have more than one ggi and I do not know which interface has partial overlaps...
bastil is offline   Reply With Quote

Old   June 10, 2009, 04:40
Default
  #7
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,746
Rep Power: 20
hjasak will become famous soon enough
I have just checked in something for you, as suggested by Martin:

meshes/polyMesh/polyPatches/constraint/ggi/ggiPolyPatch.C

Please let me know if this is better.

Hrv
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak is offline   Reply With Quote

Old   June 10, 2009, 10:43
Default
  #8
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 462
Rep Power: 10
bastil is on a distinguished road
Brilliant! Thanks guys, that is exactly what I was looking for. This is making it much easier for me.

Regards BastiL
bastil is offline   Reply With Quote

Reply

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
OF 15dev 1094 wmake calculatedPointPatchField s H obraun OpenFOAM Installation 2 March 5, 2009 04:19
InterDyMFoam in 15dev keyword agglomerator is undefined in dictionary eberberovic OpenFOAM Running, Solving & CFD 0 February 16, 2009 11:17
Compiling 15dev and 15x in single precision bastil OpenFOAM Installation 0 February 5, 2009 05:34
Compiling 15dev and 15x in single precision bastil OpenFOAM Installation 0 February 5, 2009 05:03
GGI function ggiCheck in OF 15dev louisgag OpenFOAM Running, Solving & CFD 3 February 3, 2009 21:08


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