|
[Sponsors] |
May 18, 2010, 11:54 |
Chimera Grid Tools: parameter size
|
#1 |
New Member
Claudio
Join Date: May 2010
Location: Boston, MA
Posts: 28
Rep Power: 16 |
I am trying to use the CGT with a database that contains a triangular mesh. When I use surgrd I get the message "Recompile using MEDGE > 102673". I have been looking everywhere in the source file but cannot find where the MEDGE parameter is set.
Does anybody know? Thanks, Claudio www.appliedfluidtech.com |
|
May 21, 2010, 11:07 |
Problem solved
|
#2 |
New Member
Claudio
Join Date: May 2010
Location: Boston, MA
Posts: 28
Rep Power: 16 |
Apparently a hard-to-find error in one of the input threw the CGT off. When I caught that the message of recompiling with a bigger size disappear. Still I wonder where MEDGE is set since I could not find it in any source or include files using "grep".
|
|
May 21, 2010, 12:55 |
|
#3 |
Senior Member
Join Date: Jul 2009
Posts: 358
Rep Power: 19 |
MEDGE is computed in the tridat.F subroutine (found in the lib subdirectory). The only way to make it larger, as far as I can tell, is to change the calculation from MEDGE=4*NVERT to something bigger. If you do that you will probably want to check the gui/og.c routine also - it appears that some storage is computed there which may need to be consistent with the tridat.F value. Beyond this, I cannot find any other places where MEDGE takes on a value. (This is for versions 1.7 and 1.8). Makes me wonder if the variable used to be a parameter when the check was first put in, but somewhere someone decided to compute it and never changed the check condition.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Effect of Grid Size | ameyadurve | Main CFD Forum | 0 | November 19, 2009 01:47 |
[Commercial meshers] ST_Malloc: out of memory.malloc_storage: unable to malloc Velocity SA, | cfdproject | OpenFOAM Meshing & Mesh Conversion | 0 | April 14, 2009 16:45 |
How to get the grid size using UDF macro? | Miao | FLUENT | 0 | November 2, 2008 19:59 |
Chimera Grid Generation | KUMAR | Main CFD Forum | 0 | July 15, 1999 17:43 |
Grid size | Aldrin Wong | Main CFD Forum | 4 | June 22, 1999 11:05 |