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

How can I generate a non-uniform grid?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 19, 2014, 01:09
Question How can I generate a non-uniform grid?
  #1
New Member
 
Mehdi
Join Date: Aug 2013
Location: Australia
Posts: 22
Rep Power: 12
mahdi_kh8 is on a distinguished road
Send a message via Yahoo to mahdi_kh8
I'm new in CFD and have written a code to solve free convection in a cavity.
My code is a bit messy because of writing finer mesh size near walls.
Recently, I found there is a easier way to define non-uniform mesh using sinh(x) or cosh(x).



Can anyone explain me how?
mahdi_kh8 is offline   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
Inlet patch problems martyn88 OpenFOAM Running, Solving & CFD 6 April 21, 2017 18:34
interFoam/kOmegaSST tank filling with printStackError/Mules simpomann OpenFOAM Running, Solving & CFD 3 February 17, 2014 17:06
OpenFOAM solution is diverging for stress analysis in two-pahse microstructure. Sargam05 OpenFOAM 16 April 30, 2013 16:18
pisoFoam - unstable pressure residual Industrial_CFD OpenFOAM Running, Solving & CFD 21 February 24, 2013 15:39
Pressure instability with rhoSimpleFoam daniel_mills OpenFOAM Running, Solving & CFD 44 February 17, 2011 17:08


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