Grid refinement study
In my refinemeht case the corresponding grid is nonuniform. the distance from the wall to the nearest grid point is set to dx1=0.002.Now I want to form a formula by using the hyperbolic tangent function for stretching the cell sizes between dx1 and a constant size dx2=0.5 in the length L , and the number of nodes distributed over the length L is N. But I don't know how to form such a formula. If anyone know the method, please give me your advice, thank you very much.

Re: Grid refinement study
Look for "stretching by hyperbolic tangent functions" on the net and you will find lots of references. Please let me know if you would like a code for this purpose.

Re: Grid refinement study
yes i need this code for my univeristy study i will be thankful

Re: Grid refinement study
If you have a code for this purpose, can you offer me the code? Thank you.

Re: Grid refinement study
Will mail you next week after getting back to work from vacation.

All times are GMT 4. The time now is 00:05. 