CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Bugs (http://www.cfd-online.com/Forums/openfoam-bugs/)
-   -   Ggi 15dev (http://www.cfd-online.com/Forums/openfoam-bugs/62291-ggi-15dev.html)

bastil March 12, 2009 06:06

I did a slight modification to
 
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.

hjasak March 12, 2009 16:56

Sorry, no names at this stage:
 
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

bastil March 12, 2009 17:10

In my eyes every message that
 
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 June 9, 2009 08:09

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 June 9, 2009 21:41

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 (Post 218678)
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 June 10, 2009 03:15

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...

hjasak June 10, 2009 03:40

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

bastil June 10, 2009 09:43

Brilliant! Thanks guys, that is exactly what I was looking for. This is making it much easier for me.

Regards BastiL


All times are GMT -4. The time now is 13:23.