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

Flat Plate analysis

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

Like Tree1Likes
  • 1 Post By wyldckat

Reply
 
LinkBack Thread Tools Display Modes
Old   February 8, 2013, 20:29
Default Flat Plate analysis
  #1
New Member
 
Ben Graves
Join Date: Dec 2012
Posts: 18
Rep Power: 4
bgraves is on a distinguished road
Hi guys,

I am new to OpenFOAM and trying to do this same analysis for a class. I am having trouble with the grid from the plot3d format into OpenFoam.

I am using the grid found on the http://turbmodels.larc.nasa.gov/flatplate_grids.html website. I have successfully imported the grid using the plot3dToFoam command, followed by the autoPatch command. My main question is how to break up the bottom patch into the two "different" sections (ie the plate and the symmetry boundary condition).

Any input would be unbelievably helpful.

Thanks
bgraves is offline   Reply With Quote

Old   February 10, 2013, 07:54
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,312
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings Ben and welcome to the forum!

I think createPatch is what you should be looking for, for adding new patches in the exact place where you need them. I'll quote myself from an old thread:
Quote:
Originally Posted by wyldckat View Post
@Elise: You can with createPatch. You can find several examples by running:
Code:
find $WM_PROJECT_DIR -name createPatchDict
If your geometry has good features (i.e., not trying to create a small patch in a flat surface), you can use autoPatch.
Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   February 11, 2013, 12:51
Default
  #3
New Member
 
Ben Graves
Join Date: Dec 2012
Posts: 18
Rep Power: 4
bgraves is on a distinguished road
Thank you so much for your speedy reply!!! The model works perfectly now!

-Ben
bgraves is offline   Reply With Quote

Old   February 15, 2013, 20:02
Default
  #4
New Member
 
Ben Graves
Join Date: Dec 2012
Posts: 18
Rep Power: 4
bgraves is on a distinguished road
Sorry to ask again I am trying to do the same thing, only this time I am using the grids found on http://turbmodels.larc.nasa.gov/bump_grids.html. I used the same method that you helped me with prior. Except this time when I wrote the topoSetDict file for the right side of the bump, the faceSet that it makes looks like the following:
0
(
)
Below is the topoSetDict file:
actions
(
{
name f0;
type faceSet;
action new;
source boxToFace;
sourceInfo
{
box (-25 0 0) (0 0 1);
}
}
{
name f1;
type faceSet;
action new;
source boxToFace;
sourceInfo
{
box (-0 0 0) (1.5 0 1);
}
);
Any help would be greatly appreciated!

-Ben
bgraves is offline   Reply With Quote

Old   February 16, 2013, 05:04
Default
  #5
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,312
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Hi Ben,

You need to give it some thickness over the Y axis, something like:
Code:
actions
(
  {
    name    f0;
    type    faceSet;
    action  new;
    source  boxToFace;
    sourceInfo
    {
      box (-25 -0.01 0) (0 0.01 1);      
    }
}
  {
    name    f1;
    type    faceSet;
    action  new;
    source  boxToFace;
    sourceInfo
    {
      box (-0 -0.01 0) (1.5 0.01 1);
    }
);
Best regards,
Bruno
laurentb likes this.
wyldckat is offline   Reply With Quote

Old   February 18, 2013, 11:46
Default
  #6
New Member
 
Ben Graves
Join Date: Dec 2012
Posts: 18
Rep Power: 4
bgraves is on a distinguished road
Bruno,

I want to really thank you for saving my butt again

-Ben
bgraves 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
Flat plate analysis in cfx hamed.majeed CFX 14 February 4, 2015 08:07
Flow over a flat plate as an immersed solid hamed.majeed CFX 3 May 28, 2013 22:41
Flow Over a Flat Plate recon9 CFX 1 January 20, 2011 22:09
Calculate Drag force for flat plate vsun FLUENT 0 October 3, 2010 07:56
entrance of a flat plate mc Main CFD Forum 0 April 24, 2007 22:38


All times are GMT -4. The time now is 12:11.