CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Pre-Processing

inflated quadratic element mesh

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 8, 2012, 04:57
Default inflated quadratic element mesh
  #1
Member
 
Join Date: Nov 2011
Posts: 44
Rep Power: 5
fferroni is on a distinguished road
Hello

I've been trying to change the parameters of simpleGrading in the mesh file so that I get smaller quadratic orthogonal elements near the edges. However, I seem to only be able to make them refined on one side. I just have a square cross-section that I would like to refine at the edges.

Thank you very much

Kind Regards,

F
fferroni is offline   Reply With Quote

Old   February 8, 2012, 08:33
Default
  #2
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Delft, Netherlands
Posts: 919
Rep Power: 17
akidess will become famous soon enough
http://code.google.com/p/blockmeshdg/
__________________
*On twitter @akidTwit
*Spend as much time formulating your questions as you expect people to spend on their answer.
*Help define the OpenFOAM stackexchange Q&A site: http://area51.stackexchange.com/prop...oam-technology
akidess is offline   Reply With Quote

Old   February 8, 2012, 12:32
Default
  #3
Member
 
Join Date: Nov 2011
Posts: 44
Rep Power: 5
fferroni is on a distinguished road
Apologies for the noob question, but where do I put the folder that I just downloaded?

Rgds,

F
fferroni is offline   Reply With Quote

Old   February 8, 2012, 12:37
Default
  #4
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Delft, Netherlands
Posts: 919
Rep Power: 17
akidess will become famous soon enough
In principle any where, but I like to put it in OpenFOAM/user-2.0.x/applications/utilities/. After you extracted the files, run the Allwmake script once and then you can use the utility.
__________________
*On twitter @akidTwit
*Spend as much time formulating your questions as you expect people to spend on their answer.
*Help define the OpenFOAM stackexchange Q&A site: http://area51.stackexchange.com/prop...oam-technology
akidess is offline   Reply With Quote

Old   February 11, 2012, 06:00
Default
  #5
Member
 
Join Date: Nov 2011
Posts: 44
Rep Power: 5
fferroni is on a distinguished road
Hi.
I did as you said, and put the blockmeshdg folder in applications/utilities and then ran allwmake from the folder but it told me the command didn't exist. i also tried wmake but it failed.

ideas?

Kindest regards,

F
fferroni is offline   Reply With Quote

Old   February 11, 2012, 08:30
Default
  #6
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Delft, Netherlands
Posts: 919
Rep Power: 17
akidess will become famous soon enough
What happened exactly when you ran ./Allwmake? What was the error message if you got any? Were you able to run any other OpenFOAM commands in the same shell?

The executable name is "blockMeshDG" by the way - the capitalization is important.
__________________
*On twitter @akidTwit
*Spend as much time formulating your questions as you expect people to spend on their answer.
*Help define the OpenFOAM stackexchange Q&A site: http://area51.stackexchange.com/prop...oam-technology
akidess is offline   Reply With Quote

Old   February 11, 2012, 10:42
Default
  #7
Member
 
Join Date: Nov 2011
Posts: 44
Rep Power: 5
fferroni is on a distinguished road
Ok it compiles now.

What is the required syntax for having inflated meshes at each side of a square? simpleGrading I suppose would not incorporate this effect?

Kindest Regards,

Francesco
fferroni is offline   Reply With Quote

Old   February 11, 2012, 11:06
Default
  #8
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Delft, Netherlands
Posts: 919
Rep Power: 17
akidess will become famous soon enough
Use it just like the standard blockMesh, but use negative coefficients where you want double grading.
__________________
*On twitter @akidTwit
*Spend as much time formulating your questions as you expect people to spend on their answer.
*Help define the OpenFOAM stackexchange Q&A site: http://area51.stackexchange.com/prop...oam-technology
akidess is offline   Reply With Quote

Old   February 15, 2012, 03:54
Default
  #9
Member
 
Join Date: Nov 2011
Posts: 44
Rep Power: 5
fferroni is on a distinguished road
Awesome.

That works very nicely.

Thank you very much.

F
fferroni 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
discretizer - gmshToFoam Andyjoe Open Source Meshers: Gmsh, Netgen, CGNS, ... 13 March 14, 2012 05:35
[ICEM] Problem making structured mesh on a surface froztbear ANSYS Meshing & Geometry 4 November 10, 2011 09:52
external flow with snappyHexMesh chelvistero OpenFOAM 11 January 15, 2010 20:43
Negative element volume & folded mesh in cfx 11.0 siavash ghassemi CFX 2 December 28, 2007 14:17
How to control Minximum mesh space? hung FLUENT 7 April 18, 2005 09:38


All times are GMT -4. The time now is 06:45.