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

Chimera Grid Tools: parameter size

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 18, 2010, 10:54
Default Chimera Grid Tools: parameter size
  #1
New Member
 
Claudio
Join Date: May 2010
Location: Boston, MA
Posts: 28
Rep Power: 7
Claudio is on a distinguished road
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
Claudio is offline   Reply With Quote

Old   May 21, 2010, 10:07
Default Problem solved
  #2
New Member
 
Claudio
Join Date: May 2010
Location: Boston, MA
Posts: 28
Rep Power: 7
Claudio is on a distinguished road
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".
Claudio is offline   Reply With Quote

Old   May 21, 2010, 11:55
Default
  #3
agd
Senior Member
 
Join Date: Jul 2009
Posts: 191
Rep Power: 7
agd is on a distinguished road
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.
agd 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
Effect of Grid Size ameyadurve Main CFD Forum 0 November 19, 2009 01:47
Need help with the error cfdproject OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 0 April 14, 2009 15: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 16:43
Grid size Aldrin Wong Main CFD Forum 4 June 22, 1999 10:05


All times are GMT -4. The time now is 20:28.