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

Grid stretching function

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 17, 2002, 02:18
Default Grid stretching function
  #1
Shahbazi
Guest
 
Posts: n/a
Hi I need a function for node stretching in two sides of a line. Would any body can refer me to a source (prefer accessible on the net) to find it. Any comment is appreciated. Thanks.
  Reply With Quote

Old   December 18, 2002, 09:28
Default Re: Grid stretching function
  #2
chidu
Guest
 
Posts: n/a
can you clarify your need further? Do you want a function that makes node clustering at the two ends of a line?

regards, chidu...
  Reply With Quote

Old   December 21, 2002, 02:18
Default Re: Grid stretching function
  #3
Shahbazi
Guest
 
Posts: n/a
Thanks for your response, yes,i need a function to make node clustering in two ends of a line.
  Reply With Quote

Old   December 21, 2002, 09:21
Default Re: Grid stretching function
  #4
chidu
Guest
 
Posts: n/a
Hi Shahbazi,

There are many ways to do that. you can use any function for example a parabolic function and choose your dx based on that. I have put a file in my homepage using hyperbolic tangent stretching. This can cluster either on any one of the sides, at the center, or at both the sides (which is what you want).

You can access the F90 module at:

http://www.lkt.mavt.ethz.ch/~chidu/onedgrids.f90

Let me know if you are unable to get the file.

best, Chidu...
  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
latest OpenFOAM-1.6.x from git failed to compile phsieh2005 OpenFOAM Bugs 25 February 9, 2010 04:37
Compilation errors in ThirdPartymallochoard feng_w OpenFOAM Installation 1 January 25, 2009 06:59
grid generator using hyperbolic tangent function Garham Main CFD Forum 3 November 11, 2006 12:04
Please help about the VTKFoam liugx212 OpenFOAM Running, Solving & CFD 0 November 18, 2005 18:27
GRID TO GRID INTERPOLATION in FLUENT calogero FLUENT 3 June 4, 2003 08:32


All times are GMT -4. The time now is 21:02.